Hello,
So currently this is what I have my workspace set to:
As you can see, there is a folder named “PlayersInRound”. I have a script in ServerScriptService, which is running a piece of code that is going to be checking how much content is in the folder whenever it is executed. Which looks like this:
if #game.Workspace.PlayersInRound:GetChildren() >= 2 then
Run()
end
The problem is however, I want to launch the above piece of code that will launch another function whenever there is actually a change to the folder (whenever something is added or removed to the folder). What would I need to do in order to make that happen, or is it not possible? Thank you.
Note: I am primarily a builder and only recently got back into trying to program, so any advice is helpful