HDTutorial
EN

Playback starts YouTube’s embedded player (privacy-enhanced mode).

[READ DESC] How to add MULTIPLE songs to your ROBLOX Game (ROBLOX Studio Tutorial) [old video]

39,904 views October 26, 2019 15:36

Watch on YouTube
ChannelThe Emerald Armor

Description from the creator

What is ROBLOX Studio?
ROBLOX Studio is a game developing software where you can create games on ROBLOX. Most of the game you create has to run on scripts (Lua that YOU type! It takes a bit of practice, but you'll get the hang of it once you know how to do it. You can insert parts into the Workspace with the tools given, and you can get parts and Models made by other players with the Toolbox.

Script:
while true do
game.Workspace.Sound1:Play()
wait(song length in seconds)
game.Workspace.Sound2:Play()
wait(song length in seconds)
game.Workspace.Sound3:Play()
end

--Updated the script so it repeats

This video is sorta outdated. Many things in this video isn't all efficient, and I understand where you're going when you say this video is all that good in quality and efficiency. This was 10 months ago, and I'm much better at video-taking and scripting now. The script still works if you do it right, it just isn't all that good.

FOR THOSE WHO SAY IT DOESN'T WORK, READ THIS IMMEDIATELY: I understand how disappointed or outraged you can be when something doesn't work, or something unexpected happens. Trust me, it took MONTHS to figure out a working script, as when I looked it up before I made this video, none of the scripts worked, and were too complex. IF IT DOESN'T WORK, please tell me what's wrong in the comments because I can't help you if I don't know what isn't working!!! The exact same thing will be said on my ROBLOX Profile Description from now on, as well.

--Q&A--

Q: How do you know how long the songs are?
A: View - Properties - Time Length (Time Length shows how long the song is in seconds. Always round the number to the nearest whole [e.g: 234.93829375 becomes 235])

Q: The songs all play at the same time, I put wait(seconds) and everything you said!
A: You need to uncheck 'Playing' in Properties. This will cause it to play without a script, and since every song will have 'Playing', it will decide to all play at the same time, since Playing is at true, whether the script says it should or not.

Q: None of the songs play.
A: Make sure the song names match the names of the songs in the Workspace.

Q: Is it okay if I put spaces in the name?
A: No. Special Characters cannot be in the name (not in the script OR the Workspace), and you have to remove all spaces. The reason is that you're breaking the script apart, or it's going to think that you're starting a new line in the script.

Q: If I put loop on all songs, will it repeat?
A: That's a very interesting question. It works very well if you're trying to only play one song, but is a disaster for an entire playlist. The reason is, when the first song loops after it ends, the second song will start playing while the first song is repeating again, and eventually every song will start playing at the same time. Instead, uncheck loop, and put "while true do" and "end" the the beginning and end of your script. Since the script is true all the time 24/7, it will repeat while it's true, which is until the server ends (which is when every player leaves the server). Therefore, it will loop the entire thing.

About this tutorial

The Emerald Armor published this 15:36 video tutorial on October 26, 2019. It has been watched 39,904 times on YouTube.

Duration
15:36
Published
October 26, 2019
Views
39,904
Likes
647

Tags

Share

Further reading

  • Roblox web.roblox.com

    Roblox is ushering in the next generation of entertainment. Imagine, create, and play together with millions of players across an infinite variety of immersive, user-generated 3D worlds.

  • How To Make A Roblox Song Id - 11/2020 howtolinks.com

    · How to Upload Audio to Roblox. Roblox allows game developers to upload audio files to add something special to their games. Whether you want to add a soundtrack, sound effect, or narration, uploading an audio file can…

This tutorial in other languages