I Am Trying To Make A Reveal System That Makes A Curtin Come Down When It Hits 100 Plays. Here's What I Came Up With.
onPlayer entered Check Plays then
The Rest Already Works.
Just do this:
local playersCount = 0 game.Players.PlayerAdded:Connect(function() playersCount = playersCount + 1 if playersCount >= 100 then --insert the function here-- end end)
If this worked, and helped, accept the anwser. I hope it worked for you! OBS: If the server shutdown, the count will reset ok ?