I have this basic function that doesnt seem to be firing, there arent any errors either. What am I doing wrong?
function WaveCompleted() print(0) if RoundStats.EnemiesLeft.Value == 0 then print(1) SetupWave() end end RoundStats:WaitForChild("EnemiesLeft").Changed:Connect(WaveCompleted)
It doesnt print and I have an unseen spawn(function()) above this code that has a while loop in it but i dont think thats the problem since its in a spawn function.
Does anyone have any ideas?
Hey sorry, my computer crashed. I'm back now though.
Since the problem was switching to the server in studio, would you mind accepting this as the answer?
Thanks brotha and goodluck!