Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do you insert a script into ---?

Like how do you make a script that would do a loop song

Would you just insert Script (in basic objects) and paste in the code? or type?

Or how

1 answer

I think I understand what you are asking, you could insert a sound and change the ID, and put it within something (like a part) and then do this:

sound = game.Workspace.WhateverTheLocationIs.Sound
sound.Looped = true
sound:Play()

6 comments

0

nononoo @huner2 WHO CARES ABOUT MUSIC SCRIPT, its just that How do I insert the script? Do I insert a script from advanced objects, and paste the script into it? and leave it. or do I do something else?

0

I don't understand what you are asking, are you trying to insert a script to play a song in a loop, or what exactly are you trying to accomplish, your grammar isn't exactly easy to follow.

0

Ok, so I insert any script right? How would I insert it to make it work? And Would I have to put it in Workspace? or the item? or how?

0

The script can go anywhere, as long as you link the code that deals with the music back to the specific sound, and the sound must go in a physical object, such as a part, or a wedge.

0

Ok, can you tell me how to make a Mute button for an auto-looping music? and a UnMute button?

0

Post another question and I will answer it in the code block.

This discussion is preserved as it was. New answers, comments, and votes are closed.