gameheroJoin Date: 2007-06-12 Post Count: 1455 |
In the script, Pause() is used in it, and it's unreliable. When the sounds are stopped using pause too many times, everything suddenly stops sounding. Can you change it to Stop() instead? That function works better. Or if you have more time, maybe you can fix Pause().
Here's the bug in action. Anyone can test this too just in case if it doesn't happen to everyone.
m = Instance.new("Message",workspace)
s = Instance.new("Sound")
s.Parent = game.Soundscape
s.SoundId = "http://www.roblox.com/asset/?id=75421988"
s.Volume = 1
s.Pitch = 2
for i=1,50 do
s:Play()
wait(0.1)
m.Text = "Paused a sound: " .. i .. " times."
s:Pause()
wait(0.1)
end
wait(5)
m.Text = "Deleted The Sound..."
s:Destroy()
wait(1)
m.Text = "End"
wait(3)
m:Destroy()
|