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?
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)User#203880— 6y
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 requestsUser#203880— 6y