|
| 27 Jun 2015 05:58 PM |
Would this work?
Sounds = {207012155}
sound = game.Workspace.Sound
script.Parent.MouseButton1Down:connect(function() game.Workspace.Sound:Stop() wait(0.1) sound.SoundId = "rbxassetid://''"..Sounds[1].."" sound:Play() wait(0.01) end)
I stole YOUR siggy! |
|
|
| Report Abuse |
|
|
| |
|
Xsitsu
|
  |
| Joined: 28 Jul 2009 |
| Total Posts: 2921 |
|
|
| 27 Jun 2015 06:00 PM |
| The reading from the table part would work, but I think you messed up your concatenation a little bit there. |
|
|
| Report Abuse |
|
|
|
| 27 Jun 2015 06:00 PM |
..""
WHY DOES EVERYBODY DO THIS? You don't need to add a blank string at the end. |
|
|
| Report Abuse |
|
|
|
| 27 Jun 2015 06:01 PM |
Nope, doesn't work, something about the wrong format.
I stole YOUR siggy! |
|
|
| Report Abuse |
|
|
|
| 27 Jun 2015 06:01 PM |
@Novus
You happy?
Sounds = {207012155}
sound = game.Workspace.Sound
script.Parent.MouseButton1Down:connect(function() game.Workspace.Sound:Stop() wait(0.1) sound.SoundId = "rbxassetid://''"..Sounds[1] sound:Play() end)
I stole YOUR siggy! |
|
|
| Report Abuse |
|
|
|
| 27 Jun 2015 06:03 PM |
Yes,
"rbxassetid://" .. Sounds[1]
You added '' which would cause it to not work. |
|
|
| Report Abuse |
|
|
|
| 27 Jun 2015 06:04 PM |
Okay thanks, my master script will now be able to work now that I figured out how to use the table!
MUAHAHAHA
I stole YOUR siggy! |
|
|
| Report Abuse |
|
|