ADVERTISEMENTREMOVE ADS
infinite money
52,115 views
Description
Execute this script and your money will increase by the number at the top (you can change it)
written by techhog
Features:
- infinite money
ADVERTISEMENTREMOVE ADS
92 Lines • 2.37 KiB
local MONEY_TO_ADD = 10000000000000000000000
-- written by techhog
-- if you enter a number too high, the game will insta ban you
-- display a message notifying the user if they enter a number too high
if MONEY_TO_ADD > 1e308 then
local msg = "TOO BIG; YOU WILL BE BANNED PERMANENTLY FROM THE GAME"
if Drawing then
local message = ""
local wordcount = 0
message = (msg:gsub("([%a;]+ [%a;]+ [%a;]+ [%a;]+ )", "%1\n"))
local square = Drawing.new("Square")
square.Position = Vector2.new(200, 300)
square.Size = Vector2.new(800, 200)
square.Filled = true
square.Color = Color3.new(1, 1, 1)
square.Visible = true
task.delay(5, square.Destroy, square)
local text = Drawing.new("Text")
text.Size = 60
text.Text = message
text.Position = square.Position
text.Visible = true
task.delay(5, text.Destroy, text)
else
local message = Instance.new("Message")
message.Parent = workspace
message.Text = msg
task.delay(5, message.Destroy, message)
end
error(msg)
end
-- get a list of all functions
local function_list = {}
for index, object in getgc(false) do
if type(object) ~= "function" then
continue
end
local func = object
if not islclosure(func) or isexecutorclosure(func) then
continue
end
function_list[index] = object
end
-- find the function that communicates to the server
local INVOKE = nil
for _, func in function_list do
local num_params, variadic = debug.info(func, "a")
if not variadic or num_params ~= 1 then
continue
end
if debug.info(func, 'n') ~= "Invoke" then
continue
end
INVOKE = func
break
end
assert(INVOKE, "failed to get invoke")
-- find the function that updates money
local UPDATE_MONEY = nil
for _, func in function_list do
local num_params, variadic = debug.info(func, "a")
if variadic or num_params ~= 2 then
continue
end
if #getupvalues(func) ~= 1 then
continue
end
local upvalue = getupvalue(func, 1)
if type(upvalue) ~= "function" or upvalue ~= INVOKE then
continue
end
UPDATE_MONEY = func
break
end
assert(UPDATE_MONEY, "FAILED TO GET UPDATEMONEY")
UPDATE_MONEY(MONEY_TO_ADD)
ADVERTISEMENTREMOVE ADS
ADVERTISEMENTREMOVE ADS






Comments