Advertisement
FurkingBoi

obby

Jan 9th, 2020
6,162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.98 KB | None | 0 0
  1. workspace.FallenPartsDestroyHeight = -1000
  2. while wait() do
  3. if game.Players.LocalPlayer.Character:findFirstChild("HumanoidRootPart") then
  4. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(50000,100,50000)
  5. end
  6. local stages = workspace.Stages:getChildren()
  7. for i=1,#stages do
  8. stages[i].SpawnLocation.CanCollide = false
  9. if game.Players.LocalPlayer.Character:findFirstChild("HumanoidRootPart") then
  10. stages[i].SpawnLocation.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  11. end
  12. spawn(function()
  13. local coins = workspace.Coins:getChildren()
  14. for i=1,#coins do
  15. local coinparts = coins[i]:getChildren()
  16. for i=1,#coinparts do
  17. if coinparts[i]:findFirstChild("Sound") then
  18. coinparts[i].Sound.Volume = 0
  19. end
  20. if game.Players.LocalPlayer.Character:findFirstChild("HumanoidRootPart") then
  21. coinparts[i].CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  22. end
  23. end
  24. end
  25. end)
  26.  
  27. end
  28. game.ReplicatedStorage.Remotes.Rebirth:InvokeServer()
  29. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement