--//Shifting//-


if key == "j" then
	if carSeat.Values2.DTR.Value == true then
		carSeat.Values2.DTR.Value = false 
		else
		carSeat.Values2.DTR.Value = true
	end
elseif key == "g" then
	 if carSeat.Values2.Lights.Value == true then
		carSeat.Values2.Lights.Value = false 	
	else
			carSeat.Values2.Lights.Value = true
		end
elseif key == "-" then
	 if carSeat.Values2.Emblems.Value == true then
		carSeat.Values2.Emblems.Value = false 	
		else
		carSeat.Values2.Emblems.Value = true 
end
elseif key == "m" then
		for index, child in pairs(carSeat.Body.RipEars:GetChildren()) do
  		child:Play()
		end	
		
elseif key == "h" then
		for index, child in pairs(carSeat.Body.Horn:GetChildren()) do
  		child:Play()
		end	
		
elseif key == "c" then
	if script.Parent.IsOn.Value == true then
	script.Parent.IsOn.Value = false
carSeat.Values2.Lights.Value = false
carSeat.Values2.DTR.Value = false
carSeat.Values2.Halo.Value = false
carSeat.Body.RLFRONT.R1.Light.Enabled = false
carSeat.Body.RLFRONT.R2.Light.Enabled = false
carSeat.Body.RLREAR.R1.Light.Enabled = false
carSeat.Body.RLREAR.R2.Light.Enabled = false
		for index, child in pairs(carSeat.Body.ExhaustSmoke.E1:GetChildren()) do
  		child.Enabled = false
		end	
			for index, child in pairs(carSeat.Body.ExhaustSmoke.E2:GetChildren()) do
  		child.Enabled = false
			end	
			for index, child in pairs(carSeat.Body.ExhaustSmoke.E3:GetChildren()) do
  		child.Enabled = false
		end	
			for index, child in pairs(carSeat.Body.ExhaustSmoke.E4:GetChildren()) do
  		child.Enabled = false
		end	
carSeat.DriveSeat.Start1:Stop()
carSeat.DriveSeat.Start2:Stop()
carSeat.DriveSeat.Rev:Stop()
carSeat.DriveSeat.Rev2:Stop()
carSeat.DriveSeat.Rev3:Stop()
carSeat.DriveSeat.Idle:Stop()
else
carSeat.Values2.Lights.Value = true
carSeat.Values2.DTR.Value = true
carSeat.Values2.Halo.Value = true
carSeat.Values2.Emblems.Value = true                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     
carSeat.Body.RLFRONT.R1.Light.Enabled = true
carSeat.Body.RLFRONT.R2.Light.Enabled = true
carSeat.Body.RLREAR.R1.Light.Enabled = true
carSeat.Body.RLREAR.R2.Light.Enabled = true
carSeat.DriveSeat.Start1:Play()
carSeat.DriveSeat.Start2:Play()
for index, child in pairs(carSeat.Body.ExhaustSmoke.E1:GetChildren()) do
  		child.Enabled = true
for index, child in pairs(carSeat.Body.ExhaustSmoke.E2:GetChildren()) do
  		child.Enabled = true
end	
end
wait(5.33)
script.Parent.IsOn.Value = true
carSeat.DriveSeat.Idle:Play()
wait(0.5)
carSeat.DriveSeat.Rev:Play()
carSeat.DriveSeat.Rev2:Play()
carSeat.DriveSeat.Rev3:Play()
		for index, child in pairs(carSeat.Body.ExhaustSmoke.E1:GetChildren()) do
  		child.Enabled = false
		end	
			for index, child in pairs(carSeat.Body.ExhaustSmoke.E2:GetChildren()) do
  		child.Enabled = false
			end	
			for index, child in pairs(carSeat.Body.ExhaustSmoke.E3:GetChildren()) do
  		child.Enabled = true
		end	
			for index, child in pairs(carSeat.Body.ExhaustSmoke.E4:GetChildren()) do
  		child.Enabled = true
		end	
wait(3)



	end

end