Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function e(p,y)
- local gui = Instance.new("ScreenGui")
- gui.DisplayOrder = 0
- gui.ResetOnSpawn = false
- local sound = Instance.new("Sound",gui)
- sound.SoundId = "rbxassetid://165224484"
- sound.Volume = 0
- sound.Looped = true
- local aaaa = Instance.new("DistortionSoundEffect",sound)
- aaaa.Level = 10
- local image = Instance.new("ImageLabel",gui)
- image.Image = "rbxassetid://1081456040"
- image.Size = UDim2.new(0,0,0,0)
- image.Position = UDim2.new(0.5,0,0.5,0)
- image.BackgroundTransparency = 1
- image.ImageColor3 = Color3.new(0,0,0)
- image.ZIndex = 100
- local background = Instance.new("Frame",gui)
- background.Size = UDim2.new(1,0,1,0)
- background.BackgroundColor3 = Color3.new()
- for _,v in pairs(game.Players:GetChildren()) do
- local gui2 = gui:Clone()
- local intense = 0
- local intense2 = 10
- gui2.Parent = v.PlayerGui
- gui2.Sound:Play()
- spawn(function()
- while wait(math.random() / 5) do
- gui2.Sound.Pitch = (math.random() * intense2) + 1.5
- gui2.Sound.Volume = intense * 6
- end
- end)
- spawn(function()
- while wait() do
- gui2.ImageLabel.ImageColor3 = Color3.fromHSV(math.random(),1,intense * (math.random() / 2))
- gui2.ImageLabel.Size = UDim2.new(0,intense * 800,0,intense * 800)
- gui2.ImageLabel.Position = UDim2.new(0.5,intense * -400,0.5,intense * -400)
- end
- end)
- spawn(function()
- intense = 1
- wait(0.2)
- --for i=1,30 do
- -- wait()
- -- intense = 1 - (i/30)
- --end
- --v:Kick("9840285")
- end)
- spawn(function()
- for i=0,300 do
- wait()
- intense2 = 10 - ((i/300) * 5.5)
- end
- end)
- if not y then
- spawn(function()
- wait(0.2)
- gui2:Destroy()
- end)
- else
- game.Debris:AddItem(gui2,20)
- end
- end
- end
- e(nil,true)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement