I know this is kind of a nooby question, but I wanted to know if there was someone who could give me a script that increased a leaderstat. Thanks!
COMMUNITY QUESTION
A Tool Script/Localscript that increases a leaderstat?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
I have a script in a brick that gives you +1 level when you walk on it, but im having trouble with this. This Is the one for the brick:
script.Parent.Touched:connect(function(hit) if hit.Parent:FindFirstChild('Humanoid') then -- Make sure humanoid is a player game.Players[hit.Parent.Name].leaderstats.PowerLevel.Value = game.Players[hit.Parent.Name].leaderstats.PowerLevel.Value + 2 end end)