How do I make a randomizer that gives you different items each time

I want to make something like a randomized chest that has different types of loot in it.

That would need to use block code, I posted an example below:


This is an example of a death message randomizer.

2 Likes


put this code in a trigger and set it to trigger however you want. (you can change the number to increase the number of possibilities and add a new if () do block every time)

1 Like

Basically you need the block code to use the “random number between” function and connect each channel it needs to broadcast to with it.

Thanks for the help!

a better way to do that if you are going to have the channels be numbers is to do
brodcast on channel (rand[1])


  1. as in the variable ↩︎

This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.