Jump to content

Question

Posted

hi all someone can correct me please ?

local function h1()

    local funcValue(...)
	local arg = ...
	local a = gg.prompt({"💳 ENTER YOUR CURRENT COINS 💳:", "💎 ENTER YOUR CURRENT GEMS 💎:"}, arg)
	if not a then
		return funcValue()
	else
		local notInput, value, group = nil, "", ""
		for _, __ in next, a do
			if __ == "" then
				a[_] = "! IMPUT CODE !"
				notInput = true
			else
				value = value..group..__
				group = ";"
			end
		end
		if notInput then
			return funcValue(a)
		end
		return value
	end
end
local customValue = funcValue()
if customValue then
	s = customValue
	gg.setRanges(gg.REGION_ANONYMOUS)
	gg.searchNumber(s, gg.TYPE_DWORD)
	gg.getResults(100) 
	gg.editAll ("999999999", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0)
	gg.clearResults()
	gg.toast('💰 ENJOY 999999999💰')
end
 

 

Recommended Posts

  • 0
Posted

@MonkeySAN
nice thing 😀

still error for me

local function h1()

  local function funcValue()
  local arg = ...
	local a = gg.prompt({"💳 ENTER YOUR CURRENT COINS 💳:", "💎 ENTER YOUR CURRENT GEMS 💎:"},arg)
	if not a then
		return funcValue()
	else
		local notInput, value, group = nil, "", ""
		for _, __ in next, a do
			if __ == "" then
				a[_] = "! IMPUT CODE !"
				notInput = true
			else
				value = value..group..__
				group = ";"
			end
		end
		if notInput then
			return funcValue(a)
		end
		return value
	end
end

local customValue = funcValue()
if customValue then
	s = customValue
	gg.setRanges(gg.REGION_ANONYMOUS)
	gg.searchNumber(s, gg.TYPE_DWORD)
	gg.getResults(100) 
	gg.editAll ("999999999", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
    gg.clearResults()
	gg.toast('💰 ENJOY 999999999💰')
end

local function h2()

gg.setRanges(gg.REGION_ANONYMOUS)

gg.searchNumber("13900;13600;13300;13000;12700;12400;12100;11800;11500;11200;10900;10600;10300;10000;9550;9150::", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0)
revert = gg.getResults(130, nil, nil, nil, nil, nil, nil, nil, nil)
gg.editAll("0", gg.TYPE_DWORD)

gg.searchNumber("8750;8400;8050;7700;7350;7000;6700;6400;6100;5800;5500;5200;4900;4600;4300;4000::", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0)
revert = gg.getResults(130, nil, nil, nil, nil, nil, nil, nil, nil)
gg.editAll("0", gg.TYPE_DWORD)

gg.searchNumber("3750;3500;3250;3000;2750;2500;2250;2000;1750;1550;1350;1150;970::", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0)
revert = gg.getResults(130, nil, nil, nil, nil, nil, nil, nil, nil)
gg.editAll("0", gg.TYPE_DWORD)

gg.searchNumber("780;610;450;310;200;120;60;40;30::", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0)
revert = gg.getResults(130, nil, nil, nil, nil, nil, nil, nil, nil)
gg.editAll("0", gg.TYPE_DWORD)


gg.clearResults()
gg.toast("👌ENJOY👍")
end

local hacks = {
  {name = "💰 999999999 GOLDS-GEMS 💰", func = h1},
  {name = "💰 UNLOCK WAY OF CLASSEMENT 💰", func = h2},
}

local hackNames = {}
local hackFunctions = {}
for i, v in pairs(hacks) do
  table.insert(hackNames, v.name)
  table.insert(hackFunctions, v.func)
end

gg.setVisible(false)
local choice = gg.choice(hackNames,nil,"🔥 999 999 999 COINS/GEMS- HACK WAY OF CLASSEMENT 🔥")
if choice ~= nil then
if choice==1 then h1()
elseif choice==2 then h2()
end
end

 

Screenshot_20210813-055028_F1 VM.jpg

  • 0
Posted

it solved @Lover1500
@MAARS

@MonkeySAN
if it can help someone

function main()
Menu = gg.choice({"💰 CURRENCY HACK 💰","🎉 WAY OF CLASSEMENT FOR 0 POINTS🎉","Exit"},nil,"🔥 R.A.C.E 🔥") 
if Menu == 1 then CH() end
if Menu == 2 then RN() end
if Menu == 3 then Exit() end
end 
function CH() 
gg.setRanges(gg.REGION_ANONYMOUS) 
menu = gg.prompt({   "💳 ENTER CURRENT COINS 💳 :","💎 ENTER CURRENT GEMS 💎 :"
}, {""}, {"number","number"})
gg.searchNumber(menu[1], gg.TYPE_DWORD)
gg.getResults(gg.getResultsCount())
gg.getResults(100) 
gg.editAll ("999999999", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0)
gg.clearResults()
gg.toast('💰 ENJOY 999999999💰')
end 
function RN() 

 

  • 0
Posted (edited)

thats is i what called a traditional way to write a script...like im had always wrote it.

you can look up some of my scripts in this site.(if it still there)

if you want to write like the script in the first post of yours and make it work(more advanced script writing)...you really need to learn Lua.

dont just copy and paste..you need to know what are you doing.

@Lover1500 are one of the good examples.

 

Edited by MonkeySAN

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
×
×
  • 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.