Jump to content
  • 0

How to freeze value in script?


GhidraYT

Question

 

i need slot 1

function slot1()
gg.setRanges(gg.REGION_ANONYMOUS)
  gg.searchNumber("2.40000009537", gg.TYPE_FLOAT)
  gg.getResults(20)
  gg.editAll("2.40000009537", gg.TYPE_FLOAT)
  gg.freeze = true
  gg.alert("Cooldown Succeded")
end

 

 

 

 

 

 

gg.setVisible(false)

gg.setVisible(true)
function MENU()
  MultiMenu = gg.multiChoice({"Monster Low Hp","Game Speed","Cold Magic AS","Fire Magic","Lightning Magic","Archer","Engineer","Exit"},nil,"Rush Royale GhidraYT")
  if MultiMenu == nil then
    else
      if MultiMenu[1] == true then
        slot1()
      end
      if MultiMenu[2] == true then
        slot2()
      end
      if MultiMenu[3] == true then
        slot3()
        end
             if MultiMenu[4] == true then
        slot4()
        end
if MultiMenu[5] == true then
        slot5()
        end
if MultiMenu[6] == true then
        slot6()
        end
if MultiMenu[7] == true then
        slot7()
        end
      if MultiMenu[8] == true then
        EXIT()
      end
  end
  MenuVisible = -1
end

function slot1()
gg.setRanges(gg.REGION_ANONYMOUS)
  gg.searchNumber("2.40000009537", gg.TYPE_FLOAT)
  gg.getResults(20)
  gg.editAll("2.40000009537", gg.TYPE_FLOAT)
  gg.freeze = true
  gg.alert("Cooldown Succeded")
end

  function slot2()
  gg.setRanges(gg.REGION_ANONYMOUS)
 gg.searchNumber("1;0.33333334327;0.029999999933", gg.TYPE_FLOAT)
 gg.getResults(20)
 gg.refineNumber("1",gg.TYPE_FLOAT)
  gg.getResults(14)
gg.editAll("5", gg.TYPE_FLOAT)
  gg.alert("Game speed  successful , good games!")
end

function slot3()
  gg.setRanges(gg.REGION_ANONYMOUS)
  gg.searchNumber("1.5", gg.TYPE_DOUBLE)
  gg.getResults(999)
  gg.editAll("0.0007", gg.TYPE_DOUBLE)
  gg.alert("Cold Magic  attack speed  successful , good games!")
end

function slot4()
  gg.setRanges(gg.REGION_ANONYMOUS)
  gg.searchNumber("0.8", gg.TYPE_DOUBLE)
  gg.getResults(999)
  gg.editAll("0.0007", gg.TYPE_DOUBLE)
  gg.alert("Fire Magic AS successful , good games!")
end

function slot5()
  gg.setRanges(gg.REGION_ANONYMOUS)
  gg.searchNumber("0.68", gg.TYPE_DOUBLE)
  gg.getResults(999)
  gg.editAll("0.0007", gg.TYPE_DOUBLE)
  gg.alert("Lightning Magic AS successful , good games!")
end

function slot6()
  gg.setRanges(gg.REGION_ANONYMOUS)
  gg.searchNumber("0.45", gg.TYPE_DOUBLE)
  gg.getResults(999)
  gg.editAll("0.0007", gg.TYPE_DOUBLE)
  gg.alert("Archer AS successful , good games!")
end

function slot7()
  gg.setRanges(gg.REGION_ANONYMOUS)
  gg.searchNumber("0.66", gg.TYPE_DOUBLE)
  gg.getResults(999)
  gg.editAll("0.0007", gg.TYPE_DOUBLE)
  gg.alert("Engineer AS successful , good games!")
end

function EXIT()
  gg.setVisible(true)
  print("Exit")
  os.exit()
end

while true do
  if gg.isVisible(true) then
    MenuVisible = 1
    gg.setVisible(false)
  end
  if MenuVisible == 1 then
    MENU()
  end
end

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

function slot1()
gg.setRanges(gg.REGION_ANONYMOUS)
gg.searchNumber("2.40000009537",gg.TYPE_FLOAT)
local t = gg.getResults(20)
  
for i,v in pairs(t) do
    v.freeze = true
    end
gg.addListItems(t)
gg.clearResults()
alert("Cooldown Succeded")
end

 

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.