Teleportation Glitch When on Seat

Hi! I just started on a game that involves quite a few “seat” parts. (Parts you can sit on) There are also a few cases where you teleport in the game. While testing the game, I found that if you are sitting down and you try to teleport, the seat will move with you. Are there any ways I can somehow disconnect the player from the seat when they press the teleport GUI? Thanks!

(I was not sure which category to put this in, so I put it in Building Support because it sort of relates to the physics engine)

1 Like

So I did a bit of research in seats…
Seat (roblox.com)
I found that by using the following line of code, you can destroy the weld.

seat:FindFirstChild(“SeatWeld”):Destroy()

I think I can incorporate this line of code into the game to fix the bug. (I would go through and destroy all local SeatWelds before the player teleports)

1 Like

Well using that line of code didn’t work, it did the same thing and I wasn’t able to enter any seats after…

1 Like