Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Player = game.Players.LocalPlayer
- local Value = Player:WaitForChild("leaderstats").Points -- Change Points to the name of your Value
- local button = script.Parent
- button.MouseButton1Click:Connect(function()
- Value.Value = Value.Value + 1 -- Change 1 to the value per click
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement