When a target is within a predefined range (e.g., 12 to 30 studs), the script fires the Touched event or calls a remote combat function to deal damage.
Set up your sword as a tool in the StarterPack with a part named "Handle".
A standard sword aura script—often referred to as "Kill Aura"—operates by continuously scanning the player's surroundings and triggering combat events.