F.updateWindows=function(q,y)if script.Parent.Parent.Windows:findFirstChild(q)then(script.Parent.Parent.Windows:findFirstChild(q)).Value=y end end F.updateSong=function(q)carSeat.Parent.Body.MP.Sound:Stop()wait()carSeat.Parent.Body.MP.Sound.SoundId="\114\098\120\097\115\115\101\116\105\100\058\047\047"..q wait()carSeat.Parent.Body.MP.Sound:Play()end F.updateVolume=function(q)carSeat.Parent.Body.MP.Sound.Volume=carSeat.Parent.Body.MP.Sound.Volume+q end F.updateValue=function(q,y)if q then q.Value=y end end


F.updateWindows = function(Window, Toggle)
	if script.Parent.Parent.Windows:findFirstChild(Window) then
		script.Parent.Parent.Windows:findFirstChild(Window).Value = Toggle
	end	
end

F.updateSong = function(Song)
	carSeat.Parent.Body.MP.Sound:Stop()
	wait()
	carSeat.Parent.Body.MP.Sound.SoundId = "rbxassetid://"..Song
	wait()
	carSeat.Parent.Body.MP.Sound:Play()
end

F.updateVolume = function(Vol)
	carSeat.Parent.Body.MP.Sound.Volume = carSeat.Parent.Body.MP.Sound.Volume + Vol
end

F.updateValue = function(Val, Value)
	if Val then
		Val.Value = Value
	end
end
