(MakeWeld(car.Misc.Trunk.SS,car.DriveSeat,"\077\111\116\111\114",.04)).Name="\087"ModelWeld(car.Misc.Trunk.Parts,car.Misc.Trunk.SS)for Y,F in pairs({car.Misc.Trunk})do local W=false for Y,F in pairs(F.Parts:GetChildren())do if F.Name=="\072\097\110\100\108\101"then local Y=Instance.new("\067\108\105\099\107\068\101\116\101\099\116\111\114",F)Y.MaxActivationDistance=12 Y.MouseClick:connect(function()W=not W if W then F.Parent.Parent.SS.W.DesiredAngle=math.rad(60.5)else F.Parent.Parent.SS.W.DesiredAngle=0 end end)end end end car.DriveSeat.ChildAdded:connect(function(Y)if Y.Name=="\083\101\097\116\087\101\108\100"and(Y:IsA("\087\101\108\100")and game.Players:GetPlayerFromCharacter(Y.Part1.Parent)~=nil)then Y.C0=CFrame.new(0,-0.5,0)*CFrame.fromEulerAnglesXYZ(-(math.pi/2),0,0)end end)
---------------------------
--[[
	--Main anchor point is the DriveSeat <car.DriveSeat>	
	
	Usage:
		MakeWeld(Part1,Part2,WeldType*,MotorVelocity**) *default is "Weld"  **Applies to Motor welds only
		ModelWeld(Model,MainPart)
	Example:
		MakeWeld(car.DriveSeat,misc.PassengerSeat)
		MakeWeld(car.DriveSeat,misc.SteeringWheel,"Motor",.2)
		ModelWeld(car.DriveSeat,misc.Door)
]]
--Weld stuff here
MakeWeld(car.Misc.Trunk.SS, car.DriveSeat, "Motor", 0.04).Name = "W"
ModelWeld(car.Misc.Trunk.Parts, car.Misc.Trunk.SS)

for _, v in pairs({ car.Misc.Trunk }) do
	local open = false
	for _, a in pairs(v.Parts:GetChildren()) do
		if a.Name == "Handle" then
			local CL = Instance.new("ClickDetector", a)
			CL.MaxActivationDistance = 12
			CL.MouseClick:connect(function()
				open = not open
				if open then
					a.Parent.Parent.SS.W.DesiredAngle = math.rad(60.5)
				else
					a.Parent.Parent.SS.W.DesiredAngle = 0
				end
			end)
		end
	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)
	end
end)
