Jump to content
  • 0

script


blocx
 Share

Question

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
 

 

Link to comment
Share on other sites

Recommended Posts

  • 0

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
Link to comment
Share on other sites

  • 0

 

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

Link to comment
Share on other sites

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

 

Link to comment
Share on other sites

  • 0

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
Link to comment
Share on other sites

  • 0

@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

 

Link to comment
Share on other sites

  • 0
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
Link to comment
Share on other sites

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

Link to comment
Share on other sites

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
 Share

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