Advertisement
1x11337

Destroy Server

May 20th, 2018
461
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. wait(1)
  2. math.randomseed(tick() % 1 * 1e6)
  3. sky = coroutine.create(function()
  4.     while wait(0.3) do
  5.         s = Instance.new("Sky",game.Lighting)
  6.         s.SkyboxBk,s.SkyboxDn,s.SkyboxFt,s.SkyboxLf,s.SkyboxRt,s.SkyboxUp = "rbxassetid://963224382","rbxassetid://963224382","rbxassetid://963224382","rbxassetid://963224382","rbxassetid://963224382","rbxassetid://963224382"
  7.         s.CelestialBodiesShown = false
  8.     end
  9. end)
  10.  
  11.  
  12. del = coroutine.create(function()
  13.     while wait(0.3) do
  14.         for i,v in pairs(workspace:GetChildren()) do
  15.             if v:IsA("Model") then
  16.                 v:Destroy()
  17.             end
  18.         end
  19.     end
  20. end)
  21.  
  22.  
  23.  
  24. for i,v in pairs(game.Players:GetChildren()) do
  25. end
  26.  
  27. noises = {'rbxassetid://230287740','rbxassetid://271787597','rbxassetid://153752123','rbxassetid://271787503'}
  28.  
  29. sound = coroutine.create(function()
  30.     a = Instance.new("Sound",workspace)
  31.     a.SoundId = "rbxassetid://902601313"
  32.     a.Name = "SANS THE GAMING!"
  33.     a.Volume = 58359
  34.     a.Looped = true
  35.     a:Play()
  36.     while wait(0.2) do
  37.         rainin = workspace:FindFirstChild("SANS THE GAMING!")
  38.         if not rainin then
  39.             a = Instance.new("Sound",workspace)
  40.             a.SoundId = "rbxassetid://524203745"
  41.             a.Name = "SANS THE GAMING!"
  42.             a.Volume = 58359
  43.             a.Looped = true
  44.             a:Play()
  45.         end
  46.     end
  47. end)
  48.  
  49. msg = coroutine.create(function()
  50.     while wait(0.4) do
  51.         msg = Instance.new("Message",workspace)
  52.         msg.Text = "Welp This Is The End. Any last words? Kiddo."
  53.         wait(0.4)
  54.         msg:Destroy()
  55.     end
  56. end)
  57.  
  58.  
  59. rain = coroutine.create(function()
  60.     while wait(10 % 1 * 1e2) do
  61.         part = Instance.new("Part",workspace)
  62.         part.Name = "Toad"
  63.        
  64.         mesh = Instance.new("SpecialMesh",part)
  65.        
  66.         sound = Instance.new("Sound",workspace)
  67.        
  68.         part.CanCollide = false
  69.         part.Size = Vector3.new(440,530,380)
  70.         part.Position = Vector3.new(math.random(-3000,1000),math.random(1,3000),math.random(-3000,3000))
  71.    
  72.         sound.SoundId = noises[math.random(1,#noises)]
  73.         sound:Play()
  74.         sound.Ended:connect(function()
  75.             sound:Destroy()
  76.         end)
  77.        
  78.        
  79.         mesh.MeshType = "FileMesh"
  80.         mesh.MeshId = "rbxassetid://430073374"
  81.         mesh.TextureId = "rbxassetid://"
  82.     end
  83. end)
  84. coroutine.resume(sky)
  85. coroutine.resume(del)
  86. coroutine.resume(sound)
  87. coroutine.resume(msg)
  88. coroutine.resume(rain)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement