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

Teleport to place via Gui?

I don't need code, but I would like to know how you can make a GUI teleport a player to another place through an interaction of some sort. It's probably simple, but I'm clueless.

1 answer

✓ Accepted answer

Whelp, here's what I can think of. I would put a TextButton on the screen and have on :OnClick() event in a local script (inside the TextButton) connect to a server side RemoteFunction and send the LocalPlayer's Humanoid to the server side script. Then the server side RemoteFunction would just teleport the player using the humanoid to the new wanted position. You could even send the new position from the localscript to the server script. The reason I would do it this way is to get around FilteringEnabled. If you aren't using FilteringEnbaled, then just use the same local script to teleport the humanoid to a different position.

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