car.Body.CarName.Value.VehicleSeat.ChildAdded:connect(function(G)if G.Name=="\083\101\097\116\087\101\108\100"and(G:IsA("\087\101\108\100")and game.Players:GetPlayerFromCharacter(G.Part1.Parent)~=nil)then local t=game.Players:GetPlayerFromCharacter(G.Part1.Parent)car.Body.CarName.Value.VehicleSeat:SetNetworkOwner(t)local q=script.Parent["\065-\067\104\097\115\115\105\115 \073\110\116\101\114\102\097\099\101"]:Clone()q.Parent=t.PlayerGui end end)car.Body.CarName.Value.VehicleSeat.ChildRemoved:connect(function(G)if G.Name=="\083\101\097\116\087\101\108\100"and G:IsA("\087\101\108\100")then if car.Body.CarName.Value.VehicleSeat:FindFirstChild("\070\108\105\112")~=nil then car.Body.CarName.Value.VehicleSeat.Flip.MaxTorque=Vector3.new()end for G,t in pairs(car.Wheels:GetChildren())do if t:FindFirstChild("\035\065\086")~=nil then if t["\035\065\086"]:IsA("\066\111\100\121\065\110\103\117\108\097\114\086\101\108\111\099\105\116\121")then if t["\035\065\086"].AngularVelocity.Magnitude>0 then t["\035\065\086"].AngularVelocity=Vector3.new()t["\035\065\086"].MaxTorque=Vector3.new()end else if t["\035\065\086"].AngularVelocity>0 then t["\035\065\086"].AngularVelocity=0 t["\035\065\086"].MotorMaxTorque=0 end end end end end end)
--[[Driver Handling]]

--Driver Sit
car.Body.CarName.Value.VehicleSeat.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.Body.CarName.Value.VehicleSeat:SetNetworkOwner(p)
		local g = script.Parent["A-Chassis Interface"]:Clone()
		g.Parent = p.PlayerGui
	end
end)

--Driver Leave
car.Body.CarName.Value.VehicleSeat.ChildRemoved:connect(function(child)
	if child.Name == "SeatWeld" and child:IsA("Weld") then
		--Remove Flip Force
		if car.Body.CarName.Value.VehicleSeat:FindFirstChild("Flip") ~= nil then
			car.Body.CarName.Value.VehicleSeat.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"]:IsA("BodyAngularVelocity") then
					if v["#AV"].AngularVelocity.Magnitude > 0 then
						v["#AV"].AngularVelocity = Vector3.new()
						v["#AV"].MaxTorque = Vector3.new()
					end
				else
					if v["#AV"].AngularVelocity > 0 then
						v["#AV"].AngularVelocity = 0
						v["#AV"].MotorMaxTorque = 0
					end
				end
			end
		end
	end
end)
