--	if math.floor(v) < 75 then
--		carSeat.Parent.Body.MP.Sound.RollOffMode = "LinearSquare"
--	else
--		carSeat.Parent.Body.MP.Sound.RollOffMode = "Inverse"
--	end

end

function wiperF(a,w)
	carSeat.Parent.Misc.WPR.SS.Motor.DesiredAngle = a
	carSeat.Parent.Misc.WPR2.SS.Motor.DesiredAngle = a
	carSeat.Parent.Body.we.p.Enabled = w
	carSeat.Parent.Body.we1.p.Enabled = w
end

F.wspd = function(a)
	local c = math.max(carSeat.WS.Value+a,1)
	carSeat.WS.Value = c
	local b = c/100
	carSeat.Parent.Misc.WPR.SS.Motor.MaxVelocity = b
	carSeat.Parent.Misc.WPR2.SS.Motor.MaxVelocity = b
end

local s = false

F.sunroof = function()
	s = not s
	carSeat.Parent.Misc.SR.SS.Motor.DesiredAngle = s and .1 or 0
end

local xz = 2

F.src = function()
	if xz < 2 then
		xz = xz + 1
	else xz = 0
	end
	local y = 2.3 * xz
	local z = (xz == 1) and 2 or 4
	local bm = carSeat.Parent.Body.HC.BM
	tween(bm,"Offset",Vector3.new(y/2,0,0),z)
	tween(bm,"Scale",Vector3.new(y,1,1),z)
end


F.wws = function(iv,wa)
	carSeat.FW.Value = not carSeat.FW.Value
	carSeat.Parent.DriveSeat.wipe.Playing = carSeat.FW.Value
	if carSeat.FW.Value then
		local b = math.pi/2
		if wa then
			wiperF(0,true) wait(1)
		end
		repeat
			local itv = math.max((carSeat.WS.Value^-1),20^-1)
			wiperF(-b,false)
			repeat wait()
			until carSeat.Parent.Misc.WPR.SS.Motor.CurrentAngle <= (-b)+0.1
			wiperF(0,false)
			repeat wait() until carSeat.Parent.Misc.WPR.SS.Motor.CurrentAngle == 0
			wait(itv*2)
		until carSeat.FW.Value == false
		carSeat.Parent.DriveSeat.wipe.Playing = false
	else
		wiperF(0,false)
	end
end

F.volumeup = function(VolUp)
	carSeat.Parent.Body.MP.Sound.Volume = carSeat.Parent.Body.MP.Sound.Volume + 1
	scg.Radio.VOLMENU.VolumeText.Text = "VOLUME: "..carSeat.Parent.Body.MP.Sound.Volume
end

local m = 0

F.IMode = function()
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.lg = function(n)
	carSeat.Parent.Body.MP.Sound.ES.HighGain = n
end

F.mg = function(n)
	carSeat.Parent.Body.MP.Sound.ES.HighGain = n
end

F.hg = function(n)
	carSeat.Parent.Body.MP.Sound.ES.HighGain = n
end

F.eq = function(n)
	carSeat.Parent.Body.MP.Sound.ES.Enabled = n
end

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

F.cg = function(g)