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

@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

Link to comment
Share on other sites

  • 0

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

Β 

Link to comment
Share on other sites

  • 0

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