RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"Pls donate stand"
-- server script for a donate stand local part = script.Parent local function donate(otherPart) local player = game.Players:FindFirstChild(otherPart.Parent.Name) if player then local playerMoney = player.leaderstats.Money.Value if playerMoney > 0 then player.leaderstats.Money.Value = playerMoney - 1 game.Workspace.Donations.Value = game.Workspace.Donations.Value + 1 end end end part.Touched:Connect(donate)