Jump to content
Sign in to follow this  
laolw

Need help to make a script.

Recommended Posts

Hi, I need help for a script, I wanna create a script and in this script I wanna that the user write something, and the thing that he writes is used somewhere at the end of the script, I mean, example, I start the script, text box appears, I write 'nano' and at the end of the script its 'set nickname "text user" (<- nano)'

Sorry if I am incomprehensible, I don t speak well English.

Share this post


Link to post
Share on other sites

On 10/23/2018 at 7:00 AM, goldenkaramel said:

U Need first write ur lua script then can Help u 

--Function
function searchText(text)
    local bytes = gg.bytes(text, 'UTF-8')
    local ret = ''
    for i, b in ipairs(bytes) do
        ret = ret .. ';' .. b
    end
    ret = ret:sub(2)..'::'..#bytes
    return gg.searchNumber(ret, gg.TYPE_BYTE)
end

function replaceText(text)
    local bytes = gg.bytes(text, 'UTF-8')
    local all = gg.getResults(100000)
    local len = #bytes
    for i, t in ipairs(all) do
        t.value = bytes[((i - 1) % len) + 1]
    end
    return gg.setValues(all)
end

--command
gg.clearResults()
Command user type text ( <- what I search)
gg.searchText('example')
gg.replaceText('UserTypedText')

Share this post


Link to post
Share on other sites

Use prompt

Share this post


Link to post
Share on other sites
On 10/23/2018 at 10:00 AM, goldenkaramel said:

U Need first write ur lua script then can Help u 

Bro create script bia3

Share this post


Link to post
Share on other sites
val = gg.prompt({'Value1','Value2','Exp Point'},{[1] = 0,[2] = 0,[3] = 100},{"0","0","100"})
if val == nil then os.exit()
elseif val then 
gsearch = val[1]..';'..val[2]
gg.searchNumber(gsearch, gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber(val[1], gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(100)
gg.editAll(val[3], gg.TYPE_DWORD)
end
gg.clearResults()
gg.processResume()
gg.toast('Hack Success')

 

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 RONO_PLAYS
      This script will update the OFFICIAL version of game guardian to the latest version that's currently released here @ gameguardian.net
      Latest Game Guardian downloads automated
      More scripts from the creator
      WATCH HOW TO USE THE SCRIPT
       
      WATCH HOW TO USE THE SCRIPT
    • By RONO_PLAYS
      View File Game Guardian Updater
      This script will update the OFFICIAL version of game guardian to the latest version that's currently released here @ gameguardian.net
      Latest Game Guardian downloads automated
      More scripts from the creator
      WATCH HOW TO USE THE SCRIPT
       
      WATCH HOW TO USE THE SCRIPT
      Submitter RONO_PLAYS Submitted 09/17/2019 Category LUA scripts  
    • By AnonymousCheats
      View File ROBLOX MOD MENU (Anonymous Hacks)
      This scripts works on any roblox game. The other games option only has one but version 1.1 will have much more games. Also I will be adding more money hacks. To get early releases on my scripts visit my YouTube anonymous cheats. 
      Submitter AnonymousCheats Submitted 08/20/2019 Category LUA scripts  
    • By AnonymousCheats
      This scripts works on any roblox game. The other games option only has one but version 1.1 will have much more games. Also I will be adding more money hacks. To get early releases on my scripts visit my YouTube anonymous cheats. 
    • By Rama7772017
      View File Mega Script
      A collection of >30-game scripts is now available in English.
      Scenarios are taken from different authors. To make it a user. Unfortunately, not all authors are listed. As the script says, "Particularly kind to these people who had a lot of different scripts !"
      Link to my YouTube channel -  https://www.youtube.com/c/RamaProduction2
      Link to an open group in Telegram -  https://t.me/ramaproduction
      Link to the group in VKontakte - https://vk.com/rama_production2019
      Submitter Rama7772017 Submitted 08/28/2018 Category LUA scripts  
×
×
  • Create New...