Jump to content
Sign in to follow this  
TJALL_PLAYS

Password

Recommended Posts


8 hours ago, TJALL_PLAYS said:

Hello,

I need to know how to make a password on my script. Anyone know how?

Here is script:

Password = '1234'
PS = gg.prompt({'🔒 Input password: '},{[1]=''},{[1]='number'})
if not PS then os.exit() 
end 
if PS[1] == Password then 
gg.toast('✔️ Password correct❕')
else 
gg.alert('❌ Wrong Password ❕') os.exit() end
--write bellow your codes. if pass was true then script will start

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...