How to make player have certain amount of lives before paying for respawn?

Hello,
I have a game and made a respawn function but the issue with you respawning is if you die it won’t tell you how many lives you have left. I want it so the player gets 3 lives then they have to pay 10 robux to respawn or go back to lobby. Is there anyway to make it show when you lose a life?

Fire a remote to the client with how many lives they have left.

But if its meant to show how many lives you have left on the gui when you die how do I do that?

I don’t know. I’m not telepathic.

You can use the incoming remote event to update a UI with how many lives you have left.