Jump to content

Password with seekbar


Rs92ks

Recommended Posts

--Numeric password. Min 0 Max 9999
local gg=gg
--password is 1839
local password=1839
gg.alert('Password required')
local numa=gg.prompt({'1[0; 9]','2[0; 9]','3[0; 9]','4[0; 9]'},nil,{'number','number','number','number'})
if numa==nil then gg.alert('No password') os.exit() end
local num=(numa[1]*1000)+(numa[2]*100)+(numa[3]*10)+numa[4]
if password~=num
then gg.alert('Wrong password') os.exit()
end
--Your lua script. Remove gg.alert('123456')
gg.alert('123456')

 

Seekbar Password.lua

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.