Jump to content
GameCrasher

Broken script, help

Recommended Posts

I created a script that auto edits values so the player doesn't have to, when I made a retry button at the end it stops working, can someone halp me?

Bloxburg.lua

Share this post


Link to post
Share on other sites

Does it work now? 

Share this post


Link to post
Share on other sites
6 hours ago, El_dorado said:

Does it work now? 

No, it has the same problem 

Share this post


Link to post
Share on other sites

A little question, what your inf gonna do ? Why edit the same value over and over?

Share this post


Link to post
Share on other sites

Bloxburg.lua

The script is running fine, no err found. Maybe the method has been patched? Or maybe the hacking step is wrong.

Share this post


Link to post
Share on other sites
8 hours ago, ItsSC said:

A little question, what your inf gonna do ? Why edit the same value over and over?

Its for a game with a timer, the timer has 60 seconds then the llayer recieves 10$ and editing the value to 59-60 changes the time to 1 so it hits 0, when it hits zero the timer restarts so if i edit it over and over the player will recieve a bunch of money.

Share this post


Link to post
Share on other sites
2 hours ago, GameCrasher said:

Its for a game with a timer, the timer has 60 seconds then the llayer recieves 10$ and editing the value to 59-60 changes the time to 1 so it hits 0, when it hits zero the timer restarts so if i edit it over and over the player will recieve a bunch of money.

Maybe the calculation is wrong..

For example, as your script asked "Timer number"

if timer = 5, it should be 5, am I right? Then in your script you do 60-5, it become 55. So it is something wrong.

 

Just from my plain guess.

you should do this

timer = gg.prompt( {"TIMER NUMBER"},{""},{"number"})
if(timer[1]>=60)then
  time = 60-timer[1]
  else
  time = timer[1]
end

This means when the time is 60 seconds, it should return 0. If time is 55, it should return 55, but your current script will return 5.

Share this post


Link to post
Share on other sites
Posted (edited)
4 hours ago, ItsSC said:

Maybe the calculation is wrong..

For example, as your script asked "Timer number"

if timer = 5, it should be 5, am I right? Then in your script you do 60-5, it become 55. So it is something wrong.

 

Just from my plain guess.

you should do this


timer = gg.prompt( {"TIMER NUMBER"},{""},{"number"})
if(timer[1]>=60)then
  time = 60-timer[1]
  else
  time = timer[1]
end

This means when the time is 60 seconds, it should return 0. If time is 55, it should return 55, but your current script will return 5.

Whem I edit the value to any number, it subtracts the value from the timer, Also I appreciate the help bro.

Edited by GameCrasher

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

  • Similar Content

    • By Chr1ss
      View File Critical ops 1.17.0f1147 - 32/64 BIT - OP SCRIPT - NO BAN -- ZYPH
      This script is by far one of the FREE best scripts.
      All done just for the fun
       
      Pass-1
      More info on disc :https://discord.gg/n62dARe
       
      Feautures:
      Aim Assist Boost
      Fly
      Giant Body
      WallShoot
      Radar
      FireRate
      Larger Torso/Head Hitbox
      Rain
      And Much More
       
       
      Submitter Chr1ss Submitted 07/28/2020 Category LUA scripts  
    • By NecroWare
      View File Critical ops script NecroWare
      Necroware is script for c ops (NO ROOT REQUIRED).
      Don't forget to rate our job.
      Our discord server: https://discord.gg/eE7bDkA
      Check our youtube: 
       
      🔮NecroWare on TOP!🔮
      Submitter NecroWare Submitted 07/30/2020 Category LUA scripts  
    • By Lover1500
      I am trying to make a script with user input prompt
       
      I could hack the game but to search it with group search is sometimes failed
       
      The around addresses are changed whenever I reenter.
      I noticed it changed into only three numbers.
      What I want to is my script will search one
      if not found?Try another one.
      I have trouble with this.I dont know how to write in script and whats wrong in my script.
      Help me plz.
       
      local var = input[1]..";3485744::"
      local var2 = input[1]..";30303006h::"
      local var3 = input[1]..";32303006h::"
      gg.searchNumber(var, gg.TYPE_DWORD,false,gg.SIGN_EQUAL, 0, -1)
      if gg.getResultsCount == "0" then
      gg.searchNumber(var2, gg.TYPE_DWORD,false,gg.SIGN_EQUAL, 0, -1)
      if gg.getResultsCount == "0" then
      gg.searchNumber(var3, gg.TYPE_DWORD,false,gg.SIGN_EQUAL, 0, -1)
      gg.refineNumber(input[1])
      gg.getResults("1")
      gg.editAll("0", gg.TYPE_DWORD)
      end
      gg.refineNumber(input[1])
      gg.getResults("1")
      gg.editAll("0", gg.TYPE_DWORD)
      end
      gg.refineNumber(input[1])
      gg.getResults("1")
      gg.editAll("0", gg.TYPE_DWORD)
      end
       
    • By NecroWare
      Necroware is script for c ops (NO ROOT REQUIRED).
      Don't forget to rate our job.
      Our discord server: https://discord.gg/eE7bDkA
      Check our youtube: 
       
      🔮NecroWare on TOP!🔮
×
×
  • Create New...