Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
-2

How to add leaderstats value on part clicked?

Asked by 10 years ago

How would I go about adding a leaderstats value to a player that clicked a part? I have the part working with a click detector, but I can't figure out how to add points.

Thank you!

0
Please post attempted script NinjoOnline 1146 — 10y

1 answer

Log in to vote
1
Answered by
adark 5487 Badge of Merit Moderation Voter Community Moderator
10 years ago

I don't fully understand your problem?

player.leaderstats.Points.Value = player.leaderstats.Points.Value + 5
Ad

Answer this question