I got tons of Stack Overflow and Out of range errors at OnPlayerDamage and one out of range at Apponidle , i cant understand why i get these errors. I looked at script again and again but i cant find any mistakes. What causes overflow and out of range ?