This is the line of code i used and it's inside a server script
01 | --//Variables |
02 | local tool = script.Parent |
03 | local player = tool.Parent.Parent |
04 | local char = player.Character |
05 | local hum = char:WaitForChild( 'Humanoid' ) |
06 |
07 | local debounce = false |
08 | --//Activated |
09 | tool.Activated:Connect( function () |
10 | --//Animation |
11 | local animation = Instance.new( 'Animation' ) |
12 | animation.AnimationId = "rbxassetid://2690844038" |
13 | local load = hum:LoadAnimation(animation) |
14 |
15 | if not debounce then |
Here's a gif that shows the problem. https://gyazo.com/c2df592e8e8bee75ab45651dc8772d60
If your sword is made by parts and is not a mesh then make a blade(transparent) on the swords blade
But it seems like your sword is a mesh
Try printing in the function when the handle is touched if it doesn't work then your probably are not hitting them.
Try doing it filtering enabled if you can.