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?

4 comments

0

Use a ProximityPrompt, InputBegan (Debounce GP bool & match Keycode Enum), call MoveTo on the Character.

0

thank you

0

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.