Do functions disconnect on player deaths?

I have multiple scripts I use inside PlayerGui’s. I’m wondering if when the player dies, will the functions disconnect by itself and not stack when a player respawns?

I don’t get what you mean can you please tell me again? and I don’t believe the script stacks

Depends if the UI is set to reset on spawn. If it is, then the script and it’s functions will be reset.

1 Like

What types of functions you’re asking? Unless the GUI disappears when the player dies, it will disconnect. As long as the script is not deleted, you’ll have no issues.

I think he means that if a character dies, does all of the connected functions automatically disconnect

1 Like

As long as the script doesn’t get deleted, it won’t.

Yeah It won’t and it does not stack I tried it before with gears