Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How would i make a "teleport player to location" command?

Trying to figure out how to send a specific player to a location by just saying a command like "!Teleport Bob to cage". Reason why im having trouble is that i know very little about chat commands/detectors and taking a specific player to a new location just makes the job harder for me. Any comment about this would be helpful.

1 comment

0

:MoveTo()

2 answers

✓ Accepted answer

This wiki article actually covers just that kind of use case, friend.

https://developer.roblox.com/en-us/articles/Chat-Modules

As for teleporting on itself, you can try and set the Player's Character's HumanoidRootPart's CFrame to the CFrame of the destination, and keep a list of those in a dictionary or something.

This discussion is preserved as it was. New answers, comments, and votes are closed.