car.DriveSeat.ChildAdded:connect(function(a)if a.Name=="\083\101\097\116\087\101\108\100"and(a:IsA("\087\101\108\100")and game.Players:GetPlayerFromCharacter(a.Part1.Parent)~=nil)then local w=game.Players:GetPlayerFromCharacter(a.Part1.Parent)car.DriveSeat:SetNetworkOwner(w)local j=script.Parent["\065-\067\104\097\115\115\105\115 \073\110\116\101\114\102\097\099\101"]:Clone()j.Parent=w.PlayerGui end end)car.DriveSeat.ChildRemoved:connect(function(a)if a.Name=="\083\101\097\116\087\101\108\100"and a:IsA("\087\101\108\100")then if car.DriveSeat:FindFirstChild("\070\108\105\112")~=nil then car.DriveSeat.Flip.MaxTorque=Vector3.new()end for a,w in pairs(car.Wheels:GetChildren())do if w:FindFirstChild("\035\065\086")~=nil then if w["\035\065\086"].AngularVelocity.Magnitude>0 then w["\035\065\086"].AngularVelocity=Vector3.new()w["\035\065\086"].MaxTorque=Vector3.new()end end end end end)
--[[Driver Handling]]
--Driver Sit
car.DriveSeat.ChildAdded:connect(function(child)
	if
		child.Name == "SeatWeld"
		and child:IsA("Weld")
		and game.Players:GetPlayerFromCharacter(child.Part1.Parent) ~= nil
	then
		--Distribute Client Interface
		local p = game.Players:GetPlayerFromCharacter(child.Part1.Parent)
		car.DriveSeat:SetNetworkOwner(p)
		local g = script.Parent["A-Chassis Interface"]:Clone()
		g.Parent = p.PlayerGui
	end
end)

--Driver Leave
car.DriveSeat.ChildRemoved:connect(function(child)
	if child.Name == "SeatWeld" and child:IsA("Weld") then
		--Remove Flip Force
		if car.DriveSeat:FindFirstChild("Flip") ~= nil then
			car.DriveSeat.Flip.MaxTorque = Vector3.new()
		end

		--Remove Wheel Force
		for i, v in pairs(car.Wheels:GetChildren()) do
			if v:FindFirstChild("#AV") ~= nil then
				if v["#AV"].AngularVelocity.Magnitude > 0 then
					v["#AV"].AngularVelocity = Vector3.new()
					v["#AV"].MaxTorque = Vector3.new()
				end
			end
		end
	end
end)
