Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » How do you make a world high score?
- AbuDidin3
-
Scratcher
4 posts
How do you make a world high score?
Hello! I have seen the other thingy of how to make a world high score, but when I do that, every time i leave the project and come back to it, the world high score resets.
How do you make it NOT restart?
How do you make it NOT restart?
when green flag clicked
forever
say [HELP ME PLEASE] for (2) secs
end
- SuperInky
-
Scratcher
44 posts
How do you make a world high score?
You can use cloud variables to store the highscore.
For example,
everytime the score increases, (to reduce lag; you can still put it on a forever loop though).
Hope this helps.
For example,
if <(variable) > (☁ highscore)> then
set [☁ highscore v] to (variable)
end
everytime the score increases, (to reduce lag; you can still put it on a forever loop though).
Hope this helps.
- AbuDidin3
-
Scratcher
4 posts
How do you make a world high score?
That's what I used last time, but when I leave the project, and come back, the world high score has reset. 

- XMEGALUCARIOX
-
Scratcher
25 posts
How do you make a world high score?
That's what I used last time, but when I leave the project, and come back, the world high score has reset.It has happened to me before. Deleting and recreating the cloud variable might fix it
- TechNerd64
-
Scratcher
500+ posts
How do you make a world high score?
was it shared then it should update but if unshared it may not.
- petit-penguin
-
Scratcher
16 posts
How do you make a world high score?
You can use cloud variables like this:
when green flag clicked
if <(score) > (☁ Highscore)> then
set [ ☁ Highscore] to [score]
end
- MightiviperProjects
-
Scratcher
1 post
How do you make a world high score?
i have tried but it adds a score 2000000 times
- Discussion Forums
- » Help with Scripts
-
» How do you make a world high score?