Luigi
|
|
Joined: 19 Dec 2019 |
Total Posts: 6 |
|
|
randomized music player
Posted: 18 Jun 2020 07:02 AM
|
Is there a way to do it in 2010? |
|
|
Report Abuse |
|
Luigi
|
|
Joined: 19 Dec 2019 |
Total Posts: 6 |
|
|
Re: randomized music player
Posted: 18 Jun 2020 19:15 PM
|
this post is now irrelevant |
|
|
Report Abuse |
|
155
|
|
Joined: 25 Jun 2020 |
Total Posts: 96 |
|
|
Re: randomized music player
Posted: 28 Jun 2020 19:10 PM
|
why |
|
|
Report Abuse |
|
Robloeii1
|
|
Joined: 12 May 2020 |
Total Posts: 38 |
|
|
Re: randomized music player
Posted: 26 Aug 2020 01:57 AM
|
I think it is possible but I don't know how to make them. |
|
|
Report Abuse |
|
liz
|
|
Joined: 16 Aug 2020 |
Total Posts: 8 |
|
|
Re: randomized music player
Posted: 06 Oct 2020 15:57 PM
|
I have a script for it in current roblox, but basically, rng (random number generator) 1 to [however many songs you have]. each number will correspond with a song, and it'll play the number when picked (plays the song). |
|
|
Report Abuse |
|
|
Re: randomized music player
Posted: 03 Nov 2020 11:28 AM
|
there is in the free model i think |
|
|
Report Abuse |
|
boomix
|
|
Joined: 18 Jan 2021 |
Total Posts: 39 |
|
|
Re: randomized music player
Posted: 21 Jan 2021 12:48 PM
|
There is a way, I don't exactly know how though.
I'd assume you can still change the SoundID property of audio just like any normal script.
-- table of audios
local soundT = {
mus1 = 9018315
mus2 = 9209147
mus3 = 9827198
}
while true do -- loop
local Sound = game.workspace.Sound
Sound.Playing = true
Sound.Looped = false
Sound.SoundID = soundT.mus1
wait(60)
Sound.SoundID = soundT.mus2
wait(60)
Sound.SoundID = soundT.mus3
print("Playlist has been ran through, playing sounds again.")
end
(sorry if the script is bad or incorrect im not the best at scripting) |
|
|
Report Abuse |
|
boomix
|
|
Joined: 18 Jan 2021 |
Total Posts: 39 |
|
|
Re: randomized music player
Posted: 21 Jan 2021 12:50 PM
|
EDIT:
-- table of audios
local soundT = {
mus1 = 9018315
mus2 = 9209147
mus3 = 9827198
}
while true do -- loop
local Sound = game.workspace.Sound
Sound.Playing = true
Sound.Looped = false
Sound.SoundID = soundT.mus1
wait(60)
Sound.SoundID = soundT.mus2
wait(60)
Sound.SoundID = soundT.mus3
wait(60) -- added this wait timer because it would go back to first audio super fast
print("Playlist has been ran through, playing sounds again.")
end
(sorry if the script is bad or incorrect im not the best at scripting) |
|
|
Report Abuse |
|