Make a random number generator

You are going to need:
-Property
-Trigger
-Lifecycle

  1. First put down a Lifecycle and click on it and set event to Game Start
  2. Put down a Property and set type to number and set default to 0
  3. Put down a Trigger and set triggered by player collision to No
  4. On trigger go and make a new block in the block do this:
  5. wire the Lifecycle to the Trigger: Event occurs → Trigger

Now you are done. I hoped this helped.

PS: Change the numbers to what you want and copy and paste the “if do” blocks for each possibility.

1 Like

Nice welcome back @dasher2389
But you should change the title so it isn’t asking a question
Ok thx @Txme_Lxss

2 Likes

Dang! Nice guide! Welcome back too!

For the other forum users: Please do not bash on this user. They came back after 7 months so things have changed. Yes, it short. Yes, it’s already been made. But please don’t be mean to him or criticize him. Yeah, you can do constructive criticism but criticism only for the reason to make someone feel bad is not ok.

But welcome back to the community again!

I’ll remove the question mark. (and tag)

1 Like

You can use a variable instead of a property, and you can use “else ifs” instead of all those “if” blocks
edit 3x

1 Like

and you could use concatenation (not really since its not with a create text with block so its more just like an optimization thingy)

broadcast on channel (get property) [number]

(ps: look at the edit)
image
press the i
image

3 Likes

wait lemme test that

great guide and welcome back , dasher!

how do u do that?

1 Like

bump.

1 Like