Handto Script: Giving coins

resolved, thank you!

edited so the original script wouldn’t be here

You can change the Coins value within leaderstats. Assuming it’s a numbervalue, do it like this.

local Coins = player.leaderstats:FindFirstChild("Coins")
if Coins then
   Coins.Value += 1 --Same thing as Coins.Value = Coins.Value + 1, just a shorter way to write it
end
1 Like