How to make the damage take only once

but where do i put the take damage script

If you are using a toolbox or free model script, at least understand it before working with it. We have already solved your topic’s title (question). We cannot do everything for you

oh shoot i totally forgot to set a solution, i figured it out, sorry.