Guest User

Untitled

a guest
Jan 3rd, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.81 KB | None | 0 0
  1. local found1 = workspace.CurrentMap.Game:FindFirstChild("Pickups")
  2. if found1 then
  3. gemscoins1 = workspace.CurrentMap.Game.Pickups:GetChildren()
  4. for i,v in pairs (gemscoins1) do
  5. wait(0.1)
  6. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(v.Position)
  7. end
  8. end
  9.  
  10. local found2 = workspace.CurrentMap.Game:FindFirstChild("CoinLocations")
  11. if found2 then
  12. gemscoins2 = workspace.CurrentMap.Game.CoinLocations:GetChildren()
  13. for i,v in pairs (gemscoins2) do
  14. wait(0.1)
  15. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(v.Position)
  16. end
  17. end
  18.  
  19. local found3 = workspace.CurrentMap.Game:FindFirstChild("CrownLocations")
  20. if found3 then
  21. gemscoins3 = workspace.CurrentMap.Game.CrownLocations:GetChildren()
  22. for i,v in pairs (gemscoins3) do
  23. wait(0.1)
  24. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(v.Position)
  25. end
  26. end
  27.  
  28. local found4 = workspace.CurrentMap.Game:FindFirstChild("CoinPickups")
  29. if found4 then
  30. gemscoins4 = workspace.CurrentMap.Game.CoinPickups:GetChildren()
  31. for i,v in pairs (gemscoins4) do
  32. wait(0.1)
  33. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(v.Position)
  34. end
  35. end
  36.  
  37. local found5 = workspace.CurrentMap.Game:FindFirstChild("GemLocations")
  38. if found5 then
  39. gemscoins5 = workspace.CurrentMap.Game.GemLocations:GetChildren()
  40. for i,v in pairs (gemscoins5) do
  41. wait(0.1)
  42. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(v.Position)
  43. end
  44. end
  45.  
  46. local checkpoint1 = workspace.CurrentMap.Game.CheckPointsModel:FindFirstChild("1")
  47. if checkpoint1 then
  48. teleport1 = checkpoint1.Button.Base.Position
  49. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(teleport1)
  50. end
  51.  
  52. local checkpoint2 = workspace.CurrentMap.Game.CheckPointsModel:FindFirstChild("2")
  53. if checkpoint2 then
  54. teleport2 = checkpoint2.Button.Base.Position
  55. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(teleport2)
  56. end
  57.  
  58. local checkpoint3 = workspace.CurrentMap.Game.CheckPointsModel:FindFirstChild("3")
  59. if checkpoint3 then
  60. teleport3 = checkpoint3.Button.Base.Position
  61. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(teleport3)
  62. end
  63.  
  64. local end1 = workspace.CurrentMap.Map:FindFirstChild("EndingTeleporter")
  65. if end1 then
  66. done1 = end1.Base.Position
  67. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(done1)
  68. end
  69.  
  70. local end1 = workspace.CurrentMap.Map:FindFirstChild("EndingTeleporter")
  71. if end1 then
  72. done1 = end1.Base.Position
  73. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(done1)
  74. end
  75.  
  76. local end2 = workspace.CurrentMap.Map:FindFirstChild("EndingTeleporterModel")
  77. if end2 then
  78. done2 = end2.Base.Position
  79. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(done2)
  80. end
Advertisement
Add Comment
Please, Sign In to add comment