Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Im having a problem...
- Mattiino
-
Scratcher
34 posts
Im having a problem...


I added some images, as you can see Points is clearly > of world record… in the second image: the top one (8 by mattiino) is the wr and the second one is the points, idk why it says false
- deck26
-
Scratcher
1000+ posts
Im having a problem...
It's always better to share the project than script images with no context. My guess is you're using clones and local variables so you're not comparing what you think you're comparing.
- MisterPoo_Education
-
Scratcher
13 posts
Im having a problem...
uploas the projct
I added some images, as you can see Points is clearly > of world record… in the second image: the top one (8 by mattiino) is the wr and the second one is the points, idk why it says false
- DanglyLegs
-
Scratcher
100+ posts
Im having a problem...
Because your world record variable has text inside of it, it's not going to calculate the inequality correctly. Additionally, if your world record is a cloud variable, you can't include text in it–just numbers. To fix the issue, remove the by username part of the world record.
Hope this helps.
Hope this helps.
- Mattiino
-
Scratcher
34 posts
Im having a problem...
Because your world record variable has text inside of it, it's not going to calculate the inequality correctly. Additionally, if your world record is a cloud variable, you can't include text in it–just numbers. To fix the issue, remove the by username part of the world record.Oh thanks, i didnt realize i added by username to the world record variable, thanks
Hope this helps.
- Mattiino
-
Scratcher
34 posts
Im having a problem...
But. how would i compare the points to the world record var and also saying “By username” without making another var for the wr beater username?
- ThE-_-pEnGuIn
-
Scratcher
57 posts
Im having a problem...
But. how would i compare the points to the world record var and also saying “By username” without making another var for the wr beater username?you can convert it into numbers by making 2 lists (one with all the characters, the other with TWO DIGIT numbers (or 3 digits depending on how many chars you want)), then use a “”for“” loop to convert it into numbers and then you can convert it back into letters. if you want you can also have 2 digits you don't use as seperstor digits to put the usr and the score in the same var
- Mattiino
-
Scratcher
34 posts
Im having a problem...
CitaBTW heres the project link: https://scratch.mit.edu/projects/1208828768/
- Mattiino
-
Scratcher
34 posts
Im having a problem...
Isnt that method a bad workaround?, i just want to say it without making a TOWER of scratch code blocks… sorry if im asking too much…But. how would i compare the points to the world record var and also saying “By username” without making another var for the wr beater username?you can convert it into numbers by making 2 lists (one with all the characters, the other with TWO DIGIT numbers (or 3 digits depending on how many chars you want)), then use a “”for“” loop to convert it into numbers and then you can convert it back into letters. if you want you can also have 2 digits you don't use as seperstor digits to put the usr and the score in the same var
Last edited by Mattiino (Sept. 3, 2025 16:30:22)
- ThE-_-pEnGuIn
-
Scratcher
57 posts
Im having a problem...
not nearly as long as it sounds, and that's as far as I can help you, although in the project the by usr thing seemed to work, but it changed while my score was much lower.Isnt that method a bad workaround?, i just want to say it without making a TOWER of scratch code blocks… sorry if im asking too much…But. how would i compare the points to the world record var and also saying “By username” without making another var for the wr beater username?you can convert it into numbers by making 2 lists (one with all the characters, the other with TWO DIGIT numbers (or 3 digits depending on how many chars you want)), then use a “”for“” loop to convert it into numbers and then you can convert it back into letters. if you want you can also have 2 digits you don't use as seperstor digits to put the usr and the score in the same var
- ThE-_-pEnGuIn
-
Scratcher
57 posts
Im having a problem...
oh, nevermind, it did reset
and what do you mea by “bad workaround”? it is allowed if that's what you mean, its not lengthy, its fast, although it does use 2 variablesIsnt that method a bad workaround?, i just want to say it without making a TOWER of scratch code blocks… sorry if im asking too much…But. how would i compare the points to the world record var and also saying “By username” without making another var for the wr beater username?you can convert it into numbers by making 2 lists (one with all the characters, the other with TWO DIGIT numbers (or 3 digits depending on how many chars you want)), then use a “”for“” loop to convert it into numbers and then you can convert it back into letters. if you want you can also have 2 digits you don't use as seperstor digits to put the usr and the score in the same var
- Mattiino
-
Scratcher
34 posts
Im having a problem...
oh, nevermind, it did resetOkay, i'll try it. I'll reply you if i have further questions…and what do you mea by “bad workaround”? it is allowed if that's what you mean, its not lengthy, its fast, although it does use 2 variablesIsnt that method a bad workaround?, i just want to say it without making a TOWER of scratch code blocks… sorry if im asking too much…But. how would i compare the points to the world record var and also saying “By username” without making another var for the wr beater username?you can convert it into numbers by making 2 lists (one with all the characters, the other with TWO DIGIT numbers (or 3 digits depending on how many chars you want)), then use a “”for“” loop to convert it into numbers and then you can convert it back into letters. if you want you can also have 2 digits you don't use as seperstor digits to put the usr and the score in the same var
- Mattiino
-
Scratcher
34 posts
Im having a problem...
oh, nevermind, it did resetCan you make an actual project or the code in the scratch style, sorry if i dont understand a lot without an example.and what do you mea by “bad workaround”? it is allowed if that's what you mean, its not lengthy, its fast, although it does use 2 variablesIsnt that method a bad workaround?, i just want to say it without making a TOWER of scratch code blocks… sorry if im asking too much…But. how would i compare the points to the world record var and also saying “By username” without making another var for the wr beater username?you can convert it into numbers by making 2 lists (one with all the characters, the other with TWO DIGIT numbers (or 3 digits depending on how many chars you want)), then use a “”for“” loop to convert it into numbers and then you can convert it back into letters. if you want you can also have 2 digits you don't use as seperstor digits to put the usr and the score in the same var
Last edited by Mattiino (Sept. 3, 2025 17:30:40)
- Discussion Forums
- » Help with Scripts
-
» Im having a problem...