Heya guys! I’m working on a game and I want to have a join match button on the side that appears whenever the players are in a cross-wave where there’s no active fight.
I’m trying to teleport the player-s, and clones of the guards.
I tried to take a teleporter script and modify it to my needs but I got confused, then I thought about making a local script but I’m not sure if it would work with FE.
I’m not sure if this is useful but here’s the layout of the UI so far
You can teleport the local player in a local script. But if you want to teleport all the players, do it through the server. But you can’t teleport NPCs, so you can put them in the place where you are teleporting them.
If you want the NPCs to teleport with the player I’d suggest you use a RemoteEvent. (Client to Server) Teleport the Player in the LocalScript and the NPC in the ServerSide Script. Because only the LocalPlayer can see the moved NPC if you only use a LocalScript.
Set the cframe of the humanoid root part of the npcs to a parts cframe, place the part where u want them to get teleported to and make sure the part is anchored, can collide off and transparency 1