Advertisement
XxxLloyd061302xxX

Skip Stage Gui Script

Jun 2nd, 2017
16,390
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.01 KB | None | 0 0
  1. -- Made by XxxLloyd061302xX
  2. local player = game.Players.LocalPlayer
  3. local leaderstats = player:WaitForChild("leaderstats"):FindFirstChild("Stage") -- Change Stage to your Stats
  4. local hasLimits = true
  5. local Limits = 3
  6.  
  7. script.Parent.MouseButton1Click:connect(function()
  8. if hasLimits == true then
  9. if Limits ~= 0 then
  10. Limits = Limits - 1
  11. script.Parent.Text = "Skip Stage ("..Limits..")"
  12. leaderstats.Value = leaderstats.Value + 1
  13. if player ~= nil then
  14. if player.Character ~= nil then
  15. if player.Character:FindFirstChild("Humanoid").Health > 0 then
  16. player.Character.HumanoidRootPart.CFrame = game.Workspace:FindFirstChild(leaderstats.Value).CFrame + Vector3.new(0,3,0)
  17. end
  18. end
  19. end
  20. end
  21. else
  22. if player ~= nil then
  23. if player.Character ~= nil then
  24. if player.Character:FindFirstChild("Humanoid").Health > 0 then
  25. player.Character.HumanoidRootPart.CFrame = game.Workspace:FindFirstChild(leaderstats.Value).CFrame + Vector3.new(0,3,0)
  26. end
  27. end
  28. end
  29. end
  30. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement