I want that everytime someone steps on a part it will generate a random level I was trying to find a way but when I try to do it then its just generating the first value on the table
✓ ANSWER ACCEPTED
How do I pick a random name from a table?
1 answer
✓ Accepted answer
you cant ask for someone to make a code for you in this website. Here is some tips, you can randomly pick a name inside a table with math.random example :
local table = {"a","b","c"}
print(table[math.random(1,3)])
1 comment
0
output : a or b or c
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
what is the code to randomly generate a level?