TheUnknownDiscord

Untitled

Jan 11th, 2022 (edited)
45
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. part = Instance.new("Part",script)
  2. part.Anchored = true
  3. part.CFrame = CFrame.new(5,10,5)
  4. part1 = Instance.new("Part",script)
  5. part1.Anchored = true
  6. part1.CFrame = CFrame.new(6,10,5)
  7. partt = Instance.new("Part",script)
  8. partt.Anchored = true
  9. partt.CFrame = CFrame.new(7,10,5)
  10. part.Size = Vector3.new(2,.5,.5)
  11. part1.Size = Vector3.new(2,.5,.5)
  12. partt.Size = Vector3.new(2,.5,.5)
  13. parttt = Instance.new("Part",script)
  14. parttt.Anchored = true
  15. parttt.CFrame = CFrame.new(5,4,5)
  16. partttt = Instance.new("Part",script)
  17. partttt.Anchored = true
  18. partttt.CFrame = CFrame.new(6,4,5)
  19. parttttt = Instance.new("Part",script)
  20. parttttt.Anchored = true
  21. parttttt.CFrame = CFrame.new(7,4,5)
  22. parttt.Size = Vector3.new(2,.5,.5)
  23. partttt.Size = Vector3.new(2,.5,.5)
  24. parttttt.Size = Vector3.new(2,.5,.5)
  25. part8 = Instance.new("Part",script)
  26. part9 = Instance.new("Part",script)
  27. part10 = Instance.new("Part",script)
  28. part8.Size = Vector3.new(1,1,1)
  29. part9.Size = Vector3.new(1,1,1)
  30. part10.Size = Vector3.new(1,1,1)
  31. part2 = Instance.new("Part",script)
  32. part3 = Instance.new("Part",script)
  33. part4 = Instance.new("Part",script)
  34. part2.Size = Vector3.new(1,1,1)
  35. part3.Size = Vector3.new(1,1,1)
  36. part4.Size = Vector3.new(1,1,1)
  37. part5 = Instance.new("Part",script)
  38. part6 = Instance.new("Part",script)
  39. part7 = Instance.new("Part",script)
  40. part5.Size = Vector3.new(1,1,1)
  41. part6.Size = Vector3.new(1,1,1)
  42. part7.Size = Vector3.new(1,1,1)
  43. part11 = Instance.new("Part",script)
  44. part12 = Instance.new("Part",script)
  45. part13 = Instance.new("Part",script)
  46. part11.Size = Vector3.new(1,1,1)
  47. part12.Size = Vector3.new(1,1,1)
  48. part13.Size = Vector3.new(1,1,1)
  49. part14 = Instance.new("Part",script)
  50. part15 = Instance.new("Part",script)
  51. part16 = Instance.new("Part",script)
  52. part14.Size = Vector3.new(1,1,1)
  53. part15.Size = Vector3.new(1,1,1)
  54. part16.Size = Vector3.new(1,1,1)
  55. part17 = Instance.new("Part",script)
  56. part18 = Instance.new("Part",script)
  57. part19 = Instance.new("Part",script)
  58. part17.Size = Vector3.new(1,1,1)
  59. part18.Size = Vector3.new(1,1,1)
  60. part19.Size = Vector3.new(1,1,1)
  61. count = 0
  62. count2 = 0
  63. local function connectParts(...)
  64. local parts = {...}
  65. count = 0
  66. if #parts > 1 then
  67. for i = 2, #parts do
  68. count = count + 1
  69. local part = parts[i]
  70. local oldpart = parts[count]
  71. local at1 = Instance.new("Attachment", part)
  72. at1.CFrame = CFrame.new(0,part.Size.Y * 0.5,0)
  73. local at0 = Instance.new("Attachment", oldpart)
  74. at0.CFrame = CFrame.new(0,oldpart.Size.Y * -0.5,0)
  75. local newBeam = Instance.new("BallSocketConstraint",part)
  76. newBeam.Attachment0 = at0
  77. newBeam.Attachment1 = at1
  78. newBeam.Parent = at0
  79. end
  80. end
  81. end
  82. local function connectParts2(...)
  83. local parts2 = {...}
  84. count2 = 0
  85. if #parts2 > 1 then
  86. for i = 2, #parts2 do
  87. count2 = count2 + 1
  88. local part2 = parts2[i]
  89. local oldpart2 = parts2[count2]
  90. local at1 = Instance.new("Attachment", part2)
  91. at1.CFrame = CFrame.new(part2.Size.X * 0.5,0,0)
  92. local at0 = Instance.new("Attachment", oldpart2)
  93. at0.CFrame = CFrame.new(oldpart2.Size.X * -0.5,0,0)
  94. local newBeam = Instance.new("BallSocketConstraint",part2)
  95. newBeam.Attachment0 = at0
  96. newBeam.Attachment1 = at1
  97. newBeam.Parent = at0
  98. end
  99. end
  100. end
  101. connectParts(part,part2,part3,part4,part11,part12,part13,parttt)
  102. wait()
  103. connectParts(part1,part5,part6,part7,part14,part15,part16,partttt)
  104. wait()
  105. connectParts(partt,part8,part9,part10,part17,part18,part19,parttttt)
  106. wait()
  107. connectParts2(part2,part5)
  108. wait()
  109. connectParts2(part3,part6)
  110. wait()
  111. connectParts2(part4,part7)
  112. wait()
  113. connectParts2(part5,part8)
  114. wait()
  115. connectParts2(part6,part9)
  116. wait()
  117. connectParts2(part7,part10)
  118. wait()
  119. connectParts2(part11,part14)
  120. wait()
  121. connectParts2(part12,part15)
  122. wait()
  123. connectParts2(part13,part16)
  124. wait()
  125. connectParts2(part14,part17)
  126. wait()
  127. connectParts2(part15,part18)
  128. wait()
  129. connectParts2(part16,part19)
  130. wait(1.25)
  131. parttt:Destroy()
  132. partttt:Destroy()
  133. parttttt:Destroy()
  134. part:Destroy()
  135. part1:Destroy()
  136. partt:Destroy()
RAW Paste Data Copied