local player = game.Players.LocalPlayer
local leaderstats = player:WaitForChild("leaderstats"):FindFirstChild("Stage") -- Change Stage to your Stats
local hasLimits = true
local Limits = 3
script.Parent.MouseButton1Click:connect(function()
if hasLimits == true then
if Limits ~= 0 then
Limits = Limits - 1
script.Parent.Text = "Skip Stage ("..Limits..")"
leaderstats.Value = leaderstats.Value + 1
if player ~= nil then
if player.Character ~= nil then
if player.Character:FindFirstChild("Humanoid").Health > 0 then
player.Character.HumanoidRootPart.CFrame = game.Workspace:FindFirstChild(leaderstats.Value).CFrame + Vector3.new(0,3,0)
end
end
end
end
else
if player ~= nil then
if player.Character ~= nil then
if player.Character:FindFirstChild("Humanoid").Health > 0 then
player.Character.HumanoidRootPart.CFrame = game.Workspace:FindFirstChild(leaderstats.Value).CFrame + Vector3.new(0,3,0)
end
end
end
end
end)
is this script right for a skip stage gamepass

4 comments
Could you comment the error message?
Have you checked your output?
yes i checked the output and for the gamepass it said error try again later btw this was under screen gui for a gamepass
There is no gamepass check