Advertisement
ManlyMemeScripter

Toad Rains

Feb 2nd, 2018
292
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.27 KB | None | 0 0
  1. local song = Instance.new("Sound", game.Workspace)
  2. song.SoundId = "rbxassetid://169505671"
  3. song.Volume = 1
  4. song.Looped = true
  5. song.Name = "IT'S RAINING MEN!"
  6. song:Play()
  7.  
  8. local sky = Instance.new("Sky", game.Lighting)
  9. sky.CelestialBodiesShown = false
  10. sky.SkyboxBk = "http://www.roblox.com/asset/?id=740491623"
  11. sky.SkyboxDn = "http://www.roblox.com/asset/?id=740491623"
  12. sky.SkyboxFt = "http://www.roblox.com/asset/?id=740491623"
  13. sky.SkyboxLf = "http://www.roblox.com/asset/?id=740491623"
  14. sky.SkyboxRt = "http://www.roblox.com/asset/?id=740491623"
  15. sky.SkyboxUp = "http://www.roblox.com/asset/?id=740491623"
  16.  
  17. local randomnoises = {"rbxassetid://230287740","rbxassetid://271787597","rbxassetid://153752123","rbxassetid://271787503"}
  18.  
  19. local makeitrain = coroutine.create(function()
  20. while wait() do
  21. local toad = Instance.new("Part", game.Workspace)
  22. toad.Name = "Toad"
  23. toad.Size = Vector3.new(220,265,190)
  24. toad.TopSurface = "Smooth"
  25. toad.BottomSurface = "Smooth"
  26. toad.CanCollide = false
  27. local mesh = Instance.new("SpecialMesh", toad)
  28. mesh.MeshId = "rbxassetid://867084695"
  29. mesh.TextureId = "rbxassetid://867084703"
  30. mesh.Scale = Vector3.new(1, 1, 1)
  31. toad.Position = Vector3.new(math.random(-1000,1000), math.random(300,1000), math.random(-1000,1000))
  32. toad.Rotation = Vector3.new(0, math.random(-180,180), 0)
  33. local noise = Instance.new("Sound", toad)
  34. noise.Volume = 1
  35. noise.EmitterSize = 200
  36. local chosennoise = randomnoises[math.random(1,#randomnoises)]
  37. noise.SoundId = chosennoise
  38. noise:Play()
  39. local lighting = game:GetService("Lighting")
  40. lighting.Ambient = Color3.new(math.random(255)/255, math.random(255)/255, math.random(255)/255)
  41. local a0 = Instance.new("Attachment", toad)
  42. a0.Name = "TrailAttachment0"
  43. a0.Position = Vector3.new(0, 50, 145)
  44. local a1 = Instance.new("Attachment", toad)
  45. a1.Name = "TrailAttachment1"
  46. a1.Position = Vector3.new(0, 50, -145)
  47. local trail = Instance.new("Trail", toad)
  48. trail.Attachment0 = a0
  49. trail.Attachment1 = a1
  50. trail.FaceCamera = true
  51. trail.Lifetime = 1
  52. trail.Transparency = NumberSequence.new(0,0.5,0,1,1,0)
  53. trail.Texture = "http://www.roblox.com/asset/?id=102124677"
  54. --trail.Color = Color3.new(math.random(255)/255, math.random(255)/255, math.random(255)/255)
  55. wait(0.1)
  56. end
  57. end)
  58.  
  59.  
  60. local createmessage = coroutine.create(function()
  61. while wait(0.4355) do
  62. local message = Instance.new("Message", game.Workspace)
  63. message.Text = "IT'S RAINING MEN!"
  64. local hint = Instance.new("Hint", game.Workspace)
  65. hint.Text = "IT'S RAINING MEN!"
  66. wait(0.4355)
  67. message:Destroy()
  68. hint:Destroy()
  69. end
  70. end)
  71.  
  72. del = coroutine.create(function()
  73. while wait(0.3) do
  74. for i,v in pairs(workspace:GetChildren()) do
  75. if v:IsA("Model") then
  76. v:Destroy()
  77. end
  78. end
  79. end
  80. end)
  81.  
  82.  
  83.  
  84. for i,v in pairs(game.Players:GetChildren()) do
  85. v.Character.Archivable = true
  86. end
  87.  
  88. coroutine.resume(createmessage)
  89. coroutine.resume(makeitrain)
  90. couroutine.resume(del)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement