I'm making a motorcycle but i can't make tires move

I made a motorcycle, but can’t make the wheels move script.
So, I’m using Orientation to turn the wheels.
The script looks like this:

local drive = script.Parent
local tire1 = script.Parent.Parent.Tire1
local tire2 = script.Parent.Parent.Tire2

drive:GetPropertyChangedSignal("Throttle"):Connect(function()
if drive.Throttle == 1 then
	tire1.Orientation += Vector3.new(0, 0, 5)
	tire2.Orientation += Vector3.new(0, 0, 5)
end

if drive.Throttle == 0 then
	tire1.Orientation += Vector3.new(0, 0, 0)
	tire2.Orientation += Vector3.new(0, 0, 0)
end

if drive.Throttle == -1 then
	tire1.Orientation -= Vector3.new(0, 0, 2)
	tire2.Orientation -= Vector3.new(0, 0, 2)
	end
end)

but idk why its not working.

The reason the tires aren’t moving is because their orientation is changed so fast that they don’t grip to the ground and move the vehicle. But instead of changing the orientation, i suggest looking into HingeConstraints, with the ActuatorType set to Motor.

1 Like