i did the script but wont work ingame just in studio
Button = script.Parent.TextButton Player = game.Players.LocalPlayer Button.MouseButton1Down:connect(function() Player.leaderstats.Money.Value = Player.leaderstats.Money.Value + 10 end)
local Button = script.Parent:WaitForChild('TextButton') local Player = game.Players.LocalPlayer local leader = Player:WaitForChild('leaderstats') local Money = leader:WaitForChild('Money') Button.MouseButton1Down:connect(function() Money.Value = Money.Value + 10 end)