--	if vehicle ~= nil and debounce == false and planedebounce == false then
--	if fly == false and taxi == false then return end
--	debounce = true


	controlling = true
	while controlling do
		game:GetService("RunService").RenderStepped:wait()
		if script.Parent.CanControl.Value == true and script.Parent.Power.Value >= Settings.MaxPower then
		local engine = Parts:WaitForChild("Engine")
		local position = mouse.Hit
		local target = position.p
		local mousePoint = mouse.Hit.p;
		-- Vector from tank to mouse point aasfbsdfsdfbdbsdfsd
		local targetVector = (mousePoint - mouse.Origin.p).unit;
		move(mousePoint, engine)
		else
		end
	end