Scriptifer
(Scriptifer)
November 16, 2021, 7:37pm
#1
I found a really cool website that gets a random audio id from roblox!
The website API: https://www.bloxids.com/random/random
This was my script:
local HttpService = game:GetService('HttpService')
local Sound = Instance.new('Sound')
local editSound = string.sub(HttpService:GetAsync('https://www.bloxids.com/random/random'), 0, 67347)
Sound.Parent = workspace
Sound.SoundId = 'rbxassetid://'.. string.gsub(editSound, script.Last.Value, '')
Sound.Playing = true
Is it possible just to get the songId content from the HTML?
1 Like
Scriptifer
(Scriptifer)
December 17, 2021, 6:39pm
#2
I don’t need any help, I have the radio script.
Bear23913
(BearBoi)
December 17, 2021, 7:00pm
#3
Ok! I would just like to mention that a lot of audios on roblox arent songs, so It would probably be best if you find audio you would like to use and put them in a list or something like that.
Scriptifer
(Scriptifer)
December 17, 2021, 8:16pm
#4
But the website will get audios that are songs.
These songs were put in the website by people
Bear23913
(BearBoi)
December 17, 2021, 8:17pm
#5
Ok, I was just letting you know just incase!
1 Like