So to expand, i created a random sound player, but it does not work.
It's not playing the music. I hope there is an easy solution for this...
ERROR: Attempt to index number with "Play"
local Musics = game.Workspace.Music:GetChildren()
local RandomMap = math.random(1, #Musics)
RandomMap:Play()

1 comment
This is because the variable RandomMap is returning a number