Hi, thank you for reporting this issue!
Here's how I implemented this task in my previous game jam project.
I hope this helps, and feel free to reach out if you have any questions.
https://github.com/Wendy-Nam/SpookyVN2023/blob/main/game/tory/act2.rpy
https://github.com/Wendy-Nam/SpookyVN2023/blob/main/game/minigame/shooting_game....
