Advertisement
KrYn0MoRe

old union system creator

May 2nd, 2020
839
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 36.88 KB | None | 0 0
  1. mas = script
  2. Model0 = Instance.new("Model")
  3. Part1 = Instance.new("Part")
  4. ManualWeld2 = Instance.new("ManualWeld")
  5. ManualWeld3 = Instance.new("ManualWeld")
  6. ManualWeld4 = Instance.new("ManualWeld")
  7. ManualWeld5 = Instance.new("ManualWeld")
  8. ManualWeld6 = Instance.new("ManualWeld")
  9. ManualWeld7 = Instance.new("ManualWeld")
  10. ManualWeld8 = Instance.new("ManualWeld")
  11. Model9 = Instance.new("Model")
  12. Part10 = Instance.new("Part")
  13. Seat11 = Instance.new("Seat")
  14. Part12 = Instance.new("Part")
  15. Part13 = Instance.new("Part")
  16. Part14 = Instance.new("Part")
  17. Part15 = Instance.new("Part")
  18. Part16 = Instance.new("Part")
  19. Seat17 = Instance.new("Seat")
  20. Part18 = Instance.new("Part")
  21. Part19 = Instance.new("Part")
  22. Part20 = Instance.new("Part")
  23. Model21 = Instance.new("Model")
  24. Part22 = Instance.new("Part")
  25. Snap23 = Instance.new("Snap")
  26. Part24 = Instance.new("Part")
  27. Snap25 = Instance.new("Snap")
  28. Part26 = Instance.new("Part")
  29. Snap27 = Instance.new("Snap")
  30. Part28 = Instance.new("Part")
  31. Part29 = Instance.new("Part")
  32. Snap30 = Instance.new("Snap")
  33. Part31 = Instance.new("Part")
  34. SurfaceGui32 = Instance.new("SurfaceGui")
  35. TextLabel33 = Instance.new("TextLabel")
  36. Model34 = Instance.new("Model")
  37. Model35 = Instance.new("Model")
  38. Part36 = Instance.new("Part")
  39. Part37 = Instance.new("Part")
  40. Part38 = Instance.new("Part")
  41. Part39 = Instance.new("Part")
  42. Model40 = Instance.new("Model")
  43. Part41 = Instance.new("Part")
  44. Part42 = Instance.new("Part")
  45. Part43 = Instance.new("Part")
  46. Model44 = Instance.new("Model")
  47. Part45 = Instance.new("Part")
  48. SpecialMesh46 = Instance.new("SpecialMesh")
  49. Part47 = Instance.new("Part")
  50. SpecialMesh48 = Instance.new("SpecialMesh")
  51. Part49 = Instance.new("Part")
  52. SpecialMesh50 = Instance.new("SpecialMesh")
  53. Part51 = Instance.new("Part")
  54. SpecialMesh52 = Instance.new("SpecialMesh")
  55. Part53 = Instance.new("Part")
  56. SpecialMesh54 = Instance.new("SpecialMesh")
  57. Part55 = Instance.new("Part")
  58. SpecialMesh56 = Instance.new("SpecialMesh")
  59. Part57 = Instance.new("Part")
  60. SpecialMesh58 = Instance.new("SpecialMesh")
  61. Part59 = Instance.new("Part")
  62. SpecialMesh60 = Instance.new("SpecialMesh")
  63. Model61 = Instance.new("Model")
  64. Model62 = Instance.new("Model")
  65. Part63 = Instance.new("Part")
  66. Part64 = Instance.new("Part")
  67. Part65 = Instance.new("Part")
  68. Part66 = Instance.new("Part")
  69. Part67 = Instance.new("Part")
  70. Model68 = Instance.new("Model")
  71. Part69 = Instance.new("Part")
  72. Part70 = Instance.new("Part")
  73. Model71 = Instance.new("Model")
  74. Part72 = Instance.new("Part")
  75. Part73 = Instance.new("Part")
  76. Part74 = Instance.new("Part")
  77. Part75 = Instance.new("Part")
  78. Part76 = Instance.new("Part")
  79. Part77 = Instance.new("Part")
  80. Model0.Name = "Unions"
  81. Model0.Parent = mas
  82. Part1.Parent = Model0
  83. Part1.CFrame = CFrame.new(-9.76000977, -0.0162550006, 12.0500021, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  84. Part1.Orientation = Vector3.new(0, -90, 0)
  85. Part1.Position = Vector3.new(-9.76000977, -0.0162550006, 12.0500021)
  86. Part1.Rotation = Vector3.new(0, -90, 0)
  87. Part1.Color = Color3.new(0.411765, 0.25098, 0.156863)
  88. Part1.Size = Vector3.new(30, 0.0500000007, 30)
  89. Part1.Anchored = true
  90. Part1.BottomSurface = Enum.SurfaceType.Smooth
  91. Part1.BrickColor = BrickColor.new("Reddish brown")
  92. Part1.CanCollide = false
  93. Part1.Material = Enum.Material.Wood
  94. Part1.TopSurface = Enum.SurfaceType.Smooth
  95. Part1.brickColor = BrickColor.new("Reddish brown")
  96. ManualWeld2.Name = "Part-to-Part Strong Joint"
  97. ManualWeld2.Parent = Part1
  98. ManualWeld2.C0 = CFrame.new(-15, 0.0250000004, 15, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  99. ManualWeld2.C1 = CFrame.new(-26.2072182, -0.191260993, 26.6911392, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  100. ManualWeld2.Part0 = Part1
  101. ManualWeld2.Part1 = Part18
  102. ManualWeld2.part1 = Part18
  103. ManualWeld3.Name = "Part-to-Part Strong Joint"
  104. ManualWeld3.Parent = Part1
  105. ManualWeld3.C0 = CFrame.new(-15, 0.0250000004, 15, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  106. ManualWeld3.C1 = CFrame.new(-26.2072182, -0.0912849978, 20.5911407, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  107. ManualWeld3.Part0 = Part1
  108. ManualWeld3.Part1 = Part20
  109. ManualWeld3.part1 = Part20
  110. ManualWeld4.Name = "Part-to-Part Strong Joint"
  111. ManualWeld4.Parent = Part1
  112. ManualWeld4.C0 = CFrame.new(-15, 0.0250000004, 15, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  113. ManualWeld4.C1 = CFrame.new(-26.2072182, -0.191260993, 14.4911385, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  114. ManualWeld4.Part0 = Part1
  115. ManualWeld4.Part1 = Part12
  116. ManualWeld4.part1 = Part12
  117. ManualWeld5.Name = "Part-to-Part Strong Joint"
  118. ManualWeld5.Parent = Part1
  119. ManualWeld5.C0 = CFrame.new(-15, 0.0250000004, 15, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  120. ManualWeld5.C1 = CFrame.new(-23.8439102, -1.39125907, -16.9168968, 0, -1, 0, 0, 0, 1, -1, 0, 0)
  121. ManualWeld5.Part0 = Part1
  122. ManualWeld5.Part1 = Part22
  123. ManualWeld5.part1 = Part22
  124. ManualWeld6.Name = "Part-to-Part Strong Joint"
  125. ManualWeld6.Parent = Part1
  126. ManualWeld6.C0 = CFrame.new(-15, 0.0250000004, 15, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  127. ManualWeld6.C1 = CFrame.new(-23.8439102, -1.39125907, -20.9168968, 0, -1, 0, 0, 0, 1, -1, 0, 0)
  128. ManualWeld6.Part0 = Part1
  129. ManualWeld6.Part1 = Part26
  130. ManualWeld6.part1 = Part26
  131. ManualWeld7.Name = "Part-to-Part Strong Joint"
  132. ManualWeld7.Parent = Part1
  133. ManualWeld7.C0 = CFrame.new(-15, 0.0250000004, 15, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  134. ManualWeld7.C1 = CFrame.new(-16.8439102, -1.39125907, -20.9168968, 0, -1, 0, 0, 0, 1, -1, 0, 0)
  135. ManualWeld7.Part0 = Part1
  136. ManualWeld7.Part1 = Part24
  137. ManualWeld7.part1 = Part24
  138. ManualWeld8.Name = "Part-to-Part Strong Joint"
  139. ManualWeld8.Parent = Part1
  140. ManualWeld8.C0 = CFrame.new(-15, 0.0250000004, 15, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  141. ManualWeld8.C1 = CFrame.new(-16.8439102, -1.39125907, -16.9168968, 0, -1, 0, 0, 0, 1, -1, 0, 0)
  142. ManualWeld8.Part0 = Part1
  143. ManualWeld8.Part1 = Part29
  144. ManualWeld8.part1 = Part29
  145. Model9.Name = "Couch"
  146. Model9.Parent = Model0
  147. Part10.Parent = Model9
  148. Part10.CFrame = CFrame.new(-4.19886875, 2.41497111, 24.9572163, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  149. Part10.Orientation = Vector3.new(0, 90, 0)
  150. Part10.Position = Vector3.new(-4.19886875, 2.41497111, 24.9572163)
  151. Part10.Rotation = Vector3.new(0, 90, 0)
  152. Part10.Color = Color3.new(0.972549, 0.972549, 0.972549)
  153. Part10.Size = Vector3.new(1, 4.05000019, 10.9600048)
  154. Part10.Anchored = true
  155. Part10.BottomSurface = Enum.SurfaceType.Smooth
  156. Part10.BrickColor = BrickColor.new("Institutional white")
  157. Part10.CanCollide = false
  158. Part10.Reflectance = 0.019999999552965
  159. Part10.TopSurface = Enum.SurfaceType.Smooth
  160. Part10.brickColor = BrickColor.new("Institutional white")
  161. Part10.FormFactor = Enum.FormFactor.Custom
  162. Part10.formFactor = Enum.FormFactor.Custom
  163. Seat11.Parent = Model9
  164. Seat11.CFrame = CFrame.new(-6.89886856, 1.43999696, 22.7572193, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  165. Seat11.Position = Vector3.new(-6.89886856, 1.43999696, 22.7572193)
  166. Seat11.Color = Color3.new(0.972549, 0.972549, 0.972549)
  167. Seat11.Size = Vector3.new(5.39999866, 0.400000036, 3.40000057)
  168. Seat11.Anchored = true
  169. Seat11.BottomSurface = Enum.SurfaceType.Smooth
  170. Seat11.BrickColor = BrickColor.new("Institutional white")
  171. Seat11.CanCollide = false
  172. Seat11.TopSurface = Enum.SurfaceType.Smooth
  173. Seat11.brickColor = BrickColor.new("Institutional white")
  174. Seat11.FormFactor = Enum.FormFactor.Custom
  175. Seat11.formFactor = Enum.FormFactor.Custom
  176. Part12.Parent = Model9
  177. Part12.CFrame = CFrame.new(-10.2688713, 0.200005993, 23.2572212, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  178. Part12.Orientation = Vector3.new(0, -90, 0)
  179. Part12.Position = Vector3.new(-10.2688713, 0.200005993, 23.2572212)
  180. Part12.Rotation = Vector3.new(0, -90, 0)
  181. Part12.Color = Color3.new(0.486275, 0.360784, 0.27451)
  182. Part12.Size = Vector3.new(4, 0.400000006, 0.200000048)
  183. Part12.Anchored = true
  184. Part12.BottomSurface = Enum.SurfaceType.Smooth
  185. Part12.BrickColor = BrickColor.new("Brown")
  186. Part12.CanCollide = false
  187. Part12.Material = Enum.Material.Wood
  188. Part12.TopSurface = Enum.SurfaceType.Smooth
  189. Part12.brickColor = BrickColor.new("Brown")
  190. Part12.FormFactor = Enum.FormFactor.Custom
  191. Part12.formFactor = Enum.FormFactor.Custom
  192. Part13.Parent = Model9
  193. Part13.CFrame = CFrame.new(-10.1138725, 1.79998195, 23.2572212, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  194. Part13.Position = Vector3.new(-10.1138725, 1.79998195, 23.2572212)
  195. Part13.Color = Color3.new(0.972549, 0.972549, 0.972549)
  196. Part13.Size = Vector3.new(0.970003605, 1.4000001, 4.39999866)
  197. Part13.Anchored = true
  198. Part13.BottomSurface = Enum.SurfaceType.Smooth
  199. Part13.BrickColor = BrickColor.new("Institutional white")
  200. Part13.CanCollide = false
  201. Part13.Reflectance = 0.019999999552965
  202. Part13.TopSurface = Enum.SurfaceType.Smooth
  203. Part13.brickColor = BrickColor.new("Institutional white")
  204. Part13.FormFactor = Enum.FormFactor.Custom
  205. Part13.formFactor = Enum.FormFactor.Custom
  206. Part14.Parent = Model9
  207. Part14.CFrame = CFrame.new(-7.39886856, 0.799982011, 23.2572212, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  208. Part14.Position = Vector3.new(-7.39886856, 0.799982011, 23.2572212)
  209. Part14.Color = Color3.new(0.972549, 0.972549, 0.972549)
  210. Part14.Size = Vector3.new(6.40000343, 0.800000012, 4.39999866)
  211. Part14.Anchored = true
  212. Part14.BottomSurface = Enum.SurfaceType.Smooth
  213. Part14.BrickColor = BrickColor.new("Institutional white")
  214. Part14.CanCollide = false
  215. Part14.Reflectance = 0.019999999552965
  216. Part14.TopSurface = Enum.SurfaceType.Smooth
  217. Part14.brickColor = BrickColor.new("Institutional white")
  218. Part14.FormFactor = Enum.FormFactor.Custom
  219. Part14.formFactor = Enum.FormFactor.Custom
  220. Part15.Parent = Model9
  221. Part15.CFrame = CFrame.new(-4.09887028, 1.03002405, 23.1622162, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  222. Part15.Position = Vector3.new(-4.09887028, 1.03002405, 23.1622162)
  223. Part15.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  224. Part15.Size = Vector3.new(12.6000023, 1.19999957, 4.1899991)
  225. Part15.Anchored = true
  226. Part15.BottomSurface = Enum.SurfaceType.Smooth
  227. Part15.BrickColor = BrickColor.new("Really black")
  228. Part15.CanCollide = false
  229. Part15.Reflectance = 0.019999999552965
  230. Part15.TopSurface = Enum.SurfaceType.Smooth
  231. Part15.brickColor = BrickColor.new("Really black")
  232. Part15.FormFactor = Enum.FormFactor.Custom
  233. Part15.formFactor = Enum.FormFactor.Custom
  234. Part16.Parent = Model9
  235. Part16.CFrame = CFrame.new(-0.968870163, 0.799982011, 23.2572193, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  236. Part16.Position = Vector3.new(-0.968870163, 0.799982011, 23.2572193)
  237. Part16.Color = Color3.new(0.972549, 0.972549, 0.972549)
  238. Part16.Size = Vector3.new(6.40000343, 0.800000012, 4.39999866)
  239. Part16.Anchored = true
  240. Part16.BottomSurface = Enum.SurfaceType.Smooth
  241. Part16.BrickColor = BrickColor.new("Institutional white")
  242. Part16.CanCollide = false
  243. Part16.Reflectance = 0.019999999552965
  244. Part16.TopSurface = Enum.SurfaceType.Smooth
  245. Part16.brickColor = BrickColor.new("Institutional white")
  246. Part16.FormFactor = Enum.FormFactor.Custom
  247. Part16.formFactor = Enum.FormFactor.Custom
  248. Seat17.Parent = Model9
  249. Seat17.CFrame = CFrame.new(-1.46887016, 1.43999696, 22.7572193, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  250. Seat17.Position = Vector3.new(-1.46887016, 1.43999696, 22.7572193)
  251. Seat17.Color = Color3.new(0.972549, 0.972549, 0.972549)
  252. Seat17.Size = Vector3.new(5.39999866, 0.400000036, 3.40000105)
  253. Seat17.Anchored = true
  254. Seat17.BottomSurface = Enum.SurfaceType.Smooth
  255. Seat17.BrickColor = BrickColor.new("Institutional white")
  256. Seat17.CanCollide = false
  257. Seat17.TopSurface = Enum.SurfaceType.Smooth
  258. Seat17.brickColor = BrickColor.new("Institutional white")
  259. Seat17.FormFactor = Enum.FormFactor.Custom
  260. Seat17.formFactor = Enum.FormFactor.Custom
  261. Part18.Parent = Model9
  262. Part18.CFrame = CFrame.new(1.93112946, 0.200005993, 23.2572193, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  263. Part18.Orientation = Vector3.new(0, -90, 0)
  264. Part18.Position = Vector3.new(1.93112946, 0.200005993, 23.2572193)
  265. Part18.Rotation = Vector3.new(0, -90, 0)
  266. Part18.Color = Color3.new(0.486275, 0.360784, 0.27451)
  267. Part18.Size = Vector3.new(4, 0.400000006, 0.200000003)
  268. Part18.Anchored = true
  269. Part18.BottomSurface = Enum.SurfaceType.Smooth
  270. Part18.BrickColor = BrickColor.new("Brown")
  271. Part18.CanCollide = false
  272. Part18.Material = Enum.Material.Wood
  273. Part18.TopSurface = Enum.SurfaceType.Smooth
  274. Part18.brickColor = BrickColor.new("Brown")
  275. Part18.FormFactor = Enum.FormFactor.Custom
  276. Part18.formFactor = Enum.FormFactor.Custom
  277. Part19.Parent = Model9
  278. Part19.CFrame = CFrame.new(1.74612808, 1.79998195, 23.2572193, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  279. Part19.Position = Vector3.new(1.74612808, 1.79998195, 23.2572193)
  280. Part19.Color = Color3.new(0.972549, 0.972549, 0.972549)
  281. Part19.Size = Vector3.new(0.970003486, 1.4000001, 4.39999866)
  282. Part19.Anchored = true
  283. Part19.BottomSurface = Enum.SurfaceType.Smooth
  284. Part19.BrickColor = BrickColor.new("Institutional white")
  285. Part19.CanCollide = false
  286. Part19.Reflectance = 0.019999999552965
  287. Part19.TopSurface = Enum.SurfaceType.Smooth
  288. Part19.brickColor = BrickColor.new("Institutional white")
  289. Part19.FormFactor = Enum.FormFactor.Custom
  290. Part19.formFactor = Enum.FormFactor.Custom
  291. Part20.Parent = Model9
  292. Part20.CFrame = CFrame.new(-4.16886997, 0.100029998, 23.2572193, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  293. Part20.Orientation = Vector3.new(0, -90, 0)
  294. Part20.Position = Vector3.new(-4.16886997, 0.100029998, 23.2572193)
  295. Part20.Rotation = Vector3.new(0, -90, 0)
  296. Part20.Color = Color3.new(0.486275, 0.360784, 0.27451)
  297. Part20.Size = Vector3.new(4, 0.200000003, 12.0000019)
  298. Part20.Anchored = true
  299. Part20.BottomSurface = Enum.SurfaceType.Smooth
  300. Part20.BrickColor = BrickColor.new("Brown")
  301. Part20.CanCollide = false
  302. Part20.Material = Enum.Material.Wood
  303. Part20.TopSurface = Enum.SurfaceType.Smooth
  304. Part20.brickColor = BrickColor.new("Brown")
  305. Part20.FormFactor = Enum.FormFactor.Custom
  306. Part20.formFactor = Enum.FormFactor.Custom
  307. Model21.Name = "table"
  308. Model21.Parent = Model0
  309. Part22.Parent = Model21
  310. Part22.CFrame = CFrame.new(-0.916100502, 1.40000403, 13.966898, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  311. Part22.Position = Vector3.new(-0.916100502, 1.40000403, 13.966898)
  312. Part22.Color = Color3.new(0.486275, 0.360784, 0.27451)
  313. Part22.Size = Vector3.new(0.200000003, 2.80000019, 0.200000003)
  314. Part22.Anchored = true
  315. Part22.BrickColor = BrickColor.new("Brown")
  316. Part22.CanCollide = false
  317. Part22.Material = Enum.Material.Wood
  318. Part22.brickColor = BrickColor.new("Brown")
  319. Snap23.Parent = Part22
  320. Snap23.C0 = CFrame.new(0, -1.4000001, 0, 1, 0, 0, -0, -0, -1, 0, 1, 0)
  321. Snap23.C1 = CFrame.new(-0.916100502, 10.0000038, 13.966898, 1, 0, 0, 0, 0, -1, 0, 1, 0)
  322. Snap23.Part0 = Part22
  323. Snap23.Part1 = nil
  324. Snap23.part1 = nil
  325. Part24.Parent = Model21
  326. Part24.CFrame = CFrame.new(-7.9161005, 1.40000403, 17.966898, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  327. Part24.Position = Vector3.new(-7.9161005, 1.40000403, 17.966898)
  328. Part24.Color = Color3.new(0.486275, 0.360784, 0.27451)
  329. Part24.Size = Vector3.new(0.200000003, 2.80000019, 0.200000003)
  330. Part24.Anchored = true
  331. Part24.BrickColor = BrickColor.new("Brown")
  332. Part24.CanCollide = false
  333. Part24.Material = Enum.Material.Wood
  334. Part24.brickColor = BrickColor.new("Brown")
  335. Snap25.Parent = Part24
  336. Snap25.C0 = CFrame.new(0, -1.4000001, 0, 1, 0, 0, -0, -0, -1, 0, 1, 0)
  337. Snap25.C1 = CFrame.new(-7.9161005, 10.0000038, 17.966898, 1, 0, 0, 0, 0, -1, 0, 1, 0)
  338. Snap25.Part0 = Part24
  339. Snap25.Part1 = nil
  340. Snap25.part1 = nil
  341. Part26.Parent = Model21
  342. Part26.CFrame = CFrame.new(-0.916100502, 1.40000403, 17.966898, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  343. Part26.Position = Vector3.new(-0.916100502, 1.40000403, 17.966898)
  344. Part26.Color = Color3.new(0.486275, 0.360784, 0.27451)
  345. Part26.Size = Vector3.new(0.200000003, 2.80000019, 0.200000003)
  346. Part26.Anchored = true
  347. Part26.BrickColor = BrickColor.new("Brown")
  348. Part26.CanCollide = false
  349. Part26.Material = Enum.Material.Wood
  350. Part26.brickColor = BrickColor.new("Brown")
  351. Snap27.Parent = Part26
  352. Snap27.C0 = CFrame.new(0, -1.4000001, 0, 1, 0, 0, -0, -0, -1, 0, 1, 0)
  353. Snap27.C1 = CFrame.new(-0.916100502, 10.0000038, 17.966898, 1, 0, 0, 0, 0, -1, 0, 1, 0)
  354. Snap27.Part0 = Part26
  355. Snap27.Part1 = nil
  356. Snap27.part1 = nil
  357. Part28.Parent = Model21
  358. Part28.CFrame = CFrame.new(-4.4161005, 2.90000391, 15.9669132, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  359. Part28.Position = Vector3.new(-4.4161005, 2.90000391, 15.9669132)
  360. Part28.Color = Color3.new(0.486275, 0.360784, 0.27451)
  361. Part28.Size = Vector3.new(7.5999999, 0.200000003, 4.60000038)
  362. Part28.Anchored = true
  363. Part28.BottomSurface = Enum.SurfaceType.Smooth
  364. Part28.BrickColor = BrickColor.new("Brown")
  365. Part28.CanCollide = false
  366. Part28.Material = Enum.Material.WoodPlanks
  367. Part28.TopSurface = Enum.SurfaceType.Smooth
  368. Part28.brickColor = BrickColor.new("Brown")
  369. Part29.Parent = Model21
  370. Part29.CFrame = CFrame.new(-7.9161005, 1.40000403, 13.966898, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  371. Part29.Position = Vector3.new(-7.9161005, 1.40000403, 13.966898)
  372. Part29.Color = Color3.new(0.486275, 0.360784, 0.27451)
  373. Part29.Size = Vector3.new(0.200000003, 2.80000019, 0.200000003)
  374. Part29.Anchored = true
  375. Part29.BrickColor = BrickColor.new("Brown")
  376. Part29.CanCollide = false
  377. Part29.Material = Enum.Material.Wood
  378. Part29.brickColor = BrickColor.new("Brown")
  379. Snap30.Parent = Part29
  380. Snap30.C0 = CFrame.new(0, -1.4000001, 0, 1, 0, 0, -0, -0, -1, 0, 1, 0)
  381. Snap30.C1 = CFrame.new(-7.9161005, 10.0000038, 13.966898, 1, 0, 0, 0, 0, -1, 0, 1, 0)
  382. Snap30.Part0 = Part29
  383. Snap30.Part1 = nil
  384. Snap30.part1 = nil
  385. Part31.Parent = Model0
  386. Part31.CFrame = CFrame.new(-15.9559326, 5.74398899, 26.3960876, 0, 0.155758023, -0.987795353, 0, 0.987795234, 0.155758038, 1, 0, 0)
  387. Part31.Orientation = Vector3.new(-8.96000004, -90, 0)
  388. Part31.Position = Vector3.new(-15.9559326, 5.74398899, 26.3960876)
  389. Part31.Rotation = Vector3.new(-90, -81.0400009, -90)
  390. Part31.Transparency = 2
  391. Part31.Size = Vector3.new(0.200000003, 2.54999971, 11.4600019)
  392. Part31.Anchored = true
  393. Part31.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  394. Part31.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  395. Part31.CanCollide = false
  396. Part31.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  397. Part31.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  398. Part31.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  399. Part31.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  400. Part31.FormFactor = Enum.FormFactor.Custom
  401. Part31.formFactor = Enum.FormFactor.Custom
  402. SurfaceGui32.Parent = Part31
  403. SurfaceGui32.Face = Enum.NormalId.Left
  404. SurfaceGui32.CanvasSize = Vector2.new(400, 60)
  405. TextLabel33.Parent = SurfaceGui32
  406. TextLabel33.Size = UDim2.new(1, 0, 1, 0)
  407. TextLabel33.BackgroundColor = BrickColor.new("Institutional white")
  408. TextLabel33.BackgroundColor3 = Color3.new(1, 1, 1)
  409. TextLabel33.BackgroundTransparency = 1
  410. TextLabel33.BorderSizePixel = 0
  411. TextLabel33.Font = Enum.Font.SourceSansBold
  412. TextLabel33.FontSize = Enum.FontSize.Size36
  413. TextLabel33.Text = "Union System Made By KrYn0MoRe"
  414. TextLabel33.TextColor = BrickColor.new("Institutional white")
  415. TextLabel33.TextColor3 = Color3.new(1, 1, 1)
  416. TextLabel33.TextScaled = true
  417. TextLabel33.TextSize = 36
  418. TextLabel33.TextStrokeTransparency = 0
  419. TextLabel33.TextWrap = true
  420. TextLabel33.TextWrapped = true
  421. Model34.Parent = Model0
  422. Model35.Name = "Window2"
  423. Model35.Parent = Model0
  424. Part36.Name = "Smooth Block Model"
  425. Part36.Parent = Model35
  426. Part36.CFrame = CFrame.new(-24.4300003, 15.0045805, 10.5139999, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  427. Part36.Orientation = Vector3.new(0, 90, 0)
  428. Part36.Position = Vector3.new(-24.4300003, 15.0045805, 10.5139999)
  429. Part36.Rotation = Vector3.new(0, 90, 0)
  430. Part36.Color = Color3.new(0.705882, 0.823529, 0.894118)
  431. Part36.Transparency = 0.69999998807907
  432. Part36.Size = Vector3.new(7, 7, 0.200000003)
  433. Part36.Anchored = true
  434. Part36.BrickColor = BrickColor.new("Light blue")
  435. Part36.CanCollide = false
  436. Part36.Material = Enum.Material.Glass
  437. Part36.TopSurface = Enum.SurfaceType.Smooth
  438. Part36.brickColor = BrickColor.new("Light blue")
  439. Part37.Name = "Smooth Block Model"
  440. Part37.Parent = Model35
  441. Part37.CFrame = CFrame.new(5.00301456, 15.0045805, 10.5139999, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  442. Part37.Orientation = Vector3.new(0, 90, 0)
  443. Part37.Position = Vector3.new(5.00301456, 15.0045805, 10.5139999)
  444. Part37.Rotation = Vector3.new(0, 90, 0)
  445. Part37.Color = Color3.new(0.705882, 0.823529, 0.894118)
  446. Part37.Transparency = 0.69999998807907
  447. Part37.Size = Vector3.new(7, 7, 0.200000003)
  448. Part37.Anchored = true
  449. Part37.BrickColor = BrickColor.new("Light blue")
  450. Part37.CanCollide = false
  451. Part37.Material = Enum.Material.Glass
  452. Part37.TopSurface = Enum.SurfaceType.Smooth
  453. Part37.brickColor = BrickColor.new("Light blue")
  454. Part38.Name = "Smooth Block Model"
  455. Part38.Parent = Model35
  456. Part38.CFrame = CFrame.new(-9.71349239, 15.0045795, 26.8255959, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  457. Part38.Orientation = Vector3.new(0, 180, 0)
  458. Part38.Position = Vector3.new(-9.71349239, 15.0045795, 26.8255959)
  459. Part38.Rotation = Vector3.new(-180, 0, -180)
  460. Part38.Color = Color3.new(0.705882, 0.823529, 0.894118)
  461. Part38.Transparency = 0.69999998807907
  462. Part38.Size = Vector3.new(7, 7, 0.200000003)
  463. Part38.Anchored = true
  464. Part38.BrickColor = BrickColor.new("Light blue")
  465. Part38.CanCollide = false
  466. Part38.Material = Enum.Material.Glass
  467. Part38.TopSurface = Enum.SurfaceType.Smooth
  468. Part38.brickColor = BrickColor.new("Light blue")
  469. Part39.Name = "Smooth Block Model"
  470. Part39.Parent = Model35
  471. Part39.CFrame = CFrame.new(-9.7134943, 15.0045795, -2.69912076, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  472. Part39.Orientation = Vector3.new(0, 180, 0)
  473. Part39.Position = Vector3.new(-9.7134943, 15.0045795, -2.69912076)
  474. Part39.Rotation = Vector3.new(-180, 0, -180)
  475. Part39.Color = Color3.new(0.705882, 0.823529, 0.894118)
  476. Part39.Transparency = 0.69999998807907
  477. Part39.Size = Vector3.new(7, 7, 0.200000003)
  478. Part39.Anchored = true
  479. Part39.BrickColor = BrickColor.new("Light blue")
  480. Part39.CanCollide = false
  481. Part39.Material = Enum.Material.Glass
  482. Part39.TopSurface = Enum.SurfaceType.Smooth
  483. Part39.brickColor = BrickColor.new("Light blue")
  484. Model40.Name = "Window1"
  485. Model40.Parent = Model0
  486. Part41.Name = "Smooth Block Model"
  487. Part41.Parent = Model40
  488. Part41.CFrame = CFrame.new(-24.4300003, 5.16400003, 10.5139999, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  489. Part41.Orientation = Vector3.new(0, 90, 0)
  490. Part41.Position = Vector3.new(-24.4300003, 5.16400003, 10.5139999)
  491. Part41.Rotation = Vector3.new(0, 90, 0)
  492. Part41.Color = Color3.new(0.705882, 0.823529, 0.894118)
  493. Part41.Transparency = 0.69999998807907
  494. Part41.Size = Vector3.new(7, 7, 0.200000003)
  495. Part41.Anchored = true
  496. Part41.BrickColor = BrickColor.new("Light blue")
  497. Part41.CanCollide = false
  498. Part41.Material = Enum.Material.Glass
  499. Part41.TopSurface = Enum.SurfaceType.Smooth
  500. Part41.brickColor = BrickColor.new("Light blue")
  501. Part42.Name = "Smooth Block Model"
  502. Part42.Parent = Model40
  503. Part42.CFrame = CFrame.new(5.00301456, 5.16400003, 10.5139999, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  504. Part42.Orientation = Vector3.new(0, 90, 0)
  505. Part42.Position = Vector3.new(5.00301456, 5.16400003, 10.5139999)
  506. Part42.Rotation = Vector3.new(0, 90, 0)
  507. Part42.Color = Color3.new(0.705882, 0.823529, 0.894118)
  508. Part42.Transparency = 0.69999998807907
  509. Part42.Size = Vector3.new(7, 7, 0.200000003)
  510. Part42.Anchored = true
  511. Part42.BrickColor = BrickColor.new("Light blue")
  512. Part42.CanCollide = false
  513. Part42.Material = Enum.Material.Glass
  514. Part42.TopSurface = Enum.SurfaceType.Smooth
  515. Part42.brickColor = BrickColor.new("Light blue")
  516. Part43.Parent = Model0
  517. Part43.CFrame = CFrame.new(-9.76000023, 19.8840008, 12.0500002, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  518. Part43.Position = Vector3.new(-9.76000023, 19.8840008, 12.0500002)
  519. Part43.Color = Color3.new(0.666667, 0, 0)
  520. Part43.Size = Vector3.new(30, 0.0500000007, 30)
  521. Part43.Anchored = true
  522. Part43.BottomSurface = Enum.SurfaceType.Smooth
  523. Part43.BrickColor = BrickColor.new("Crimson")
  524. Part43.CanCollide = false
  525. Part43.Material = Enum.Material.SmoothPlastic
  526. Part43.TopSurface = Enum.SurfaceType.Smooth
  527. Part43.brickColor = BrickColor.new("Crimson")
  528. Model44.Name = "Ladder"
  529. Model44.Parent = Model0
  530. Model44.PrimaryPart = Part45
  531. Part45.Name = "Smooth Block Model"
  532. Part45.Parent = Model44
  533. Part45.CFrame = CFrame.new(-23.8321609, 9.50000572, 21.0082836, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  534. Part45.Orientation = Vector3.new(-90, -180, 0)
  535. Part45.Position = Vector3.new(-23.8321609, 9.50000572, 21.0082836)
  536. Part45.Rotation = Vector3.new(-90, 0, -180)
  537. Part45.Color = Color3.new(0.411765, 0.25098, 0.156863)
  538. Part45.Size = Vector3.new(1, 2, 1)
  539. Part45.Anchored = true
  540. Part45.BottomSurface = Enum.SurfaceType.Weld
  541. Part45.BrickColor = BrickColor.new("Reddish brown")
  542. Part45.TopSurface = Enum.SurfaceType.Weld
  543. Part45.brickColor = BrickColor.new("Reddish brown")
  544. SpecialMesh46.Parent = Part45
  545. SpecialMesh46.Scale = Vector3.new(0.5, 1.5, 0.5)
  546. Part47.Name = "Smooth Block Model"
  547. Part47.Parent = Model44
  548. Part47.CFrame = CFrame.new(-23.8321609, 11.5000057, 21.0082836, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  549. Part47.Orientation = Vector3.new(-90, -180, 0)
  550. Part47.Position = Vector3.new(-23.8321609, 11.5000057, 21.0082836)
  551. Part47.Rotation = Vector3.new(-90, 0, -180)
  552. Part47.Color = Color3.new(0.411765, 0.25098, 0.156863)
  553. Part47.Size = Vector3.new(1, 2, 1)
  554. Part47.Anchored = true
  555. Part47.BottomSurface = Enum.SurfaceType.Weld
  556. Part47.BrickColor = BrickColor.new("Reddish brown")
  557. Part47.TopSurface = Enum.SurfaceType.Weld
  558. Part47.brickColor = BrickColor.new("Reddish brown")
  559. SpecialMesh48.Parent = Part47
  560. SpecialMesh48.Scale = Vector3.new(0.5, 1.5, 0.5)
  561. Part49.Name = "Smooth Block Model"
  562. Part49.Parent = Model44
  563. Part49.CFrame = CFrame.new(-23.8321609, 6.50001097, 19.5082836, 0, 0, 1, 0, -1, 0, 1, 0, 0)
  564. Part49.Orientation = Vector3.new(0, 90, 180)
  565. Part49.Position = Vector3.new(-23.8321609, 6.50001097, 19.5082836)
  566. Part49.Rotation = Vector3.new(180, 90, 0)
  567. Part49.Color = Color3.new(0.411765, 0.25098, 0.156863)
  568. Part49.Size = Vector3.new(1, 13, 1)
  569. Part49.Anchored = true
  570. Part49.BrickColor = BrickColor.new("Reddish brown")
  571. Part49.brickColor = BrickColor.new("Reddish brown")
  572. SpecialMesh50.Parent = Part49
  573. SpecialMesh50.Scale = Vector3.new(0.5, 1, 0.5)
  574. Part51.Name = "Smooth Block Model"
  575. Part51.Parent = Model44
  576. Part51.CFrame = CFrame.new(-23.8321609, 5.50001192, 21.0082836, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  577. Part51.Orientation = Vector3.new(-90, -180, 0)
  578. Part51.Position = Vector3.new(-23.8321609, 5.50001192, 21.0082836)
  579. Part51.Rotation = Vector3.new(-90, 0, -180)
  580. Part51.Color = Color3.new(0.411765, 0.25098, 0.156863)
  581. Part51.Size = Vector3.new(1, 2, 1)
  582. Part51.Anchored = true
  583. Part51.BottomSurface = Enum.SurfaceType.Weld
  584. Part51.BrickColor = BrickColor.new("Reddish brown")
  585. Part51.TopSurface = Enum.SurfaceType.Weld
  586. Part51.brickColor = BrickColor.new("Reddish brown")
  587. SpecialMesh52.Parent = Part51
  588. SpecialMesh52.Scale = Vector3.new(0.5, 1.5, 0.5)
  589. Part53.Name = "Smooth Block Model"
  590. Part53.Parent = Model44
  591. Part53.CFrame = CFrame.new(-23.8321609, 7.50001097, 21.0082836, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  592. Part53.Orientation = Vector3.new(-90, -180, 0)
  593. Part53.Position = Vector3.new(-23.8321609, 7.50001097, 21.0082836)
  594. Part53.Rotation = Vector3.new(-90, 0, -180)
  595. Part53.Color = Color3.new(0.411765, 0.25098, 0.156863)
  596. Part53.Size = Vector3.new(1, 2, 1)
  597. Part53.Anchored = true
  598. Part53.BottomSurface = Enum.SurfaceType.Weld
  599. Part53.BrickColor = BrickColor.new("Reddish brown")
  600. Part53.TopSurface = Enum.SurfaceType.Weld
  601. Part53.brickColor = BrickColor.new("Reddish brown")
  602. SpecialMesh54.Parent = Part53
  603. SpecialMesh54.Scale = Vector3.new(0.5, 1.5, 0.5)
  604. Part55.Name = "Smooth Block Model"
  605. Part55.Parent = Model44
  606. Part55.CFrame = CFrame.new(-23.8321609, 3.50001407, 21.0082836, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  607. Part55.Orientation = Vector3.new(-90, -180, 0)
  608. Part55.Position = Vector3.new(-23.8321609, 3.50001407, 21.0082836)
  609. Part55.Rotation = Vector3.new(-90, 0, -180)
  610. Part55.Color = Color3.new(0.411765, 0.25098, 0.156863)
  611. Part55.Size = Vector3.new(1, 2, 1)
  612. Part55.Anchored = true
  613. Part55.BottomSurface = Enum.SurfaceType.Weld
  614. Part55.BrickColor = BrickColor.new("Reddish brown")
  615. Part55.TopSurface = Enum.SurfaceType.Weld
  616. Part55.brickColor = BrickColor.new("Reddish brown")
  617. SpecialMesh56.Parent = Part55
  618. SpecialMesh56.Scale = Vector3.new(0.5, 1.5, 0.5)
  619. Part57.Name = "Smooth Block Model"
  620. Part57.Parent = Model44
  621. Part57.CFrame = CFrame.new(-23.8321609, 6.50001097, 22.5082836, 0, 0, 1, 0, -1, 0, 1, 0, 0)
  622. Part57.Orientation = Vector3.new(0, 90, 180)
  623. Part57.Position = Vector3.new(-23.8321609, 6.50001097, 22.5082836)
  624. Part57.Rotation = Vector3.new(180, 90, 0)
  625. Part57.Color = Color3.new(0.411765, 0.25098, 0.156863)
  626. Part57.Size = Vector3.new(1, 13, 1)
  627. Part57.Anchored = true
  628. Part57.BrickColor = BrickColor.new("Reddish brown")
  629. Part57.brickColor = BrickColor.new("Reddish brown")
  630. SpecialMesh58.Parent = Part57
  631. SpecialMesh58.Scale = Vector3.new(0.5, 1, 0.5)
  632. Part59.Name = "Smooth Block Model"
  633. Part59.Parent = Model44
  634. Part59.CFrame = CFrame.new(-23.8321609, 1.50001502, 21.0082836, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  635. Part59.Orientation = Vector3.new(-90, -180, 0)
  636. Part59.Position = Vector3.new(-23.8321609, 1.50001502, 21.0082836)
  637. Part59.Rotation = Vector3.new(-90, 0, -180)
  638. Part59.Color = Color3.new(0.411765, 0.25098, 0.156863)
  639. Part59.Size = Vector3.new(1, 2, 1)
  640. Part59.Anchored = true
  641. Part59.BottomSurface = Enum.SurfaceType.Weld
  642. Part59.BrickColor = BrickColor.new("Reddish brown")
  643. Part59.TopSurface = Enum.SurfaceType.Weld
  644. Part59.brickColor = BrickColor.new("Reddish brown")
  645. SpecialMesh60.Parent = Part59
  646. SpecialMesh60.Scale = Vector3.new(0.5, 1.5, 0.5)
  647. Model61.Name = "Normal"
  648. Model61.Parent = mas
  649. Model62.Name = "1"
  650. Model62.Parent = Model61
  651. Part63.Parent = Model62
  652. Part63.CFrame = CFrame.new(-9.76000977, 5, 12.0500031, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  653. Part63.Position = Vector3.new(-9.76000977, 5, 12.0500031)
  654. Part63.Color = Color3.new(0.666667, 0, 0)
  655. Part63.Size = Vector3.new(30, 10, 30)
  656. Part63.Anchored = true
  657. Part63.BottomSurface = Enum.SurfaceType.Smooth
  658. Part63.BrickColor = BrickColor.new("Crimson")
  659. Part63.CanCollide = false
  660. Part63.Material = Enum.Material.SmoothPlastic
  661. Part63.TopSurface = Enum.SurfaceType.Smooth
  662. Part63.brickColor = BrickColor.new("Crimson")
  663. Part64.Name = "Sub"
  664. Part64.Parent = Model62
  665. Part64.CFrame = CFrame.new(-9.66501713, 4.23500061, 12.2400026, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  666. Part64.Position = Vector3.new(-9.66501713, 4.23500061, 12.2400026)
  667. Part64.Transparency = 1
  668. Part64.Size = Vector3.new(29.0299931, 18.8300018, 28.2400036)
  669. Part64.Anchored = true
  670. Part64.BottomSurface = Enum.SurfaceType.Smooth
  671. Part64.CanCollide = false
  672. Part64.TopSurface = Enum.SurfaceType.Smooth
  673. Part65.Name = "Sub"
  674. Part65.Parent = Model62
  675. Part65.CFrame = CFrame.new(-10.0300131, 1.7800045, -2.35930061, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  676. Part65.Position = Vector3.new(-10.0300131, 1.7800045, -2.35930061)
  677. Part65.Transparency = 1
  678. Part65.Size = Vector3.new(5, 13.9200001, 7.91000128)
  679. Part65.Anchored = true
  680. Part65.BottomSurface = Enum.SurfaceType.Smooth
  681. Part65.CanCollide = false
  682. Part65.TopSurface = Enum.SurfaceType.Smooth
  683. Part66.Name = "Sub"
  684. Part66.Parent = Model62
  685. Part66.CFrame = CFrame.new(5.19766665, 5.19070768, 10.5281744, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  686. Part66.Orientation = Vector3.new(0, 90, 0)
  687. Part66.Position = Vector3.new(5.19766665, 5.19070768, 10.5281744)
  688. Part66.Rotation = Vector3.new(0, 90, 0)
  689. Part66.Transparency = 1
  690. Part66.Size = Vector3.new(5.61999989, 5.92999983, 6.3399992)
  691. Part66.Anchored = true
  692. Part66.BottomSurface = Enum.SurfaceType.Smooth
  693. Part66.CanCollide = false
  694. Part66.TopSurface = Enum.SurfaceType.Smooth
  695. Part67.Name = "Sub"
  696. Part67.Parent = Model62
  697. Part67.CFrame = CFrame.new(-24.6446075, 5.19070768, 10.5281744, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  698. Part67.Orientation = Vector3.new(0, 90, 0)
  699. Part67.Position = Vector3.new(-24.6446075, 5.19070768, 10.5281744)
  700. Part67.Rotation = Vector3.new(0, 90, 0)
  701. Part67.Transparency = 1
  702. Part67.Size = Vector3.new(5.61999989, 5.92999983, 6.3399992)
  703. Part67.Anchored = true
  704. Part67.BottomSurface = Enum.SurfaceType.Smooth
  705. Part67.CanCollide = false
  706. Part67.TopSurface = Enum.SurfaceType.Smooth
  707. Model68.Name = "2"
  708. Model68.Parent = Model61
  709. Part69.Parent = Model68
  710. Part69.CFrame = CFrame.new(-9.76000977, 9.97500038, 12.0500031, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  711. Part69.Position = Vector3.new(-9.76000977, 9.97500038, 12.0500031)
  712. Part69.Color = Color3.new(0.411765, 0.25098, 0.156863)
  713. Part69.Size = Vector3.new(29.7000008, 0.0500000007, 29.7000008)
  714. Part69.Anchored = true
  715. Part69.BottomSurface = Enum.SurfaceType.Smooth
  716. Part69.BrickColor = BrickColor.new("Reddish brown")
  717. Part69.CanCollide = false
  718. Part69.Material = Enum.Material.Wood
  719. Part69.TopSurface = Enum.SurfaceType.Smooth
  720. Part69.brickColor = BrickColor.new("Reddish brown")
  721. Part70.Name = "Sub"
  722. Part70.Parent = Model68
  723. Part70.CFrame = CFrame.new(-22.2858696, 9.55001259, 20.9150124, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  724. Part70.Position = Vector3.new(-22.2858696, 9.55001259, 20.9150124)
  725. Part70.Color = Color3.new(0.411765, 0.25098, 0.156863)
  726. Part70.Transparency = 1
  727. Part70.Size = Vector3.new(5.02999783, 3.87999797, 5.96999979)
  728. Part70.Anchored = true
  729. Part70.BottomSurface = Enum.SurfaceType.Smooth
  730. Part70.BrickColor = BrickColor.new("Reddish brown")
  731. Part70.CanCollide = false
  732. Part70.Material = Enum.Material.Wood
  733. Part70.TopSurface = Enum.SurfaceType.Smooth
  734. Part70.brickColor = BrickColor.new("Reddish brown")
  735. Model71.Name = "3"
  736. Model71.Parent = Model61
  737. Part72.Parent = Model71
  738. Part72.CFrame = CFrame.new(-9.76000977, 14.9081974, 12.0500031, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  739. Part72.Position = Vector3.new(-9.76000977, 14.9081974, 12.0500031)
  740. Part72.Color = Color3.new(0.666667, 0, 0)
  741. Part72.Size = Vector3.new(30, 10, 30)
  742. Part72.Anchored = true
  743. Part72.BottomSurface = Enum.SurfaceType.Smooth
  744. Part72.BrickColor = BrickColor.new("Crimson")
  745. Part72.CanCollide = false
  746. Part72.Material = Enum.Material.SmoothPlastic
  747. Part72.TopSurface = Enum.SurfaceType.Smooth
  748. Part72.brickColor = BrickColor.new("Crimson")
  749. Part73.Name = "Sub"
  750. Part73.Parent = Model71
  751. Part73.CFrame = CFrame.new(-9.66501713, 13.9648876, 11.9750042, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  752. Part73.Position = Vector3.new(-9.66501713, 13.9648876, 11.9750042)
  753. Part73.Transparency = 1
  754. Part73.Size = Vector3.new(29.0299931, 18.8300018, 28.7700005)
  755. Part73.Anchored = true
  756. Part73.BottomSurface = Enum.SurfaceType.Smooth
  757. Part73.CanCollide = false
  758. Part73.TopSurface = Enum.SurfaceType.Smooth
  759. Part74.Name = "Sub"
  760. Part74.Parent = Model71
  761. Part74.CFrame = CFrame.new(5.19766665, 14.9205952, 10.5281744, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  762. Part74.Orientation = Vector3.new(0, 90, 0)
  763. Part74.Position = Vector3.new(5.19766665, 14.9205952, 10.5281744)
  764. Part74.Rotation = Vector3.new(0, 90, 0)
  765. Part74.Transparency = 1
  766. Part74.Size = Vector3.new(5.61999989, 5.92999983, 6.3399992)
  767. Part74.Anchored = true
  768. Part74.BottomSurface = Enum.SurfaceType.Smooth
  769. Part74.CanCollide = false
  770. Part74.TopSurface = Enum.SurfaceType.Smooth
  771. Part75.Name = "Sub"
  772. Part75.Parent = Model71
  773. Part75.CFrame = CFrame.new(-24.6446075, 14.9205952, 10.5281744, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  774. Part75.Orientation = Vector3.new(0, 90, 0)
  775. Part75.Position = Vector3.new(-24.6446075, 14.9205952, 10.5281744)
  776. Part75.Rotation = Vector3.new(0, 90, 0)
  777. Part75.Transparency = 1
  778. Part75.Size = Vector3.new(5.61999989, 5.92999983, 6.3399992)
  779. Part75.Anchored = true
  780. Part75.BottomSurface = Enum.SurfaceType.Smooth
  781. Part75.CanCollide = false
  782. Part75.TopSurface = Enum.SurfaceType.Smooth
  783. Part76.Name = "Sub"
  784. Part76.Parent = Model71
  785. Part76.CFrame = CFrame.new(-9.72346973, 14.9205952, -4.39296198, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  786. Part76.Orientation = Vector3.new(0, 180, 0)
  787. Part76.Position = Vector3.new(-9.72346973, 14.9205952, -4.39296198)
  788. Part76.Rotation = Vector3.new(-180, 0, -180)
  789. Part76.Transparency = 1
  790. Part76.Size = Vector3.new(5.61999989, 5.92999983, 6.3399992)
  791. Part76.Anchored = true
  792. Part76.BottomSurface = Enum.SurfaceType.Smooth
  793. Part76.CanCollide = false
  794. Part76.TopSurface = Enum.SurfaceType.Smooth
  795. Part77.Name = "Sub"
  796. Part77.Parent = Model71
  797. Part77.CFrame = CFrame.new(-9.72346783, 14.9205952, 25.4493122, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  798. Part77.Orientation = Vector3.new(0, 180, 0)
  799. Part77.Position = Vector3.new(-9.72346783, 14.9205952, 25.4493122)
  800. Part77.Rotation = Vector3.new(-180, 0, -180)
  801. Part77.Transparency = 1
  802. Part77.Size = Vector3.new(5.61999989, 5.92999983, 6.3399992)
  803. Part77.Anchored = true
  804. Part77.BottomSurface = Enum.SurfaceType.Smooth
  805. Part77.CanCollide = false
  806. Part77.TopSurface = Enum.SurfaceType.Smooth
  807. local normal = {}
  808. local unions = {}
  809. local needunion = {}
  810. local finished = {}
  811. local amount = 0
  812. local max = 0
  813. local name = 0
  814. local normalmodel = script:WaitForChild("Normal")
  815. local unionmodel = script:WaitForChild("Unions")
  816. for i,v in pairs(normalmodel:GetChildren()) do
  817. if v:IsA("Model") and tostring(v.Name) then
  818. table.insert(needunion,1,v)
  819. max = max + 1
  820. end
  821. end
  822. for n = 1,#needunion do
  823. for i,v in pairs(needunion[n]:GetChildren()) do
  824. table.insert(normal,1,v)
  825. end
  826. end
  827. repeat wait() until normal ~= nil
  828. unionname = 0
  829. unioned = false
  830. print(max)
  831. for u = 1,#needunion do
  832. if amount > max then
  833. else
  834. local subpart = {}
  835. local zapart = nil
  836. amount = amount + 1
  837. for i,v in pairs(needunion[amount]:GetDescendants()) do
  838. if (v:IsA("Part") or v:IsA("UnionOperation") or v:IsA("TrussPart") or v:IsA("WedgePart") or v:IsA("MeshPart") or v:IsA("BasePart")) and v.Name == "Sub" then
  839. table.insert(subpart,1,v)
  840. end
  841. if (v:IsA("Part") or v:IsA("UnionOperation") or v:IsA("TrussPart") or v:IsA("WedgePart") or v:IsA("MeshPart") or v:IsA("BasePart")) and v.Name == "Part" then
  842. zapart = v
  843. end
  844. end
  845. local union = zapart:SubtractAsync(subpart)
  846. table.insert(unions,1,union)
  847. end
  848. end
  849.  
  850. for i = 1,#normal do
  851. normal[i]:Destroy()
  852. end
  853. --[[for i = 2,#unions do
  854. unions[i]:Destroy()
  855. end]]
  856. for i = 1,#unions do
  857. unions[i].Parent = unionmodel
  858. unions[i].Transparency = 0
  859. unionmodel.Parent = script
  860. for i,v in pairs(unionmodel:GetDescendants()) do
  861. if v:IsA("Part") or v:IsA("UnionOperation") or v:IsA("TrussPart") or v:IsA("WedgePart") or v:IsA("MeshPart") or v:IsA("BasePart") then
  862. v.CanCollide = true
  863. end
  864. end
  865. end
  866.  
  867. print("Finished Unioning.")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement