12.03.2017, 10:40
Whenever you get to your PC, change the foreach loop for a normal for player loop and test it like that; I faced a similar problem with a foreach loop, sometimes nothing of the function wanted to execute although there were no mistakes in it, I changed it for a normal player loop and it has been working fine until now, that MAY be the problem.