Setting Entity Owner

How would i set the owner of an entity to the person who Spawned it?
l

Try, this.

Or if you want it for prop protection ( I assume you want )
Try ent:SetNWString(“owner”, ply:Nick())