How do I detect getting hit
Use attack event (if you want detect your hits)
Use hurtTime (if you want detect that someone hits you)
@deleted I want to detect if someone hits me. How would I implement that to my script?