I have been trying to make a obby and have run into a problem with stages, when i touch the block and move around the value goes up instead of adding just one (stage one). I appreciate the help!
1 | script.Parent.Touched:connect( function () |
2 | for _,Player in pairs (game.Players:GetPlayers()) do |
3 | if Player:FindFirstChild( "leaderstats" ) then |
4 | Player.leaderstats.Stage.Value = Player.leaderstats.Stage.Value + 1 |
5 | end |
6 | end |
7 | end ) |
thx