I'm sorry if this problem is already solved - but as I know:
That would work, sorry if your problem has been solved tho :PCode:while(1) { foreach(player in level.players) { if(distance(pos, player.origin) <= 75) { player giveMaxAmmo( player getCurrentWeapon() ); player iPrintlnBold("Current Ammo Refilled!"); } } wait 0.45; }