Jump to content
Sign in to follow this  
D3CryptZ

Lua Scripts

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?

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites
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.

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  

  • Similar Content

    • By Elsparrow77
      Need Help please, can you cheat the game : Naruto : Ninja World war Global force.
      That the new game, and gameplay like Ninja rebith, I try cheat like Ninja rebith but not working.
      some one master here please help.
    • By otome_addict
      Name of Game: Mystic Messenger
      Play Store Link (If it's a paid app, the apk): https://play.google.com/store/apps/details?id=com.Cheritz.MysticMessenger
      Version: 1.14.2
      What cheat? Health, xp, gold...: Unlimited/ A large amount of Hourglasses and Hearts 
      Have you tried cheating this game? No (but if you could tell me some apps or ways to cheat it I can try) 
    • By Daisy123
      Hello everyone. I knew that gg have dumpmemory feature which can copy content of a memory region to a binary file. I wonder if there are any way for copy a binary file to a region of memory. Is is possible to write a lua script with can do this? Thank you very much.
       

    • By Xoklys
      I know if you write ..., true) behind the toast text that then the toast will disappear earlier but even if I don't think there is a way I have to ask for it:
      Is there a way to say gg how long a toast shall appear?
      And if there isn't a way this maybe would be an idea for next update
    • By Xoklys
      Ehm Enyby or who ever I just wanted to say that gg.toast isn't working(for me)
      I don't know why but when I execute the script it just don't appears...
      (I didn't code anything wrong hopefully because other wise this post would be very emberassing xD)

×
×
  • Create New...