bennytrt2

Silly’s Difficulty Chart Obby Script | AUTO FARM

Apr 17th, 2022 (edited)
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. while wait() do
  2. maxstage = 0
  3. for i, v in pairs(game:GetService("Workspace").Checkpoints:GetChildren()) do
  4. maxstage = maxstage + 1
  5. end
  6. stage = game:GetService("Players").LocalPlayer.leaderstats.Stage.Value
  7. for i = stage, maxstage do
  8. firetouchinterest(game:GetService("Workspace").Checkpoints[i], game:GetService('Players').LocalPlayer.Character.HumanoidRootPart, 0)
  9. wait()
  10. firetouchinterest(game:GetService("Workspace").Checkpoints[i], game:GetService('Players').LocalPlayer.Character.HumanoidRootPart, 1)
  11. wait(0.1)
  12. if (i == maxstage) then
  13. game:GetService("ReplicatedStorage").Remotes.Rebirth:InvokeServer(5)
  14. wait(1)
  15. end
  16. end
  17. end
  18.  
  19.  
  20. ONLY COPY THE ABOVE CREDITS AND THE PURPOSE OF THIS SCRIPT WILL BE UNDER HERE!
  21.  
  22. Created by yayamelia
  23.  
  24. THE SCRIPT IS AN AUTO FARM SCRIPT
Add Comment
Please, Sign In to add comment