Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Local GUI that detects death? [closed]

Asked by 6 years ago

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!

Closed as Not Constructive by User#19524

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?