Try this, just rename the game.exe to what you want and change the "password" to what you want.
Then add that to a button onclick.
-- the 'correct' password
real_password = "password";
-- prompt the user to enter a password
user_password = Dialog.PasswordInput("Password", "Please enter the password: ", MB_ICONQUESTION);
-- compare the user's password to the 'correct' password.
-- If the user supplies the wrong password, exit the program.
if real_password ~= user_password then
Application.Exit();
end
File.Open("AutoPlay\\Docs\\game.exe");