Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- MAKE A LOCAL SCRIPT IN CHAT SERVICE AND COPY AND PASTE THIS INTO THE SRIPT!
- local player = game.Players.LocalPlayer
- local HRP = player.Character.HumanoidRootPart
- function onChatted(msg, recipient, speaker)
- local source = string.lower(speaker.Name)
- msg = string.lower(msg)
- if (msg == "/tele") then
- HRP.Position = Vector3.new(0,0,0) ---Replace the 0,0,0 with the position you want the person to tp to.---
- end
- end
- function onPlayerEntered(newPlayer)
- newPlayer.Chatted:connect(function(msg, recipient) onChatted(msg, recipient, newPlayer) end)
- end
- game.Players.ChildAdded:connect(onPlayerEntered)
- [MAKE A LOCAL SCRIPT!!!]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement