SHARE
TWEET

Untitled

a guest Jan 24th, 2020 120 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. script.Parent.ClickDetector.MouseClick:Connect(function(plr)     <- click detector teleport
  3.         plr.Character.Torso.CFrame = game.Workspace.Teleport2.CFrame
  4.         print("teleported")
  5.     end)
  6.  
  7.  
  8.  
  9. db = false
  10. script.Parent.Touched:connect(function(hit)
  11.     if hit.Parent:FindFirstChild("Humanoid") then
  12.         local player = game.Players:GetPlayerFromCharacter(hit.Parent)
  13.         if db == false then                                                  <- normal teleport
  14.             db = true
  15.             hit.Parent.Torso.CFrame = game.Workspace.Teleport2.CFrame
  16.             db = false
  17.     end
  18. end
  19. end)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top