CEs.AnimateT.OnClientEvent:connect(function(A,X,U,r)if A:IsDescendantOf(plr.Character)then return end if r then(TweenService:Create(A,TweenInfo.new(U),r)):Play()else(TweenService:Create(A,TweenInfo.new(U),{C1=X})):Play()end end)CEs.AnimateFE.OnClientEvent:connect(function(A,X,U,r,l,b,q)if b==plr.Character then return end;(TweenService:Create(b.Torso.Neck,TweenInfo.new(X),{C0=OriginalC0*CFrame.Angles(U,r,l)})):Play();(TweenService:Create(b.Torso.Mweld1,TweenInfo.new(X),{C1=A[1]*CFrame.new(0,q,0)})):Play();(TweenService:Create(b.Torso.Mweld2,TweenInfo.new(X),{C1=A[2]*CFrame.new(0,q,0)})):Play()if A[3]then(TweenService:Create(b["\082\105\103\104\116 \065\114\109"].Mweld3,TweenInfo.new(X),{C1=A[3]*CFrame.new(0,q,0)})):Play()end;(TweenService:Create(b.HumanoidRootPart.Mtweld,TweenInfo.new(X),{C1=A[4]*CFrame.new(0,q,0)})):Play()end)

CEs.AnimateT.OnClientEvent:connect(function(Part,NCF,Time,O)
	if Part:IsDescendantOf(plr.Character) then return end
	
	if O then
		TweenService:Create(Part,TweenInfo.new(Time),O):Play()	
	else
		TweenService:Create(Part,TweenInfo.new(Time),{C1=NCF}):Play()
	end
end)

CEs.AnimateFE.OnClientEvent:connect(function(w,Time,Ans,NAngle,NRotation,Rchr,HigV)
	if Rchr == plr.Character then return end
	
	TweenService:Create(Rchr.Torso.Neck,TweenInfo.new(Time),{C0=OriginalC0*CFrame.Angles(Ans,NAngle,NRotation)}):Play()
	
	TweenService:Create(Rchr.Torso.Mweld1,TweenInfo.new(Time),
		{C1=w[1]*CFrame.new(0,HigV,0)}):Play()
	
	TweenService:Create(Rchr.Torso.Mweld2,TweenInfo.new(Time),
		{C1=w[2]*CFrame.new(0,HigV,0)}):Play()
	
	if w[3] then -- Check if there is an extra weld
		TweenService:Create(Rchr["Right Arm"].Mweld3,TweenInfo.new(Time),
		    {C1=w[3]*CFrame.new(0,HigV,0)}):Play()	
	end
				
	TweenService:Create(Rchr.HumanoidRootPart.Mtweld,TweenInfo.new(Time),
		{C1=w[4]*CFrame.new(0,HigV,0)}):Play()
end)
