A-Chassis, Engine sound not stopping when out of seat

Hello, my problem is:

Whenever I jump out my car, the engine sound will not stop, and will continue;

How would I make it so whenever the player jumps out the car, the car engine sound will stop?

Seat:GetPropertyChangedSignal("Occupant"):Connect(function()
	if not Seat.Occupant then Sound:Stop() end
end)

Where ‘Seat’ is a reference to the vehicle’s seat and ‘Sound’ is a reference to the engine sound object.

2 Likes

Didn’t work, I put the script in the seat and referenced where the engine sound is and the seat, gave no errors but just didn’t work.

Then you must have implemented it incorrectly, I recommend debugging further on your end.

1 Like

I have fixed it myself by changing they whole engine sound script and putting in the stock engine sound instead.