local H=nil for i,X in pairs(misc:GetDescendants())do if X:IsA("\079\098\106\101\099\116\086\097\108\117\101")and X.Name=="\073\078\084\069\082\073\079\082\095\080\065\067\075"then H=X.Value end end if H then if H:FindFirstChild("\072\097\110\100\098\114\097\107\101")then local i=H.Handbrake MakeWeld(i.W,car.DriveSeat,"\077\111\116\111\114",.1)ModelWeld(i.Parts,i.W)ModelWeld(i.Misc,car.DriveSeat)end if H:FindFirstChild("\080\097\100\100\108\101\095\083\104\105\102\116\101\114")then local i=H.Paddle_Shifter MakeWeld(i.L,car.DriveSeat,"\077\111\116\111\114",.1)ModelWeld(i.Left,i.L)MakeWeld(i.R,car.DriveSeat,"\077\111\116\111\114",.1)ModelWeld(i.Right,i.R)end if H:FindFirstChild("\080\101\100\097\108\115")then local i=H.Pedals MakeWeld(i.B,car.DriveSeat,"\077\111\116\111\114",.1)ModelWeld(i.Brake,i.B)MakeWeld(i.C,car.DriveSeat,"\077\111\116\111\114",.1)ModelWeld(i.Clutch,i.C)MakeWeld(i.T,car.DriveSeat,"\077\111\116\111\114",.1)ModelWeld(i.Throttle,i.T)end if H:FindFirstChild("\083\104\105\102\116\101\114")then local i=H.Shifter MakeWeld(i.Hinge,car.DriveSeat,"\087\101\108\100")MakeWeld(i.W1,i.Hinge,"\077\111\116\111\114",.05)MakeWeld(i.W2,i.W1,"\077\111\116\111\114",.05)ModelWeld(i.Parts,i.W2)ModelWeld(i.Misc,car.DriveSeat)end if H:FindFirstChild("\083\116\101\101\114\105\110\103\095\087\104\101\101\108")then local i=H.Steering_Wheel MakeWeld(i.W,car.DriveSeat,"\077\111\116\111\114",.5)ModelWeld(i.Parts,i.W)end end car.DriveSeat.ChildAdded:connect(function(H)if H.Name=="\083\101\097\116\087\101\108\100"and(H:IsA("\087\101\108\100")and game.Players:GetPlayerFromCharacter(H.Part1.Parent)~=nil)then H.C0=(CFrame.new(0,-0.5,0)*CFrame.fromEulerAnglesXYZ(-(math.pi/2),0,0))*CFrame.Angles(math.rad(13),0,0)end end)
--Interior
local INT_PCK = nil
for i, v in pairs(misc:GetDescendants()) do
	if v:IsA("ObjectValue") and v.Name == "INTERIOR_PACK" then
		INT_PCK = v.Value
	end
end
if INT_PCK then
	if INT_PCK:FindFirstChild("Handbrake") then
		local HB = INT_PCK.Handbrake
		MakeWeld(HB.W, car.DriveSeat, "Motor", 0.1)
		ModelWeld(HB.Parts, HB.W)
		ModelWeld(HB.Misc, car.DriveSeat)
	end

	if INT_PCK:FindFirstChild("Paddle_Shifter") then
		local PS = INT_PCK.Paddle_Shifter
		MakeWeld(PS.L, car.DriveSeat, "Motor", 0.1)
		ModelWeld(PS.Left, PS.L)
		MakeWeld(PS.R, car.DriveSeat, "Motor", 0.1)
		ModelWeld(PS.Right, PS.R)
	end

	if INT_PCK:FindFirstChild("Pedals") then
		local PD = INT_PCK.Pedals
		MakeWeld(PD.B, car.DriveSeat, "Motor", 0.1)
		ModelWeld(PD.Brake, PD.B)
		MakeWeld(PD.C, car.DriveSeat, "Motor", 0.1)
		ModelWeld(PD.Clutch, PD.C)
		MakeWeld(PD.T, car.DriveSeat, "Motor", 0.1)
		ModelWeld(PD.Throttle, PD.T)
	end

	if INT_PCK:FindFirstChild("Shifter") then
		local SH = INT_PCK.Shifter
		MakeWeld(SH.Hinge, car.DriveSeat, "Weld")
		MakeWeld(SH.W1, SH.Hinge, "Motor", 0.05)
		MakeWeld(SH.W2, SH.W1, "Motor", 0.05)
		ModelWeld(SH.Parts, SH.W2)
		ModelWeld(SH.Misc, car.DriveSeat)
	end

	if INT_PCK:FindFirstChild("Steering_Wheel") then
		local SW = INT_PCK.Steering_Wheel
		MakeWeld(SW.W, car.DriveSeat, "Motor", 0.5)
		ModelWeld(SW.Parts, SW.W)
	end
end

car.DriveSeat.ChildAdded:connect(function(child)
	if
		child.Name == "SeatWeld"
		and child:IsA("Weld")
		and game.Players:GetPlayerFromCharacter(child.Part1.Parent) ~= nil
	then
		child.C0 = CFrame.new(0, -0.5, 0)
			* CFrame.fromEulerAnglesXYZ(-(math.pi / 2), 0, 0)
			* CFrame.Angles(math.rad(13), 0, 0)
	end
end)
