you know when your playing a roblox game and there is a door and it says press E and you press the E on your keyboard and it teleports you to another place how do you do that? i know you need a gui for the press e but how do you teleport the player using UserInputService? from a part/door?
COMMUNITY QUESTION
How do i make a Teleport when pressing a key to go through a door?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

4 comments
Use a ProximityPrompt, InputBegan (Debounce GP bool & match Keycode Enum), call MoveTo on the Character.
thank you
wait im still confused im using the proximity prompt but im trying to teleport the player to another place not to another area on the map.
https://developer.roblox.com/en-us/api-reference/function/TeleportService/Teleport