CEs.Aglin.OnClientEvent:connect(function(I,j,b,o,u,K)if I==plr.Character then return end local t=I.Torso.Neck local z=I.Tilt.Mtiltweld local N=I.FakeHead.FakeNeck if not K then if not u then(TweenService:Create(t,TweenInfo.new(o),{C0=OriginalC0*CFrame.Angles(b[1],b[2],b[3])})):Play()end;(TweenService:Create(N,TweenInfo.new(o),{C0=OriginalC0*CFrame.Angles(0,0,0)})):Play();(TweenService:Create(z,TweenInfo.new(o),{C0=CFrame.new(0,0,0)*CFrame.Angles(j,0,0)})):Play()else if not u then(TweenService:Create(t,TweenInfo.new(o),{C0=OriginalC0*CFrame.Angles(0,0,b[3])})):Play()end;(TweenService:Create(N,TweenInfo.new(o),{C0=OriginalC0*CFrame.Angles(0,0,0)})):Play();(TweenService:Create(z,TweenInfo.new(o),{C0=CFrame.new(0,0,0)*CFrame.Angles(0,0,0)})):Play()end end)
-- Aglin head with Cursor
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)
