Pretty much this is a obstacle course game.
This is a TextButton that allows you to skip a Stage.
What the player needs is atleast 1 Skip which is a PlayerStat
If the Player has one skip and clicks this then it subtracts 1 skip and adds 1 Stage.
Both of these are Statistics Values.
Skips = game.Players.LocalPlayer.PlayerStats.Skips
Stage = game.Players.LocalPlayer.PlayerStats.Stage
if Skips.Value >= 1 then
Stage.Value = Stage.Value +1
wait(.1)
Skips.Value = Skips.Value -1
end

2 comments
Is this the entire script?
yes.