Discuss Scratch

Jedi_Edrich
Scratcher
11 posts

How do I create a scoreboard that ends the game when it reaches 1000?

I need help with this script. Can anyone help me? How do I create a scoreboard that ends the game when it reaches 1000?
macandcheese
Scratcher
87 posts

How do I create a scoreboard that ends the game when it reaches 1000?

Jedi_Edrich wrote:

I need help with this script. Can anyone help me? How do I create a scoreboard that ends the game when it reaches 1000?

Try this:
1st: Create a variable called ‘score’ or ‘points’ or whatever your scorekeeping method is.
2nd: Copy this script:
whenclickedsetscoreto0ifscore=1000thenstopgame
This is resetting the score at the beginning of the game, then telling it to stop when it reaches 1000.


If this helped you any, Please check out my page and love it and fave my projects-It is my dream to be featured!
zozobozo99
Scratcher
2 posts

How do I create a scoreboard that ends the game when it reaches 1000?

How can I make it so that the scores get registered? Like if you're supposed to hit a target.
BF10
Scratcher
500+ posts

How do I create a scoreboard that ends the game when it reaches 1000?

zozobozo99 wrote:

How can I make it so that the scores get registered? Like if you're supposed to hit a target.
Please do not necrobump and instead make your own thread.
EnderScout_77
Scratcher
100+ posts

How do I create a scoreboard that ends the game when it reaches 1000?

macandcheese wrote:

Jedi_Edrich wrote:

I need help with this script. Can anyone help me? How do I create a scoreboard that ends the game when it reaches 1000?

Try this:
1st: Create a variable called ‘score’ or ‘points’ or whatever your scorekeeping method is.
2nd: Copy this script:
whenclickedsetscoreto0ifscore=1000thenstopgame
This is resetting the score at the beginning of the game, then telling it to stop when it reaches 1000.


If this helped you any, Please check out my page and love it and fave my projects-It is my dream to be featured!
You forgot to add a forever after the flag. AND STOP ADVERTISING!

whenclickedsetscoreto0foreverifscore=1000thenstopgame
BF10
Scratcher
500+ posts

How do I create a scoreboard that ends the game when it reaches 1000?

EnderScout_77 wrote:

macandcheese wrote:

Jedi_Edrich wrote:

I need help with this script. Can anyone help me? How do I create a scoreboard that ends the game when it reaches 1000?

Try this:
1st: Create a variable called ‘score’ or ‘points’ or whatever your scorekeeping method is.
2nd: Copy this script:
whenclickedsetscoreto0ifscore=1000thenstopgame
This is resetting the score at the beginning of the game, then telling it to stop when it reaches 1000.


If this helped you any, Please check out my page and love it and fave my projects-It is my dream to be featured!
You forgot to add a forever after the flag. AND STOP ADVERTISING!

whenclickedsetscoreto0foreverifscore=1000thenstopgame
This thread is already too old and probably solved.
Aboot4
Scratcher
100+ posts

How do I create a scoreboard that ends the game when it reaches 1000?

Let's say you want to make a game where the player scores a point if they press the space bar, and you want it to stop at 1000. Here's what you do:
whenclickedForeverifkeyspacepressed?ifscore<1001//Yougotamakeit1001becauseyourmaximumis1000.changescoreby1waituntilnotkeyspacepressed?Now they can't hold down the space bar.elsebroadcastGame EndedThis allows you to detect the end of the gameWhenIreceiveGame EndedStopallPut whatever you want here because it's the end of the game.
Understand?
catonamat
Scratcher
5 posts

How do I create a scoreboard that ends the game when it reaches 1000?

How would I use a sprite as a scoreboard like in flappy bird please tell me
deck26
Scratcher
1000+ posts

How do I create a scoreboard that ends the game when it reaches 1000?

catonamat wrote:

How would I use a sprite as a scoreboard like in flappy bird please tell me
Please start your own topic.

Powered by DjangoBB