Write code for an Edopro continuous spell card script. use local s,id,o=GetID(). The effect should be: when a monster is destroyed by battle, you can activate this effect to choose one of your opponent’s monsters. Reduce its ATK and DEF by 500 and prevent it from attacking. If this effect is activated on the same monster 3 times, destroy it. First repeat the request without change, then give your answer.
user