Jump to content
  • 0

Password


TJALL_PLAYS

Question

1 answer to this question

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

ย 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.