Discuss Scratch

TimeLordPlanet
Scratcher
500+ posts

How to restart a script

I'm coding a game, and I want a “play again” button (some kind of sprite, perhaps?) but I don't know the command for “restart script.” Please help!

I like Scratch 3.0! An immesurable improvment! Banner coming soon!
P444
Scratcher
500+ posts

How to restart a script

Use this to start:
when green flag clicked
broadcast [start new game v]
when I receive [start new game v]
Your game scripts::extension
So each time your game ends, simply broadcast start new game to start all over again.

Hey there random person scrolling through one of my posts! Hope you have a nice day (ノ◕ヮ◕)ノ*:・゚✧


Reserved for advertisements >:3

Levo-Films
Scratcher
100+ posts

How to restart a script

Add this on to above:

when I want to [restart v]
broadcast [start new game v]
alebovic
Scratcher
43 posts

How to restart a script

when green flag clicked
broadcast [ start]

when I receive [ start]
play game

when game ends
broadcast [ start]

Last edited by alebovic (Sept. 1, 2016 02:57:15)


A chat that works? On scratch? WHAT!?
LAWXLOCH
New to Scratch
1 post

How to restart a script

I need to know how to restart this script in the next 15 minutes

Plz Help me
abigail04hanks
Scratcher
2 posts

How to restart a script

@P444 so that grey block that says “Your game scripts” and all of the red scripts aren't here or something idk so…..? I still don't understand. Could you help me a bit more please?
whooshang
Scratcher
100+ posts

How to restart a script

abigail04hanks wrote:

@P444 so that grey block that says “Your game scripts” and all of the red scripts aren't here or something idk so…..? I still don't understand. Could you help me a bit more please?
Please start your own thread for that issue. Also, posting on an old thread that has been inactive for a month or so is called necroposting. Necroposting is bad for the forums because it clogs up the first page of the help with scripts bar with junk. Please don't necropost.

See my most recent projects here.
PrOwownow1
New to Scratch
1 post

How to restart a script

HELP ME I CANT CODE I CLICK FLAG NOTHING HAPPENS I CANT WHEN I CODE ME NO RESTART REEEEEEEEEEEEEEEEEEEEE
Charles12310
Scratcher
1000+ posts

How to restart a script

PrOwownow1 wrote:

HELP ME I CANT CODE I CLICK FLAG NOTHING HAPPENS I CANT WHEN I CODE ME NO RESTART REEEEEEEEEEEEEEEEEEEEE
Please do not necropost. This topic is about 1 year old. If you need more help then create a new topic.


A few internet communication companies want to corrupt the internet by getting rid of net neutrality. Stop Them!

Powered by DjangoBB