(MakeWeld(car.Misc.Hinges.Hinge,car.DriveSeat,"\077\111\116\111\114",0)).Name="\069\078\071\073\078\069"ModelWeld(misc.Hinges.Parts,misc.Hinges.Hinge);(MakeWeld(car.Misc.ActualCam.Hinge,car.Misc.Hinges.Parts.Hinge2,"\077\111\116\111\114",0)).Name="\069\078\071\073\078\069"ModelWeld(misc.ActualCam.Parts,misc.ActualCam.Hinge);(MakeWeld(car.Misc.Tach.M,car.DriveSeat,"\077\111\116\111\114")).Name="\077"ModelWeld(misc.Tach.Parts,misc.Tach.M);(MakeWeld(car.Misc.Speedo.N,car.DriveSeat,"\077\111\116\111\114")).Name="\078"ModelWeld(misc.Speedo.Parts,misc.Speedo.N)MakeWeld(misc.Popups.Hinge,car.DriveSeat,"\077\111\116\111\114",.1)ModelWeld(misc.Popups.Parts,misc.Popups.Hinge)local v=nil for S,f in pairs(misc:GetDescendants())do if f:IsA("\079\098\106\101\099\116\086\097\108\117\101")and f.Name=="\073\078\084\069\082\073\079\082\095\080\065\067\075"then v=f.Value end end if v then if v:FindFirstChild("\072\097\110\100\098\114\097\107\101")then local S=v.Handbrake MakeWeld(S.W,car.DriveSeat,"\077\111\116\111\114",.1)ModelWeld(S.Parts,S.W)ModelWeld(S.Misc,car.DriveSeat)end if v:FindFirstChild("\080\101\100\097\108\115")then local S=v.Pedals MakeWeld(S.B,car.DriveSeat,"\077\111\116\111\114",.1)ModelWeld(S.Brake,S.B)MakeWeld(S.C,car.DriveSeat,"\077\111\116\111\114",.1)ModelWeld(S.Clutch,S.C)MakeWeld(S.T,car.DriveSeat,"\077\111\116\111\114",.1)ModelWeld(S.Throttle,S.T)end if v:FindFirstChild("\083\104\105\102\116\101\114")then local S=v.Shifter MakeWeld(S.Hinge,car.DriveSeat,"\087\101\108\100")MakeWeld(S.W1,S.Hinge,"\077\111\116\111\114",.05)MakeWeld(S.W2,S.W1,"\077\111\116\111\114",.05)ModelWeld(S.Parts,S.W2)ModelWeld(S.Misc,car.DriveSeat)end if v:FindFirstChild("\083\116\101\101\114\105\110\103\095\087\104\101\101\108")then local S=v.Steering_Wheel MakeWeld(S.W,car.DriveSeat,"\077\111\116\111\114",.5)ModelWeld(S.Parts,S.W)end end car.DriveSeat.ChildAdded:connect(function(v)if v.Name=="\083\101\097\116\087\101\108\100"and(v:IsA("\087\101\108\100")and game.Players:GetPlayerFromCharacter(v.Part1.Parent)~=nil)then v.C0=(CFrame.new(0,-0.5,0)*CFrame.fromEulerAnglesXYZ(-(math.pi/2),0,0))*CFrame.Angles(math.rad(13),0,0)end end)


MakeWeld(car.Misc.Hinges.Hinge,car.DriveSeat,"Motor",0).Name="ENGINE"
ModelWeld(misc.Hinges.Parts,misc.Hinges.Hinge)
MakeWeld(car.Misc.ActualCam.Hinge,car.Misc.Hinges.Parts.Hinge2,"Motor",0).Name="ENGINE"
ModelWeld(misc.ActualCam.Parts,misc.ActualCam.Hinge)

MakeWeld(car.Misc.Tach.M,car.DriveSeat,"Motor").Name="M"
ModelWeld(misc.Tach.Parts,misc.Tach.M)
MakeWeld(car.Misc.Speedo.N,car.DriveSeat,"Motor").Name="N"
ModelWeld(misc.Speedo.Parts,misc.Speedo.N)

MakeWeld(misc.Popups.Hinge, car.DriveSeat,"Motor",.1)
ModelWeld(misc.Popups.Parts, misc.Popups.Hinge)

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("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,-.5,0)*CFrame.fromEulerAnglesXYZ(-(math.pi/2),0,0)*CFrame.Angles(math.rad(13),0,0)
	end
end)
