Model: https://create.roblox.com/store/asset/1871...
scripts:
Leaderstats:
game.Players.PlayerAdded:Connect(function()
local stats = Instance.new("Folder", player)
stats.Name = "leaderstats"
local cash = Instance.new("NumberValue", stats)
cash.Value = 0
cash.Name = "Cash"
end)
ClickButton:
script.Parent.MouseButton1Click:Connect(function()
local player = game.Players.LocalPlayer
local cash = player.leaderstats.Cash
cash.Value = cash.Value + 100000