Is there a way so that the ball spawn does not eliminate the player but does damage them?

Hello, I am trying to make an obstacle map, I am really new to vers/uefn, currently there is the option to eliminate the player when touching the ball but I need it to hurt him