at line 5 is where it says if the Value of Skips is bigger than 1 then proceed and remove 1 of the skips from the player and add one stage value to the player..
Help?
Skips = game.Players.LocalPlayer.PlayerStats:FindFirstChild("Skips")
Stage = game.Players.LocalPlayer.PlayerStats:FindFirstChild("Stage")
script.Parent.MouseButton1Click:connect(function(plr)
if Skips.Value >= 1 then
Stage.Value = Stage.Value +1
wait(.1)
Skips.Value = Skips.Value -1
wait(.1)
script.Parent.Parent.Parent.Load.Frame.Visible = true
wait(3)
script.Parent.Parent.Parent.Parent.Character.Humanoid.Health = 0
if Stage.Value == 31 then
Skips.Value = 0
end
end
end)
