How do I make the player automatically sit in a car when the car spawns?

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!
    I want to create an arcade racer. Every time the player resets the player spawns in with a new car.

  2. What is the issue? Include screenshots / videos if possible!

When the player spawns in, they will manually have to press “E” to enter which gets annoying after a short period of time.

  1. What solutions have you tried so far? Did you look for solutions on the Developer Hub?

I have tried to using a function to add a seatweld to the player into the script with the spawner, but doesn’t work.

The seat object has a method called :Sit where you pass the humanoid of a character you wish to put in the seat.

2 Likes

You could put a script into staertercahracterscript and do this

script.Parent.HumanoidRootPart.Position = seat position

if you want the player to stay in the car, then edit the startplayer to jump height 0

a better method would be (never fails)

seat:Sit(Script.Parent.Humanoid)

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.