Why does my respawn system respawn a different person?

Hi, so I got this system that if you leave a car driver seat, you will be rested and be teleported back above the seat. However, when someone else enters the seat, the first person who entered the car will be respawned to the seat instead of the second person, any ideas on how to fix this?

sorry, I fixed it.

Did you try to update the scripts name, to the Second player who sits in that seat…?

Well I thought, it would update to the new name but doesn’t for some reason using the -

script.Name = player.Name

it just updates with the first name and doesn’t update to the second name when you enter the car.

I see that you’ve fixed it and removed your original post.

For future, I think it’s best if you explain how you fixed it in another reply and mark it as correct. This will help future people with a similar problem to solve the same issue.

2 Likes