--Repilee 4/21/19
--This script will make any player who is sitting in the car will remove muffle.


local body = script.CarSeat.Value

wait(.1)

body.Parent.DriveSeat.Values.MusicVolume.Changed:Connect(function()
	body.MP.Sound.Volume = body.Parent.DriveSeat.Values.MusicVolume.Value
end)

body.MP.Sound.Volume = body.Parent.DriveSeat.Values.MusicVolume.Value
body.MP.OutsideSound.Volume = 0

body.MP.OutsideSound.Changed:Connect(function(val)
	if val == "Volume" then
		--body.MP.Sound.Volume = body.Parent.DriveSeat.Values.MusicVolume.Value
		body.MP.OutsideSound.Volume = 0 --prevents muffle