Pretty simple, I'm pretty sure the wiki tutorials would have covered how to do this. I honestly think you should read the wiki rather than asking, I know its ok to ask but most of this stuff is covered on the wiki, which provides some of the best answers, but oh well. Heres a script. Make sure its in a regular script.
1 | script.parent.ClickDetector.MouseClick:connect( function (player) |
2 | player.leaderstats.Money = player.Leaderstats.Money + 1 |
3 | script.Parent.Parent = ServerStorage |
5 | script.Parent.Parent = game.Workspace |
Like I said, all on the wiki.
http://wiki.roblox.com/index.php?title=Leaderboard
http://wiki.roblox.com/index.php?title=API:Class/ClickDetector
http://wiki.roblox.com/index.php?title=How_to_Make_a_Model_Regenerate
Closed as Not Constructive by evaera
This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.
Why was this question closed?