You'll lose your friends, you know.

Literal

Friends [subject-が] come-to-not-be [warning-よ].

いなくなる ('come to not exist') uses ~なくなる to mark a change of state — from having friends to not having them. The sentence-final よ adds a warning: the speaker is alerting the listener to a consequence they may not have considered.