Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Official [scratchblocks] testing topic
- 3DGamer5
-
69 posts
Official [scratchblocks] testing topic
when green flag clicked :: #ff5000 ::cstart
forever :: #ff0090 ::cstart
IM GONNA KILL YOU! :: #ff0000 ::cstart






































































































































































































































- 3DGamer5
-
69 posts
Official [scratchblocks] testing topic
imagine :: pen
program :: sound
share :: list
whoa :: motion
@greenFlag :: #ffffff transparent






































































































































































































































- 3DGamer5
-
69 posts
Official [scratchblocks] testing topic
Scratch: :: hat :: sensing
if<you open scratch :: sensing> then
imagine :: pen
program :: sound
share :: list
end
Last edited by 3DGamer5 (Oct. 25, 2019 17:47:39)






































































































































































































































- 3DGamer5
-
69 posts
Official [scratchblocks] testing topic
SCRATCH BLOCK RACE! Racing Blocks: Medvi block, Lenny block, Charlie Brown block??
Ready,
set,
Ready,
set,
@greenFlag :: #ffffff transparent
! :: #ffffff transparent
(. (_ :: sensing) . :: sensing)
(((((((͡°͜ʖ͡°) :: list) :: list) :: list) :: list) :: list) ::list
. ) . :: control
--- :: control






































































































































































































































- 3DGamer5
-
69 posts
Official [scratchblocks] testing topic
When you {turn on :: operators} your {phone :: operators} :: hat :: events
start up :: custom
define Start up
set [AppData v] to ((Number of apps) + ([Data v] of (Video Obb :: motion))) :: events
[Video Obb v] is at (length of (Number of apps) and (current [AppData v])) :: list
switch wallpaper to [Homescreen v] :: looks
View all [apps v] :: list
if wifi isnt working? then{kill self} the end :: control
Phone logic






































































































































































































































