Legendofawesomeness3

box

Dec 16th, 2017
310
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.99 KB | None | 0 0
  1. colours = {"Really black", "Medium stone grey", "Dark grey", "Institutional white"}
  2. coroutine.resume(coroutine.create(function()
  3. for i=1, 10, 0.1 do
  4. wait()
  5. local p = Instance.new("Part")
  6. p.Parent = workspace
  7. p.Size = Vector3.new(30,2,5)
  8. p.Anchored = true
  9. p.CFrame = CFrame.new(30,0,0)
  10. p.CFrame = p.CFrame * CFrame.new(0,0,0) * CFrame.Angles(i,i,0)
  11. p.TopSurface = 0
  12. p.BrickColor = BrickColor.new(colours[math.random(1,4)])
  13. p.BottomSurface = 0
  14. end
  15. end))
  16. pos = Vector3.new(0,0,0)
  17. coroutine.resume(coroutine.create(function()
  18. for i=1, 30, 0.5 do
  19. wait()
  20. local p = Instance.new("Part")
  21. p.Parent = workspace
  22. p.Size = Vector3.new(5,5,5)
  23. p.Anchored = true
  24. p.CFrame = CFrame.new(30,4,0)
  25. p.TopSurface = 0
  26. p.CFrame = p.CFrame * CFrame.new(0,i,0) * CFrame.Angles(math.random(-3.2,3.2),math.random(-3.2,3.2),math.random(-3.2,3.2))
  27. p.BrickColor = BrickColor.new(colours[math.random(1,4)])
  28. p.BottomSurface = 0
  29. pos = p.Position
  30. end
  31. end))
  32. coroutine.resume(coroutine.create(function()
  33. for i=1, 7, 0.05 do
  34. wait()
  35. local p = Instance.new("Part")
  36. p.Parent = workspace
  37. p.Size = Vector3.new(30,2,3)
  38. p.Anchored = true
  39. p.CFrame = CFrame.new(pos)
  40. p.CFrame = p.CFrame * CFrame.new(0,i,0) * CFrame.Angles(0,i,0)
  41. p.BottomSurface = 0
  42. p.TopSurface = 0
  43. p.BrickColor = BrickColor.new(colours[math.random(1,4)])
  44. end
  45. end))
  46. coroutine.resume(coroutine.create(function()
  47. for i=1, 38, 0.8 do
  48. wait()
  49. local p = Instance.new("Part")
  50. p.Parent = workspace
  51. p.Size = Vector3.new(6,6,6)
  52. p.Anchored = true
  53. p.CFrame = CFrame.new(pos) * CFrame.new(10,3,0)
  54. p.CFrame = p.CFrame * CFrame.new(i,-i,0) * CFrame.Angles(0,0,i)
  55. p.BottomSurface = 0
  56. p.TopSurface = 0
  57. p.BrickColor = BrickColor.new(colours[math.random(1,4)])
  58. end
  59. end))
  60. coroutine.resume(coroutine.create(function()
  61. for i=1, 38, 0.8 do
  62. wait()
  63. local p = Instance.new("Part")
  64. p.Parent = workspace
  65. p.Size = Vector3.new(6,6,6)
  66. p.Anchored = true
  67. p.CFrame = CFrame.new(pos) * CFrame.new(-10,3,0)
  68. p.CFrame = p.CFrame * CFrame.new(-i,-i,0) * CFrame.Angles(0,0,i)
  69. p.BrickColor = BrickColor.new(colours[math.random(1,4)])
  70. p.BottomSurface = 0
  71. p.TopSurface = 0
  72. end
  73. end))
  74. coroutine.resume(coroutine.create(function()
  75. for i=1, 38, 0.8 do
  76. wait()
  77. local p = Instance.new("Part")
  78. p.Parent = workspace
  79. p.Size = Vector3.new(6,6,6)
  80. p.Anchored = true
  81. p.CFrame = CFrame.new(pos) * CFrame.new(0,3,10)
  82. p.CFrame = p.CFrame * CFrame.new(0,-i,i) * CFrame.Angles(i,0,0)
  83. p.BrickColor = BrickColor.new(colours[math.random(1,4)])
  84. p.BottomSurface = 0
  85. p.TopSurface = 0
  86. end
  87. end))
  88. coroutine.resume(coroutine.create(function()
  89. for i=1, 38, 0.8 do
  90. wait()
  91. local p = Instance.new("Part")
  92. p.Parent = workspace
  93. p.Size = Vector3.new(6,6,6)
  94. p.Anchored = true
  95. p.CFrame = CFrame.new(pos) * CFrame.new(0,3,-10)
  96. p.CFrame = p.CFrame * CFrame.new(0,-i,-i) * CFrame.Angles(i,0,0)
  97. p.BrickColor = BrickColor.new(colours[math.random(1,4)])
  98. p.BottomSurface = 0
  99. p.TopSurface = 0
  100. end
  101. end))
  102. coroutine.resume(coroutine.create(function()
  103. for i=1, 8, 0.1 do
  104. wait()
  105. local p = Instance.new("Part")
  106. p.Parent = workspace
  107. p.Size = Vector3.new(6,6,6)
  108. p.Anchored = true
  109. p.CFrame = CFrame.new(30,15,0)
  110. p.CFrame = p.CFrame * CFrame.Angles(0,i,0) * CFrame.new(30,0,0)
  111. p.BrickColor = BrickColor.new(colours[math.random(1,4)])
  112. p.TopSurface = 0
  113. p.BottomSurface = 0
  114. end
  115. end))
  116. coroutine.resume(coroutine.create(function()
  117. for i=1, 8, 0.07 do
  118. wait()
  119. local p = Instance.new("Part")
  120. p.Parent = workspace
  121. p.Size = Vector3.new(5,5,5)
  122. p.Anchored = true
  123. p.CFrame = CFrame.new(30,15,0)
  124. p.CFrame = p.CFrame * CFrame.Angles(0,i,i) * CFrame.new(30,0,0)
  125. p.BrickColor = BrickColor.new(colours[math.random(1,4)])
  126. p.TopSurface = 0
  127. p.BottomSurface = 0
  128. end
  129. end))
  130. coroutine.resume(coroutine.create(function()
  131. for i=1, 8, 0.07 do
  132. wait()
  133. local p = Instance.new("Part")
  134. p.Parent = workspace
  135. p.Size = Vector3.new(5,5,5)
  136. p.Anchored = true
  137. p.CFrame = CFrame.new(30,15,0)
  138. p.CFrame = p.CFrame * CFrame.Angles(0,-i,-i) * CFrame.new(-30,0,0)
  139. p.BrickColor = BrickColor.new(colours[math.random(1,4)])
  140. p.TopSurface = 0
  141. p.BottomSurface = 0
  142. end
  143. end))
Add Comment
Please, Sign In to add comment