(MakeWeld(car.Misc.Anims.R15.LeftLeg.Foot.Y,car.DriveSeat,"\077\111\116\111\114\054\068")).Name="\077";(MakeWeld(car.Misc.Anims.R15.LeftLeg.Foot.Z,car.Misc.Anims.R15.LeftLeg.Foot.Y,"\077\111\116\111\114\054\068")).Name="\077";(MakeWeld(car.Misc.Anims.R15.LeftLeg.Foot.X,car.Misc.Anims.R15.LeftLeg.Foot.Z,"\077\111\116\111\114\054\068")).Name="\077"ModelWeld(car.Misc.Anims.R15.LeftLeg.Foot.Parts,car.Misc.Anims.R15.LeftLeg.Foot.X);(MakeWeld(car.Misc.Anims.R15.LeftLeg.LowerLeg.X,car.Misc.Anims.R15.LeftLeg.Foot.X,"\077\111\116\111\114\054\068")).Name="\077"ModelWeld(car.Misc.Anims.R15.LeftLeg.LowerLeg.Parts,car.Misc.Anims.R15.LeftLeg.LowerLeg.X);(MakeWeld(car.Misc.Anims.R15.LeftLeg.UpperLeg.X,car.Misc.Anims.R15.LeftLeg.LowerLeg.X,"\077\111\116\111\114\054\068")).Name="\077"ModelWeld(car.Misc.Anims.R15.LeftLeg.UpperLeg.Parts,car.Misc.Anims.R15.LeftLeg.UpperLeg.X)function animPose(V,E)local s local t=V local H={}local Y={}local h=CFrame.new(0,0,0)t.ChildRemoved:connect(function(V)if V.Name=="\083\101\097\116\087\101\108\100"and V:IsA("\087\101\108\100")then for V,E in pairs(H)do if E~=0 then if E[4]~=nil then E[4]:Destroy()E[1].Part1=E[5]else if E[2]~=nil then E[1].C0=E[2]E[1].C1=E[3]else E[1]:Destroy()end end end end for V,E in pairs(Y)do E[1]:Destroy()E[2]:Destroy()E[3].Transparency=0 end s=nil H={}Y={}end end)t.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 s=V.Part1.Parent t.SeatWeld.C0=h t.SeatWeld.C1=CFrame.new()local C=false for V,E in pairs(s:GetChildren())do if E:IsA("\067\104\097\114\097\099\116\101\114\077\101\115\104")and E.BodyPart==Enum.BodyPart.Torso then C=true break end end local function Q(V,E)local s=Instance.new("\087\101\108\100",V)s.Part0=V s.Part1=E return s end if s:FindFirstChild("\072\117\109\097\110\111\105\100\082\111\111\116\080\097\114\116")~=nil and s:FindFirstChild("\084\111\114\115\111")~=nil then t.SeatWeld.C0=h t.SeatWeld.C1=CFrame.new()s.HumanoidRootPart.RootJoint.Part1=nil table.insert(H,{s.HumanoidRootPart.RootJoint,s.HumanoidRootPart.RootJoint.C0,s.HumanoidRootPart.RootJoint.C1,Q(s.HumanoidRootPart,s.Torso);s.Torso})if s.Torso:FindFirstChild("\078\101\099\107")~=nil then local V=s.Head:Clone()V.Name="\080\097\114\116"V.Parent=s local E=Q(s.Torso,V)E.C0=s.Torso.Neck.C0 E.C1=s.Torso.Neck.C0 s.Head.Transparency=1 table.insert(Y,{V;E,s.Head})table.insert(H,{E,nil;nil,nil;nil})for E,t in pairs(s.Head:GetChildren())do if t:IsA("\087\101\108\100")then local E=t.Part1:Clone()E.Parent=s t.Part1.Transparency=1 local H=Q(V,E)H.C0=t.C0 H.C1=t.C1 table.insert(Y,{E;H;t.Part1})end end else table.insert(H,0)end if s.Torso:FindFirstChild("\076\101\102\116 \083\104\111\117\108\100\101\114")~=nil then(s.Torso:FindFirstChild("\076\101\102\116 \083\104\111\117\108\100\101\114")).Part1=nil table.insert(H,{s.Torso:FindFirstChild("\076\101\102\116 \083\104\111\117\108\100\101\114");(s.Torso:FindFirstChild("\076\101\102\116 \083\104\111\117\108\100\101\114")).C0,(s.Torso:FindFirstChild("\076\101\102\116 \083\104\111\117\108\100\101\114")).C1,Q(s.Torso,s:FindFirstChild("\076\101\102\116 \065\114\109")),s:FindFirstChild("\076\101\102\116 \065\114\109")})else table.insert(H,0)end if s.Torso:FindFirstChild("\082\105\103\104\116 \083\104\111\117\108\100\101\114")~=nil then(s.Torso:FindFirstChild("\082\105\103\104\116 \083\104\111\117\108\100\101\114")).Part1=nil table.insert(H,{s.Torso:FindFirstChild("\082\105\103\104\116 \083\104\111\117\108\100\101\114"),(s.Torso:FindFirstChild("\082\105\103\104\116 \083\104\111\117\108\100\101\114")).C0,(s.Torso:FindFirstChild("\082\105\103\104\116 \083\104\111\117\108\100\101\114")).C1,Q(s.Torso,s:FindFirstChild("\082\105\103\104\116 \065\114\109"));s:FindFirstChild("\082\105\103\104\116 \065\114\109")})else table.insert(H,0)end if s.Torso:FindFirstChild("\076\101\102\116 \072\105\112")~=nil then(s.Torso:FindFirstChild("\076\101\102\116 \072\105\112")).Part1=nil table.insert(H,{s.Torso:FindFirstChild("\076\101\102\116 \072\105\112");(s.Torso:FindFirstChild("\076\101\102\116 \072\105\112")).C0,(s.Torso:FindFirstChild("\076\101\102\116 \072\105\112")).C1,Q(s.Torso,s:FindFirstChild("\076\101\102\116 \076\101\103"));s:FindFirstChild("\076\101\102\116 \076\101\103")})else table.insert(H,0)end if s.Torso:FindFirstChild("\082\105\103\104\116 \072\105\112")~=nil then(s.Torso:FindFirstChild("\082\105\103\104\116 \072\105\112")).Part1=nil table.insert(H,{s.Torso:FindFirstChild("\082\105\103\104\116 \072\105\112"),(s.Torso:FindFirstChild("\082\105\103\104\116 \072\105\112")).C0;(s.Torso:FindFirstChild("\082\105\103\104\116 \072\105\112")).C1,Q(s.Torso,s:FindFirstChild("\082\105\103\104\116 \076\101\103")),s:FindFirstChild("\082\105\103\104\116 \076\101\103")})else table.insert(H,0)end end for V,t in pairs(H)do local H=E[V]if V==3 then for V,s in pairs(s:GetChildren())do if s:IsA("\067\104\097\114\097\099\116\101\114\077\101\115\104")and s.BodyPart==Enum.BodyPart.LeftArm then H=E[7]break end end elseif V==4 then for V,s in pairs(s:GetChildren())do if s:IsA("\067\104\097\114\097\099\116\101\114\077\101\115\104")and s.BodyPart==Enum.BodyPart.RightArm then H=E[8]break end end end if t[4]~=nil then t[4].C0=H t[4].C1=CFrame.new()else t[1].C0=H t[1].C1=CFrame.new()end end end end)end local V={CFrame.new(.00701141357,1.09911013,.0404243469,1,3.80970855e-09,-4.35450502e-08,0,.996194661,.087155968,4.37113883e-08,-0.087155968,.996194661),CFrame.new(0,1.50000381,0,1,0,0,0,.996194661,-0.087155968,0,.087155968,.996194661);CFrame.new(-0.876424789,-0.214377403,-0.478406906,.819151819,-0.573576868,7.37368282e-07,.519837081,.742402971,-0.422619611,.242404267,.346189946,.906307161),CFrame.new(.876424789,-0.214377403,-0.478406906,.819151819,.573576868,-7.37368282e-07,-0.519837081,.742402971,-0.422619611,-0.242404267,.346189946,.906307161),CFrame.new(-1.27365112,-1.25288582,-1.13527107,.98480773,-0.173648179,0,.171010077,.969846308,.173647881,-0.0301536396,-0.171009779,.984807789),CFrame.new(1.27365112,-1.25288582,-1.13527298,.98480773,.173648179,0,-0.171010077,.969846308,.173647881,.0301536396,-0.171009779,.984807789)}animPose(car.Body.Seat,V)

