Making accelerate for bike and fixing a scripting bug

so i tried making and accelerater and it doesnt work

local Player = game.Players.LocalPlayer
local BaseWaitTimer = .4
local MinSpeed = 12
local MaxSpeed = 40


local WaitTimer = BaseWaitTimer
script.Parent.CFrame.lookVector = MinSpeed

function Start()

	local MoveDirDB = false

	local function Accelerate()
		if script.Parent.CFrame.lookVector ~= 0 and MoveDirDB == false and script.Parent.CFrame.lookVector < MaxSpeed then
			MoveDirDB = true
			while script.Parent.CFrame.lookVector ~= 0 and script.Parent.CFrame.lookVector < MaxSpeed do
				script.Parent.CFrame.lookVector += 1

				wait(WaitTimer)
				WaitTimer = WaitTimer / 1.1
			end
			MoveDirDB = false
		elseif script.Parent.CFrame.lookVector == 0 then
			WaitTimer = BaseWaitTimer
			script.Parent.CFrame.lookVector = MinSpeed			
		end
	end
end



while true do
wait()
if script.Parent.Throttle == 0 then
script.Parent.Move.velocity = Vector3.new(0,0,0)
elseif script.Parent.Throttle == 1 then
		script.Parent.Move.velocity = script.Parent.CFrame.lookVector * 115 -- the speed of it going forwards
		script.Forward:Fire()
elseif script.Parent.Throttle == -1 then
		Start()
		script.Backward:Fire()
end
if script.Parent.Steer == 0 then
script.Parent.Turn.angularvelocity =  Vector3.new(0,0,0)
elseif script.Parent.Steer == 1 then
script.Parent.Turn.angularvelocity = Vector3.new(0,-4,0)
elseif script.Parent.Steer == -1 then
script.Parent.Turn.angularvelocity = Vector3.new(0,4,0)
end 
end 

and also i tried making it when ever the bike goes foward the bikes also go forward but it doesnt work

local fwheel = script.Parent.Parent.Body.FL
local bwheel = script.Parent.Parent.Body.RR

script.Parent.Movement.Forward.Event:Connect(function()

	fwheel.Orientation += Vector3.new(0, 5, 0)
	bwheel.Orientation += Vector3.new(0, 5, 0)
end)

script.Parent.Movement.Backward.Event:Connect(function()

	fwheel.Orientation -= Vector3.new(0, 5, 0)
	bwheel.Orientation -= Vector3.new(0, 5, 0)
end)