How do I script the following effect:
Once per turn: you can detach 1 Xyz Material from this card to reveal all face-down cards your opponent controls and if any of the face-down cards are Monsters, attach them to this card as Xyz Material. For every monster attached to this card by this effect, place 1 “Spotlight Counter” on this card. Once this card has 12 “Spotlight Counters” on it, you win the Duel.