CEs.Aglin.OnClientEvent:connect(function(Y,p,r,b,h,D)if Y==plr.Character then return end local g=Y.Torso.Neck local P=Y.Tilt.Mtiltweld local m=Y.FakeHead.FakeNeck if not D then if not h then(TweenService:Create(g,TweenInfo.new(b),{C0=OriginalC0*CFrame.Angles(r[1],r[2],r[3])})):Play()end;(TweenService:Create(m,TweenInfo.new(b),{C0=OriginalC0*CFrame.Angles(0,0,0)})):Play();(TweenService:Create(P,TweenInfo.new(b),{C0=CFrame.new(0,0,0)*CFrame.Angles(p,0,0)})):Play()else if not h then(TweenService:Create(g,TweenInfo.new(b),{C0=OriginalC0*CFrame.Angles(0,0,r[3])})):Play()end;(TweenService:Create(m,TweenInfo.new(b),{C0=OriginalC0*CFrame.Angles(0,0,0)})):Play();(TweenService:Create(P,TweenInfo.new(b),{C0=CFrame.new(0,0,0)*CFrame.Angles(0,0,0)})):Play()end end)

CEs.Aglin.OnClientEvent:connect(function(Rchr,Answer,NAngles,Time,Turning,Tilt2)
	if Rchr == plr.Character then return end
	
	local neck = Rchr.Torso.Neck
	local tiltweld = Rchr.Tilt.Mtiltweld 
	local fakeneck = Rchr.FakeHead.FakeNeck
	
	if not Tilt2 then
		if not Turning then	
			TweenService:Create(neck,TweenInfo.new(Time),{C0=OriginalC0*CFrame.Angles(NAngles[1],NAngles[2],NAngles[3])}):Play()
		end
		TweenService:Create(fakeneck,TweenInfo.new(Time),{C0=OriginalC0*CFrame.Angles(0,0,0)}):Play()
		TweenService:Create(tiltweld,TweenInfo.new(Time),{C0=CFrame.new(0,0,0) * CFrame.Angles(Answer,0,0)}):Play()
	else
		if not Turning then
			TweenService:Create(neck,TweenInfo.new(Time),{C0=OriginalC0*CFrame.Angles(0,0,NAngles[3])}):Play()
		end
		TweenService:Create(fakeneck,TweenInfo.new(Time),{C0=OriginalC0*CFrame.Angles(0,0,0)}):Play()
		TweenService:Create(tiltweld,TweenInfo.new(Time),{C0=CFrame.new(0,0,0) * CFrame.Angles(0,0,0)}):Play()
	end	
end)
