|
Ok so I am making a Disco place. So I add a DJ booth and i have the music wit it, and its the rick roll, halo, and u know the roblox made ones. So the sound gets lower when you walk away from it(duh). But I went into the build, went into soundservice and put distance factor as 100. So I walked into the DJ booth and turned on some music, and it workd! But when I saved and went into play mode it was like I never changed the distance factor. The sound was the same as I started with it. So any help? |
|
|
kension19Join Date: 2008-01-17 Post Count: 6964 |
Put the sound in the workspace. |
|
|
|
|
Take the sound from SoundService and drag it into Workspace. I would suggest into the part that is supposed to make the sound. |
|
|
There is no Sound in soundservice. The sounds I have are activated by pressing a button and turned of by pressing the button. Each sound has its own button. |
|
|
TheOne33Join Date: 2008-11-16 Post Count: 2788 |
Here:
service = game:FindFirstChild("InsertService")
model = service:LoadAsset(Insert Asset ID of sound ((See below for tut)))
model.Parent = Workspace.(Brick of your choice)
How to find the Asset ID:
-Make sure the sound is saved onto your models.
-Now, go to the model on the site and then look at the link, and there should be a number at the end
- Now, take the number and subtract 1 (EX: Number in link is 15456549, now the ID would be 15456549)
-The final number is the ID!
-Now, insert it in the "Insert asset Id" space |
|
TheOne33Join Date: 2008-11-16 Post Count: 2788 |
Basicly what the script does is it grabs the sound from the site and inserts it live. |
|
TheOne33Join Date: 2008-11-16 Post Count: 2788 |
Here's another example for the ID:
Site: http://www.roblox.com/Candyman-item?id=38971561
In this case the Item ID is 38971561
Now, we subtract 1
Our new number is 38971560
So in this case the Asset ID is 38971560 |
|
|
i WANT THE SOUND TO BE TRIGGERD |
|
bloob827Join Date: 2010-08-01 Post Count: 6867 |
Post the script, and we shall fix it. |
|
TheOne33Join Date: 2008-11-16 Post Count: 2788 |
service = game:FindFirstChild("InsertService")
model = service:LoadAsset(Insert Asset ID of sound ((See below for tut)))
model.Parent = Workspace.(Brick of your choice)
model:Play()
wait(2)
model:Stop()
:I |
|
TheOne33Join Date: 2008-11-16 Post Count: 2788 |
Fixed. |
|
|
K wahts the script supposed to do? |
|
walter232Join Date: 2009-06-07 Post Count: 451 |
s=Instance.new("Sound")
s.SoundId="PutYourSoundIdHereNao"
s.Parent=workspace
s:Play()
bump |
|
bloob827Join Date: 2010-08-01 Post Count: 6867 |
s.Volume = 1
s.Pitch = .5 |
|
|
TheOne33Join Date: 2008-11-16 Post Count: 2788 |
@Johnny
I'm guessing you don't script. :/ |
|
WK100Join Date: 2008-10-13 Post Count: 2835 |
@TheOne33
He's too dumb to listen -_- |
|