Jump to content

Lua Scripts


D3CryptZ

Recommended Posts

I am making a script for the game Forward Assault. I need to have a password in my script so nobody can steal it (i can decrypt). I dont know how to make a password prompt so can you help me or send a example code?

Link to comment
Share on other sites

  • 3 months later...

local pass = '1234'
local Crack = gg.prompt(
{'ENTER PASSWORD EXAMPLE ' ..pa..ss.. ''},{''},{'number'})
if Crack == nil then
print("script cancelled")
os.exit()
elseif Crack[1] == pass then
print("welcome")
else 
print("wrong password")
os.exit()
end

Link to comment
Share on other sites

  • 1 month later...
On 10/22/2018 at 1:41 AM, D3CryptZ said:

I am making a script for the game Forward Assault. I need to have a password in my script so nobody can steal it (i can decrypt). I dont know how to make a password prompt so can you help me or send a example code?

Encrypting with your password can help you alot that to protecting script.

Because if you don't have your password, you can't go in main function.

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.