So I have made a script and also even tried someone else's script which attacks a NPC and it clicks on the magic spell like it should but then just hovers over the NPC and doesn't attack!
Any help would be appreciated, do note I am trying to attack NPC: 189 (Zamorak Monk). EDIT: Tried it with other NPC's and it still consists with the problem.
Using this code: