Hi! I'm new to scripting, so I'm not sure how to go about doing this so I'm hoping I can get some pointers. What I'm attempting to do is create a GUI on the screen that displays "Lives: " followed by however many lives the player has. If the player loses all 3 lives, I want a new GUI to pop up that allows them to buy an infinite lives GamePass, or to just restart.
I've created a GUI but I don't know how to make it so the text only changes locally and I don't know how to make it change when it senses the local player has died. If someone could link me to some learning materials relating to this, or just help explain how to go about doing this, it would be appreciated!
