Attack nearby players

How would i go about making a spell attack that damages nearby players and play a local sound , Any good sources or tutorials would work.

Use magnitude to calculate the distance between the speel and the player like

(Spell.Position - HumanoidRootPart.Position).magnitude

1 Like