I need a script that accesses a folder in the ServerStorage and randomly chooses one item in that folder and then clones it into the workspace.
The folder is named Choices, so it would be "game.ServerStorage.Choices"
There are 10 objects in the folder all named 1-10
The following script doesn't work...
wait(5)
local chosen = math.random(1,10) --Chooses a random # 1-10
print(chosen) --Prints random # chosen
game.ServerStorage.Choices(chosen):Clone().parent = game.Workspace --is supposed to access a folder named, "Choices" located in the ServerStorage then get the random # and clone it into workspace...

2 comments
Yes it worked! Thanks
No problem.