|
| 10 May 2017 10:23 PM |
Suppose you have a table
Table = [444,333,222,111]
How do you make run each audio in order and not randomly?
|
|
|
| Report Abuse |
|
|
Cyrakohl
|
  |
| Joined: 09 Nov 2014 |
| Total Posts: 3197 |
|
|
| 10 May 2017 10:25 PM |
Imo i suggest randomly.
R$10,012 |
|
|
| Report Abuse |
|
|
|
| 10 May 2017 10:27 PM |
| by just looping through the table |
|
|
| Report Abuse |
|
|
qqtt991
|
  |
| Joined: 14 Dec 2007 |
| Total Posts: 1387 |
|
|
| 10 May 2017 10:47 PM |
Something like this maybe?
idTable = [444,333,222,111] local soundPlayer = Instance.new("Sound", someParent)
for _,audioId in pairs(idTable) do soundPlayer.Content = "rbxassetid://"..audioId soundPlayer:Play() wait(soundPlayer.TimeLength) end
|
|
|
| Report Abuse |
|
|