MakeWeld(car.Misc.Anims.R15.LeftLeg.Foot.Y,car.DriveSeat,"Motor6D").Name="M"
MakeWeld(car.Misc.Anims.R15.LeftLeg.Foot.Z,car.Misc.Anims.R15.LeftLeg.Foot.Y,"Motor6D").Name="M"
MakeWeld(car.Misc.Anims.R15.LeftLeg.Foot.X,car.Misc.Anims.R15.LeftLeg.Foot.Z,"Motor6D").Name="M"
ModelWeld(car.Misc.Anims.R15.LeftLeg.Foot.Parts,car.Misc.Anims.R15.LeftLeg.Foot.X)

MakeWeld(car.Misc.Anims.R15.LeftLeg.LowerLeg.X,car.Misc.Anims.R15.LeftLeg.Foot.X,"Motor6D").Name="M"
ModelWeld(car.Misc.Anims.R15.LeftLeg.LowerLeg.Parts,car.Misc.Anims.R15.LeftLeg.LowerLeg.X)

MakeWeld(car.Misc.Anims.R15.LeftLeg.UpperLeg.X,car.Misc.Anims.R15.LeftLeg.LowerLeg.X,"Motor6D").Name="M"
ModelWeld(car.Misc.Anims.R15.LeftLeg.UpperLeg.Parts,car.Misc.Anims.R15.LeftLeg.UpperLeg.X)


