1: What you’ll need: one repeater (yep that’s it)
2: open blocks and create a custom variable called num
3: make this (to create the if then else click the gear on the if-then block and add if else to the if block in the gear)
Note: There is a limit to this- the amount of pieces placed is limited. One way to go about this (if you need to broadcast with identical wording but different numbers) is by doing this:
This can remove lots of unneeded blocks, especially if you’re doing a lot for some reason.
Alternatively, you can create another trigger/repeater to continue your random integer.