For loop when given character Hit Result triggers multiple times

Yes but why is the loop going through my character 10 times every time the function is called but when it is the floor it only goes through once