Jump to content
  • 0

It's possible to do slowly increase effect for games currency?


Frag3l

Question

Hi! I want to know if it's a way or a script to do the currency increase effect. I know how to modify the numbers for currency, but it changes instantly, but I want to change them gradually from 100 to 20.000 for example.

 

If someone know a way to do that with gameguardian, I would appreciate it very much!

 

I put an example from someone video (he did it one his phone).

Untitled Project123.gif

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

You can create your own gg.editAll to replace the original one, you can imagine that the new function will take all the params from the gg.editAll and one addition params for time to sleep between.

 

gg.editAllAndAnimate = function(value, type, ml)
  for i = 1, tonumber(value) do
    gg.editAll(tostring(i), type)
    gg.sleep(ml)
  end
end

gg.getResults(gg.getResultsCount())
gg.editAllAndAnimate("100", gg.TYPE_FLOAT, 500)

 

Link to comment
Share on other sites

37 minutes ago, MAARS said:

You can create your own gg.editAll to replace the original one, you can imagine that the new function will take all the params from the gg.editAll and one addition params for time to sleep between.

 

gg.editAllAndAnimate = function(value, type, ml)
  for i = 1, tonumber(value) do
    gg.editAll(tostring(i), type)
    gg.sleep(ml)
  end
end

gg.getResults(gg.getResultsCount())
gg.editAllAndAnimate("100", gg.TYPE_FLOAT, 500)

 

Ty for your reply, the thing is I'm really new in this. If it's possible to tell me, what I need to edit in this script and how can you replace the original one after I find the specific value? I need to edit this "tonumber(value) do
    gg.editAll(tostring(i), type)" with my value, type or something else? Ty for your time and sorry I'm a newb :))

Link to comment
Share on other sites

Just place the function on top of your script, then do your regular search and call the new function to edit instead of gg.editAll

gg.searchNumber("50", gg.TYPE_DWORD)
gg.getResults(gg.getResultsCount())
gg.editAllAndAnimate("100", gg.TYPE_DWORD, 500)

 

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.