Vehicle doesn't want to move

  1. What do you want to achieve?
    vehicle that moves like a tank, no hinge servos
  2. What is the issue?
    the vehicle doesn’t want to move forward or backward when rotating function is in the script and vice versa
-- local seat = script.Parent

local rightwheels = workspace.RightWheels
local leftwheels = workspace.LeftWheels

local runservice = game:GetService("RunService")

seat.Changed:Connect(function()
		
	--front backward
	
	for i,v in pairs(rightwheels:GetDescendants()) do
		if v.Name == "Hinge" then
			v.AngularVelocity = seat.Throttle * -20
		end
	end
		
	for i,v in pairs(leftwheels:GetDescendants()) do
		if v.Name == "Hinge" then
			v.AngularVelocity = seat.Throttle * 20
		end
	end
	
	--turning left right
	
	for i,v in pairs(rightwheels:GetDescendants()) do
		if v.Name == "Hinge" then
			v.AngularVelocity = seat.Steer * 20
		end
	end
	
	for i,v in pairs(leftwheels:GetDescendants()) do
		if v.Name == "Hinge" then
			v.AngularVelocity = seat.Steer * 20
		end
	end
end)
1 Like

Is it a used script or own script?

what do you mean? can you add more details?