Hi! I am making a race car game, and I made it so that when a player hits the finish line, they should teleport to a part. Unfortunately, it seems like if they step on the finish line while in the car, it just ejects the player from the car and does not teleport them. I also noticed that when the player touches the finish line without the car (meaning they walk on it), it works fine. Is there any piece of code I could use to “eject” a player from the seat? Something close to what I want to achieve (note: The first line is just theoretical, I just am guessing how it might look like):
Is there any code that is similar to the code I put above, or acts in the same way as the code I currently have:
only works when the player is not in the car. Otherwise, it just pushes the player out of the car and does nothing else. Any help would be appreciated! Thank you!