I want make a obby, and , finishing some map you win 10 points ! So... anyone knows a YouTube video or a script about how to make that?

4 comments

0

local Brick = script.Parent Brick.Touched:Connect(function(hit) local plr = game.Players:FindFirstChild(hit.Parent.Name) if plr then local Points = plr:WaitForChild('leaderstats'):WaitForChild('Points') Points.Value = Points.Value + 10 end end)

0

If I made a typo tell me, if the stat isn't called 'Points' change it to what you want (in the waitforchild, you don't have to change the var name), also, this isn't for requests

0

thnks

0

This isn't a request site. Goes for those asking and the ones wanting to give an entire script. Don't abuse this site.