Advertisement
Destroyer_again2

Untitled

Feb 20th, 2019
403
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function e(p,y)
  2.     local gui = Instance.new("ScreenGui")
  3.     gui.DisplayOrder = 0
  4.     gui.ResetOnSpawn = false
  5.     local sound = Instance.new("Sound",gui)
  6.     sound.SoundId = "rbxassetid://165224484"
  7.     sound.Volume = 0
  8.     sound.Looped = true
  9.     local aaaa = Instance.new("DistortionSoundEffect",sound)
  10.     aaaa.Level = 10
  11.     local image = Instance.new("ImageLabel",gui)
  12.     image.Image = "rbxassetid://1081456040"
  13.     image.Size = UDim2.new(0,0,0,0)
  14.     image.Position = UDim2.new(0.5,0,0.5,0)
  15.     image.BackgroundTransparency = 1
  16.     image.ImageColor3 = Color3.new(0,0,0)
  17.     image.ZIndex = 100
  18.     local background = Instance.new("Frame",gui)
  19.     background.Size = UDim2.new(1,0,1,0)
  20.     background.BackgroundColor3 = Color3.new()
  21.     for _,v in pairs(game.Players:GetChildren()) do
  22.         local gui2 = gui:Clone()
  23.         local intense = 0
  24.         local intense2 = 10
  25.         gui2.Parent = v.PlayerGui
  26.         gui2.Sound:Play()
  27.         spawn(function()
  28.             while wait(math.random() / 5) do
  29.                 gui2.Sound.Pitch = (math.random() * intense2) + 1.5
  30.                 gui2.Sound.Volume = intense * 6
  31.             end
  32.         end)
  33.         spawn(function()
  34.             while wait() do
  35.                 gui2.ImageLabel.ImageColor3 = Color3.fromHSV(math.random(),1,intense * (math.random() / 2))
  36.                 gui2.ImageLabel.Size = UDim2.new(0,intense * 800,0,intense * 800)
  37.                 gui2.ImageLabel.Position = UDim2.new(0.5,intense * -400,0.5,intense * -400)
  38.             end
  39.         end)
  40.         spawn(function()
  41.             intense = 1
  42.             wait(0.2)
  43.             --for i=1,30 do
  44.             --  wait()
  45.                 --  intense = 1 - (i/30)
  46.             --end
  47.             --v:Kick("9840285")
  48.         end)
  49.         spawn(function()
  50.             for i=0,300 do
  51.                 wait()
  52.                 intense2 = 10 - ((i/300) * 5.5)
  53.             end
  54.         end)
  55.         if not y then
  56.             spawn(function()
  57.                 wait(0.2)
  58.                 gui2:Destroy()
  59.             end)
  60.         else
  61.             game.Debris:AddItem(gui2,20)
  62.         end
  63.     end
  64. end
  65. e(nil,true)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement