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

You know I don't know too much about scripts but maybe you're missing:

gg.setValues()

after your edit. I dunno though, I'm guessing 🤷🏻‍♂️

  • 0
Posted

thanks @sammax71 i dont think so if it that or no but this script work fine without menu but i try to merge in function 1

  • 0
Posted (edited)

who the f*ck use underscore as a variable name ☹️

2 hours ago, blocx said:

i do not precise script wont launch

You seem to be interested in scripting, if you're, learn lua all of these will be clear for you

Edited by MAARS
  • 0
Posted
5 hours ago, blocx said:
local arg = ...

Think this line might also be a problem... When the whole script is ran the error returned isUntitled32_20210812101903.thumb.png.1ae6e51a2992227dec09b300f1b6764c.png

Try  v

5 hours ago, blocx said:
local funcValue(args)
local args = {...}

 

 

  • 0
Posted

 

local function h1()   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 funcValue(args) local args = {...} 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  

 

Screenshot_20210812-164514_F1 VM.jpg

Screenshot_20210812-164507_F1 VM.jpg

  • 0
Posted
29 minutes ago, AKidWithMidgetFriend said:

Think this line might also be a problem... When the whole script is ran the error returned isUntitled32_20210812101903.thumb.png.1ae6e51a2992227dec09b300f1b6764c.png

Try  v

 

declare FuncValue as a function,

local function FuncValue (...)
  --
end

 

  • 0
Posted (edited)

maybe this could work..?

as suggested by @MAARS

--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

 

Edited by MonkeySAN
  • 0
Posted

@MonkeySAN
still error with gg launch

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,"🔥 9999 KEYS / RINGS TO 999 999 999 / MAX LEVEL 🔥")
if choice ~= nil then
  hackFunctions[choice]()
end

 

  • 0
Posted (edited)
1 hour ago, MonkeySAN said:

maybe this could work..?

as suggested by @MAARS

--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

 

you only show a tiny part from the script and above is working without the 

local function h1()

you just cant copy paste it with the rest of the script and hoping it will work.

Edited by MonkeySAN
  • 0
Posted
function funcValue()
local a = gg.prompt({"💳 ENTER YOUR CURRENT COINS 💳:", "💎 ENTER YOUR CURRENT GEMS 💎:"})
if not a then
return end

group=';'
t={}

for b, c in ipairs(a) do
if not tonumber(c) then return print('Input number pls') end
table.insert(t, c) --put value into table t
end
--you can check t[1] and t[2] by print(t)
groupsearch=t[1]..group..t[2]
return groupsearch
end

lol=funcValue()
print(lol)

I think this is what u need. I write this to be clear as possible as i can.

40 minutes ago, MonkeySAN said:

you only show a tiny part from the script and above is working without the

sometime it needs more info like monkeysan said. 

  • 0
Posted

Then Upload your script. Theres missing something in your code block. I'll check it out.  Dont worry. We wont steal your hack values XD

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.