The event using the repeat condition is obviously not to be used as a top event that would indeed happened every tick, but to be used as a sub-event to the event that handles the collision with the main character.
When asking for help, do always provide a capx of your project to prevent this kind of misunderstanding.
The solution to the asked question has already been given in three different implementation ways nonetheless.