'end' expected (to close 'if' at line 8) near '<eof>' Help me please!

Ohhhhh My bad i didn’t know thats what this fourm was D:

I’ll take this else where.

elseif input == "Secret" then print("Password") password = topassword(io.read()) if password == "Selena" then os.execute("E:\\Lua\\Progams\\data\\Data") print("Good choice") wait(1) ------------------------------------------------You Should Be Ending This IF Statement Somewhere Around Here else print("That is not a registered program") wait(2) end

You have the check for password==“Selena” but you never close that if statement.

Ohhhh Thank you so much!

Yep that fixed it thank you so much!