I think this is some of the basics, the math.random, well I wanted to ask how to make it so it changes like after 10 seconds to another number and like that in a loop?
The code i dont even know if i need to put it but here:
local randomRole = math.random(1, 3)

4 comments
Hope this helped!
why don't you just use a while wait loop??
You can use that yes, but a for loop is kinda nice in this case!
It might not be, because it only runs a set number of times. SO if I were to stay in the game a hecka long time, the thing may no longer run. Please use while wait instead of for loops for these kind of problems.