~~~~~~~~~~~~~~~~~
script.Parent.Touched:Connect(function(Part) if Part.Name == "ball" then Part.CFrame = workspace.FO2.CFrame end SoundIds = script:GetChildren() --{"142281425","130844430","142376088","152513098","181853566","207430936","227985292","257341751","287540563","152452485","331032424","422556160","142633540","130768299","249669529","401120618","464234456","188712851","502761001","348601834","412309792","162357012","205254380","356316192","274504661","188579338","194263739","290202130","454044568","340858919","472422340","142301307","346635899","451391829","376020601","322729928","179691806","239648695","320638100","160525520","289700937","329565369","162457975","367285152"} Sound = Instance.new("Sound",game.Workspace) Sound.Volume = 0 Sound.Looped = true while true do Current = SoundIds[math.random(1,#SoundIds)] wait(1) Sound.SoundId = "http://www.roblox.com/asset?id="..Current.Value 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(10) for i = 1,10 do wait(0.25) if Sound.Volume ~= 0 then Sound.Volume = Sound.Volume - 0.1 end end Sound:Stop() end~~~~~~~~~~~~~~~~~
end