Grab MP3 using HttpService

Is there a way to grab mp3 from HttpService and load it into file to get temporary id, right now I am able to do it but from importing local file

local studioService = game:GetService("StudioService")

local file = studioService:PromptImportFile({'mp3', 'ogg'})
local temporaryId = file:GetTemporaryId()

But how to get it using HttpService

Because right now I get things like this

{
                    ["Body"] = "ID3..."
}

I dont know what does it called, binary or idk.

5 Likes

… Nah, you can’t bro. That’s literally impossible to grab an “MP3” File from any website and use it “temporarily” in Roblox. You just can’t bro. That’s impossible.

4 Likes

Yeah I am pretty sure you could really exploit that!

3 Likes

in roblox, we have rbxassetid://, a unique ID for roblox items and assets, and mp3 files doesn’t have… a unique roblox ID

so as @metat3ble said, you can’t just directly import it to roblox.

3 Likes

could you logically tell me how?

unless you make a bot that sends a query to roblox to upload the selected file (without moderating it and other stuff i wont mention), the file gets accepted, the bot copied its id, and pastes it in a sound instance.

3 Likes

Roblox moderation isn’t always great that’s why Roblox cleared out the Marketplace of Sounds and doesn’t allow most users to create new!

3 Likes

that’s my main point lol

let’s say your file has some… questionable sounds, do you think a bot, that thousands of people at roblox put time and effort into making it perfect (i think) wouldnt detect it??

i would doubt that

3 Likes

Uhhh? Every user can upload a sound file into Roblox. Why did you say that “almost all of users” can’t upload a sound into Roblox?

2 Likes

I mean, MAYBE you can do that in Roblox Studio, but in an real Roblox server, nah, you can’t.

2 Likes

They can’t make it public to all users that’s what I meant!

1 Like

Oh, sorry for misunderstanding.

2 Likes

then i guess just use old method using local file import then and get the file temp id and put it in sound, because it works. btw thanks! also for note this is for roblox studio plugin and not roblox live server game. Once again thanks for your info!

2 Likes

idk what you talking abt bud em-9DBBFD966AA9B1D-48-646339c1f1c7ec90c726318c_07-p-500

Yes, its possible to do it in roblox studio plugin. I think you can only prompt user to select mp3 file then you can read from it. I saw MIDI plugin do something similiar to this basicially it would take your mp3 file to roblox studio and then convert it to MIDI and the MIDI would play in live servers. (of course this is kind of not allowed because it bypasses roblox moderation when uploading audio)

Well I know it’s working if it’s Prompt Input, by my topic is about getting it using HttpService

1 Like

Thinking about it, you could assign certain keys to sound pitches and send over text keys using HTTPService, but that’d take forever and Roblox would delete your account… Not to mention it couldn’t handle any multitrack song LOL.

1 Like

Well guess the best method is just to use local file import then? (this is for roblox studio and not for roblox live game).

1 Like