How to make Swords with hitbox

Somebody got any idea how to make swords for applying damage to player when it hits through scripts?

yea, id prob have the sword have a hitbox part with a trigger component, attach a script to the sword that calls .Touched on the hitbox, then get the hit target and hit.attr.Health -= (damageValue)

1 Like

thanks