you need to call teleport on the server,
what you need is a RPC (Remote Procedure Call) call from the client to the server on pressing E
meaning, an event set to run on server and Reliable
added fun is, as a client you can only call RPC on owned actors, in your case best probably on the player character,
meaning you will need to add the logic on your player character, which needs to get the data for teleportation