cortesjoren

Mega Fun Obfby Script

Feb 1st, 2019
213
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.26 KB | None | 0 0
  1. --Mega Obby Fun Script (created by brianops1)
  2. --https://www.roblox.com/games/12996397/Mega-Fun-Obby-1740-Stages
  3.  
  4. _G.on = 1 --set and execute with 0 if you want to turn it off
  5.  
  6. stage = 2000 --set to the stage you want to stop at
  7.  
  8. auto = true --set to false if you don't want to prestiege once you are at 1740
  9.  
  10.  
  11. plr = game:GetService('Players').LocalPlayer
  12. Root = plr.Character.HumanoidRootPart
  13. PS = plr["leaderstats"]["Stage"]
  14. while PS.Value < stage and _G.on == 1 do
  15. if PS.Value == 1 then
  16. Root.CFrame = CFrame.new(743, 30, 1815)
  17. wait()
  18. end
  19. goto = PS.Value + 1
  20. if PS.Value >= 1700 then
  21. local A_1 = "prestige"
  22. local Event = game:GetService("ReplicatedStorage").ntw.RE
  23. Event:FireServer(A_1)
  24. end
  25. go = game:GetService("Workspace")["stages"]:FindFirstChild(goto)
  26. if go then
  27. Root.CFrame = go.CFrame * CFrame.new(0,1,0)
  28. repeat wait() until PS.Changed:wait()
  29. local A_1 = "stage"
  30. local Event = game:GetService("ReplicatedStorage").ntw.dataStream
  31. Event:InvokeServer(A_1)
  32. else
  33. if PS.Value >= 1700 then
  34. local A_1 = "prestige"
  35. local Event = game:GetService("ReplicatedStorage").ntw.RE
  36. Event:FireServer(A_1)
  37. end
  38. for i = 1,40 do
  39. T = "tele"..i
  40. local tele = game.Workspace:FindFirstChild(T)
  41. if tele then
  42. Root.CFrame = tele.CFrame
  43. wait(.2)
  44. end
  45. wait(.2)
  46. end
  47. end
  48. end
Add Comment
Please, Sign In to add comment