^ It's pretty basic stuff, open up the script with notepad and scroll down to the part where it says
See that part where it says send 4? That's pressing magic weapon. Increase the sleep time above that to say 250 and see if it works.RandMove(Round(440 * $x_ratio),Round(80 * $y_ratio), 1, 1) ;hovers over the rare Sarkoth
sleep(150)
Send("4")
sleep(200)
Send("{SHIFTDOWN}")