--

mouse.KeyDown:connect(function(key)
	if key=="r" then
		if GMode>=2 then
			GMode=0
		else
			GMode=GMode+1
		end
		if GMode==2 then
			Controller=true
		else
			Controller=false
		end
		if GMode==0 then
			script.Parent.Mode.Text = "Control Mode: Keyboard"
		elseif GMode==1 then
			script.Parent.Mode.Text = "Control Mode: Mouse"
		else
			script.Parent.Mode.Text = "Control Mode: Controller"
		end
	end
end)
game["Run Service"].RenderStepped:connect(function()
	for i,v in pairs(Binded) do
		v()
	end
end)

car.DriveSeat.Start2:Play()
car.DriveSeat.Start1:Stop()
for i,v in pairs(Sounds.Looped) do
	v:Play()
end
coroutine.resume(coroutine.create(function()
	for i,v in pairs(car.Body.Exhaust:GetChildren()) do
		v.Afterburn.Rate=10
	end
	wait(.3)
	for i,v in pairs(car.Body.Exhaust:GetChildren()) do
		v.Afterburn.Rate=0
	end
end))
while wait() do
	for i,v in pairs(LoopRun) do
		v()
	end
end