- 3DGamer5
-
69 posts
Official [scratchblocks] testing topic
These scripts were converted from a project of mine. Credit to blob8108 for his converter.
when I receive [Ending v]
switch backdrop to [backdrop2 v]
set [brightness v] effect to (-100)
repeat (50)
change [brightness v] effect by (5)
end
when I receive [Good Ending v]
repeat (50)
change [brightness v] effect by (-5)
end
broadcast [Good Ending Text v]
when green flag clicked
switch backdrop to [backdrop1 v]
when I receive [Appear At Door v]
set [Duck At Door v] to [1]
when I receive [Turn Off Light v]
switch costume to [costume1 v]
when I receive [Power Out v]
if <(Door) = [1]> then
play sound [Door v]
repeat (10)
switch costume to [costume1 v]
end
else
repeat (10)
switch costume to [costume1 v]
end
wait (2) secs
end
when I receive [6 AM v]
repeat (2)
stop all sounds
end
when I receive [Close Door v]
if <(Door) = [0]> then
switch costume to [costume3 v]
set [Door v] to [1]
play sound [Door v]
else
if <(Door) = [1]> then
switch costume to [costume1 v]
set [Door v] to [0]
play sound [Door v]
end
end
when I receive [Play v]
go to x: (0) y: (0)
show
forever
if <(mouse x) < [-100]> then
change x by (15)
if <(x position) > [120]> then
change x by (-15)
end
end
if <(mouse x) > [100]> then
change x by (-15)
if <(x position) < [-120]> then
change x by (15)
end
end
end
when I receive [Appear At Door v]
if <<(Duck At Door) = [1]> and <(Door) = [1]>> then
switch costume to [costume3 v]
end
when I receive [Bruh v]
switch costume to [costume1 v]
when I receive [Play v]
wait (0.1) secs
forever
play sound [Ambience v] until done
end
when I receive [Play v]
forever
if <(username) = [3DGamer5]> then
wait until <key [n v] pressed?>
ask [] and wait
set [Night v] to (answer)
end
end
when I receive [Ending v]
forever
stop all sounds
stop [other scripts in sprite v]
hide
end
when I receive [Play v]
switch costume to [costume1 v]
wait (0.1) secs
if <(Night) = [1]> then
play sound [Phone Call v] until done
play sound [Phone Call Voice.mp3 v] until done
end
when green flag clicked
set [Door v] to [0]
switch costume to [costume1 v]
hide
when I receive [6 AM v]
hide
when I receive [Play v]
switch costume to [costume1 v]
go to x: (27) y: (117)
show
repeat (10)
go to front
end
when I receive [Play v]
repeat until <(costume #) = [5]>
wait (pick random (1) to (50)) secs
next costume
end
broadcast [Appear At Door v]
when I receive [Play v]
forever
show
end
when green flag clicked
hide
when I receive [Close Door v]
if <<(costume #) = [5]> and <(Door) = [1]>> then
switch costume to [costume1 v]
broadcast [Repeat v]
end
when I receive [Repeat v]
repeat until <(costume #) = [5]>
wait (pick random (1) to (50)) secs
next costume
end
broadcast [Appear At Door v]
when I receive [Ending v]
forever
hide
end
when I receive [Ending v]
stop all sounds
stop [other scripts in sprite v]
when I receive [6 AM v]
hide
when I receive [Jumpscare v]
hide






































































































































































































































- cartoonfan5000
-
100+ posts
Official [scratchblocks] testing topic
when @greenFlag clicked :hat events

- Pixar2000
-
100+ posts
Official [scratchblocks] testing topic
Fixed.when green flag clicked
Para::greyThis signature is currently being protected by SiggyBot.
de::motion
x::variables
(: ::custom-arg) )::custom ringoooooo new forum server
- cartoonfan5000
-
100+ posts
Official [scratchblocks] testing topic
go to [ v] with a click of the @greenFlag

- Pixar2000
-
100+ posts
Official [scratchblocks] testing topic
go to [ v] with a click of the @greenFlag
when green flag clicked
go to [ v]
Para::greyThis signature is currently being protected by SiggyBot.
de::motion
x::variables
(: ::custom-arg) )::custom ringoooooo new forum server
- cartoonfan5000
-
100+ posts
Official [scratchblocks] testing topic
when @greenFlag clicked
when @stop clicked

- SuperKamekArea
-
500+ posts
Official [scratchblocks] testing topic
when @addInput clicked :: events hat
go to () speed :: control
NOTE: I have left scratch, see my featured project for more info


bump


▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
██░▄▄░██▄██░▄▀▄░█░▄▀▄░█░▄▄███░▄▄▀█░▄▄▀████▄██░▄▄▀█▄░▄█░▄▄█░▄▄▀█░▄▄▀█░▄▄█▄░▄
██░█▀▀██░▄█░█▄█░█░█▄█░█░▄▄███░▀▀░█░██░████░▄█░██░██░██░▄▄█░▀▀▄█░██░█░▄▄██░█
██░▀▀▄█▄▄▄█▄███▄█▄███▄█▄▄▄███▄██▄█▄██▄███▄▄▄█▄██▄██▄██▄▄▄█▄█▄▄█▄██▄█▄▄▄██▄█
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀




- MasterGames_cool
-
100+ posts
Official [scratchblocks] testing topic
start playing [minecraft v]::custom blocks

- cheesyfriedeggs
-
1000+ posts
Official [scratchblocks] testing topic
Testing, testing, 123. :: control boolean
nothing i say is meant in a rude way
maybe i could eat b l a d e s o f g r a s s
My joke RP / My NEW serious RP / “The Questions About Scratch Forum” / The Never-Ending Story / Be moist

- 3DGamer5
-
69 posts
Official [scratchblocks] testing topic
Oh hey, firstwhen green flag clicked
broadcast [Broadcast v]when I receive [broadcast v]
broadcast [broadcast v]
DONT USE THIS SCRIPT! It is very infinite
*! I DID THE CODE! IT DESTROYED MY COMPUTER AND GAVE IT A VIRUS!

when computer reformat :: hat :: operators
save (all v) of [Data v] to (Onedrive) :: list
delete (all v) of [Data v]
shut down :: cap :: control
when computer start up :: hat :: operators
play sound [Windows XP startup sound v]
add (Onedrive) to [Data v]
download (apps v) from (Onedrive) :: list
switch backdrop to [Homescreen v]
show apps on [Homescreen v] :: custom
define show apps on [homescreen]
repeat (length of [Data v] :: operators)
view (apps v) of [Data v] :: list
end
Restet Finished! :: cap :: control






































































































































































































































- Mozboz
-
100+ posts
Official [scratchblocks] testing topic
when green flag clicked
if <not <played>> then
begin
else
continue
end
example: *goes on project for first time* ‘The Sky Sword 2 - Press + to begin’ *leaves and comes back* ‘Continue by pressing +’
I apologise but my signature (and now yours) has the Social Virus and cannot appear in public.
If you have seen this social experiment and want to join in, simply replace your signature (or a line of your signature) with this.
- Discussion Forums
- » Help with Scripts
-
» Official [scratchblocks] testing topic