Car won't move?

Hello Developers!

I am currently creating my own chassis but I am having problems which include the car not moving at all when any inputs are pressed? I been messing around trying to fix this for hours now and I cannot find the solution? I’ve provided code as well as my directory structure. If you find any solutuons / issues please inform me.

-Thanks, 50Alpha

local Tune = require(script.Tune)
local Car = script.Parent

for i, v in pairs(Car:GetDescendants()) do
	if v:IsA("Part") or v:IsA("UnionOperation") or v:IsA("MeshPart") or v:IsA("SpecialMesh") then
		v.Anchored = true
	end
end

for i, v in pairs(Car.Axises:GetChildren()) do
	local Weld = Instance.new("Weld")
	Weld.Parent = Car.Frame
	Weld.Part0 = Car.Frame
	Weld.Part1 = v
	Weld.C0 = CFrame.new().toObjectSpace(Car.Frame.CFrame, v.CFrame)
	
	local Wheel = Car.Wheels["Wheel".. string.sub(v.Name, 5, 6)]
	local AttachmentAxle = Instance.new("Attachment")
	local AttachmentWheel = Instance.new("Attachment")
	AttachmentAxle.Parent = v
	AttachmentWheel.Parent = Wheel
	AttachmentAxle.Position = Vector3.new(0.5, 0, 0)
	AttachmentWheel.Position = Vector3.new(-0.5, 0, 0)
	
	local Cylinder = Instance.new("HingeConstraint")
	Cylinder.Parent = v
	Cylinder.Attachment0 = AttachmentWheel
	Cylinder.Attachment1 = AttachmentAxle
end

for i, v in pairs(Car:GetDescendants()) do
	if v:IsA("Part") or v:IsA("UnionOperation") or v:IsA("MeshPart") or v:IsA("SpecialMesh") then
		v.Anchored = false
	end
end

Unfortunately, or fortunately, nowadays VehicleSeats don’t do much other than reading user input automatically.

So yeah you gotta script the driving on your own, try looking at the driving script in the place file here, which reads vehicle input throttle/steer and translates them into an input torque for the constraints:

https://developer.roblox.com/en-us/articles/building-carkit-1

There’s also a lot of other tips like using invisible spheres to avoid weird geometry physics with using cylindrical wheels with the floor but yeah good luck making your own chassis though I recommend being inspired by other ones to see how they work. But not A chassis as it might be too complex to understand the variables and the odd script structure though you can try.

Ight thanks for your advice, I didn’t know VehicleSeats have changed, the last time I used them was over 3 years ago surprisingly.