How would I achieve this?

I’m making an advanced UI system, and I want to keep bots out. So I decided to make a verification script and UI, basically 4 buttons, one has the correct number/letter and text above tells you to choose number three. If the person chooses something other than 3, then retry with something new.

If the person gets it right, then show 2 more verification boxes

math.random

literally, just that, make a correct math.random then an incorrect one, use a for loop for every box’s text to be the incorrect math.randoms

for the number, there isnt really a way i can think of for it to be the actual number word, but by using

tostring()

you can make the correct number a string and then concatenate it in the textlabel

1 Like

Lets say you have 3 verification boxes :

1st Box:
-has 4 numbers [1,2,3,4].
-has 1 correct number [ lets say 1]

2nd Box:
-has 4 numbers [5,6,7,8].
-has 1 correct number [ lets say 5]

3nd Box:
-has 4 numbers [7,9,12,4].
-has 1 correct number [ lets say 4]

You can make it so if the player selects the incorrect numbers, then you can either close it, and restart the verification. Or close that Box, and create a new one.