-- Add this Server Script into ServerScriptService local Players = game:GetService("Players") Players.PlayerAdded:Connect(function(player) -- Creates the Cash stat folder when the player joins local leaderstats = Instance.new("Folder") leaderstats.Name = "leaderstats" leaderstats.Parent = player local cash = Instance.new("IntValue") cash.Name = "Cash" -- Matches standard leaderstats names cash.Value = 0 cash.Parent = leaderstats end) -- RemoteEvent for handling the click local remoteEvent = Instance.new("RemoteEvent") remoteEvent.Name = "CashClickEvent" remoteEvent.Parent = game.ReplicatedStorage -- Server function that runs when the player clicks remoteEvent.OnServerEvent:Connect(function(player) local leaderstats = player:FindFirstChild("leaderstats") local cash = leaderstats and leaderstats:FindFirstChild("Cash") if cash then -- Set to an artificially high number to represent "infinite cash" cash.Value = 999999999 end end)