Rng chance system

Im trying to make it where if you check a pot you could get 7 different items

1 Like

[:scroll:] The Ultimate Guide to Gimkit Doors

Cant remember other randomiser guides but the timothy Section will show you

1 Like

I think there is a block in the gimkit creative code menu involving selection of a random integer.

3 Likes

yes but there is a slight bit more you need to add to it

1 Like


Something like this probably and then get item granters that grant on 1stItem, 2ndItem, and so on. And to add more chances, do 1-(your number) and add more item granters and ‘if’ statements.

2 Likes

To shorten the block code you can use ‘else if’ statements.

2 Likes

I don’t know if that would work with multiple chances though.

1 Like

Why not? It would go like this:

if chance = 0 then
do {}
else if chance = 1 then
do {}
else if chance = 2 then
do {}
...
2 Likes

Why are yall necroposting. Its been 6 months. Can a tl4 close this or smth [1]


  1. @twofoursixeight ik you saw this. ↩︎

3 Likes