ALSO make sure that windows isnt hiding the .txt file...
go to control panel > folder options > look for the thing that says "hide extensions for known file types" then uncheck that....
if you look at your program after you do that it might say index.lua.txt (the .txt was hidden before) then just take off the .txt part and it should work
