Yukimaru

Deathrun

Jul 13th, 2018
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 KB | None | 0 0
  1. if workspace.CurrentMap.Game:findFirstChild("Pickups") then
  2. local pickup = workspace.CurrentMap.Game.Pickups:getChildren()
  3. for i=1,#pickup do
  4. wait(0.2)
  5. game.Players.LocalPlayer.Character:MoveTo(pickup[i].Position)
  6. end
  7. end
  8.  
  9. if workspace.CurrentMap.Game:findFirstChild("CoinPickups") then
  10. local pickup = workspace.CurrentMap.Game.CoinPickups:getChildren()
  11. for i=1,#pickup do
  12. wait(0.2)
  13. game.Players.LocalPlayer.Character:MoveTo(pickup[i].Position)
  14. end
  15. end
  16.  
  17.  
  18. local checkpoint = workspace.CurrentMap.Game.CheckPointsModel:getChildren()
  19. for i=1,#checkpoint do
  20. wait(0.2)
  21. game.Players.LocalPlayer.Character:MoveTo(checkpoint[i].Button.Base.Position)
  22. end
  23.  
  24. wait(0.5)
  25.  
  26. if workspace.CurrentMap.Map:findFirstChild("EndingTeleporter") then
  27. game.Players.LocalPlayer.Character:MoveTo(workspace.CurrentMap.Map.EndingTeleporter.Base.Position)
  28. end
  29.  
  30. if workspace.CurrentMap.Map:findFirstChild("EndingTeleporterModel") then
  31. game.Players.LocalPlayer.Character:MoveTo(workspace.CurrentMap.Map.EndingTeleporterModel.Base.Position)
  32. end
Add Comment
Please, Sign In to add comment