I have already researched around this topic but nothing seems to work, I made a script already and the code seems right with no error
I want it so that when the player is no longer sitting on the vehicle seat, the music goes to volume 0
Also I checked console and it didn’t print “Already 0”
local Drive = --path to the driver seat
local music = workspace.Music
Drive:GetPropertyChangedSignal("Occupant"):Connect(function()
if Drive.Occupant == nil then
music.Volume = 0
print("already 0!")
end
end)