Hello, I got a small problem I cannot teleport players while there seated in the truck for my story game or aka camping game I would like some help from anyone who knows how to teleport someone who is seated. this is all I ask for, have a good day and try to help out!

There are no scripts for anything but the truck moving and teleporting into the truck.

Edit: I forgot to tell you there are 2 trucks so don't answer me with something that works for one truck.

4 comments

0

You have to destroy the seat weld and then move them, both from server code.

0

@EmilyBendsSpace can you give more context on how to do this?

0

@RecycleBicycle You would probably have a function telling how many people are seated. If players seated is the appropriate number for your game then call a function that removes all the seats and teleports them to the "camping game". You can make a function that clones the truck everytime it is used. Or just like @EmilyBendsSpace said you can remove the welds. All this is done in server code.

0

yeah but im looking to do it when the truck is out of bounds @123nabilben123