Thank you really, I think because it's my first game, I ended up getting carried away and looking for an idea that was too complex for a beginner. Tip: The Sniper sleeps for a few seconds, run under the platform and wait for him to fall asleep again.
(if I seem grammatically incorrect, I'm using translator)