|
| 17 Jun 2014 11:57 AM |
if Tally1.Value > Tally2.Value then local sound=Instance.new("Sound") sound.Parent = game.Workspace sound.SoundId = "http://www.roblox.com/asset/?id=130844430" sound.Archivable = false wait(120) sound:Destroy() What's messed up with it?
|
|
|
| Report Abuse |
|
|
|
| 17 Jun 2014 11:57 AM |
sound.Archivable = false
Remove this line |
|
|
| Report Abuse |
|
|
domorox17
|
  |
| Joined: 06 Mar 2012 |
| Total Posts: 1710 |
|
|
| 17 Jun 2014 11:58 AM |
| Add an end at the end as well. |
|
|
| Report Abuse |
|
|
|
| 17 Jun 2014 12:00 PM |
This isn't the whole script. Let me grab the whole script. |
|
|
| Report Abuse |
|
|
|
| 17 Jun 2014 12:00 PM |
| No just remove the archivable line, making it false doesnt let you destroy it(Im pretty sure thats how it works) |
|
|
| Report Abuse |
|
|
|
| 17 Jun 2014 12:01 PM |
while true do if Tally1.Value > Tally2.Value then local sound=Instance.new("Sound") sound.Parent = game.Workspace sound.SoundId = "http://www.roblox.com/asset/?id=130844430" wait(120) sound:Destroy() if Tally2.Value > Tally1.Value then end end wait() end (I'm working on a voting script system. I've got it all done just it won't play the sounds. I'm guessing it won't find the Tally1.Value?) |
|
|
| Report Abuse |
|
|
|
| 17 Jun 2014 12:09 PM |
Fixed it. I forgot i put the script in startergui for the sound and now it works. I put game.Workspace.Tally1.Value not Tally1.Value |
|
|
| Report Abuse |
|
|