Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SoundIds = {"4837158570"," 4837158570","4837158570","4837158570","4837158570","4837158570","4837158570","4837158570","4837158570","4837158570","4837158570","4837158570","4837158570","4837158570","4837158570","4837158570","4837158570","4837158570","4837158570","4837158570","4837158570","4837158570"}
- Sound = Instance.new("Sound",game.Workspace)
- Sound.Volume = 0
- Sound.Looped = true
- Sound.SoundId = "http://www.roblox.com/asset?id="
- while true do
- Current = SoundIds[math.random(1,#SoundIds)]
- Last = Sound.SoundId
- wait(4)
- Sound.SoundId = "http://www.roblox.com/asset?id="..Current
- while Sound.SoundId == Last do
- Current = SoundIds[math.random(1,#SoundIds)]
- Sound.SoundId = "http://www.roblox.com/asset?id="..Current
- end
- Sound:Play()
- wait(1)
- for i = 1,10 do
- wait(0.25)
- if Sound.Volume ~= 1 then
- Sound.Volume = Sound.Volume + 0.1
- end
- end
- wait(110)
- for i = 1,10 do
- wait(0.25)
- if Sound.Volume ~= 0 then
- Sound.Volume = Sound.Volume - 0.1
- end
- end
- Sound:Stop()
- end
Add Comment
Please, Sign In to add comment