function animPose(seat,pose)
	local C
	local S=seat
	local WS={}
	local HW={}
	
	local seatOffset = 	CFrame.new(0,0,0)
	
	
	S.ChildRemoved:connect(function(child)		
		if child.Name=="SeatWeld" and child:IsA("Weld") then 
			for i,v in pairs(WS) do
				if v~=0 then 
					if v[4]~=nil then 
						v[4]:Destroy()
						v[1].Part1=v[5]
					else 
						if v[2]~=nil then 
							v[1].C0=v[2] v[1].C1=v[3]
						else 
							v[1]:Destroy()
						end
					end
				end
			end 
			for i,v in pairs(HW) do
				v[1]:Destroy()
				v[2]:Destroy()
				v[3].Transparency=0
			end
			C=nil
			WS = {}
			HW = {}
		end 
	end)
	
	S.ChildAdded:connect(function(child)
		if child.Name=="SeatWeld" and child:IsA("Weld") and game.Players:GetPlayerFromCharacter(child.Part1.Parent)~=nil then
			C = child.Part1.Parent
			S.SeatWeld.C0 = seatOffset
			S.SeatWeld.C1 = CFrame.new()
			
			local pkTor = false
			for i,v in pairs(C:GetChildren()) do
				if v:IsA("CharacterMesh") and v.BodyPart == Enum.BodyPart.Torso then
					pkTor=true
					break
				end
			end
			
			local function MW(x,y)
				local WW=Instance.new("Weld",x) WW.Part0=x WW.Part1=y return WW
			end
			
			if C:FindFirstChild("HumanoidRootPart")~=nil and C:FindFirstChild("Torso")~=nil then
				S.SeatWeld.C0=seatOffset
				S.SeatWeld.C1=CFrame.new()
				C.HumanoidRootPart.RootJoint.Part1=nil
				table.insert(WS,{C.HumanoidRootPart.RootJoint,C.HumanoidRootPart.RootJoint.C0,C.HumanoidRootPart.RootJoint.C1,MW(C.HumanoidRootPart,C.Torso),C.Torso})
				if C.Torso:FindFirstChild("Neck")~=nil then
					local H=C.Head:Clone()
					H.Name="Part"
					H.Parent=C
					local WH=MW(C.Torso,H)
					WH.C0=C.Torso.Neck.C0
					WH.C1=C.Torso.Neck.C0
					C.Head.Transparency=1
			
					table.insert(HW,{H,WH,C.Head})
					table.insert(WS,{WH,nil,nil,nil,nil})
					for i,v in pairs(C.Head:GetChildren()) do
						if v:IsA("Weld") then
							local pp=v.Part1:Clone()
							pp.Parent=C
							v.Part1.Transparency=1
							
							local ww=MW(H,pp)
							ww.C0=v.C0
							ww.C1=v.C1
							table.insert(HW,{pp,ww,v.Part1})
						end
					end	
				else
					table.insert(WS,0)
				end
				if C.Torso:FindFirstChild("Left Shoulder")~=nil then
					C.Torso:FindFirstChild("Left Shoulder").Part1=nil
					table.insert(WS,{C.Torso:FindFirstChild("Left Shoulder"),C.Torso:FindFirstChild("Left Shoulder").C0,C.Torso:FindFirstChild("Left Shoulder").C1,MW(C.Torso,C:FindFirstChild("Left Arm")),C:FindFirstChild("Left Arm")})
				else
					table.insert(WS,0)
				end
				if C.Torso:FindFirstChild("Right Shoulder")~=nil then
					C.Torso:FindFirstChild("Right Shoulder").Part1=nil
					table.insert(WS,{C.Torso:FindFirstChild("Right Shoulder"),C.Torso:FindFirstChild("Right Shoulder").C0,C.Torso:FindFirstChild("Right Shoulder").C1,MW(C.Torso,C:FindFirstChild("Right Arm")),C:FindFirstChild("Right Arm")})
				else
					table.insert(WS,0)
				end
				if C.Torso:FindFirstChild("Left Hip")~=nil then
					C.Torso:FindFirstChild("Left Hip").Part1=nil
					table.insert(WS,{C.Torso:FindFirstChild("Left Hip"),C.Torso:FindFirstChild("Left Hip").C0,C.Torso:FindFirstChild("Left Hip").C1,MW(C.Torso,C:FindFirstChild("Left Leg")),C:FindFirstChild("Left Leg")})
				else
					table.insert(WS,0)
				end
				if C.Torso:FindFirstChild("Right Hip")~=nil then
					C.Torso:FindFirstChild("Right Hip").Part1=nil
					table.insert(WS,{C.Torso:FindFirstChild("Right Hip"),C.Torso:FindFirstChild("Right Hip").C0,C.Torso:FindFirstChild("Right Hip").C1,MW(C.Torso,C:FindFirstChild("Right Leg")),C:FindFirstChild("Right Leg")})
				else
					table.insert(WS,0)
				end
			end
			
			for i,v in pairs(WS) do
				local cfp = pose[i]
				if i==3 then
					for i,v in pairs(C:GetChildren()) do
						if v:IsA("CharacterMesh") and v.BodyPart == Enum.BodyPart.LeftArm then
							cfp = pose[7]
							break
						end
					end
				elseif i==4 then
					for i,v in pairs(C:GetChildren()) do
						if v:IsA("CharacterMesh") and v.BodyPart == Enum.BodyPart.RightArm then
							cfp = pose[8]
							break
						end
					end
				end
				if v[4]~=nil then
					v[4].C0=cfp
					v[4].C1=CFrame.new()
				else
					v[1].C0=cfp
					v[1].C1=CFrame.new()
				end
			end
		end
	end)
