Advertisement
BenjaminPlays

/tele command -ROBLOX

Sep 29th, 2020 (edited)
246
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. MAKE A LOCAL SCRIPT IN CHAT SERVICE AND COPY AND PASTE THIS INTO THE SRIPT!
  2.  
  3. local player = game.Players.LocalPlayer
  4. local HRP = player.Character.HumanoidRootPart
  5.  
  6. function onChatted(msg, recipient, speaker)
  7.  
  8. local source = string.lower(speaker.Name)
  9. msg = string.lower(msg)
  10. if (msg == "/tele") then
  11. HRP.Position = Vector3.new(0,0,0) ---Replace the 0,0,0 with the position you want the person to tp to.---
  12. end
  13. end
  14. function onPlayerEntered(newPlayer)
  15. newPlayer.Chatted:connect(function(msg, recipient) onChatted(msg, recipient, newPlayer) end)
  16. end
  17.  
  18. game.Players.ChildAdded:connect(onPlayerEntered)
  19.  
  20.  
  21. [MAKE A LOCAL SCRIPT!!!]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement