hmm, my best guess is that your computer is somehow in sleep mode, because the script seems to continue in the right way. i will try to write soemthing the next days, it should be an easy fix!
Actually now that part is working as intended! but i left the script to its own devices last night when i went to sleep and woke up to the cursor being a little above the "press any key" button. so i think something went wrong there. gonna try some more to see if it happens again. thanks for the fast reply bud!