end

local Passenger={
CFrame.new(0.00701141357, 1.09911013, 0.0404243469, 1, 3.80970855e-09, -4.35450502e-08, 0, 0.996194661, 0.087155968, 4.37113883e-08, -0.087155968, 0.996194661), --Torso
CFrame.new(0, 1.50000381, 0, 1, 0, 0, 0, 0.996194661, -0.087155968, 0, 0.087155968, 0.996194661), --Head
CFrame.new(-0.876424789, -0.214377403, -0.478406906, 0.819151819, -0.573576868, 7.37368282e-07, 0.519837081, 0.742402971, -0.422619611, 0.242404267, 0.346189946, 0.906307161), --Larm
CFrame.new(0.876424789, -0.214377403, -0.478406906, 0.819151819, 0.573576868, -7.37368282e-07, -0.519837081, 0.742402971, -0.422619611, -0.242404267, 0.346189946, 0.906307161), --Rarm
CFrame.new(-1.27365112, -1.25288582, -1.13527107, 0.98480773, -0.173648179, 0, 0.171010077, 0.969846308, 0.173647881, -0.0301536396, -0.171009779, 0.984807789), --Lleg
CFrame.new(1.27365112, -1.25288582, -1.13527298, 0.98480773, 0.173648179, 0, -0.171010077, 0.969846308, 0.173647881, 0.0301536396, -0.171009779, 0.984807789) --Rleg
}

animPose(car.Body.Seat,Passenger)


