Inf Money
Key Required

Inf Money

Supermarket SimulatorIrdkIrdk 5.9K views 389 executesUpdated Dec 26, 2024
3.8/ 5(4 votes)
3175% Positive
Lua Script•56 lines (1581 chars)
--[[ 
    Supermarket Simulator Script
]]

-- Define the gold amount to add and other arguments
local goldAmount = 1 -- Set the amount of gold to change
local isFree = false -- Whether the action is marked as "free"

-- Function to invoke the gold change
local function changeGold(amount, free)
    -- Check if the required services and objects exist
    local replicatedStorage = game:GetService("ReplicatedStorage")
    if not replicatedStorage then
        warn("ReplicatedStorage not found. Exiting script.")
        return
    end

    local events = replicatedStorage:FindFirstChild("Events")
    if not events then
        warn("Events folder not found in ReplicatedStorage. Exiting script.")
        return
    end

    local gold = events:FindFirstChild("Gold")
    if not gold then
        warn("Gold folder not found in Events. Exiting script.")
        return
    end

    local changeGoldRF = gold:FindFirstChild("ChangeGoldRF")
    if not changeGoldRF then
        warn("ChangeGoldRF RemoteFunction not found in Gold. Exiting script.")
        return
    end

    -- Create arguments for the remote function
    local args = {
        [1] = "ChangeGold",
        [2] = amount,
        [3] = free
    }

    -- Safely invoke the server function
    local success, result = pcall(function()
        return changeGoldRF:InvokeServer(unpack(args))
    end)

    if success then
        print("Gold successfully changed! Result:", result)
    else
        warn("Failed to change gold. Error:", result)
    end
end

-- Execute the gold change
changeGold(goldAmount, isFree)

Features & Information

Irdk Buttt... Inf Money ig More Features Coming Soon! Open Source Inspired By: *srojs

Community Comments (7)

MaskaMaskaDec 26, 2024(edited)

does it work with nezur? Becuase when I execute it dosen't do anything

IrdkIrdkDec 26, 2024(edited)

@Maska I ran this on Xeno, You can always try switching executors, or try changing the goldAmount on ~Line 9. Hope this helped :)

IrdkIrdkDec 26, 2024(edited)

@Facebook Oh... I just never thought of it like that T_T

MaskaMaskaDec 26, 2024(edited)

thanks man

IrdkIrdkDec 26, 2024(edited)

@Maska Np Man :)

ExortExortDec 27, 2024(edited)

chatgpt lookin ahh

DifbeastDifbeastFeb 13, 2026

doesnt work

More Scripts for Supermarket Simulator