Advertisement
Guest User

raining men

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