basically what i wanna know is if i have a minigames that calls a function that runs specifically for each game and each of those functions has a player died function thats connected when the game starts what exactly will happen when the next game starts, would it connect to both died functions or is there away to turn off a function idk
COMMUNITY QUESTION
how do functions work when they are not being ran?
1 answer
When functions are not being ran, they are, well, not being ran. Just make sure to separate each function with (insert function name here)() or else the functions below the function that is running would be classified as a part of the function that is running. You can learn more about functions here: https://developer.roblox.com/en-us/articles/Function
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
You cannot turn off functions. Just simply make a variable that only runs the function if its true