Advertisement
julialy

Untitled

Jan 30th, 2016
232
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.32 KB | None | 0 0
  1. Delay(0, function()
  2. local player = game.Players.uyjulian
  3. local pos = CFrame.new()
  4. local pause = false
  5. Delay(0, function()
  6. while not close do
  7. wait()
  8. if not pause then
  9. local c = player.Character
  10. if c then
  11. local t = c:findFirstChild("Torso")
  12. if t then
  13. pos = t.CFrame
  14. end
  15. end
  16. end
  17. end
  18. end)
  19. player.CharacterAdded:connect(function(c)
  20. if not close then
  21. pause = true
  22. repeat wait() until c:findFirstChild("Torso") and c:findFirstChild("Humanoid")
  23. c:findFirstChild("Torso").CFrame = pos
  24. c:findFirstChild("Humanoid").Died:connect(function()
  25. player:LoadCharacter()
  26. end)
  27. pause = false
  28. end
  29. end)
  30. pcall(function() player.Character:BreakJoints() end)
  31. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement