I have been working on this for a day or so it generates a sound changes the sound id, pitch and volume to whatever you put it works I just can't get it to play, it's supposed to play when you click the play button you can see the whole thing here: http://www.roblox.com/Halp-Me-item?id=172637290
Here is all the code that is probably causing something
print("SystemA Started")
Id = script.Parent.EveryThing.System.Id.NumberValue
Pitch = script.Parent.EveryThing.System.Pitch.NumberValue
Volume = script.Parent.EveryThing.System.Volume.NumberValue
do
LocalSound = Instance.new("Sound")
LocalSound.Parent = script.Parent
LocalSound.Looped = false
LocalSound.SoundId = "http://www.roblox.com/asset/?id="..Id.Value..""
LocalSound.Pitch = Pitch.Value
LocalSound.Volume = Volume.Value
end --works till here
while true do
wait()
if script.Play.Value == true then
script.Play.Value = false
LocalSound:Play()-- won't play it
end
LocalSound.SoundId = "http://www.roblox.com/asset/?id="..Id.Value..""-- this also works till -- end
LocalSound.Pitch = Pitch.Value
LocalSound.Volume = Volume.Value
end
please Help take a look at the model it should help you help me
