Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » How can I make a highscore system?
- josueart
-
100+ posts
How can I make a highscore system?
Hello how can I make a highscore system?
Thanks for reading
Thanks for reading
- CornyPun
-
14 posts
How can I make a highscore system?
You would want to first have a cloud variable that stores the highscore. Next, you would want to check if the player's score is greater than the highscore, and if so, change the highscore to the player's score.
- josueart
-
100+ posts
How can I make a highscore system?
Thanks for all You would want to first have a cloud variable that stores the highscore. Next, you would want to check if the player's score is greater than the highscore, and if so, change the highscore to the player's score.
![](http://cdn.scratch.mit.edu/scratchr2/static/__e900675e2487039095475b713d9e2612__/djangobb_forum/img/smilies/big_smile.png)
- thefoxyflamingfox
-
14 posts
How can I make a highscore system?
Use the block "If (score) is greater than (highscore), set (highscore) to (score). That should do it.
Generation 7: the first time you see this copy and paste it on top of your sig in the scratch forums and increase generation by 1. Social experiment.
Be your best you. Foxes are cute!
- josueart
-
100+ posts
How can I make a highscore system?
Thanks for all ![](//cdn.scratch.mit.edu/scratchr2/static/__e900675e2487039095475b713d9e2612__/djangobb_forum/img/smilies/big_smile.png)
![](http://cdn.scratch.mit.edu/scratchr2/static/__e900675e2487039095475b713d9e2612__/djangobb_forum/img/smilies/big_smile.png)
Last edited by josueart (Feb. 7, 2022 18:33:50)
- dj_greener
-
100+ posts
How can I make a highscore system?
when green flag clicked
forever
if <(score)>(☁ highscore)> then
set [☁ highscore v] to (score)
end
end
when green flag clicked
repeat until <cat blocks come back :: operators>
hope [cat blocks come back] :: looks
end
emotion [extremely happy v] :: looks
wait [5] secs
die of [cuteness v] :: looks
when [died v] :: events :: hat
revive :: sensing
repeat until <cat blocks disappear again :: operators>
pet [cat blocks v] :: looks
end
press @greenFlag :: events :: cap
- Discussion Forums
- » Help with Scripts
-
» How can I make a highscore system?