Upload a youtube song

Is it possible to make a script where a song loops but the song is from youtube?

1 Like

Yes, download the audio of the song, and then upload it to Roblox. It’s the easiest way.

EDIT: @brokenVectors explains it much better and which much more detail- :arrow_down:

Yes, you could upload a song from YouTube onto Roblox as @Macawmangrovve12 stated, however you need to make sure that the song isn’t copyrighted. After you’ve uploaded it, go into the toolbox and click here:

image

This will lead you to your inventory. Now you want to click on the dropdown, and go here on My Audio:
image

Find the desired audio, right click on it and press ‘Copy Asset Id’:
image

Now you want to insert a new Sound object into Workspace. You can do this by pressing Ctrl + I. A big menu should appear now. Enter the word “Sound” into the searchbar, press enter and bam! You’ve got a new Sound object in the Workspace.

image
Now go to Properties, scroll down to SoundId. Click the box on the right, you should now see this:
image
Press Ctrl + V on your keyboard, and your sound ID should be entered.

Scroll to the Playing and Looped property. Tick their checkboxes and you should now see this:

image

Now if you test your game, the audio should now be playing, and it’ll also loop. Hope this helped!

3 Likes

However, you cannot randomly pick the sound assets from YouTube, because they are two different environments. Uploaded audios on Roblox should do the trick but hence that the audio might be copyrighted, making it near impossible to upload.

3 Likes