SHARE
TWEET

TP chest + TP NPC Shanks/WhiteBeard

PG_MCVN Jan 22nd, 2019 5,683 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- will only work when shanks is available else will tp ya to random mobs[/align]
  2. [align=center]local plr = game.Workspace[game.Players.LocalPlayer.Name].HumanoidRootPart
  3. local path = game.Workspace
  4. for i,v in pairs(path:GetChildren()) do
  5. if v.ClassName == 'Model' and v:FindFirstChild("Humanoid") then
  6. plr.CFrame = v.HumanoidRootPart.CFrame
  7. end
  8. end
  9.  
  10. TP Chest
  11.  
  12. local plr = game.Workspace[game.Players.LocalPlayer.Name].HumanoidRootPart
  13. local path = game.Workspace.Chests
  14. for i,v in pairs(path:GetChildren()) do
  15. if v.Name == 'Chest' then
  16. v.CFrame = plr.CFrame
  17. end
  18. 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