Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
-4

How do you insert a script into ---?

Asked by 10 years ago

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

Log in to vote
0
Answered by
Sublimus 992 Moderation Voter
10 years ago

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()
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? CrazyRocker60 17 — 10y
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. Sublimus 992 — 10y
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? CrazyRocker60 17 — 10y
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. Sublimus 992 — 10y
View all comments (2 more)
0
Ok, can you tell me how to make a Mute button for an auto-looping music? and a UnMute button? CrazyRocker60 17 — 10y
0
Post another question and I will answer it in the code block. Sublimus 992 — 10y
Ad

Answer this question