Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » High score counter not working
- scratchcraft789
-
17 posts
High score counter not working
This is my current code:
Please help me idk why it's not working.
edit: on the score > highscore, it shows it as text, not a variable(idk how to fix it, just like many other things). same issue occurs on the set highscore to score block. thats not in my real code so just saying thats not the issue on why this isnt working.
when green flag clicked
forever
if <(score) > [☁highscore]> then
set [☁highscore v] to [score]
end
end
Please help me idk why it's not working.
edit: on the score > highscore, it shows it as text, not a variable(idk how to fix it, just like many other things). same issue occurs on the set highscore to score block. thats not in my real code so just saying thats not the issue on why this isnt working.
Last edited by scratchcraft789 (Feb. 20, 2025 13:20:21)
- SSSouple
-
22 posts
High score counter not working
The cloud server is unfortunately down, but don't worry! The Scratch team are working their hardest to fix it!
- hi_bobux725
-
100+ posts
High score counter not working
This is my current code:when green flag clicked
forever
if <(score) > [☁highscore]> then
set [☁highscore v] to [score]
end
end
Please help me idk why it's not working.
edit: on the score > highscore, it shows it as text, not a variable(idk how to fix it, just like many other things). same issue occurs on the set highscore to score block. thats not in my real code so just saying thats not the issue on why this isnt working.
when green flag clickedmake them variables and not the text input
forever
if <(score) > (☁highscore)> then
set [☁highscore v] to (score)
end
end
- Discussion Forums
- » Help with Scripts
-
» High score counter not working