So I'm making a game with npc's using swords which has a damage script but doesn't actually attack, I have a cancollided shield which can block the damage script for a lil. In the first npc's sword handle, I put this script in the handle.
game.Workspace["Bandit"].Sword.Handle.CanCollide = true
Its works for 1 npc but when I put the same script on the second npc, the npc sword isn't cancollided.
You could giving the 'Bandits' different names such as 'bandit1' and 'bandit2'
Alternatively you could put the script in the handle, as you have, and use this code :
script.Parent.CanCollide = true
Basically it removes all the areas causing the problem, and also shortens the script a fair bit! I hope that this solves your problem ???