Still have questions? Join our Discord server and get real time help.
Log in to vote

Teleporting a player to another player's position?

Asked by 10 months ago
Edited 10 months ago

Please include the code which you are trying to use, so the community will be better-equipped to help you with your problem.

I've been making a GUI with RemoteEvents and all which is supposed to teleport you to a desired player's position. The fact is I've done everything else, verified with print()s, but so far the closest I've got to actually moving the player is changing where the character is facing. Please let me know if you know how to move the character!

Edit: An admin left me a note to include some code, so here it is:

if targetTorso then
        --Teleport the player, not done yet.        
        print("Target torso: " .. tostring(targetTorso.Position) .. " Admin torso: " .. tostring(adminTorso.Position))

Where adminTorso is the torso of the person who is trying to teleport, and targetTorso is the torso of the person who the admin is trying to teleport.

Answer this question