Advertisement
Markjac

Roblox Frozen Spawn then teleport

Nov 22nd, 2016
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.66 KB | None | 0 0
  1. --Script inside part
  2. touchable = true
  3.  
  4. function onTouched(hit)
  5. if touchable == false then return end
  6. touchable = false
  7. local human = hit.Parent:findFirstChild("Humanoid")
  8. if human ~= nil then
  9. hit.Parent.Torso.Anchored = true
  10. touchable = true
  11. end
  12. end
  13. script.Parent.Touched:connect(onTouched)
  14.  
  15. ----------------------------------------------
  16.  
  17.  -- Script inside a GUI
  18. script.Parent.Parent.Parent.Parent.Parent.Character.Torso.CFrame = CFrame.new(6.419, 38.96, 65.479)
  19. player = game.Players.LocalPlayer.Character
  20. wait(5)
  21. script.Parent.Parent.Parent.Parent.Parent.Character.Torso.CFrame = CFrame.new(-9.7, 31.14, 62.41)
  22. player.Torso.Anchored = false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement