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?
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.
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.
I have fixed it myself by changing they whole engine sound script and putting in the stock engine sound instead.