Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Official [scratchblocks] Testing Topic 9
#17501July 6, 2025 11:31:50
- camiloynigo
-
Scratcher
100+ posts
Official [scratchblocks] Testing Topic 9
AD:
please check out FORUMOJI to use more emojis like 
please check out FORUMOJI to use more emojis like 
when green flag clicked
forever
if <(checked forumoji?) = [true]>{
set [emotion v] to [happy :)]
}:: control
#17502July 6, 2025 11:32:34
- CB3029-X
-
Scratcher
25 posts
Official [scratchblocks] Testing Topic 9
4.0 blocks!when @stopSign clicked::hat eventswhen pause button clicked::hat eventsprevious costume::looksprevious backdrop::looks<loud?::sound><did recieve [message1 v]?::events><sound [pop v] playing?::sound><mobile?::grey>(instrument::music)<mouse out of bounds?::sensing>more soon
Rejected Blocks for 2.0
#17503July 6, 2025 11:33:13
- camiloynigo
-
Scratcher
100+ posts
Official [scratchblocks] Testing Topic 9
RUSH Eguess the songwhen green flag clicked::cat
set tempo to (200)::music
play music sheet [[6u] [80u]u[3u] [80u]u[6u] [80u]u[3u] [80u]u[6u]i[80u]Y[3u] [80p] [6s] [80] 3 [80s]
[%d] [90d]d[%d]s[90a]d[6s] [80] 6 [80p]s[7a] [(ea]a[7I] [(ea] [0rWO]| [30u]|
[6u] [80u]u[3u] [80u]u[6u] [80u]u[3u]i[80u]Y[6u] [80p]s[3f] [80j] [6l] [80] 3 [80l]
[%z]l[90k]z[6l] [80] [7k]j[e(H]k[8j] [0e] [9g]f[qed]s[0a] [Wr]O[etup]| [6e]|
[6u] [80u]u[3u] [80u]u[6u] [80u]u[3u] [80u]u[6u]i[80u]Y[3u] [80p] [6s] [80] 3 [80s]
[%d] [90d]d[%d]s[90a]d[6s] [80] 6 [80p]s[7a] [(ea]a[7I] [(ea] [0rWO]| [30u]|
[6u] [80u]u[3u] [80u]u[6u] [80u]u[3u]i[80u]Y[6u] [80p]s[3f] [80j] [6l] [80] 3 [80l]
[%z]l[90k]z[6l] [80] [7k]j[e(H]k[8j] [0e] [9g]f[qed]s[0a] [Wr]O[etup]| [6e]|
[9d] [qe]S[9d] [qef] [9g] [qe] 9 [qed] [8f] [0e] 8 [0es] [8f] [0e] 8 [0es]
[7a] [(e] 7 [e(P] [7a] [(es] [7d] [(ea] [8s] [0e] 8 [0e] 8 [0e] [8s] [0es]
[9d] [qe]S[9d] [qef] [9g] [qe] 9 [qed] [8f] [0e] 8 [0es] [8f] [0e] [8j] [0e]
9 [qed] 9 [qeg] [8f] [0es] [7d] [9wa] [680p]| f j| [6e]|
[6u] [80u]u[3u] [80u]u[6u] [80u]u[3u] [80u]u[6u]i[80u]Y[3u] [80p] [6s] [80] 3 [80s]
[%d] [90d]d[%d]s[90a]d[6s] [80] 6 [80p]s[7a] [(ea]a[7I] [(ea] [0rWO]| [30u]|
[6u] [80u]u[3u] [80u]u[6u] [80u]u[3u]i[80u]Y[6u] [80p]s[3f] [80j] [6l] [80] 3 [80l]
[%z]l[90k]z[6l] [80] [7k]j[e(H]k[8j] [0e] [9g]f[qed]s[0a] [Wr]O[etup]| [6e]|
[9p] [qep]p[6p] [qep]p[9p] [qep]p[6p] [qep]p[9p]P[qep]O[6p] [qed] [9g] [qe] 6 [qeg]
[*h] [weh]h[h*]g[wef]h[9g] [qe] 9 [qed]g[0f] [Wyf]f[0a] [Wyf] [euTS]| [6ep]|
[9p] [qep]p[6p] [qep]p[9p] [qep]p[6p]P[qep]O[9p] [qed]g[6j] [qez] [9c] [qe] 6 [qec]
[*v]c[wex]v[9c] [qe] [0x]z[yWL]x[qz] [ey] [wJ]j[Eyh]g[ef] [Tu]S[yipd]| [9y]|
[wd] [Eyd]d[9d] [Eyd]d[wd] [Eyd]d[9d] [Eyd]d[wd]D[Eyd]S[9d] [Eyh] [wJ] [Ey] 9 [yEJ]
[Ql] [tyl]l[Ql]J[tyj]l[wJ] [Ey] w [Eyh]J[ej] [Toj]j[ef] [Toj] [ypIG]| [9yd]|
[wd] [Eyd]d[9d] [Eyd]d[wd] [Eyd]d[9d]D[Eyd]S[wd] [Eyh]J[9z] [Eyv] [wB] [Ey] 9 [yEB]
[Qm]B[tyb]m[wB] [Ey] [eb]v[oTC]b[Ev] [yo] [tZ]z[Yol]J[yj] [Ip]G[Podh]|||]
#17504July 6, 2025 11:33:48
#17505July 6, 2025 13:03:49
- secretuch
-
Scratcher
100+ posts
Official [scratchblocks] Testing Topic 9
How did you know?RUSH Eguess the songwhen green flag clicked::cat
set tempo to (200)::music
play music sheet [[6u] [80u]u[3u] [80u]u[6u] [80u]u[3u] [80u]u[6u]i[80u]Y[3u] [80p] [6s] [80] 3 [80s]
[%d] [90d]d[%d]s[90a]d[6s] [80] 6 [80p]s[7a] [(ea]a[7I] [(ea] [0rWO]| [30u]|
[6u] [80u]u[3u] [80u]u[6u] [80u]u[3u]i[80u]Y[6u] [80p]s[3f] [80j] [6l] [80] 3 [80l]
[%z]l[90k]z[6l] [80] [7k]j[e(H]k[8j] [0e] [9g]f[qed]s[0a] [Wr]O[etup]| [6e]|
[6u] [80u]u[3u] [80u]u[6u] [80u]u[3u] [80u]u[6u]i[80u]Y[3u] [80p] [6s] [80] 3 [80s]
[%d] [90d]d[%d]s[90a]d[6s] [80] 6 [80p]s[7a] [(ea]a[7I] [(ea] [0rWO]| [30u]|
[6u] [80u]u[3u] [80u]u[6u] [80u]u[3u]i[80u]Y[6u] [80p]s[3f] [80j] [6l] [80] 3 [80l]
[%z]l[90k]z[6l] [80] [7k]j[e(H]k[8j] [0e] [9g]f[qed]s[0a] [Wr]O[etup]| [6e]|
[9d] [qe]S[9d] [qef] [9g] [qe] 9 [qed] [8f] [0e] 8 [0es] [8f] [0e] 8 [0es]
[7a] [(e] 7 [e(P] [7a] [(es] [7d] [(ea] [8s] [0e] 8 [0e] 8 [0e] [8s] [0es]
[9d] [qe]S[9d] [qef] [9g] [qe] 9 [qed] [8f] [0e] 8 [0es] [8f] [0e] [8j] [0e]
9 [qed] 9 [qeg] [8f] [0es] [7d] [9wa] [680p]| f j| [6e]|
[6u] [80u]u[3u] [80u]u[6u] [80u]u[3u] [80u]u[6u]i[80u]Y[3u] [80p] [6s] [80] 3 [80s]
[%d] [90d]d[%d]s[90a]d[6s] [80] 6 [80p]s[7a] [(ea]a[7I] [(ea] [0rWO]| [30u]|
[6u] [80u]u[3u] [80u]u[6u] [80u]u[3u]i[80u]Y[6u] [80p]s[3f] [80j] [6l] [80] 3 [80l]
[%z]l[90k]z[6l] [80] [7k]j[e(H]k[8j] [0e] [9g]f[qed]s[0a] [Wr]O[etup]| [6e]|
[9p] [qep]p[6p] [qep]p[9p] [qep]p[6p] [qep]p[9p]P[qep]O[6p] [qed] [9g] [qe] 6 [qeg]
[*h] [weh]h[h*]g[wef]h[9g] [qe] 9 [qed]g[0f] [Wyf]f[0a] [Wyf] [euTS]| [6ep]|
[9p] [qep]p[6p] [qep]p[9p] [qep]p[6p]P[qep]O[9p] [qed]g[6j] [qez] [9c] [qe] 6 [qec]
[*v]c[wex]v[9c] [qe] [0x]z[yWL]x[qz] [ey] [wJ]j[Eyh]g[ef] [Tu]S[yipd]| [9y]|
[wd] [Eyd]d[9d] [Eyd]d[wd] [Eyd]d[9d] [Eyd]d[wd]D[Eyd]S[9d] [Eyh] [wJ] [Ey] 9 [yEJ]
[Ql] [tyl]l[Ql]J[tyj]l[wJ] [Ey] w [Eyh]J[ej] [Toj]j[ef] [Toj] [ypIG]| [9yd]|
[wd] [Eyd]d[9d] [Eyd]d[wd] [Eyd]d[9d]D[Eyd]S[wd] [Eyh]J[9z] [Eyv] [wB] [Ey] 9 [yEB]
[Qm]B[tyb]m[wB] [Ey] [eb]v[oTC]b[Ev] [yo] [tZ]z[Yol]J[yj] [Ip]G[Podh]|||]
#17506July 6, 2025 13:16:09
- lnecel
-
Scratcher
500+ posts
Official [scratchblocks] Testing Topic 9
I did change it to “lets eat it”Pizza partyyay{lets eat it
{
}{
::ring
::ring
((::ring))
::ring
((::ring))
::ring
::ring
}{
::ring
((::ring))
::ring
((::ring))
::ring
((::ring))
::ring
}{
::ring
::ring
((::ring))
::ring
((::ring))
::ring
::ring
}{
::ring
((::ring))
::ring
((::ring))
::ring
((::ring))
::ring
}{
::ring
::ring
((::ring))
::ring
((::ring))
::ring
::ring
}{
}::#fab15c reporter
}::variables reporterwhen this post is posted::events hat
deactivate icons{
{
{
}{
::ring
::ring
((::ring))
::ring
((::ring))
::ring
::ring
}{
::ring
((::ring))
::ring
((::ring))
::ring
((::ring))
::ring
}{
::ring
::ring
((::ring))
::ring
((::ring))
::ring
::ring
}{
::ring
((::ring))
::ring
((::ring))
::ring
((::ring))
::ring
}{
::ring
::ring
((::ring))
::ring
((::ring))
::ring
::ring
}{
}::#fab15c reporter
}::variables reporter
}::control
create blocks{
make a pizza::control
boolean:<variable [i] exists?::sensing>::#595959
}::control
when this post is quoted::events hat
run (last created stack::control)::control
say (last created boolean::control boolean)when this post is posted::events hat
repeat until <variable [pizzas] exists?::sensing>
create a variable named [pizzas]::variables
end
set [pizzas v] to [0]
repeat until <(pizzas)=[100]>
make a pizza::control
change [pizzas v] by (1)
endwhen this post is posted::events hatDeleted
deactivate block{
activate icons{
}::control
}::control
Note: my post is “Got back the pizza”, but someone changed it into “lets eat it” so I kept it how it was. LNECEL WROTE IT
Pls dont change the text
#17507July 6, 2025 13:29:17
#17508July 6, 2025 13:31:30
- Scratch-1106
-
Scratcher
70 posts
Official [scratchblocks] Testing Topic 9
set [Scratch-1106] to [1106]
Last edited by Scratch-1106 (July 6, 2025 13:31:40)
#17509July 6, 2025 13:42:01
- amagamecode
-
Scratcher
500+ posts
Official [scratchblocks] Testing Topic 9
Too lateI did change it to “lets eat it”Pizza partyyay{Got back the pizza
{
}{
::ring
::ring
((::ring))
::ring
((::ring))
::ring
::ring
}{
::ring
((::ring))
::ring
((::ring))
::ring
((::ring))
::ring
}{
::ring
::ring
((::ring))
::ring
((::ring))
::ring
::ring
}{
::ring
((::ring))
::ring
((::ring))
::ring
((::ring))
::ring
}{
::ring
::ring
((::ring))
::ring
((::ring))
::ring
::ring
}{
}::#fab15c reporter
}::variables reporterwhen this post is posted::events hat
deactivate icons{
{
{
}{
::ring
::ring
((::ring))
::ring
((::ring))
::ring
::ring
}{
::ring
((::ring))
::ring
((::ring))
::ring
((::ring))
::ring
}{
::ring
::ring
((::ring))
::ring
((::ring))
::ring
::ring
}{
::ring
((::ring))
::ring
((::ring))
::ring
((::ring))
::ring
}{
::ring
::ring
((::ring))
::ring
((::ring))
::ring
::ring
}{
}::#fab15c reporter
}::variables reporter
}::control
create blocks{
make a pizza::control
boolean:<variable [i] exists?::sensing>::#595959
}::control
when this post is quoted::events hat
run (last created stack::control)::control
say (last created boolean::control boolean)when this post is posted::events hat
repeat until <variable [pizzas] exists?::sensing>
create a variable named [pizzas]::variables
end
set [pizzas v] to [0]
repeat until <(pizzas)=[100]>
make a pizza::control
change [pizzas v] by (1)
endwhen this post is posted::events hatNote: my post is “Got back the pizza”, but someone changed it into “lets eat it” so I changed back. WHO DID IT?
activate icons{
{
{
}{
::ring
::ring
((::ring))
::ring
((::ring))
::ring
::ring
}{
::ring
((::ring))
::ring
((::ring))
::ring
((::ring))
::ring
}{
::ring
::ring
((::ring))
::ring
((::ring))
::ring
::ring
}{
::ring
((::ring))
::ring
((::ring))
::ring
((::ring))
::ring
}{
::ring
::ring
((::ring))
::ring
((::ring))
::ring
::ring
}{
}::#fab15c reporter
}::variables reporter
}::control
Pls dont change the text


Last edited by amagamecode (July 6, 2025 13:52:17)
#17510July 6, 2025 13:55:16
- amagamecode
-
Scratcher
500+ posts
Official [scratchblocks] Testing Topic 9
@greenFlag ::#fff ring
Last edited by amagamecode (July 6, 2025 13:55:41)
#17511July 6, 2025 14:17:36
- amagamecode
-
Scratcher
500+ posts
Official [scratchblocks] Testing Topic 9
Click this link to get the empty text with the tutorial.
With the empty text:
<::boolean>Without the empty text:
<::boolean>
Last edited by amagamecode (July 6, 2025 14:19:10)
#17512July 6, 2025 16:53:27
#17513July 6, 2025 16:58:01
#17514July 6, 2025 19:35:23
- MaxSaturn3000_
-
Scratcher
44 posts
Official [scratchblocks] Testing Topic 9
Find the real Scratch block in each script.Snippy-Snip-Snip! Post shortened! (^ω^::#666666)::#aa0000 cat
I think it's the “display text” micro:bit block for the first one
Second one is the “for each” block
Last one is the myBlock
answer (1) is (incorrect::#aa0000)::#0000aaNot bad!
answer (2) is (correct::#00aa00)::#0000aa
answer (3) is (correct::#00aa00)::#0000aa
Last edited by MaxSaturn3000_ (July 8, 2025 19:51:48)
#17515July 6, 2025 19:45:04
- vdiaz041
-
Scratcher
500+ posts
Official [scratchblocks] Testing Topic 9
set [you know... v] to [this topic is not for you]
there's this japanese forum topic you can visit
#17516July 6, 2025 19:48:39
- vdiaz041
-
Scratcher
500+ posts
Official [scratchblocks] Testing Topic 9
Find the real Scratch block in each script.script 1:when this sprite touches (mouse-pointer v)::events hat
change [foo v] by (#ff0550)::variables stack
display text [Don't touch that!] on micro:bit::microbit stack
wait (1) sec::control stack
clear the display::microbit stack
stop [this script]::control cap
if (down down down down left left left left v) is pressed in order::makeymakey hat
set [foo4 v] to [0]::events stack
for each [foo v] in [27]{
set variable [foo2 v] to (pick from (-100) to (100)::operators reporter)::variables stack
set variable [foo3 v] to (pick from (-100) to (100)::operators reporter)::variables stack
ask (join (join (variable [foo2 v]::variables reporter) and [+]::operators reporter) and (variable [foo3 v]::variables reporter)::operators reporter) and wait::motion stack
if <(answer::motion reporter) equals ((variable [foo2 v]::variables reporter) plus (variable [foo3 v]::variables reporter)::operators reporter)::operators boolean>{
say [Correct!] for (1 v) sec::looks stack
change [foo4 v] by (1)::events stack
}otherwise{
say [Incorrect!] for (1 v) sec::looks stack
}::control loop
}::control loop
if <(variable [foo4 v]::variables reporter) equals [27]::operators boolean>{
broadcast [reward]::events stack
}otherwise{
say [You didn't answer all questions correctly. Try again!] for (1 v) sec::looks stack
}::control loop
end [this script v]::control cap
when @stopSign clicked::events hat
ask for (code v) and wait::sensing stack
if <(code::sensing reporter) equals [122448]::operators boolean> then say [You are MaxSaturn3000] otherwise say [You are not MaxSaturn3000]::custom stack
stop [everything v]::control cap
when this sprite touches (mouse pointer v):: events catscript 2:
for each [ v] in () {
}:: controlscript 3: custom block:: custom
Last edited by vdiaz041 (July 6, 2025 20:00:56)
#17517July 6, 2025 20:16:26
- MaxSaturn3000_
-
Scratcher
44 posts
Official [scratchblocks] Testing Topic 9
Find the real Scratch block in each script.script 1:Snippy-Snip-Snip! Post shortened! (^ω^::#666666)::#aa0000 catwhen this sprite touches (mouse pointer v):: events catscript 2:for each [ v] in () {script 3:
}:: controlcustom block:: custom
answer (1) is (correct::#00aa00)::#0000aaYou found all 3 real Scratch blocks! Great job!
answer (2) is (correct::#00aa00)::#0000aa
answer (3) is (correct::#00aa00)::#0000aa
Last edited by MaxSaturn3000_ (July 8, 2025 19:52:10)
#17518July 6, 2025 20:24:43
- vdiaz041
-
Scratcher
500+ posts
Official [scratchblocks] Testing Topic 9
yayFind the real Scratch block in each script.script 1:when this sprite touches (mouse-pointer v)::events hat
change [foo v] by (#ff0550)::variables stack
display text [Don't touch that!] on micro:bit::microbit stack
wait (1) sec::control stack
clear the display::microbit stack
stop [this script]::control cap
if (down down down down left left left left v) is pressed in order::makeymakey hat
set [foo4 v] to [0]::events stack
for each [foo v] in [27]{
set variable [foo2 v] to (pick from (-100) to (100)::operators reporter)::variables stack
set variable [foo3 v] to (pick from (-100) to (100)::operators reporter)::variables stack
ask (join (join (variable [foo2 v]::variables reporter) and [+]::operators reporter) and (variable [foo3 v]::variables reporter)::operators reporter) and wait::motion stack
if <(answer::motion reporter) equals ((variable [foo2 v]::variables reporter) plus (variable [foo3 v]::variables reporter)::operators reporter)::operators boolean>{
say [Correct!] for (1 v) sec::looks stack
change [foo4 v] by (1)::events stack
}otherwise{
say [Incorrect!] for (1 v) sec::looks stack
}::control loop
}::control loop
if <(variable [foo4 v]::variables reporter) equals [27]::operators boolean>{
broadcast [reward]::events stack
}otherwise{
say [You didn't answer all questions correctly. Try again!] for (1 v) sec::looks stack
}::control loop
end [this script v]::control cap
when @stopSign clicked::events hat
ask for (code v) and wait::sensing stack
if <(code::sensing reporter) equals [122448]::operators boolean> then say [You are MaxSaturn3000] otherwise say [You are not MaxSaturn3000]::custom stack
stop [everything v]::control capwhen this sprite touches (mouse pointer v):: events catscript 2:for each [ v] in () {script 3:
}:: controlcustom block:: customanswer (1) is (correct::#00aa00)::#0000aaYou found all 3 real Scratch blocks! Great job!
answer (2) is (correct::#00aa00)::#0000aa
answer (3) is (correct::#00aa00)::#0000aa

#17519July 7, 2025 02:41:02
- wilsoncooper
-
Scratcher
100+ posts
Official [scratchblocks] Testing Topic 9
(\reporter\)\HOLY CRUD I FOUND A GLITCH (look at the code)
#17520July 7, 2025 10:18:53
- amagamecode
-
Scratcher
500+ posts
Official [scratchblocks] Testing Topic 9
(\reporter\)\HOLY CRUD I FOUND A GLITCH (look at the code)
move \(\10)\ steps:: motion
((king of page [885]::sensing)+(edit))::hat events cat
Last edited by amagamecode (July 7, 2025 10:20:37)