This gives you a variable study time then a 5 minute break for every 25 minutes of study and it loops forever. See how long you can concentrate properly for and set the study time to that.
Thanks to this project: for the alarm sound. https://scratch.mit.edu/projects/195729879/ Thank you to lesmotsdebonte for the origional project