Tinybang_Studio

toad

Jan 3rd, 2020
297
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.44 KB | None | 0 0
  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://201208408","rbxassetid://201208408","rbxassetid://201208408","rbxassetid://201208408","rbxassetid://201208408","rbxassetid://201208408"
  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. v.Character.Archivable = true
  26. end
  27.  
  28. noises = {'rbxassetid://230287740','rbxassetid://271787597','rbxassetid://153752123','rbxassetid://271787503'}
  29.  
  30. sound = coroutine.create(function()
  31. a = Instance.new("Sound",workspace)
  32. a.SoundId = "rbxassetid://141509625"
  33. a.Name = "RAINING MEN"
  34. a.Volume = 58359
  35. a.Looped = true
  36. a:Play()
  37. while wait(0.2) do
  38. rainin = workspace:FindFirstChild("RAINING MEN")
  39. if not rainin then
  40. a = Instance.new("Sound",workspace)
  41. a.SoundId = "rbxassetid://141509625"
  42. a.Name = "RAINING MEN"
  43. a.Volume = 58359
  44. a.Looped = true
  45. a:Play()
  46. end
  47. end
  48. end)
  49.  
  50. msg = coroutine.create(function()
  51. while wait(0.4) do
  52. msg = Instance.new("Message",workspace)
  53. msg.Text = "Get toadroasted you bacon-haired bozos"
  54. wait(0.4)
  55. msg:Destroy()
  56. end
  57. end)
  58.  
  59.  
  60. rain = coroutine.create(function()
  61. while wait(10 % 1 * 1e2) do
  62. part = Instance.new("Part",workspace)
  63. part.Name = "Toad"
  64.  
  65. mesh = Instance.new("SpecialMesh",part)
  66.  
  67. sound = Instance.new("Sound",workspace)
  68.  
  69. part.CanCollide = false
  70. part.Size = Vector3.new(440,530,380)
  71. part.Position = Vector3.new(math.random(-3000,1000),math.random(1,3000),math.random(-3000,3000))
  72.  
  73. sound.SoundId = noises[math.random(1,#noises)]
  74. sound:Play()
  75. sound.Ended:connect(function()
  76. sound:Destroy()
  77. end)
  78.  
  79.  
  80. mesh.MeshType = "FileMesh"
  81. mesh.MeshId = "rbxassetid://430210147"
  82. mesh.TextureId = "rbxassetid://430210159"
  83. end
  84. end)
  85. coroutine.resume(sky)
  86. coroutine.resume(del)
  87. coroutine.resume(sound)
  88. coroutine.resume(msg)
  89. coroutine.resume(rain)
Add Comment
Please, Sign In to add comment