So i have a table containing musicid:
local table = {"26616646","516165131","151656548"} -- they are not real (if they are real...idk)
local Random = math.Random(1,#table)
print(Random)
at first I thought that it will print the music id but it is printing 1, 2,3.... So how do i get the music id to be print out randomly ? Please help me as i am a very bad scripter... Thanks for reading :D

5 comments
Oops sorry change the "Random" at line 7 to "Chosen song
The reason it was printing 1, 2, 3 was because the hashtag mean't numbers of items in your table.
oh ok i will test it..thx
@JesseSong ...As i said.. i am very bad at scripting :)
@JesseSong are you rewriting my answer? Cuz we don't copyright here