function MSon()
gg.alert('ON')
gg.setRanges(gg.REGION_ANONYMOUS)
gg.searchNumber('1.5554413e-43F;0.40000000596F;1.0F:45', gg.TYPE_FLOAT)
gg.refineNumber('1', gg.TYPE_FLOAT)
local t = gg.getResults(2500, nil, nil, nil, nil, nil, nil, nil, nil)
for i, t in ipairs(t) do
if t.flags == gg.TYPE_FLOAT then
t.value = "4"
t.freeze = true
end
end
gg.addListItems(t)
t = nil
gg.toast('Speed Hack On')
end
function MSoff()
gg.alert('OFF')
gg.setRanges(gg.REGION_ANONYMOUS)
gg.searchNumber('1.5554413e-43F;0.40000000596F;4.0F:45', gg.TYPE_FLOAT)
gg.refineNumber('4', gg.TYPE_FLOAT)
local t = gg.getResults(2500, nil, nil, nil, nil, nil, nil, nil, nil)
for i, t in ipairs(t) do
if t.flags == gg.TYPE_FLOAT then
t.value = "1"
t.freeze = false
end
end
gg.removeListItems(t)
t = nil
gg.toast('Speed Hack Off')
end