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