Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » high score script
- squabblethebat
-
47 posts
high score script
https://scratch.mit.edu/projects/1121218258/
every time I lose it puts it as the points I lost at but I want it to stay as the top score and not go down and stay as the greater number
every time I lose it puts it as the points I lost at but I want it to stay as the top score and not go down and stay as the greater number
- HopperSpaniel
-
60 posts
high score script
Yeah so instead of having a script to stop all in that sprite say stop other scripts in sprite and then in the backdrop put this script:
- TumblerV2
-
100+ posts
high score script
This works, however I made this same mistake: Yeah so instead of having a script to stop all in that sprite say stop other scripts in sprite and then in the backdrop put this script:
sourceThere is an easy fix:
But don't try to update cloud variables too quickly. If the score could increase within 0.1 seconds of the previous increase you risk breaking the time limit for writing to the cloud - you need to allow 0.1 seconds between cloud updates, even to different variables.
- HopperSpaniel
-
60 posts
high score script
Oh ok cool! Thanks for the correctionThis works, however I made this same mistake: Yeah so instead of having a script to stop all in that sprite say stop other scripts in sprite and then in the backdrop put this script:sourceThere is an easy fix:
But don't try to update cloud variables too quickly. If the score could increase within 0.1 seconds of the previous increase you risk breaking the time limit for writing to the cloud - you need to allow 0.1 seconds between cloud updates, even to different variables.

- Discussion Forums
- » Help with Scripts
-
» high score script