Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Official [scratchblocks] Testing Topic 9
- Websitemaker66
- Scratcher
100+ posts
Official [scratchblocks] Testing Topic 9
when green flag clicked
set [n v] to [500] //n (# subintervals)
set [b v] to [2] //
set [a v] to [-2]
set [i v] to [0]
set [integral v] to [0]
repeat ((n) + (1))
set [x v] to (((((b) - (a)) / (n)) * (i)) + (a))
if <<(i) = [0]> or <(i) = (n)>> then
change [integral v] by ((((b) - (a)) / ((2) * (n))) * ([e ^ v] of ((-1) * ((x) * (x))))) //
else
change [integral v] by ((2) * ((((b) - (a)) / ((2) * (n))) * ([e ^ v] of ((-1) * ((x) * (x))))))
end
change [i v] by (1)
end
Last edited by Websitemaker66 (March 31, 2024 21:40:27)
eyyyeeyeyye
6
move () steps
[/scratc[quote][quote][quote][quote][/quote][/quote][/quote][/quote]hblocks]
- horizontal_shading
- Scratcher
1000+ posts
Official [scratchblocks] Testing Topic 9
Replace scarcat with scratch to get the actual name i wish scratch made every bit of the scratch ui scratch 3.0-like like scarcat addons does
We have to stop climate change before it's too late. Help us spread the word to big companies. Also, ignore every post of mine posted before the year 2023. Those posts are cringe and outdated. I hate seeing them.
;
- kouhei-1
- Scratcher
500+ posts
Official [scratchblocks] Testing Topic 9
when I start as a clone
change [クローン数 v] by (1)
hide
if <(OOHARAMEN) = [0]> then
go to [TNT降下機 v]
end
if <(mode) = [TNT]> then
switch costume to [着火されたTNT v]
end
if <(mode) = [TNG]> then
switch costume to [着火されたTNG v]
end
show
forever
repeat until <touching [World v]?>
change y by (-5)
wait (.01) seconds
if <[-179] \> (y position)> then
change [クローン数 v] by (-1)
delete this clone
end
end
end
when I start as a clone
show
start sound [fuse v]
if <(mode) = [NUKE]> then
show
switch costume to [NUKE v]
wait (2) seconds
broadcast [クラッシュ v]
stop [this script v]
end
if <(爆発?) = [1]> then
go to x: (tnt x) y: (tnt y)
if <(mode) = [TNT]> then
repeat (3)
wait (.15) seconds
switch costume to [着火されたTNT v]
wait (.15) seconds
switch costume to [TNT v]
end
end
if <(mode) = [TNG]> then
repeat (3)
wait (.15) seconds
switch costume to [着火されたTNG v]
wait (.15) seconds
switch costume to [TNG v]
end
end
start sound [explode4 v]
create clone of [爆発 v]
set [爆発 x v] to (x position)
set [爆発 y v] to (y position)
change [クローン数 v] by (-1)
delete this clone
else
if <(mode) = [TNT]> then
repeat (3)
wait (.5) seconds
switch costume to [着火されたTNT v]
wait (.5) seconds
switch costume to [TNT v]
end
end
if <(mode) = [TNG]> then
repeat (3)
wait (.5) seconds
switch costume to [着火されたTNG v]
wait (.5) seconds
switch costume to [TNG v]
end
end
start sound [explode4 v]
create clone of [爆発 v]
set [爆発 x v] to (x position)
set [爆発 y v] to (y position)
change [クローン数 v] by (-1)
delete this clone
end
when I receive [ワールド上昇 v]
repeat (240)
change y by (0.1)
end
when @greenFlag clicked
hide
when @greenFlag clicked
forever
if <key [o v] pressed?> then
repeat (700)
if <key [o v] pressed?> then
repeat (700)
if <key [h v] pressed?> then
repeat (700)
if <key [a v] pressed?> then
repeat (700)
if <key [r v] pressed?> then
repeat (700)
if <key [a v] pressed?> then
repeat (700)
if <key [m v] pressed?> then
repeat (700)
if <key [e v] pressed?> then
repeat (700)
if <key [n v] pressed?> then
go to x: (-228) y: (180)
set [OOHARAMEN v] to [1]
repeat (20)
create clone of [myself v]
change x by (24)
end
set [OOHARAMEN v] to [0]
wait (5) seconds
broadcast [クラッシュ v]
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
wait (.1) seconds
end
end
when I receive [クラッシュ v]
hide
{ "id":94279263, "username":"kouhei-1", "joined":"2022-04-18T05:18:40.000Z", "country":"Japan", "more_Information"{ "lang":["scratch","javascript"], "interesting_things":["javascript","html","python","svg","html/css"], } }
- kouhei-1
- Scratcher
500+ posts
Official [scratchblocks] Testing Topic 9
when @greenFlag clicked
set [a_4? v] to [True]
forever
switch costume to [a_4 v]
go to [random position v]
create clone of [myself v]
wait (.1) seconds
end
when I start as a clone
if <(a_4?) = [True]> then
set [color v] effect to (pick random (0) to (255))::looks
set [brightness v] effect to (-20)::looks
set [a_4? v] to [False]
set [ghost v] effect to (100)::looks
show
repeat (20)
change [ghost v] effect by (-5)::looks
end
set [a_4//Mode v] to (pick random (0) to (2))
set [Barrage_number v] to [0]
set [+45°? v] to (pick random (0) to (1))
repeat (4)
change [Barrage_number v] by (1)
create clone of [myself v]
end
delete this clone
else
show
switch costume to (join [a_] ((a_4//Mode) + (1)))
point in direction (((90) * (Barrage_number)) + ((+45°?) * (45)))
repeat until <touching [edge v]?>
move (10) steps
turn @turnRight (((2) * (((+45°?) * (2)) - (1))) * (letter ((costume [number v]) - (2)) of [1])) degrees::motion
stamp
end
delete this clone
end
{ "id":94279263, "username":"kouhei-1", "joined":"2022-04-18T05:18:40.000Z", "country":"Japan", "more_Information"{ "lang":["scratch","javascript"], "interesting_things":["javascript","html","python","svg","html/css"], } }
- kouhei-1
- Scratcher
500+ posts
Official [scratchblocks] Testing Topic 9
define 絵画 (1) (2) (3) (4) (5)
change [何回目 v] by (1)
set [何線目 v] to [0]
repeat (5)
change [何線目 v] by (1)
if <(何線目) = [1]> then
set [数値 v] to (1::custom)
end
if <(何線目) = [2]> then
set [数値 v] to (2::custom)
end
if <(何線目) = [3]> then
set [数値 v] to (3::custom)
end
if <(何線目) = [4]> then
set [数値 v] to (4::custom)
end
if <(何線目) = [5]> then
set [数値 v] to (5::custom)
end
go to x: (((何線目) - (3)) * (50)) y: (((何回目) * (100)) - (270))
if <not <(数値) = [0]>> then
if <(数値) = [1]> then
1::custom
end
if <(数値) = [2]> then
2::custom
end
if <(数値) = [3]> then
3::custom
end
if <(数値) = [4]> then
1::custom
2::custom
end
if <(数値) = [5]> then
1::custom
3::custom
end
if <(数値) = [6]> then
2::custom
3::custom
end
if <(数値) = [7]> then
1::custom
2::custom
3::custom
end
end
end
when @greenFlag clicked
pen up
set pen color to [#000000]
set pen size to (3)
erase all
set [何回目 v] to [0]
絵画 [1] [0] [7] [0] [1]::custom
絵画 [1] [5] [6] [4] [1]::custom
絵画 [1] [4] [0] [5] [1]::custom
define 1
repeat (2)
pen down
change y by (100)
pen up
change y by (-100)
change x by (15)
end
define 2
go to x: (((何線目) - (3)) * (50)) y: (((何回目) * (100)) - (270))
set [n v] to [90]
pen down
repeat (180)
set x to ((((何線目) - (3)) * (50)) + ((([sin v] of (n)::operators) - (1)) * (-25)))
change [n v] by (1)
change y by ((100) / (180))
end
pen up
go to x: ((((何線目) - (3)) * (50)) + (15)) y: (((何回目) * (100)) - (270))
set [n v] to [90]
pen down
repeat (180)
set x to ((((何線目) - (3)) * (50)) + (((([sin v] of (n)::operators) - (1)) * (-25)) + (15)))
change [n v] by (1)
change y by ((100) / (180))
end
pen up
define 3
go to x: (((何線目) - (3)) * (50)) y: (((何回目) * (100)) - (270))
set [n v] to [90]
pen down
repeat (180)
set x to ((((何線目) - (3)) * (50)) + ((([sin v] of (n)::operators) - (1)) * (25)))
change [n v] by (1)
change y by ((100) / (180))
end
pen up
go to x: ((((何線目) - (3)) * (50)) + (15)) y: (((何回目) * (100)) - (270))
set [n v] to [90]
pen down
repeat (180)
set x to ((((何線目) - (3)) * (50)) + (((([sin v] of (n)::operators) - (1)) * (25)) + (15)))
change [n v] by (1)
change y by ((100) / (180))
end
pen up
{ "id":94279263, "username":"kouhei-1", "joined":"2022-04-18T05:18:40.000Z", "country":"Japan", "more_Information"{ "lang":["scratch","javascript"], "interesting_things":["javascript","html","python","svg","html/css"], } }
- BOBBYbitBUNIOR
- Scratcher
5 posts
Official [scratchblocks] Testing Topic 9
Can someone post this https://scratch.mit.edu/projects/986628247/ in this studios https://scratch.mit.edu/studios/28715018 comments? Please.
- igtnathan5
- Scratcher
1000+ posts
Official [scratchblocks] Testing Topic 9
https://scratch.mit.edu/projects/986628247/ in this studios https://scratch.mit.edu/studios/28715018 comments? Please.please Can someone post this
test :: pen hat
scratchblocks :: control cap
verified ✔
press shift+down arrow to scroll my signature after selecting it
————————–———————
Tileblock suggestion forum
Neutra-code
Former suggestion forum
Super Scratch Clicker l suggestion forum
Minecraft modding (i need help)
Igtbox Gpt trailers
Scratchblocks status and my status:
————————–———————
Youtube status: Making Hyperspeed X you can watch me make it on youtube by searching igtnathan
Scratchblocks :: control hat————————–———————
Testing topic 9 :: pen cap
when someone views my signature :: control hat :: #32CD32
if <a link is clicked :: #008000> then :: #00CED1
say [thanks for clicking one of my links] :: #32CD00 :: cap
else
say [please click one of my links] :: #32CD00 :: cap
end
`⬇ scroll down a bit more ⬇` :: control cap :: #00CED1
when I join scratch :: control hat :: #32CD32
{
eat :: motion
sleep :: #FFB000
code :: pen
}repeat @loopArrow ::control :: #00CED1
- Pibby59
- Scratcher
500+ posts
Official [scratchblocks] Testing Topic 9
it's april fools!!1!!!11!!!!
when green flag clicked
for anyone in the us{
PRANK :: control
PRANK :: control
PRANK :: control
} :: control
Last edited by Pibby59 (Never 00:00)
Hello and welcome to my signature.
Owner of the “Python Code Testing” topic!
look at this! (click me!)
- konami_code9993
- Scratcher
26 posts
Official [scratchblocks] Testing Topic 9
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<pyramid thing lol :: grey> :: grey> :: grey> :: grey> :: grey> :: grey> :: grey> :: grey> :: grey> :: grey> :: grey> :: grey> :: grey> :: grey> :: grey> :: grey> :: grey> :: grey> :: grey> :: grey> :: grey> :: grey> :: grey> :: grey> :: grey> :: grey> :: grey> :: grey> :: grey> :: grey> :: grey
Last edited by konami_code9993 (April 1, 2024 07:26:56)
hello im konami and i scratch
when gf clicked
forever
if <<on scratch? :: sensing> =[true]> then
imagine <. . .> :: control
program it ::motion
share it :: sensing
end
wait until <next day :: sensing>
if <<(this [project v] :: control) view count :: sensing> \> [2] > then
set [emotion v] to [happy v] :: looks
end
literally repeat the whole thing again :: control
- Mahdir2111
- Scratcher
100+ posts
Official [scratchblocks] Testing Topic 9
move (1) steps
move (2) steps
move (3) steps
move (4) steps
move (5) steps
move (6) steps
- theapplesguy2-1
- Scratcher
100+ posts
Official [scratchblocks] Testing Topic 9
the extension doesnt allow me to say the real nameReplace scarcat with scratch to get the actual name i wish scratch made every bit of the scratch ui scratch 3.0-like like scarcat addons does
if <e:: sensing> then{
ask for [$ v] (5) and wait:: #59c059
}else{
when gf clicked
}:: control
>o\( :: motion boolean // border control
ocular: https://ocular.jeffalo.net/user/theapplesguy2-1
fandom: https://adventures-of.fandom.com/wiki/Adventures_Of_Wiki
- theapplesguy2-1
- Scratcher
100+ posts
Official [scratchblocks] Testing Topic 9
yall dont get it theres a website for you to test out scratchblocks to not clog the forums
how many times have i told that?
how many times have i told that?
if <e:: sensing> then{
ask for [$ v] (5) and wait:: #59c059
}else{
when gf clicked
}:: control
>o\( :: motion boolean // border control
ocular: https://ocular.jeffalo.net/user/theapplesguy2-1
fandom: https://adventures-of.fandom.com/wiki/Adventures_Of_Wiki
- Creator-H
- Scratcher
100+ posts
Official [scratchblocks] Testing Topic 9
if <[(item (1) to (5) of list :: list] = [apple]> then
end
I don't know what to do with my life
Try playing my new PVZ demo if it's up rn
7 YEAR ANNIVERSARY WHOOOO
Lists are built different
Use lists in all your games for stats and keeping track of cool thingies
No I swear if you don't use lists
- champion_ofcloud-var
- Scratcher
500+ posts
Official [scratchblocks] Testing Topic 9
hey(guys<im[back v]>)
(i got banned for 3 days)
when green flag clicked
save FSR (Fat Sand Rat)
destroy (baby nova)
switch costume to [happy :) v]
define save FSR (fsr)
point towards [fat sand rat v]
go to [fat sand rat v]
go to [safe spot/ship v]
define destroy (enemy)
switch costume to (join [destroying ] [(enemy)
- han614698
- Scratcher
1000+ posts
Official [scratchblocks] Testing Topic 9
if (colored::custom){(costume [#092630] is @greenFlag @delInput @addInput text @loopArrow::looks)}lowtext @loopArrow::motion
hello @stopSign
Last edited by han614698 (April 3, 2024 19:18:22)
<Scratch Wikian // 2000+ Edits | Forum Helper // 7000+ Posts | Scratcher // 530+ Followers>
banner coming soon…
- OfiicialMI
- Scratcher
9 posts
Official [scratchblocks] Testing Topic 9
More Of My Own Extentions:
Scratch Ultilities
Scratch Ultilities
([DemonX]'s Folower Count On Page [1]:: #ff8d03)Extra events
(Original Projects [Thumbail v] id: [123323342]:: #ff8d03)//the ID wont work
([Original v] [DemonX]'s profile Pic:: #ff8d03)
(get [DemonX]'s [what i am working on v]:: #ff8d03)
(get project's [list v] of comments of id: [15362725]:: #ff8d03)//THE ID WONT WORK (LAST WARNING)
when stop flag pressed? :: events hatT H E E N D (more comming soon)
broadcast message [abc v] to [Stage v] :: events
broadcast message [abc v] with data [123] to [Stage v] :: events
broadcast message [abc v] to [Stage v] and wait :: events
broadcast message [abc v] with data [123] to [Stage v] and wait :: events
broadcast message [abc v] with data [123] :: events
broadcast messag [abc v] with data [123] and wait :: events
when i recive [abc v] with data [123] :: events hat
repeat for [1] seconds{
...
}:: events
when gf clicked?
wait until <the next day :: sensing>
wake up :: #ddff03
open scratch :: events
if <my projects get [100000] views :: #bc03ff> then
set [emotion v] to [HAPPY v]:: looks
say [OMG THKS FOR MANY VIEWS!!!]
like other projects :: #bc03ff
- igtnathan5
- Scratcher
1000+ posts
Official [scratchblocks] Testing Topic 9
happy aprii fools!
when it is april fools :: control hat
happy april fools! by [1] :: variables
Last edited by igtnathan5 (April 1, 2024 19:25:22)
verified ✔
press shift+down arrow to scroll my signature after selecting it
————————–———————
Tileblock suggestion forum
Neutra-code
Former suggestion forum
Super Scratch Clicker l suggestion forum
Minecraft modding (i need help)
Igtbox Gpt trailers
Scratchblocks status and my status:
————————–———————
Youtube status: Making Hyperspeed X you can watch me make it on youtube by searching igtnathan
Scratchblocks :: control hat————————–———————
Testing topic 9 :: pen cap
when someone views my signature :: control hat :: #32CD32
if <a link is clicked :: #008000> then :: #00CED1
say [thanks for clicking one of my links] :: #32CD00 :: cap
else
say [please click one of my links] :: #32CD00 :: cap
end
`⬇ scroll down a bit more ⬇` :: control cap :: #00CED1
when I join scratch :: control hat :: #32CD32
{
eat :: motion
sleep :: #FFB000
code :: pen
}repeat @loopArrow ::control :: #00CED1
- 96498cb
- Scratcher
100+ posts
Official [scratchblocks] Testing Topic 9
yall dont get it theres a website for you to test out scratchblocks to not clog the forums
how many times have i told that?
what <if we [have a v] school :: motion> computer? :: looks
highlight (double click) a piece of text + control (command on mac) + shift + down arrow key to see my full siggy.
define 96498cbCome to this link for awesome code, employees, and service!
forever
help forums :: custom
end
100th post!!!!!!!!! https://scratch.mit.edu/discuss/topic/706823/?page=185#post-7670932
This is Mira. She is my siggy protector.
(= ^ •⩊• ^ = :: #aaaaaa)Hey, I am a small creator that doesn't have a lot of projects, but i would appreciate if you liked and faved them. (you don't have to)
- igtnathan5
- Scratcher
1000+ posts
Official [scratchblocks] Testing Topic 9
More Of My Own Extentions:my own extention:
Scratch Ultilities([DemonX]'s Folower Count On Page [1]:: #ff8d03)Extra events
(Original Projects [Thumbail v] id: [123323342]:: #ff8d03)//the ID wont work
([Original v] [DemonX]'s profile Pic:: #ff8d03)
(get [DemonX]'s [what i am working on v]:: #ff8d03)
(get project's [list v] of comments of id: [15362725]:: #ff8d03)//THE ID WONT WORK (LAST WARNING)when stop flag pressed? :: events hatT H E E N D (more comming soon)
broadcast message [abc v] to [Stage v] :: events
broadcast message [abc v] with data [123] to [Stage v] :: events
broadcast message [abc v] to [Stage v] and wait :: events
broadcast message [abc v] with data [123] to [Stage v] and wait :: events
broadcast message [abc v] with data [123] :: events
broadcast messag [abc v] with data [123] and wait :: events
when i recive [abc v] with data [123] :: events hat
repeat for [1] seconds{
...
}:: eventswhen gf clicked?
wait until <the next day :: sensing>
wake up :: #ddff03
open scratch :: events
if <my projects get [100000] views :: #bc03ff> then
set [emotion v] to [HAPPY v]:: looks
say [OMG THKS FOR MANY VIEWS!!!]
like other projects :: #bc03ff
when green flag clicked :: control hatthe real control guide will come in the real project/extention
do [move: Y10] :: motion
Last edited by igtnathan5 (April 1, 2024 19:46:16)
verified ✔
press shift+down arrow to scroll my signature after selecting it
————————–———————
Tileblock suggestion forum
Neutra-code
Former suggestion forum
Super Scratch Clicker l suggestion forum
Minecraft modding (i need help)
Igtbox Gpt trailers
Scratchblocks status and my status:
————————–———————
Youtube status: Making Hyperspeed X you can watch me make it on youtube by searching igtnathan
Scratchblocks :: control hat————————–———————
Testing topic 9 :: pen cap
when someone views my signature :: control hat :: #32CD32
if <a link is clicked :: #008000> then :: #00CED1
say [thanks for clicking one of my links] :: #32CD00 :: cap
else
say [please click one of my links] :: #32CD00 :: cap
end
`⬇ scroll down a bit more ⬇` :: control cap :: #00CED1
when I join scratch :: control hat :: #32CD32
{
eat :: motion
sleep :: #FFB000
code :: pen
}repeat @loopArrow ::control :: #00CED1