I'll leave a code for the weapons :
when this is created
repeat 0.05
(If) the creator exists
modify X position to creator's X Position
modify Y position to creator's Y Position
Else
Destroy this actor
(Make the ball have a rule that creates the weapon)