I have a table that has 4 different strings, "Choice1", Choice2" and so on.. Whenever I randomize it and print it, it only prints "Choice4", the last string in the table.
Code:
spawns = {"Choice1","Choice2","Choice3","Choice4"}
random = spawns[math.random(1,#spawns)]
print(random)
Any help would be appreciated

3 comments
Try adding math.randomseed(tick()) to warm up the randomizer.
Im still getting choice4 with that
Nevermind I found a solution, added a wait(1) after math.randomseed(tick())