Advertisement
lafur

Untitled

Oct 19th, 2018
285
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 250.80 KB | None | 0 0
  1. --Created by PenguinAnonymous (ttyyuu12345) Editied by Dittoide
  2. --What's Added To M2S with Dittoide's Edit?
  3. --/ Better dummy script function to improve compatibility (makes it like you are running the code inside the script.)
  4. --/ Removed Gui In Bottom-Left for when you are making guis.
  5. --/ Removed "Inserting Map Please Wait" gui when selected Workspace as Place to export.
  6. --Credit: PenguinAnonymous for making original script, i just wanted to iron it out to my liking.
  7. --Errors: Camera,Terrain,Attachment,Status,Animator,Accessory
  8. local runDummyScript = function(f,scri)
  9. if (not scri:IsA('Script')) or (not scri:IsA('LocalScript')) then return false; end;
  10. local Dummy_CoRoutine = coroutine.create(function()
  11. getfenv().script = scri
  12. ypcall(function() f() end)
  13. end)
  14. table.insert(cors,Dummy_CoRoutine);
  15. coroutine.resume(Dummy_CoRoutine);
  16. end
  17. cors = {}
  18. mas = Instance.new("Model",game:GetService("Lighting"))
  19. mas.Name = "M2S_Model"
  20. o3 = Instance.new("Model")
  21. o4 = Instance.new("Script")
  22. o5 = Instance.new("Model")
  23. o6 = Instance.new("Part")
  24. o7 = Instance.new("SpecialMesh")
  25. o12 = Instance.new("Sound")
  26. o13 = Instance.new("RemoteEvent")
  27. o14 = Instance.new("Sound")
  28. o15 = Instance.new("RemoteEvent")
  29. o16 = Instance.new("Sound")
  30. o17 = Instance.new("RemoteEvent")
  31. o18 = Instance.new("Sound")
  32. o19 = Instance.new("RemoteEvent")
  33. o20 = Instance.new("Sound")
  34. o21 = Instance.new("RemoteEvent")
  35. o22 = Instance.new("Sound")
  36. o23 = Instance.new("RemoteEvent")
  37. o24 = Instance.new("Sound")
  38. o25 = Instance.new("RemoteEvent")
  39. o26 = Instance.new("Sound")
  40. o27 = Instance.new("RemoteEvent")
  41. o28 = Instance.new("Sound")
  42. o29 = Instance.new("RemoteEvent")
  43. o30 = Instance.new("Decal")
  44. o31 = Instance.new("Part")
  45. o32 = Instance.new("Decal")
  46. o41 = Instance.new("Motor6D")
  47. o42 = Instance.new("Motor6D")
  48. o43 = Instance.new("Motor6D")
  49. o44 = Instance.new("Motor6D")
  50. o45 = Instance.new("Motor6D")
  51. o46 = Instance.new("Part")
  52. o49 = Instance.new("Part")
  53. o52 = Instance.new("Part")
  54. o54 = Instance.new("Part")
  55. o56 = Instance.new("Humanoid")
  56. o59 = Instance.new("Part")
  57. o61 = Instance.new("Motor6D")
  58. o62 = Instance.new("Script")
  59. o63 = Instance.new("LocalScript")
  60. o64 = Instance.new("Script")
  61. o65 = Instance.new("LocalScript")
  62. o66 = Instance.new("StringValue")
  63. o67 = Instance.new("Animation")
  64. o68 = Instance.new("NumberValue")
  65. o69 = Instance.new("Animation")
  66. o70 = Instance.new("NumberValue")
  67. o71 = Instance.new("StringValue")
  68. o72 = Instance.new("Animation")
  69. o73 = Instance.new("StringValue")
  70. o74 = Instance.new("Animation")
  71. o75 = Instance.new("StringValue")
  72. o76 = Instance.new("Animation")
  73. o77 = Instance.new("StringValue")
  74. o78 = Instance.new("Animation")
  75. o79 = Instance.new("StringValue")
  76. o80 = Instance.new("Animation")
  77. o81 = Instance.new("StringValue")
  78. o82 = Instance.new("Animation")
  79. o83 = Instance.new("StringValue")
  80. o84 = Instance.new("Animation")
  81. o85 = Instance.new("NumberValue")
  82. o86 = Instance.new("BodyColors")
  83. o87 = Instance.new("Pants")
  84. o89 = Instance.new("Part")
  85. o90 = Instance.new("SpecialMesh")
  86. o92 = Instance.new("Vector3Value")
  87. o93 = Instance.new("Weld")
  88. o94 = Instance.new("Shirt")
  89. o95 = Instance.new("Model")
  90. o96 = Instance.new("Script")
  91. o97 = Instance.new("Model")
  92. o98 = Instance.new("Part")
  93. o99 = Instance.new("Script")
  94. o100 = Instance.new("Model")
  95. o101 = Instance.new("Part")
  96. o102 = Instance.new("Part")
  97. o103 = Instance.new("CylinderMesh")
  98. o104 = Instance.new("Part")
  99. o105 = Instance.new("Decal")
  100. o106 = Instance.new("Part")
  101. o107 = Instance.new("CylinderMesh")
  102. o108 = Instance.new("Model")
  103. o109 = Instance.new("Model")
  104. o110 = Instance.new("Part")
  105. o111 = Instance.new("ClickDetector")
  106. o112 = Instance.new("Script")
  107. o113 = Instance.new("Script")
  108. o114 = Instance.new("Sound")
  109. o115 = Instance.new("Sound")
  110. o116 = Instance.new("IntValue")
  111. o117 = Instance.new("Model")
  112. o118 = Instance.new("Part")
  113. o119 = Instance.new("Part")
  114. o120 = Instance.new("Part")
  115. o121 = Instance.new("Part")
  116. o122 = Instance.new("Part")
  117. o123 = Instance.new("Part")
  118. o124 = Instance.new("Model")
  119. o125 = Instance.new("Model")
  120. o126 = Instance.new("Part")
  121. o127 = Instance.new("ClickDetector")
  122. o128 = Instance.new("Script")
  123. o129 = Instance.new("Script")
  124. o130 = Instance.new("Sound")
  125. o131 = Instance.new("Sound")
  126. o132 = Instance.new("IntValue")
  127. o133 = Instance.new("Model")
  128. o134 = Instance.new("Part")
  129. o135 = Instance.new("Part")
  130. o136 = Instance.new("Part")
  131. o137 = Instance.new("Part")
  132. o138 = Instance.new("Part")
  133. o139 = Instance.new("Part")
  134. o140 = Instance.new("WedgePart")
  135. o141 = Instance.new("Part")
  136. o142 = Instance.new("Part")
  137. o143 = Instance.new("Part")
  138. o144 = Instance.new("Part")
  139. o145 = Instance.new("Part")
  140. o146 = Instance.new("Part")
  141. o147 = Instance.new("Part")
  142. o148 = Instance.new("Part")
  143. o149 = Instance.new("Part")
  144. o150 = Instance.new("TrussPart")
  145. o151 = Instance.new("Part")
  146. o152 = Instance.new("TrussPart")
  147. o153 = Instance.new("Part")
  148. o154 = Instance.new("Part")
  149. o155 = Instance.new("WedgePart")
  150. o156 = Instance.new("Part")
  151. o157 = Instance.new("WedgePart")
  152. o158 = Instance.new("Part")
  153. o159 = Instance.new("WedgePart")
  154. o160 = Instance.new("WedgePart")
  155. o161 = Instance.new("WedgePart")
  156. o162 = Instance.new("Part")
  157. o163 = Instance.new("Part")
  158. o164 = Instance.new("WedgePart")
  159. o165 = Instance.new("WedgePart")
  160. o166 = Instance.new("Part")
  161. o167 = Instance.new("WedgePart")
  162. o168 = Instance.new("Part")
  163. o169 = Instance.new("WedgePart")
  164. o170 = Instance.new("WedgePart")
  165. o171 = Instance.new("Part")
  166. o172 = Instance.new("Part")
  167. o173 = Instance.new("WedgePart")
  168. o174 = Instance.new("WedgePart")
  169. o175 = Instance.new("WedgePart")
  170. o176 = Instance.new("TrussPart")
  171. o177 = Instance.new("Part")
  172. o178 = Instance.new("TrussPart")
  173. o179 = Instance.new("WedgePart")
  174. o180 = Instance.new("Part")
  175. o181 = Instance.new("Part")
  176. o182 = Instance.new("WedgePart")
  177. o183 = Instance.new("WedgePart")
  178. o184 = Instance.new("Part")
  179. o185 = Instance.new("Part")
  180. o186 = Instance.new("Decal")
  181. o187 = Instance.new("Part")
  182. o188 = Instance.new("CylinderMesh")
  183. o189 = Instance.new("Part")
  184. o190 = Instance.new("WedgePart")
  185. o191 = Instance.new("WedgePart")
  186. o192 = Instance.new("WedgePart")
  187. o193 = Instance.new("WedgePart")
  188. o194 = Instance.new("Part")
  189. o195 = Instance.new("CylinderMesh")
  190. o196 = Instance.new("Part")
  191. o197 = Instance.new("CylinderMesh")
  192. o198 = Instance.new("Part")
  193. o199 = Instance.new("CylinderMesh")
  194. o200 = Instance.new("Part")
  195. o201 = Instance.new("CylinderMesh")
  196. o202 = Instance.new("Part")
  197. o203 = Instance.new("CylinderMesh")
  198. o204 = Instance.new("Part")
  199. o205 = Instance.new("Part")
  200. o206 = Instance.new("CylinderMesh")
  201. o207 = Instance.new("Part")
  202. o208 = Instance.new("CylinderMesh")
  203. o209 = Instance.new("Part")
  204. o210 = Instance.new("Part")
  205. o211 = Instance.new("CylinderMesh")
  206. o212 = Instance.new("Part")
  207. o213 = Instance.new("CylinderMesh")
  208. o214 = Instance.new("Part")
  209. o215 = Instance.new("Part")
  210. o216 = Instance.new("CylinderMesh")
  211. o217 = Instance.new("Part")
  212. o218 = Instance.new("CylinderMesh")
  213. o219 = Instance.new("Part")
  214. o220 = Instance.new("CylinderMesh")
  215. o221 = Instance.new("Part")
  216. o222 = Instance.new("CylinderMesh")
  217. o223 = Instance.new("Part")
  218. o224 = Instance.new("CylinderMesh")
  219. o225 = Instance.new("Part")
  220. o226 = Instance.new("CylinderMesh")
  221. o227 = Instance.new("Part")
  222. o228 = Instance.new("CylinderMesh")
  223. o229 = Instance.new("Part")
  224. o230 = Instance.new("CylinderMesh")
  225. o231 = Instance.new("Part")
  226. o232 = Instance.new("CylinderMesh")
  227. o233 = Instance.new("Part")
  228. o234 = Instance.new("CylinderMesh")
  229. o235 = Instance.new("Part")
  230. o236 = Instance.new("CylinderMesh")
  231. o237 = Instance.new("Part")
  232. o238 = Instance.new("CylinderMesh")
  233. o239 = Instance.new("Part")
  234. o240 = Instance.new("CylinderMesh")
  235. o241 = Instance.new("Part")
  236. o242 = Instance.new("CylinderMesh")
  237. o243 = Instance.new("Part")
  238. o244 = Instance.new("CylinderMesh")
  239. o245 = Instance.new("WedgePart")
  240. o246 = Instance.new("Part")
  241. o247 = Instance.new("WedgePart")
  242. o248 = Instance.new("Part")
  243. o249 = Instance.new("Part")
  244. o250 = Instance.new("Part")
  245. o251 = Instance.new("CylinderMesh")
  246. o252 = Instance.new("Part")
  247. o253 = Instance.new("WedgePart")
  248. o254 = Instance.new("WedgePart")
  249. o255 = Instance.new("Part")
  250. o256 = Instance.new("WedgePart")
  251. o257 = Instance.new("Part")
  252. o258 = Instance.new("Part")
  253. o259 = Instance.new("Part")
  254. o260 = Instance.new("WedgePart")
  255. o261 = Instance.new("VehicleSeat")
  256. o262 = Instance.new("WedgePart")
  257. o263 = Instance.new("Part")
  258. o264 = Instance.new("Part")
  259. o265 = Instance.new("Decal")
  260. o266 = Instance.new("Part")
  261. o267 = Instance.new("WedgePart")
  262. o268 = Instance.new("WedgePart")
  263. o269 = Instance.new("Part")
  264. o270 = Instance.new("WedgePart")
  265. o271 = Instance.new("Part")
  266. o272 = Instance.new("CylinderMesh")
  267. o273 = Instance.new("Part")
  268. o274 = Instance.new("CylinderMesh")
  269. o275 = Instance.new("Part")
  270. o276 = Instance.new("CylinderMesh")
  271. o277 = Instance.new("Part")
  272. o278 = Instance.new("CylinderMesh")
  273. o279 = Instance.new("Part")
  274. o280 = Instance.new("CylinderMesh")
  275. o281 = Instance.new("Model")
  276. o282 = Instance.new("Model")
  277. o283 = Instance.new("Part")
  278. o284 = Instance.new("Sound")
  279. o285 = Instance.new("SpecialMesh")
  280. o286 = Instance.new("Decal")
  281. o287 = Instance.new("Model")
  282. o288 = Instance.new("Part")
  283. o289 = Instance.new("Script")
  284. o290 = Instance.new("Script")
  285. o291 = Instance.new("Sound")
  286. o292 = Instance.new("ClickDetector")
  287. o293 = Instance.new("IntValue")
  288. o294 = Instance.new("Part")
  289. o295 = Instance.new("CylinderMesh")
  290. o296 = Instance.new("Part")
  291. o297 = Instance.new("CylinderMesh")
  292. o298 = Instance.new("Part")
  293. o299 = Instance.new("Part")
  294. o300 = Instance.new("WedgePart")
  295. o301 = Instance.new("Part")
  296. o302 = Instance.new("CylinderMesh")
  297. o303 = Instance.new("Part")
  298. o304 = Instance.new("Part")
  299. o305 = Instance.new("CylinderMesh")
  300. o306 = Instance.new("Part")
  301. o307 = Instance.new("CylinderMesh")
  302. o308 = Instance.new("Part")
  303. o309 = Instance.new("CylinderMesh")
  304. o310 = Instance.new("Part")
  305. o311 = Instance.new("CylinderMesh")
  306. o312 = Instance.new("Part")
  307. o313 = Instance.new("CylinderMesh")
  308. o314 = Instance.new("Part")
  309. o315 = Instance.new("CylinderMesh")
  310. o316 = Instance.new("Part")
  311. o317 = Instance.new("CylinderMesh")
  312. o318 = Instance.new("Part")
  313. o319 = Instance.new("CylinderMesh")
  314. o320 = Instance.new("Part")
  315. o321 = Instance.new("CylinderMesh")
  316. o322 = Instance.new("Part")
  317. o323 = Instance.new("CylinderMesh")
  318. o324 = Instance.new("Part")
  319. o325 = Instance.new("CylinderMesh")
  320. o326 = Instance.new("Part")
  321. o327 = Instance.new("CylinderMesh")
  322. o328 = Instance.new("Part")
  323. o329 = Instance.new("CylinderMesh")
  324. o330 = Instance.new("Part")
  325. o331 = Instance.new("CylinderMesh")
  326. o332 = Instance.new("Part")
  327. o333 = Instance.new("CylinderMesh")
  328. o334 = Instance.new("Part")
  329. o335 = Instance.new("CylinderMesh")
  330. o336 = Instance.new("Part")
  331. o337 = Instance.new("CylinderMesh")
  332. o338 = Instance.new("Part")
  333. o339 = Instance.new("CylinderMesh")
  334. o340 = Instance.new("Part")
  335. o341 = Instance.new("CylinderMesh")
  336. o342 = Instance.new("Part")
  337. o343 = Instance.new("Part")
  338. o344 = Instance.new("CylinderMesh")
  339. o345 = Instance.new("Part")
  340. o346 = Instance.new("Part")
  341. o347 = Instance.new("CylinderMesh")
  342. o348 = Instance.new("Part")
  343. o349 = Instance.new("CylinderMesh")
  344. o350 = Instance.new("Part")
  345. o351 = Instance.new("CylinderMesh")
  346. o352 = Instance.new("Part")
  347. o353 = Instance.new("CylinderMesh")
  348. o354 = Instance.new("Part")
  349. o355 = Instance.new("CylinderMesh")
  350. o356 = Instance.new("Part")
  351. o357 = Instance.new("CylinderMesh")
  352. o358 = Instance.new("Part")
  353. o359 = Instance.new("CylinderMesh")
  354. o360 = Instance.new("Part")
  355. o361 = Instance.new("Part")
  356. o362 = Instance.new("CylinderMesh")
  357. o363 = Instance.new("Part")
  358. o364 = Instance.new("Model")
  359. o365 = Instance.new("Model")
  360. o366 = Instance.new("Part")
  361. o367 = Instance.new("Sound")
  362. o368 = Instance.new("SpecialMesh")
  363. o369 = Instance.new("Decal")
  364. o370 = Instance.new("Model")
  365. o371 = Instance.new("Part")
  366. o372 = Instance.new("Script")
  367. o373 = Instance.new("Script")
  368. o374 = Instance.new("Sound")
  369. o375 = Instance.new("ClickDetector")
  370. o376 = Instance.new("IntValue")
  371. o377 = Instance.new("Part")
  372. o378 = Instance.new("SpecialMesh")
  373. o379 = Instance.new("Part")
  374. o380 = Instance.new("SpecialMesh")
  375. o3.Name = "Compiled scripts"
  376. o3.Parent = mas
  377. o4.Name = "CScript1"
  378. o4.Parent = o3
  379. o4.Disabled = true
  380.  
  381. runDummyScript(function()
  382. --Created by PenguinAnonymous (ttyyuu12345) Editied by Dittoide
  383. --What's Added To M2S with Dittoide's Edit?
  384. --/ Better dummy script function to improve compatibility (makes it like you are running the code inside the script.)
  385. --/ Removed Gui In Bottom-Left for when you are making guis.
  386. --/ Removed "Inserting Map Please Wait" gui when selected Workspace as Place to export.
  387. --Credit: PenguinAnonymous for making original script, i just wanted to iron it out to my liking.
  388. --Errors: Camera,Terrain
  389. local runDummyScript = function(f,scri)
  390. if (not scri:IsA('Script')) or (not scri:IsA('LocalScript')) then return false; end;
  391. local Dummy_CoRoutine = coroutine.create(function()
  392. getfenv().script = scri
  393. ypcall(function() f() end)
  394. end)
  395. table.insert(cors,Dummy_CoRoutine);
  396. coroutine.resume(Dummy_CoRoutine);
  397. end
  398. cors = {}
  399. mas = Instance.new("Model",game:GetService("Lighting"))
  400. mas.Name = "M2S_Model"
  401. o3 = Instance.new("Model")
  402. o4 = Instance.new("Part")
  403. o5 = Instance.new("SpecialMesh")
  404. o6 = Instance.new("Part")
  405. o7 = Instance.new("Part")
  406. o8 = Instance.new("Part")
  407. o9 = Instance.new("Part")
  408. o10 = Instance.new("Part")
  409. o3.Parent = mas
  410. o4.Parent = o3
  411. o4.BrickColor = BrickColor.new("Dark stone grey")
  412. o4.Transparency = 0.30000001192093
  413. o4.Position = Vector3.new(-19.7996979, 32.7543106, 52)
  414. o4.Rotation = Vector3.new(-86.5400009, 29.9599991, -1.73000002)
  415. o4.Size = Vector3.new(4, 2.4000001, 2)
  416. o4.CFrame = CFrame.new(-19.7996979, 32.7543106, 52, 0.865938365, 0.0261758789, 0.499465615, -0.500151098, 0.0453196988, 0.864751697, 1.86264537e-09, -0.998629689, 0.052335944)
  417. o4.Color = Color3.new(0.388235, 0.372549, 0.384314)
  418. o4.Position = Vector3.new(-19.7996979, 32.7543106, 52)
  419. o5.Parent = o4
  420. o5.MeshId = "http://www.roblox.com/asset/?id=12221720"
  421. o5.Scale = Vector3.new(4, 4, 4)
  422. o5.MeshType = Enum.MeshType.FileMesh
  423. o6.Parent = o3
  424. o6.BrickColor = BrickColor.new("Dark stone grey")
  425. o6.Position = Vector3.new(-26, 21.7224236, 51)
  426. o6.Rotation = Vector3.new(-90, -59.9899979, 90)
  427. o6.Size = Vector3.new(4, 9.60000038, 4)
  428. o6.CFrame = CFrame.new(-26, 21.7224236, 51, 0, -0.500150919, -0.865937889, 0, -0.865937889, 0.500150919, -1, 0, 0)
  429. o6.BottomSurface = Enum.SurfaceType.Smooth
  430. o6.TopSurface = Enum.SurfaceType.Smooth
  431. o6.Color = Color3.new(0.388235, 0.372549, 0.384314)
  432. o6.Position = Vector3.new(-26, 21.7224236, 51)
  433. o7.Parent = o3
  434. o7.BrickColor = BrickColor.new("Dark stone grey")
  435. o7.Position = Vector3.new(-32, 16.7224045, 51)
  436. o7.Rotation = Vector3.new(0, 90, 0)
  437. o7.Size = Vector3.new(4, 9.60000038, 8)
  438. o7.CFrame = CFrame.new(-32, 16.7224045, 51, -0, 0, 1, -0, 1, 0, -1, 0, 0)
  439. o7.TopSurface = Enum.SurfaceType.Smooth
  440. o7.Color = Color3.new(0.388235, 0.372549, 0.384314)
  441. o7.Position = Vector3.new(-32, 16.7224045, 51)
  442. o8.Parent = o3
  443. o8.BrickColor = BrickColor.new("Dark stone grey")
  444. o8.Position = Vector3.new(-39.0000038, 17.5224171, 51)
  445. o8.Rotation = Vector3.new(90, 69, -90)
  446. o8.Size = Vector3.new(4, 9.60000038, 4)
  447. o8.CFrame = CFrame.new(-39.0000038, 17.5224171, 51, 0, 0.358368039, 0.933580935, 0, 0.933580935, -0.358368039, -1, 0, 0)
  448. o8.BottomSurface = Enum.SurfaceType.Smooth
  449. o8.TopSurface = Enum.SurfaceType.Smooth
  450. o8.Color = Color3.new(0.388235, 0.372549, 0.384314)
  451. o8.Position = Vector3.new(-39.0000038, 17.5224171, 51)
  452. o9.Parent = o3
  453. o9.BrickColor = BrickColor.new("Dark stone grey")
  454. o9.Position = Vector3.new(-29, 7.72241306, 51)
  455. o9.Rotation = Vector3.new(-90, 75, 90)
  456. o9.Size = Vector3.new(4, 10.8000002, 4)
  457. o9.CFrame = CFrame.new(-29, 7.72241306, 51, 0, -0.258819133, 0.96592629, 0, 0.96592629, 0.258819133, -1, 0, 0)
  458. o9.TopSurface = Enum.SurfaceType.Smooth
  459. o9.Color = Color3.new(0.388235, 0.372549, 0.384314)
  460. o9.Position = Vector3.new(-29, 7.72241306, 51)
  461. o10.Parent = o3
  462. o10.BrickColor = BrickColor.new("Dark stone grey")
  463. o10.Position = Vector3.new(-34, 7.12241077, 51)
  464. o10.Rotation = Vector3.new(0, 90, 0)
  465. o10.Size = Vector3.new(4, 9.60000038, 4)
  466. o10.CFrame = CFrame.new(-34, 7.12241077, 51, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  467. o10.TopSurface = Enum.SurfaceType.Smooth
  468. o10.Color = Color3.new(0.388235, 0.372549, 0.384314)
  469. o10.Position = Vector3.new(-34, 7.12241077, 51)
  470. mas.Parent = workspace
  471. mas:MakeJoints()
  472. local mas1 = mas:GetChildren()
  473. for i=1,#mas1 do
  474. mas1[i].Parent = workspace
  475. ypcall(function() mas1[i]:MakeJoints() end)
  476. end
  477. mas:Destroy()
  478. for i=1,#cors do
  479. coroutine.resume(cors[i])
  480. end
  481. mess_handle.Text = "Resetting"
  482. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  483. v:LoadCharacter()
  484. end
  485. wait(1)
  486. mess_handle:Remove()
  487.  
  488. end,o4)
  489.  
  490. o5.Name = "timetodie23232223"
  491. o5.Parent = mas
  492. o5.Archivable = false
  493. o5.PrimaryPart = o6
  494. o6.Name = "Head"
  495. o6.Parent = o5
  496. o6.BrickColor = BrickColor.new("Pastel brown")
  497. o6.Position = Vector3.new(3.86401534, 6.46996498, 16.9984913)
  498. o6.Rotation = Vector3.new(0.379999995, -6.07999992, 0.0399999991)
  499. o6.Locked = true
  500. o6.FormFactor = Enum.FormFactor.Symmetric
  501. o6.Size = Vector3.new(2, 1, 1)
  502. o6.CFrame = CFrame.new(3.86401534, 6.46996498, 16.9984913, 0.994382679, -0.000683843915, -0.105841152, -7.1636955e-06, 0.999978721, -0.00652824668, 0.105843365, 0.00649233395, 0.99436152)
  503. o6.TopSurface = Enum.SurfaceType.Smooth
  504. o6.Color = Color3.new(1, 0.8, 0.6)
  505. o6.Position = Vector3.new(3.86401534, 6.46996498, 16.9984913)
  506. o7.Parent = o6
  507. o7.Scale = Vector3.new(1.25, 1.25, 1.25)
  508. o12.Name = "GettingUp"
  509. o12.Parent = o6
  510. o12.Archivable = false
  511. o12.SoundId = "rbxasset://sounds/action_get_up.mp3"
  512. o12.Volume = 0.64999997615814
  513. o13.Name = "CharacterSoundEvent"
  514. o13.Parent = o12
  515. o14.Name = "Died"
  516. o14.Parent = o6
  517. o14.Archivable = false
  518. o14.SoundId = "rbxasset://sounds/uuhhh.mp3"
  519. o14.Volume = 0.64999997615814
  520. o15.Name = "CharacterSoundEvent"
  521. o15.Parent = o14
  522. o16.Name = "FreeFalling"
  523. o16.Parent = o6
  524. o16.Archivable = false
  525. o16.SoundId = "rbxasset://sounds/action_falling.mp3"
  526. o16.TimePosition = 0.051524044646158
  527. o16.Volume = 0
  528. o16.Looped = true
  529. o17.Name = "CharacterSoundEvent"
  530. o17.Parent = o16
  531. o18.Name = "Jumping"
  532. o18.Parent = o6
  533. o18.Archivable = false
  534. o18.SoundId = "rbxasset://sounds/action_jump.mp3"
  535. o18.Volume = 0.64999997615814
  536. o19.Name = "CharacterSoundEvent"
  537. o19.Parent = o18
  538. o20.Name = "Landing"
  539. o20.Parent = o6
  540. o20.Archivable = false
  541. o20.SoundId = "rbxasset://sounds/action_jump_land.mp3"
  542. o20.Volume = 1
  543. o21.Name = "CharacterSoundEvent"
  544. o21.Parent = o20
  545. o22.Name = "Splash"
  546. o22.Parent = o6
  547. o22.Archivable = false
  548. o22.SoundId = "rbxasset://sounds/impact_water.mp3"
  549. o22.Volume = 0.64999997615814
  550. o23.Name = "CharacterSoundEvent"
  551. o23.Parent = o22
  552. o24.Name = "Running"
  553. o24.Parent = o6
  554. o24.Archivable = false
  555. o24.Pitch = 1.8500000238419
  556. o24.SoundId = "rbxasset://sounds/action_footsteps_plastic.mp3"
  557. o24.TimePosition = 0.49855927288596
  558. o24.Volume = 0.64999997615814
  559. o24.Looped = true
  560. o25.Name = "CharacterSoundEvent"
  561. o25.Parent = o24
  562. o26.Name = "Swimming"
  563. o26.Parent = o6
  564. o26.Archivable = false
  565. o26.Pitch = 1.6000000238419
  566. o26.SoundId = "rbxasset://sounds/action_swim.mp3"
  567. o26.Volume = 0.64999997615814
  568. o26.Looped = true
  569. o27.Name = "CharacterSoundEvent"
  570. o27.Parent = o26
  571. o28.Name = "Climbing"
  572. o28.Parent = o6
  573. o28.Archivable = false
  574. o28.SoundId = "rbxasset://sounds/action_footsteps_plastic.mp3"
  575. o28.TimePosition = 1.565485548994
  576. o28.Volume = 0.64999997615814
  577. o28.Looped = true
  578. o29.Name = "CharacterSoundEvent"
  579. o29.Parent = o28
  580. o30.Name = "face"
  581. o30.Parent = o6
  582. o30.Texture = "http://www.roblox.com/asset/?id=13038247"
  583. o31.Name = "Torso"
  584. o31.Parent = o5
  585. o31.BrickColor = BrickColor.new("Pastel brown")
  586. o31.Position = Vector3.new(3.86435723, 4.99787331, 16.995245)
  587. o31.Rotation = Vector3.new(0, -6.00999975, 0)
  588. o31.Locked = true
  589. o31.FormFactor = Enum.FormFactor.Symmetric
  590. o31.Size = Vector3.new(2, 2, 1)
  591. o31.CFrame = CFrame.new(3.86435723, 4.99787331, 16.995245, 0.994495988, 6.81730796e-08, -0.104773507, -6.16598825e-08, 1, 6.54036469e-08, 0.104773507, -5.85833497e-08, 0.994495988)
  592. o31.LeftSurface = Enum.SurfaceType.Weld
  593. o31.RightSurface = Enum.SurfaceType.Weld
  594. o31.Color = Color3.new(1, 0.8, 0.6)
  595. o31.Position = Vector3.new(3.86435723, 4.99787331, 16.995245)
  596. o32.Name = "roblox"
  597. o32.Parent = o31
  598. o41.Name = "Right Shoulder"
  599. o41.Parent = o31
  600. o41.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  601. o41.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  602. o41.Part0 = o31
  603. o41.Part1 = o49
  604. o41.CurrentAngle = 0.0019675116054714
  605. o41.MaxVelocity = 0.10000000149012
  606. o42.Name = "Left Shoulder"
  607. o42.Parent = o31
  608. o42.C0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  609. o42.C1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  610. o42.Part0 = o31
  611. o42.Part1 = o46
  612. o42.CurrentAngle = -0.0028915060684085
  613. o42.MaxVelocity = 0.10000000149012
  614. o43.Name = "Right Hip"
  615. o43.Parent = o31
  616. o43.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  617. o43.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  618. o43.Part0 = o31
  619. o43.Part1 = o54
  620. o43.MaxVelocity = 0.10000000149012
  621. o44.Name = "Left Hip"
  622. o44.Parent = o31
  623. o44.C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  624. o44.C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  625. o44.Part0 = o31
  626. o44.Part1 = o52
  627. o44.MaxVelocity = 0.10000000149012
  628. o45.Name = "Neck"
  629. o45.Parent = o31
  630. o45.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  631. o45.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  632. o45.Part0 = o31
  633. o45.Part1 = o6
  634. o45.MaxVelocity = 0.10000000149012
  635. o46.Name = "Left Arm"
  636. o46.Parent = o5
  637. o46.BrickColor = BrickColor.new("Pastel brown")
  638. o46.Position = Vector3.new(2.37062025, 5.00776863, 16.8409138)
  639. o46.Rotation = Vector3.new(-0.179999992, -5.83999968, -0.209999993)
  640. o46.CanCollide = false
  641. o46.Locked = true
  642. o46.FormFactor = Enum.FormFactor.Symmetric
  643. o46.Size = Vector3.new(1, 2, 1)
  644. o46.CFrame = CFrame.new(2.37062025, 5.00776863, 16.8409138, 0.994794428, 0.00368716754, -0.101834379, -0.00339000067, 0.99998945, 0.00309120212, 0.101844728, -0.00272991275, 0.994796395)
  645. o46.Color = Color3.new(1, 0.8, 0.6)
  646. o46.Position = Vector3.new(2.37062025, 5.00776863, 16.8409138)
  647. o49.Name = "Right Arm"
  648. o49.Parent = o5
  649. o49.BrickColor = BrickColor.new("Pastel brown")
  650. o49.Position = Vector3.new(5.35913086, 5.00377369, 17.1595459)
  651. o49.Rotation = Vector3.new(-0.299999982, -6.5, 0.399999976)
  652. o49.CanCollide = false
  653. o49.Locked = true
  654. o49.FormFactor = Enum.FormFactor.Symmetric
  655. o49.Size = Vector3.new(1, 2, 1)
  656. o49.CFrame = CFrame.new(5.35913086, 5.00377369, 17.1595459, 0.993554533, -0.00700211991, -0.113137916, 0.00763097685, 0.99995774, 0.00512631144, 0.113097243, -0.00595660741, 0.993565977)
  657. o49.Color = Color3.new(1, 0.8, 0.6)
  658. o49.Position = Vector3.new(5.35913086, 5.00377369, 17.1595459)
  659. o52.Name = "Left Leg"
  660. o52.Parent = o5
  661. o52.BrickColor = BrickColor.new("Pastel brown")
  662. o52.Position = Vector3.new(3.36710906, 2.99945736, 16.9428577)
  663. o52.Rotation = Vector3.new(0, -6.00999975, 0)
  664. o52.CanCollide = false
  665. o52.Locked = true
  666. o52.FormFactor = Enum.FormFactor.Symmetric
  667. o52.Size = Vector3.new(1, 2, 1)
  668. o52.CFrame = CFrame.new(3.36710906, 2.99945736, 16.9428577, 0.994495988, 6.81730796e-08, -0.104773507, -6.16598825e-08, 1, 6.54036469e-08, 0.104773507, -5.85833497e-08, 0.994495988)
  669. o52.BottomSurface = Enum.SurfaceType.Smooth
  670. o52.Color = Color3.new(1, 0.8, 0.6)
  671. o52.Position = Vector3.new(3.36710906, 2.99945736, 16.9428577)
  672. o54.Name = "Right Leg"
  673. o54.Parent = o5
  674. o54.BrickColor = BrickColor.new("Pastel brown")
  675. o54.Position = Vector3.new(4.36160517, 2.99813628, 17.0476322)
  676. o54.Rotation = Vector3.new(0, -6.00999975, 0)
  677. o54.CanCollide = false
  678. o54.Locked = true
  679. o54.FormFactor = Enum.FormFactor.Symmetric
  680. o54.Size = Vector3.new(1, 2, 1)
  681. o54.CFrame = CFrame.new(4.36160517, 2.99813628, 17.0476322, 0.994495988, 6.81730796e-08, -0.104773507, -6.16598825e-08, 1, 6.54036469e-08, 0.104773507, -5.85833497e-08, 0.994495988)
  682. o54.BottomSurface = Enum.SurfaceType.Smooth
  683. o54.Color = Color3.new(1, 0.8, 0.6)
  684. o54.Position = Vector3.new(4.36160517, 2.99813628, 17.0476322)
  685. o56.Parent = o5
  686. o56.RightLeg = o54
  687. o56.LeftLeg = o52
  688. o56.Torso = o59
  689. o59.Name = "HumanoidRootPart"
  690. o59.Parent = o5
  691. o59.Transparency = 1
  692. o59.Position = Vector3.new(3.86435723, 5, 16.995245)
  693. o59.Rotation = Vector3.new(0, -6.00999975, 0)
  694. o59.CanCollide = false
  695. o59.Locked = true
  696. o59.FormFactor = Enum.FormFactor.Symmetric
  697. o59.Size = Vector3.new(2, 2, 1)
  698. o59.CFrame = CFrame.new(3.86435723, 5, 16.995245, 0.994495988, 6.81730796e-08, -0.104773507, -6.16598825e-08, 1, 6.54036469e-08, 0.104773507, -5.85833497e-08, 0.994495988)
  699. o59.BottomSurface = Enum.SurfaceType.Smooth
  700. o59.TopSurface = Enum.SurfaceType.Smooth
  701. o59.Position = Vector3.new(3.86435723, 5, 16.995245)
  702. o61.Name = "RootJoint"
  703. o61.Parent = o59
  704. o61.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  705. o61.C1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  706. o61.Part0 = o59
  707. o61.Part1 = o31
  708. o61.MaxVelocity = 0.10000000149012
  709. o62.Name = "Sound"
  710. o62.Parent = o5
  711.  
  712. runDummyScript(function()
  713. --[[
  714. Author: @spotco
  715. This script creates sounds which are placed under the character head.
  716. These sounds are used by the "LocalSound" script.
  717.  
  718. To modify this script, copy it to your "StarterPlayer/StarterCharacterScripts" folder keeping the same script name ("Sound").
  719. The default Sound script loaded for every character will then be replaced with your copy of the script.
  720. ]]--
  721. local ReplicatedStorage = game:GetService("ReplicatedStorage")
  722. local Players = game:GetService("Players")
  723.  
  724. local SOUND_EVENT_FOLDER_NAME = "DefaultSoundEvents"
  725. local DEFAULT_SERVER_SOUND_EVENT_NAME = "DefaultServerSoundEvent"
  726.  
  727. local SoundEventFolder = ReplicatedStorage:FindFirstChild(SOUND_EVENT_FOLDER_NAME)
  728. local DefaultServerSoundEvent = nil
  729.  
  730. local useSoundDispatcher = UserSettings():IsUserFeatureEnabled("UserUseSoundDispatcher")
  731. if useSoundDispatcher then
  732. if not SoundEventFolder then
  733. SoundEventFolder = Instance.new("Folder")
  734. SoundEventFolder.Name = SOUND_EVENT_FOLDER_NAME
  735. SoundEventFolder.Archivable = false
  736. SoundEventFolder.Parent = ReplicatedStorage
  737. end
  738.  
  739. DefaultServerSoundEvent = SoundEventFolder:FindFirstChild(DEFAULT_SERVER_SOUND_EVENT_NAME)
  740. else
  741. DefaultServerSoundEvent = ReplicatedStorage:FindFirstChild(DEFAULT_SERVER_SOUND_EVENT_NAME)
  742. end
  743.  
  744. if not DefaultServerSoundEvent then
  745. if useSoundDispatcher then
  746. DefaultServerSoundEvent = Instance.new("RemoteEvent", SoundEventFolder)
  747. else
  748. DefaultServerSoundEvent = Instance.new("RemoteEvent", ReplicatedStorage)
  749. end
  750.  
  751. DefaultServerSoundEvent.Name = DEFAULT_SERVER_SOUND_EVENT_NAME
  752. DefaultServerSoundEvent.OnServerEvent:Connect(function() end)
  753. end
  754.  
  755. local function CreateNewSound(name, id, looped, pitch, parent)
  756. local sound = Instance.new("Sound")
  757. sound.SoundId = id
  758. sound.Name = name
  759. sound.archivable = false
  760. sound.Pitch = pitch
  761. sound.Looped = looped
  762. sound.MinDistance = 5
  763. sound.MaxDistance = 150
  764. sound.Volume = 0.65
  765. sound.Parent = parent
  766.  
  767. if DefaultServerSoundEvent then
  768. local CharacterSoundEvent = Instance.new("RemoteEvent", sound)
  769. CharacterSoundEvent.Name = "CharacterSoundEvent"
  770. CharacterSoundEvent.OnServerEvent:Connect(function(player, playing, resetPosition)
  771. if type(playing) ~= "boolean" then
  772. return
  773. end
  774. if type(resetPosition) ~= "boolean" then
  775. return
  776. end
  777.  
  778. if player.Character ~= script.Parent then
  779. return
  780. end
  781. for _, p in pairs(Players:GetPlayers()) do
  782. if p ~= player then
  783. -- Connect to the dispatcher to check if the player has loaded.
  784. if useSoundDispatcher then
  785. SoundEventFolder:FindFirstChild("SoundDispatcher"):Fire(p, sound, playing, resetPosition)
  786. else
  787. DefaultServerSoundEvent:FireClient(p, sound, playing, resetPosition)
  788. end
  789. end
  790. end
  791. end)
  792. end
  793. return sound
  794. end
  795.  
  796. local head = script.Parent:FindFirstChild("Head")
  797. if not head then
  798. error("Sound script parent has no child Head.")
  799. return
  800. end
  801.  
  802. CreateNewSound("GettingUp", "rbxasset://sounds/action_get_up.mp3", false, 1, head)
  803. CreateNewSound("Died", "rbxasset://sounds/uuhhh.mp3", false, 1, head)
  804. CreateNewSound("FreeFalling", "rbxasset://sounds/action_falling.mp3", true, 1, head)
  805. CreateNewSound("Jumping", "rbxasset://sounds/action_jump.mp3", false, 1, head)
  806. CreateNewSound("Landing", "rbxasset://sounds/action_jump_land.mp3", false, 1, head)
  807. CreateNewSound("Splash", "rbxasset://sounds/impact_water.mp3", false, 1, head)
  808. CreateNewSound("Running", "rbxasset://sounds/action_footsteps_plastic.mp3", true, 1.85, head)
  809. CreateNewSound("Swimming", "rbxasset://sounds/action_swim.mp3", true, 1.6, head)
  810. CreateNewSound("Climbing", "rbxasset://sounds/action_footsteps_plastic.mp3", true, 1, head)
  811. end,o62)
  812.  
  813. o63.Name = "LocalSound"
  814. o63.Parent = o62
  815.  
  816. runDummyScript(function()
  817. --[[
  818. Author: @spotco
  819. This script runs locally for the player of the given humanoid.
  820. This script triggers humanoid sound play/pause actions locally.
  821.  
  822. The Playing/TimePosition properties of Sound objects bypass FilteringEnabled, so this triggers the sound
  823. immediately for the player and is replicated to all other players.
  824.  
  825. This script is optimized to reduce network traffic through minimizing the amount of property replication.
  826. ]]--
  827.  
  828. --All sounds are referenced by this ID
  829. local SFX = {
  830. Died = 0;
  831. Running = 1;
  832. Swimming = 2;
  833. Climbing = 3,
  834. Jumping = 4;
  835. GettingUp = 5;
  836. FreeFalling = 6;
  837. FallingDown = 7;
  838. Landing = 8;
  839. Splash = 9;
  840. }
  841.  
  842. local useUpdatedLocalSoundFlag = UserSettings():IsUserFeatureEnabled("UserFixCharacterSoundIssues")
  843.  
  844. local Humanoid = nil
  845. local Head = nil
  846. --SFX ID to Sound object
  847. local Sounds = {}
  848. local SoundService = game:GetService("SoundService")
  849. local soundEventFolderName = "DefaultSoundEvents"
  850. local ReplicatedStorage = game:GetService("ReplicatedStorage")
  851. local AddCharacterLoadedEvent = nil
  852. local RemoveCharacterEvent = nil
  853. local soundEventFolder = ReplicatedStorage:FindFirstChild(soundEventFolderName)
  854. local useSoundDispatcher = UserSettings():IsUserFeatureEnabled("UserUseSoundDispatcher")
  855.  
  856. if useSoundDispatcher then
  857. if not soundEventFolder then
  858. soundEventFolder = Instance.new("Folder", ReplicatedStorage)
  859. soundEventFolder.Name = soundEventFolderName
  860. soundEventFolder.Archivable = false
  861. end
  862.  
  863. -- Load the RemoveCharacterEvent
  864. RemoveCharacterEvent = soundEventFolder:FindFirstChild("RemoveCharacterEvent")
  865. if RemoveCharacterEvent == nil then
  866. RemoveCharacterEvent = Instance.new("RemoteEvent", soundEventFolder)
  867. RemoveCharacterEvent.Name = "RemoveCharacterEvent"
  868. end
  869.  
  870. AddCharacterLoadedEvent = soundEventFolder:FindFirstChild("AddCharacterLoadedEvent")
  871. if AddCharacterLoadedEvent == nil then
  872. AddCharacterLoadedEvent = Instance.new("RemoteEvent", soundEventFolder)
  873. AddCharacterLoadedEvent.Name = "AddCharacterLoadedEvent"
  874. end
  875.  
  876. -- Notify the server a new character has been loaded
  877. AddCharacterLoadedEvent:FireServer()
  878.  
  879. -- Notify the sound dispatcher this character has left.
  880. game.Players.LocalPlayer.CharacterRemoving:connect(function(character)
  881. RemoveCharacterEvent:FireServer(game.Players.LocalPlayer)
  882. end)
  883. end
  884.  
  885. do
  886. local Figure = script.Parent.Parent
  887. Head = Figure:WaitForChild("Head")
  888. while not Humanoid do
  889. for _,NewHumanoid in pairs(Figure:GetChildren()) do
  890. if NewHumanoid:IsA("Humanoid") then
  891. Humanoid = NewHumanoid
  892. break
  893. end
  894. end
  895. if Humanoid then break end
  896. Figure.ChildAdded:wait()
  897. end
  898. Sounds[SFX.Died] = Head:WaitForChild("Died")
  899. Sounds[SFX.Running] = Head:WaitForChild("Running")
  900. Sounds[SFX.Swimming] = Head:WaitForChild("Swimming")
  901. Sounds[SFX.Climbing] = Head:WaitForChild("Climbing")
  902. Sounds[SFX.Jumping] = Head:WaitForChild("Jumping")
  903. Sounds[SFX.GettingUp] = Head:WaitForChild("GettingUp")
  904. Sounds[SFX.FreeFalling] = Head:WaitForChild("FreeFalling")
  905. Sounds[SFX.Landing] = Head:WaitForChild("Landing")
  906. Sounds[SFX.Splash] = Head:WaitForChild("Splash")
  907.  
  908. local DefaultServerSoundEvent = nil
  909. if useSoundDispatcher then
  910. DefaultServerSoundEvent = soundEventFolder:FindFirstChild("DefaultServerSoundEvent")
  911. else
  912. DefaultServerSoundEvent = game:GetService("ReplicatedStorage"):FindFirstChild("DefaultServerSoundEvent")
  913. end
  914.  
  915. if DefaultServerSoundEvent then
  916. DefaultServerSoundEvent.OnClientEvent:connect(function(sound, playing, resetPosition)
  917. if resetPosition and sound.TimePosition ~= 0 then
  918. sound.TimePosition = 0
  919. end
  920. if sound.IsPlaying ~= playing then
  921. sound.Playing = playing
  922. end
  923. end)
  924. end
  925. end
  926.  
  927. local IsSoundFilteringEnabled = function()
  928. return game.Workspace.FilteringEnabled and SoundService.RespectFilteringEnabled
  929. end
  930.  
  931. local Util
  932. Util = {
  933.  
  934. --Define linear relationship between (pt1x,pt2x) and (pt2x,pt2y). Evaluate this at x.
  935. YForLineGivenXAndTwoPts = function(x,pt1x,pt1y,pt2x,pt2y)
  936. --(y - y1)/(x - x1) = m
  937. local m = (pt1y - pt2y) / (pt1x - pt2x)
  938. --float b = pt1.y - m * pt1.x;
  939. local b = (pt1y - m * pt1x)
  940. return m * x + b
  941. end;
  942.  
  943. --Clamps the value of "val" between the "min" and "max"
  944. Clamp = function(val,min,max)
  945. return math.min(max,math.max(min,val))
  946. end;
  947.  
  948. --Gets the horizontal (x,z) velocity magnitude of the given part
  949. HorizontalSpeed = function(Head)
  950. local hVel = Head.Velocity + Vector3.new(0,-Head.Velocity.Y,0)
  951. return hVel.magnitude
  952. end;
  953.  
  954. --Gets the vertical (y) velocity magnitude of the given part
  955. VerticalSpeed = function(Head)
  956. return math.abs(Head.Velocity.Y)
  957. end;
  958.  
  959. --Setting Playing/TimePosition values directly result in less network traffic than Play/Pause/Resume/Stop
  960. --If these properties are enabled, use them.
  961. Play = function(sound)
  962. if IsSoundFilteringEnabled() then
  963. sound.CharacterSoundEvent:FireServer(true, true)
  964. end
  965. if sound.TimePosition ~= 0 then
  966. sound.TimePosition = 0
  967. end
  968. if not sound.IsPlaying then
  969. sound.Playing = true
  970. end
  971. end;
  972.  
  973. Pause = function(sound)
  974. if IsSoundFilteringEnabled() then
  975. sound.CharacterSoundEvent:FireServer(false, false)
  976. end
  977. if sound.IsPlaying then
  978. sound.Playing = false
  979. end
  980. end;
  981.  
  982. Resume = function(sound)
  983. if IsSoundFilteringEnabled() then
  984. sound.CharacterSoundEvent:FireServer(true, false)
  985. end
  986. if not sound.IsPlaying then
  987. sound.Playing = true
  988. end
  989. end;
  990.  
  991. Stop = function(sound)
  992. if IsSoundFilteringEnabled() then
  993. sound.CharacterSoundEvent:FireServer(false, true)
  994. end
  995. if sound.IsPlaying then
  996. sound.Playing = false
  997. end
  998. if sound.TimePosition ~= 0 then
  999. sound.TimePosition = 0
  1000. end
  1001. end;
  1002. }
  1003.  
  1004. do
  1005. -- List of all active Looped sounds
  1006. local playingLoopedSounds = {}
  1007.  
  1008. -- Last seen Enum.HumanoidStateType
  1009. local activeState = nil
  1010.  
  1011. local fallSpeed = 0
  1012.  
  1013. -- Verify and set that "sound" is in "playingLoopedSounds".
  1014. function setSoundInPlayingLoopedSounds(sound)
  1015. for i=1, #playingLoopedSounds do
  1016. if playingLoopedSounds[i] == sound then
  1017. return
  1018. end
  1019. end
  1020. table.insert(playingLoopedSounds,sound)
  1021. end
  1022.  
  1023. -- Stop all active looped sounds except parameter "except". If "except" is not passed, all looped sounds will be stopped.
  1024. function stopPlayingLoopedSoundsExcept(except)
  1025. for i=#playingLoopedSounds,1,-1 do
  1026. if playingLoopedSounds[i] ~= except then
  1027. Util.Pause(playingLoopedSounds[i])
  1028. table.remove(playingLoopedSounds,i)
  1029. end
  1030. end
  1031. end
  1032.  
  1033. -- Table of Enum.HumanoidStateType to handling function
  1034. local stateUpdateHandler = {
  1035. [Enum.HumanoidStateType.Dead] = function()
  1036. stopPlayingLoopedSoundsExcept()
  1037. local sound = Sounds[SFX.Died]
  1038. Util.Play(sound)
  1039. end;
  1040.  
  1041. [Enum.HumanoidStateType.RunningNoPhysics] = function(speed)
  1042. stateUpdated(Enum.HumanoidStateType.Running, speed)
  1043. end;
  1044.  
  1045. [Enum.HumanoidStateType.Running] = function(speed)
  1046. local sound = Sounds[SFX.Running]
  1047. stopPlayingLoopedSoundsExcept(sound)
  1048.  
  1049. if(useUpdatedLocalSoundFlag and activeState == Enum.HumanoidStateType.Freefall and fallSpeed > 0.1) then
  1050. -- Play a landing sound if the character dropped from a large distance
  1051. local vol = math.min(1.0, math.max(0.0, (fallSpeed - 50) / 110))
  1052. local freeFallSound = Sounds[SFX.FreeFalling]
  1053. freeFallSound.Volume = vol
  1054. Util.Play(freeFallSound)
  1055. fallSpeed = 0
  1056. end
  1057. if useUpdatedLocalSoundFlag then
  1058. if speed ~= nil and speed > 0.5 then
  1059. Util.Resume(sound)
  1060. setSoundInPlayingLoopedSounds(sound)
  1061. elseif speed ~= nil then
  1062. stopPlayingLoopedSoundsExcept()
  1063. end
  1064. else
  1065. if Util.HorizontalSpeed(Head) > 0.5 then
  1066. Util.Resume(sound)
  1067. setSoundInPlayingLoopedSounds(sound)
  1068. else
  1069. stopPlayingLoopedSoundsExcept()
  1070. end
  1071. end
  1072. end;
  1073.  
  1074. [Enum.HumanoidStateType.Swimming] = function(speed)
  1075. local threshold
  1076. if useUpdatedLocalSoundFlag then threshold = speed else threshold = Util.VerticalSpeed(Head) end
  1077. if activeState ~= Enum.HumanoidStateType.Swimming and threshold > 0.1 then
  1078. local splashSound = Sounds[SFX.Splash]
  1079. splashSound.Volume = Util.Clamp(
  1080. Util.YForLineGivenXAndTwoPts(
  1081. Util.VerticalSpeed(Head),
  1082. 100, 0.28,
  1083. 350, 1),
  1084. 0,1)
  1085. Util.Play(splashSound)
  1086. end
  1087.  
  1088. do
  1089. local sound = Sounds[SFX.Swimming]
  1090. stopPlayingLoopedSoundsExcept(sound)
  1091. Util.Resume(sound)
  1092. setSoundInPlayingLoopedSounds(sound)
  1093. end
  1094. end;
  1095.  
  1096. [Enum.HumanoidStateType.Climbing] = function(speed)
  1097. local sound = Sounds[SFX.Climbing]
  1098. if useUpdatedLocalSoundFlag then
  1099. if speed ~= nil and math.abs(speed) > 0.1 then
  1100. Util.Resume(sound)
  1101. stopPlayingLoopedSoundsExcept(sound)
  1102. else
  1103. Util.Pause(sound)
  1104. stopPlayingLoopedSoundsExcept(sound)
  1105. end
  1106. else
  1107. if Util.VerticalSpeed(Head) > 0.1 then
  1108. Util.Resume(sound)
  1109. stopPlayingLoopedSoundsExcept(sound)
  1110. else
  1111. stopPlayingLoopedSoundsExcept()
  1112. end
  1113. end
  1114.  
  1115. setSoundInPlayingLoopedSounds(sound)
  1116. end;
  1117.  
  1118. [Enum.HumanoidStateType.Jumping] = function()
  1119. if activeState == Enum.HumanoidStateType.Jumping then
  1120. return
  1121. end
  1122. stopPlayingLoopedSoundsExcept()
  1123. local sound = Sounds[SFX.Jumping]
  1124. Util.Play(sound)
  1125. end;
  1126.  
  1127. [Enum.HumanoidStateType.GettingUp] = function()
  1128. stopPlayingLoopedSoundsExcept()
  1129. local sound = Sounds[SFX.GettingUp]
  1130. Util.Play(sound)
  1131. end;
  1132.  
  1133. [Enum.HumanoidStateType.Freefall] = function()
  1134. if activeState == Enum.HumanoidStateType.Freefall then
  1135. return
  1136. end
  1137. local sound = Sounds[SFX.FreeFalling]
  1138. sound.Volume = 0
  1139. stopPlayingLoopedSoundsExcept()
  1140.  
  1141. fallSpeed = math.max(fallSpeed, math.abs(Head.Velocity.y))
  1142. end;
  1143.  
  1144. [Enum.HumanoidStateType.FallingDown] = function()
  1145. stopPlayingLoopedSoundsExcept()
  1146. end;
  1147.  
  1148. [Enum.HumanoidStateType.Landed] = function()
  1149. stopPlayingLoopedSoundsExcept()
  1150. if Util.VerticalSpeed(Head) > 75 then
  1151. local landingSound = Sounds[SFX.Landing]
  1152. landingSound.Volume = Util.Clamp(
  1153. Util.YForLineGivenXAndTwoPts(
  1154. Util.VerticalSpeed(Head),
  1155. 50, 0,
  1156. 100, 1),
  1157. 0,1)
  1158. Util.Play(landingSound)
  1159. end
  1160. end;
  1161.  
  1162. [Enum.HumanoidStateType.Seated] = function()
  1163. stopPlayingLoopedSoundsExcept()
  1164. end;
  1165. }
  1166.  
  1167.  
  1168.  
  1169. -- Handle state event fired or OnChange fired
  1170. function stateUpdated(state, speed)
  1171. if stateUpdateHandler[state] ~= nil then
  1172. if useUpdatedLocalSoundFlag and (state == Enum.HumanoidStateType.Running
  1173. or state == Enum.HumanoidStateType.Climbing
  1174. or state == Enum.HumanoidStateType.Swimming
  1175. or state == Enum.HumanoidStateType.RunningNoPhysics) then
  1176. stateUpdateHandler[state](speed)
  1177. else
  1178. stateUpdateHandler[state]()
  1179. end
  1180. end
  1181. activeState = state
  1182. end
  1183.  
  1184. Humanoid.Died:connect( function() stateUpdated(Enum.HumanoidStateType.Dead) end)
  1185. Humanoid.Running:connect( function(speed) stateUpdated(Enum.HumanoidStateType.Running, speed) end)
  1186. Humanoid.Swimming:connect( function(speed) stateUpdated(Enum.HumanoidStateType.Swimming, speed) end)
  1187. Humanoid.Climbing:connect( function(speed) stateUpdated(Enum.HumanoidStateType.Climbing, speed) end)
  1188. Humanoid.Jumping:connect( function() stateUpdated(Enum.HumanoidStateType.Jumping) end)
  1189. Humanoid.GettingUp:connect( function() stateUpdated(Enum.HumanoidStateType.GettingUp) end)
  1190. Humanoid.FreeFalling:connect( function() stateUpdated(Enum.HumanoidStateType.Freefall) end)
  1191. Humanoid.FallingDown:connect( function() stateUpdated(Enum.HumanoidStateType.FallingDown) end)
  1192.  
  1193.  
  1194.  
  1195. -- required for proper handling of Landed event
  1196.  
  1197. Humanoid.StateChanged:connect(function(old, new)
  1198. stateUpdated(new)
  1199. end)
  1200.  
  1201.  
  1202.  
  1203. function onUpdate(stepDeltaSeconds, tickSpeedSeconds)
  1204. local stepScale = stepDeltaSeconds / tickSpeedSeconds
  1205. do
  1206. local sound = Sounds[SFX.FreeFalling]
  1207. if activeState == Enum.HumanoidStateType.Freefall then
  1208. if Head.Velocity.Y < 0 and Util.VerticalSpeed(Head) > 75 then
  1209. Util.Resume(sound)
  1210.  
  1211. --Volume takes 1.1 seconds to go from volume 0 to 1
  1212. local ANIMATION_LENGTH_SECONDS = 1.1
  1213.  
  1214. local normalizedIncrement = tickSpeedSeconds / ANIMATION_LENGTH_SECONDS
  1215. sound.Volume = Util.Clamp(sound.Volume + normalizedIncrement * stepScale, 0, 1)
  1216. else
  1217. sound.Volume = 0
  1218. end
  1219. else
  1220. Util.Pause(sound)
  1221. end
  1222. end
  1223.  
  1224. do
  1225. local sound = Sounds[SFX.Running]
  1226. if activeState == Enum.HumanoidStateType.Running then
  1227. if Util.HorizontalSpeed(Head) < 0.5 then
  1228. Util.Pause(sound)
  1229. end
  1230. end
  1231. end
  1232. end
  1233.  
  1234.  
  1235. local lastTick = tick()
  1236. local TICK_SPEED_SECONDS = 0.25
  1237. while true do
  1238. onUpdate(tick() - lastTick,TICK_SPEED_SECONDS)
  1239. lastTick = tick()
  1240. wait(TICK_SPEED_SECONDS)
  1241. end
  1242.  
  1243. end
  1244.  
  1245. end,o63)
  1246.  
  1247. o64.Name = "Health"
  1248. o64.Parent = o5
  1249.  
  1250. runDummyScript(function()
  1251. -- Gradually regenerates the Humanoid's Health over time.
  1252.  
  1253. local REGEN_RATE = 1/100 -- Regenerate this fraction of MaxHealth per second.
  1254. local REGEN_STEP = 1 -- Wait this long between each regeneration step.
  1255.  
  1256. --------------------------------------------------------------------------------
  1257.  
  1258. local Character = script.Parent
  1259. local Humanoid = Character:WaitForChild'Humanoid'
  1260.  
  1261. --------------------------------------------------------------------------------
  1262.  
  1263. while true do
  1264. while Humanoid.Health < Humanoid.MaxHealth do
  1265. local dt = wait(REGEN_STEP)
  1266. local dh = dt*REGEN_RATE*Humanoid.MaxHealth
  1267. Humanoid.Health = math.min(Humanoid.Health + dh, Humanoid.MaxHealth)
  1268. end
  1269. Humanoid.HealthChanged:Wait()
  1270. end
  1271. end,o64)
  1272.  
  1273. o65.Name = "Animate"
  1274. o65.Parent = o5
  1275.  
  1276. runDummyScript(function()
  1277. local Figure = script.Parent
  1278. local Torso = Figure:WaitForChild("Torso")
  1279. local RightShoulder = Torso:WaitForChild("Right Shoulder")
  1280. local LeftShoulder = Torso:WaitForChild("Left Shoulder")
  1281. local RightHip = Torso:WaitForChild("Right Hip")
  1282. local LeftHip = Torso:WaitForChild("Left Hip")
  1283. local Neck = Torso:WaitForChild("Neck")
  1284. local Humanoid = Figure:WaitForChild("Humanoid")
  1285. local pose = "Standing"
  1286.  
  1287. local currentAnim = ""
  1288. local currentAnimInstance = nil
  1289. local currentAnimTrack = nil
  1290. local currentAnimKeyframeHandler = nil
  1291. local currentAnimSpeed = 1.0
  1292. local animTable = {}
  1293. local animNames = {
  1294. idle = {
  1295. { id = "http://www.roblox.com/asset/?id=180435571", weight = 9 },
  1296. { id = "http://www.roblox.com/asset/?id=180435792", weight = 1 }
  1297. },
  1298. walk = {
  1299. { id = "http://www.roblox.com/asset/?id=180426354", weight = 10 }
  1300. },
  1301. run = {
  1302. { id = "run.xml", weight = 10 }
  1303. },
  1304. jump = {
  1305. { id = "http://www.roblox.com/asset/?id=125750702", weight = 10 }
  1306. },
  1307. fall = {
  1308. { id = "http://www.roblox.com/asset/?id=180436148", weight = 10 }
  1309. },
  1310. climb = {
  1311. { id = "http://www.roblox.com/asset/?id=180436334", weight = 10 }
  1312. },
  1313. sit = {
  1314. { id = "http://www.roblox.com/asset/?id=178130996", weight = 10 }
  1315. },
  1316. toolnone = {
  1317. { id = "http://www.roblox.com/asset/?id=182393478", weight = 10 }
  1318. },
  1319. toolslash = {
  1320. { id = "http://www.roblox.com/asset/?id=129967390", weight = 10 }
  1321. -- { id = "slash.xml", weight = 10 }
  1322. },
  1323. toollunge = {
  1324. { id = "http://www.roblox.com/asset/?id=129967478", weight = 10 }
  1325. },
  1326. wave = {
  1327. { id = "http://www.roblox.com/asset/?id=128777973", weight = 10 }
  1328. },
  1329. point = {
  1330. { id = "http://www.roblox.com/asset/?id=128853357", weight = 10 }
  1331. },
  1332. dance1 = {
  1333. { id = "http://www.roblox.com/asset/?id=182435998", weight = 10 },
  1334. { id = "http://www.roblox.com/asset/?id=182491037", weight = 10 },
  1335. { id = "http://www.roblox.com/asset/?id=182491065", weight = 10 }
  1336. },
  1337. dance2 = {
  1338. { id = "http://www.roblox.com/asset/?id=182436842", weight = 10 },
  1339. { id = "http://www.roblox.com/asset/?id=182491248", weight = 10 },
  1340. { id = "http://www.roblox.com/asset/?id=182491277", weight = 10 }
  1341. },
  1342. dance3 = {
  1343. { id = "http://www.roblox.com/asset/?id=182436935", weight = 10 },
  1344. { id = "http://www.roblox.com/asset/?id=182491368", weight = 10 },
  1345. { id = "http://www.roblox.com/asset/?id=182491423", weight = 10 }
  1346. },
  1347. laugh = {
  1348. { id = "http://www.roblox.com/asset/?id=129423131", weight = 10 }
  1349. },
  1350. cheer = {
  1351. { id = "http://www.roblox.com/asset/?id=129423030", weight = 10 }
  1352. },
  1353. }
  1354. local dances = {"dance1", "dance2", "dance3"}
  1355.  
  1356. -- Existance in this list signifies that it is an emote, the value indicates if it is a looping emote
  1357. local emoteNames = { wave = false, point = false, dance1 = true, dance2 = true, dance3 = true, laugh = false, cheer = false}
  1358.  
  1359. function configureAnimationSet(name, fileList)
  1360. if (animTable[name] ~= nil) then
  1361. for _, connection in pairs(animTable[name].connections) do
  1362. connection:disconnect()
  1363. end
  1364. end
  1365. animTable[name] = {}
  1366. animTable[name].count = 0
  1367. animTable[name].totalWeight = 0
  1368. animTable[name].connections = {}
  1369.  
  1370. -- check for config values
  1371. local config = script:FindFirstChild(name)
  1372. if (config ~= nil) then
  1373. -- print("Loading anims " .. name)
  1374. table.insert(animTable[name].connections, config.ChildAdded:connect(function(child) configureAnimationSet(name, fileList) end))
  1375. table.insert(animTable[name].connections, config.ChildRemoved:connect(function(child) configureAnimationSet(name, fileList) end))
  1376. local idx = 1
  1377. for _, childPart in pairs(config:GetChildren()) do
  1378. if (childPart:IsA("Animation")) then
  1379. table.insert(animTable[name].connections, childPart.Changed:connect(function(property) configureAnimationSet(name, fileList) end))
  1380. animTable[name][idx] = {}
  1381. animTable[name][idx].anim = childPart
  1382. local weightObject = childPart:FindFirstChild("Weight")
  1383. if (weightObject == nil) then
  1384. animTable[name][idx].weight = 1
  1385. else
  1386. animTable[name][idx].weight = weightObject.Value
  1387. end
  1388. animTable[name].count = animTable[name].count + 1
  1389. animTable[name].totalWeight = animTable[name].totalWeight + animTable[name][idx].weight
  1390. -- print(name .. " [" .. idx .. "] " .. animTable[name][idx].anim.AnimationId .. " (" .. animTable[name][idx].weight .. ")")
  1391. idx = idx + 1
  1392. end
  1393. end
  1394. end
  1395.  
  1396. -- fallback to defaults
  1397. if (animTable[name].count <= 0) then
  1398. for idx, anim in pairs(fileList) do
  1399. animTable[name][idx] = {}
  1400. animTable[name][idx].anim = Instance.new("Animation")
  1401. animTable[name][idx].anim.Name = name
  1402. animTable[name][idx].anim.AnimationId = anim.id
  1403. animTable[name][idx].weight = anim.weight
  1404. animTable[name].count = animTable[name].count + 1
  1405. animTable[name].totalWeight = animTable[name].totalWeight + anim.weight
  1406. -- print(name .. " [" .. idx .. "] " .. anim.id .. " (" .. anim.weight .. ")")
  1407. end
  1408. end
  1409. end
  1410.  
  1411. -- Setup animation objects
  1412. function scriptChildModified(child)
  1413. local fileList = animNames[child.Name]
  1414. if (fileList ~= nil) then
  1415. configureAnimationSet(child.Name, fileList)
  1416. end
  1417. end
  1418.  
  1419. script.ChildAdded:connect(scriptChildModified)
  1420. script.ChildRemoved:connect(scriptChildModified)
  1421.  
  1422.  
  1423. for name, fileList in pairs(animNames) do
  1424. configureAnimationSet(name, fileList)
  1425. end
  1426.  
  1427. -- ANIMATION
  1428.  
  1429. -- declarations
  1430. local toolAnim = "None"
  1431. local toolAnimTime = 0
  1432.  
  1433. local jumpAnimTime = 0
  1434. local jumpAnimDuration = 0.3
  1435.  
  1436. local toolTransitionTime = 0.1
  1437. local fallTransitionTime = 0.3
  1438. local jumpMaxLimbVelocity = 0.75
  1439.  
  1440. -- functions
  1441.  
  1442. function stopAllAnimations()
  1443. local oldAnim = currentAnim
  1444.  
  1445. -- return to idle if finishing an emote
  1446. if (emoteNames[oldAnim] ~= nil and emoteNames[oldAnim] == false) then
  1447. oldAnim = "idle"
  1448. end
  1449.  
  1450. currentAnim = ""
  1451. currentAnimInstance = nil
  1452. if (currentAnimKeyframeHandler ~= nil) then
  1453. currentAnimKeyframeHandler:disconnect()
  1454. end
  1455.  
  1456. if (currentAnimTrack ~= nil) then
  1457. currentAnimTrack:Stop()
  1458. currentAnimTrack:Destroy()
  1459. currentAnimTrack = nil
  1460. end
  1461. return oldAnim
  1462. end
  1463.  
  1464. function setAnimationSpeed(speed)
  1465. if speed ~= currentAnimSpeed then
  1466. currentAnimSpeed = speed
  1467. currentAnimTrack:AdjustSpeed(currentAnimSpeed)
  1468. end
  1469. end
  1470.  
  1471. function keyFrameReachedFunc(frameName)
  1472. if (frameName == "End") then
  1473.  
  1474. local repeatAnim = currentAnim
  1475. -- return to idle if finishing an emote
  1476. if (emoteNames[repeatAnim] ~= nil and emoteNames[repeatAnim] == false) then
  1477. repeatAnim = "idle"
  1478. end
  1479.  
  1480. local animSpeed = currentAnimSpeed
  1481. playAnimation(repeatAnim, 0.0, Humanoid)
  1482. setAnimationSpeed(animSpeed)
  1483. end
  1484. end
  1485.  
  1486. -- Preload animations
  1487. function playAnimation(animName, transitionTime, humanoid)
  1488.  
  1489. local roll = math.random(1, animTable[animName].totalWeight)
  1490. local origRoll = roll
  1491. local idx = 1
  1492. while (roll > animTable[animName][idx].weight) do
  1493. roll = roll - animTable[animName][idx].weight
  1494. idx = idx + 1
  1495. end
  1496. -- print(animName .. " " .. idx .. " [" .. origRoll .. "]")
  1497. local anim = animTable[animName][idx].anim
  1498.  
  1499. -- switch animation
  1500. if (anim ~= currentAnimInstance) then
  1501.  
  1502. if (currentAnimTrack ~= nil) then
  1503. currentAnimTrack:Stop(transitionTime)
  1504. currentAnimTrack:Destroy()
  1505. end
  1506.  
  1507. currentAnimSpeed = 1.0
  1508.  
  1509. -- load it to the humanoid; get AnimationTrack
  1510. currentAnimTrack = humanoid:LoadAnimation(anim)
  1511. currentAnimTrack.Priority = Enum.AnimationPriority.Core
  1512.  
  1513. -- play the animation
  1514. currentAnimTrack:Play(transitionTime)
  1515. currentAnim = animName
  1516. currentAnimInstance = anim
  1517.  
  1518. -- set up keyframe name triggers
  1519. if (currentAnimKeyframeHandler ~= nil) then
  1520. currentAnimKeyframeHandler:disconnect()
  1521. end
  1522. currentAnimKeyframeHandler = currentAnimTrack.KeyframeReached:connect(keyFrameReachedFunc)
  1523.  
  1524. end
  1525.  
  1526. end
  1527.  
  1528. -------------------------------------------------------------------------------------------
  1529. -------------------------------------------------------------------------------------------
  1530.  
  1531. local toolAnimName = ""
  1532. local toolAnimTrack = nil
  1533. local toolAnimInstance = nil
  1534. local currentToolAnimKeyframeHandler = nil
  1535.  
  1536. function toolKeyFrameReachedFunc(frameName)
  1537. if (frameName == "End") then
  1538. -- print("Keyframe : ".. frameName)
  1539. playToolAnimation(toolAnimName, 0.0, Humanoid)
  1540. end
  1541. end
  1542.  
  1543.  
  1544. function playToolAnimation(animName, transitionTime, humanoid, priority)
  1545.  
  1546. local roll = math.random(1, animTable[animName].totalWeight)
  1547. local origRoll = roll
  1548. local idx = 1
  1549. while (roll > animTable[animName][idx].weight) do
  1550. roll = roll - animTable[animName][idx].weight
  1551. idx = idx + 1
  1552. end
  1553. -- print(animName .. " * " .. idx .. " [" .. origRoll .. "]")
  1554. local anim = animTable[animName][idx].anim
  1555.  
  1556. if (toolAnimInstance ~= anim) then
  1557.  
  1558. if (toolAnimTrack ~= nil) then
  1559. toolAnimTrack:Stop()
  1560. toolAnimTrack:Destroy()
  1561. transitionTime = 0
  1562. end
  1563.  
  1564. -- load it to the humanoid; get AnimationTrack
  1565. toolAnimTrack = humanoid:LoadAnimation(anim)
  1566. if priority then
  1567. toolAnimTrack.Priority = priority
  1568. end
  1569.  
  1570. -- play the animation
  1571. toolAnimTrack:Play(transitionTime)
  1572. toolAnimName = animName
  1573. toolAnimInstance = anim
  1574.  
  1575. currentToolAnimKeyframeHandler = toolAnimTrack.KeyframeReached:connect(toolKeyFrameReachedFunc)
  1576. end
  1577. end
  1578.  
  1579. function stopToolAnimations()
  1580. local oldAnim = toolAnimName
  1581.  
  1582. if (currentToolAnimKeyframeHandler ~= nil) then
  1583. currentToolAnimKeyframeHandler:disconnect()
  1584. end
  1585.  
  1586. toolAnimName = ""
  1587. toolAnimInstance = nil
  1588. if (toolAnimTrack ~= nil) then
  1589. toolAnimTrack:Stop()
  1590. toolAnimTrack:Destroy()
  1591. toolAnimTrack = nil
  1592. end
  1593.  
  1594.  
  1595. return oldAnim
  1596. end
  1597.  
  1598. -------------------------------------------------------------------------------------------
  1599. -------------------------------------------------------------------------------------------
  1600.  
  1601.  
  1602. function onRunning(speed)
  1603. if speed > 0.01 then
  1604. playAnimation("walk", 0.1, Humanoid)
  1605. if currentAnimInstance and currentAnimInstance.AnimationId == "http://www.roblox.com/asset/?id=180426354" then
  1606. setAnimationSpeed(speed / 14.5)
  1607. end
  1608. pose = "Running"
  1609. else
  1610. if emoteNames[currentAnim] == nil then
  1611. playAnimation("idle", 0.1, Humanoid)
  1612. pose = "Standing"
  1613. end
  1614. end
  1615. end
  1616.  
  1617. function onDied()
  1618. pose = "Dead"
  1619. end
  1620.  
  1621. function onJumping()
  1622. playAnimation("jump", 0.1, Humanoid)
  1623. jumpAnimTime = jumpAnimDuration
  1624. pose = "Jumping"
  1625. end
  1626.  
  1627. function onClimbing(speed)
  1628. playAnimation("climb", 0.1, Humanoid)
  1629. setAnimationSpeed(speed / 12.0)
  1630. pose = "Climbing"
  1631. end
  1632.  
  1633. function onGettingUp()
  1634. pose = "GettingUp"
  1635. end
  1636.  
  1637. function onFreeFall()
  1638. if (jumpAnimTime <= 0) then
  1639. playAnimation("fall", fallTransitionTime, Humanoid)
  1640. end
  1641. pose = "FreeFall"
  1642. end
  1643.  
  1644. function onFallingDown()
  1645. pose = "FallingDown"
  1646. end
  1647.  
  1648. function onSeated()
  1649. pose = "Seated"
  1650. end
  1651.  
  1652. function onPlatformStanding()
  1653. pose = "PlatformStanding"
  1654. end
  1655.  
  1656. function onSwimming(speed)
  1657. if speed > 0 then
  1658. pose = "Running"
  1659. else
  1660. pose = "Standing"
  1661. end
  1662. end
  1663.  
  1664. function getTool()
  1665. for _, kid in ipairs(Figure:GetChildren()) do
  1666. if kid.className == "Tool" then return kid end
  1667. end
  1668. return nil
  1669. end
  1670.  
  1671. function getToolAnim(tool)
  1672. for _, c in ipairs(tool:GetChildren()) do
  1673. if c.Name == "toolanim" and c.className == "StringValue" then
  1674. return c
  1675. end
  1676. end
  1677. return nil
  1678. end
  1679.  
  1680. function animateTool()
  1681.  
  1682. if (toolAnim == "None") then
  1683. playToolAnimation("toolnone", toolTransitionTime, Humanoid, Enum.AnimationPriority.Idle)
  1684. return
  1685. end
  1686.  
  1687. if (toolAnim == "Slash") then
  1688. playToolAnimation("toolslash", 0, Humanoid, Enum.AnimationPriority.Action)
  1689. return
  1690. end
  1691.  
  1692. if (toolAnim == "Lunge") then
  1693. playToolAnimation("toollunge", 0, Humanoid, Enum.AnimationPriority.Action)
  1694. return
  1695. end
  1696. end
  1697.  
  1698. function moveSit()
  1699. RightShoulder.MaxVelocity = 0.15
  1700. LeftShoulder.MaxVelocity = 0.15
  1701. RightShoulder:SetDesiredAngle(3.14 /2)
  1702. LeftShoulder:SetDesiredAngle(-3.14 /2)
  1703. RightHip:SetDesiredAngle(3.14 /2)
  1704. LeftHip:SetDesiredAngle(-3.14 /2)
  1705. end
  1706.  
  1707. local lastTick = 0
  1708.  
  1709. function move(time)
  1710. local amplitude = 1
  1711. local frequency = 1
  1712. local deltaTime = time - lastTick
  1713. lastTick = time
  1714.  
  1715. local climbFudge = 0
  1716. local setAngles = false
  1717.  
  1718. if (jumpAnimTime > 0) then
  1719. jumpAnimTime = jumpAnimTime - deltaTime
  1720. end
  1721.  
  1722. if (pose == "FreeFall" and jumpAnimTime <= 0) then
  1723. playAnimation("fall", fallTransitionTime, Humanoid)
  1724. elseif (pose == "Seated") then
  1725. playAnimation("sit", 0.5, Humanoid)
  1726. return
  1727. elseif (pose == "Running") then
  1728. playAnimation("walk", 0.1, Humanoid)
  1729. elseif (pose == "Dead" or pose == "GettingUp" or pose == "FallingDown" or pose == "Seated" or pose == "PlatformStanding") then
  1730. -- print("Wha " .. pose)
  1731. stopAllAnimations()
  1732. amplitude = 0.1
  1733. frequency = 1
  1734. setAngles = true
  1735. end
  1736.  
  1737. if (setAngles) then
  1738. local desiredAngle = amplitude * math.sin(time * frequency)
  1739.  
  1740. RightShoulder:SetDesiredAngle(desiredAngle + climbFudge)
  1741. LeftShoulder:SetDesiredAngle(desiredAngle - climbFudge)
  1742. RightHip:SetDesiredAngle(-desiredAngle)
  1743. LeftHip:SetDesiredAngle(-desiredAngle)
  1744. end
  1745.  
  1746. -- Tool Animation handling
  1747. local tool = getTool()
  1748. if tool and tool:FindFirstChild("Handle") then
  1749.  
  1750. local animStringValueObject = getToolAnim(tool)
  1751.  
  1752. if animStringValueObject then
  1753. toolAnim = animStringValueObject.Value
  1754. -- message recieved, delete StringValue
  1755. animStringValueObject.Parent = nil
  1756. toolAnimTime = time + .3
  1757. end
  1758.  
  1759. if time > toolAnimTime then
  1760. toolAnimTime = 0
  1761. toolAnim = "None"
  1762. end
  1763.  
  1764. animateTool()
  1765. else
  1766. stopToolAnimations()
  1767. toolAnim = "None"
  1768. toolAnimInstance = nil
  1769. toolAnimTime = 0
  1770. end
  1771. end
  1772.  
  1773. -- connect events
  1774. Humanoid.Died:connect(onDied)
  1775. Humanoid.Running:connect(onRunning)
  1776. Humanoid.Jumping:connect(onJumping)
  1777. Humanoid.Climbing:connect(onClimbing)
  1778. Humanoid.GettingUp:connect(onGettingUp)
  1779. Humanoid.FreeFalling:connect(onFreeFall)
  1780. Humanoid.FallingDown:connect(onFallingDown)
  1781. Humanoid.Seated:connect(onSeated)
  1782. Humanoid.PlatformStanding:connect(onPlatformStanding)
  1783. Humanoid.Swimming:connect(onSwimming)
  1784.  
  1785. -- setup emote chat hook
  1786. game:GetService("Players").LocalPlayer.Chatted:connect(function(msg)
  1787. local emote = ""
  1788. if msg == "/e dance" then
  1789. emote = dances[math.random(1, #dances)]
  1790. elseif (string.sub(msg, 1, 3) == "/e ") then
  1791. emote = string.sub(msg, 4)
  1792. elseif (string.sub(msg, 1, 7) == "/emote ") then
  1793. emote = string.sub(msg, 8)
  1794. end
  1795.  
  1796. if (pose == "Standing" and emoteNames[emote] ~= nil) then
  1797. playAnimation(emote, 0.1, Humanoid)
  1798. end
  1799.  
  1800. end)
  1801.  
  1802.  
  1803. -- main program
  1804.  
  1805. -- initialize to idle
  1806. playAnimation("idle", 0.1, Humanoid)
  1807. pose = "Standing"
  1808.  
  1809. while Figure.Parent ~= nil do
  1810. local _, time = wait(0.1)
  1811. move(time)
  1812. end
  1813.  
  1814.  
  1815.  
  1816. end,o65)
  1817.  
  1818. o66.Name = "idle"
  1819. o66.Parent = o65
  1820. o67.Name = "Animation1"
  1821. o67.Parent = o66
  1822. o67.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  1823. o68.Name = "Weight"
  1824. o68.Parent = o67
  1825. o68.Value = 9
  1826. o69.Name = "Animation2"
  1827. o69.Parent = o66
  1828. o69.AnimationId = "http://www.roblox.com/asset/?id=180435792"
  1829. o70.Name = "Weight"
  1830. o70.Parent = o69
  1831. o70.Value = 1
  1832. o71.Name = "walk"
  1833. o71.Parent = o65
  1834. o72.Name = "WalkAnim"
  1835. o72.Parent = o71
  1836. o72.AnimationId = "http://www.roblox.com/asset/?id=180426354"
  1837. o73.Name = "run"
  1838. o73.Parent = o65
  1839. o74.Name = "RunAnim"
  1840. o74.Parent = o73
  1841. o74.AnimationId = "http://www.roblox.com/asset/?id=180426354"
  1842. o75.Name = "jump"
  1843. o75.Parent = o65
  1844. o76.Name = "JumpAnim"
  1845. o76.Parent = o75
  1846. o76.AnimationId = "http://www.roblox.com/asset/?id=125750702"
  1847. o77.Name = "climb"
  1848. o77.Parent = o65
  1849. o78.Name = "ClimbAnim"
  1850. o78.Parent = o77
  1851. o78.AnimationId = "http://www.roblox.com/asset/?id=180436334"
  1852. o79.Name = "toolnone"
  1853. o79.Parent = o65
  1854. o80.Name = "ToolNoneAnim"
  1855. o80.Parent = o79
  1856. o80.AnimationId = "http://www.roblox.com/asset/?id=182393478"
  1857. o81.Name = "fall"
  1858. o81.Parent = o65
  1859. o82.Name = "FallAnim"
  1860. o82.Parent = o81
  1861. o82.AnimationId = "http://www.roblox.com/asset/?id=180436148"
  1862. o83.Name = "sit"
  1863. o83.Parent = o65
  1864. o84.Name = "SitAnim"
  1865. o84.Parent = o83
  1866. o84.AnimationId = "http://www.roblox.com/asset/?id=178130996"
  1867. o85.Name = "ScaleDampeningPercent"
  1868. o85.Parent = o65
  1869. o85.Value = 0.39999997615814
  1870. o86.Parent = o5
  1871. o86.HeadColor = BrickColor.new("Pastel brown")
  1872. o86.LeftArmColor = BrickColor.new("Pastel brown")
  1873. o86.LeftLegColor = BrickColor.new("Pastel brown")
  1874. o86.RightArmColor = BrickColor.new("Pastel brown")
  1875. o86.RightLegColor = BrickColor.new("Pastel brown")
  1876. o86.TorsoColor = BrickColor.new("Pastel brown")
  1877. o87.Name = "Pants"
  1878. o87.Parent = o5
  1879. o87.PantsTemplate = "http://www.roblox.com/asset/?id=1439542143"
  1880. o89.Name = "Handle"
  1881. o89.Parent = mas
  1882. o89.Position = Vector3.new(3.86172938, 6.89990711, 17.0202141)
  1883. o89.Rotation = Vector3.new(-0.00999999978, -6.00999975, 0)
  1884. o89.CanCollide = false
  1885. o89.Locked = true
  1886. o89.FormFactor = Enum.FormFactor.Custom
  1887. o89.Size = Vector3.new(1.45002651, 2.35999823, 1.24000001)
  1888. o89.CFrame = CFrame.new(3.86172938, 6.89990711, 17.0202141, 0.994506001, 1.94524291e-05, -0.104678482, -1.50635486e-07, 1, 0.000184231976, 0.104678482, -0.000183202166, 0.994506001)
  1889. o89.BottomSurface = Enum.SurfaceType.Smooth
  1890. o89.TopSurface = Enum.SurfaceType.Smooth
  1891. o89.Position = Vector3.new(3.86172938, 6.89990711, 17.0202141)
  1892. o90.Parent = o89
  1893. o90.MeshId = "http://www.roblox.com/asset/?id=188565062 "
  1894. o90.TextureId = "http://www.roblox.com/asset/?id=188565095 "
  1895. o90.MeshType = Enum.MeshType.FileMesh
  1896. o92.Name = "OriginalSize"
  1897. o92.Parent = o89
  1898. o92.Value = Vector3.new(1.45002651, 2.35999823, 1.24000001)
  1899. o93.Name = "AccessoryWeld"
  1900. o93.Parent = o89
  1901. o93.C0 = CFrame.new(8.65748007e-09, 0.199999809, -0.0252722446, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1902. o93.C1 = CFrame.new(0, 0.600000024, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1903. o93.Part0 = o89
  1904. o93.Part1 = o6
  1905. o94.Name = "Shirt"
  1906. o94.Parent = o5
  1907. o94.ShirtTemplate = "http://www.roblox.com/asset/?id=1439532842"
  1908. o95.Name = "Compiled scripts"
  1909. o95.Parent = mas
  1910. o96.Name = "CScript1"
  1911. o96.Parent = o95
  1912. o96.Disabled = true
  1913.  
  1914. runDummyScript(function()
  1915. --Created by PenguinAnonymous (ttyyuu12345) Editied by Dittoide
  1916. --What's Added To M2S with Dittoide's Edit?
  1917. --/ Better dummy script function to improve compatibility (makes it like you are running the code inside the script.)
  1918. --/ Removed Gui In Bottom-Left for when you are making guis.
  1919. --/ Removed "Inserting Map Please Wait" gui when selected Workspace as Place to export.
  1920. --Credit: PenguinAnonymous for making original script, i just wanted to iron it out to my liking.
  1921. --Errors: Camera,Terrain,Attachment,Status,Animator,Accessory
  1922. local runDummyScript = function(f,scri)
  1923. if (not scri:IsA('Script')) or (not scri:IsA('LocalScript')) then return false; end;
  1924. local Dummy_CoRoutine = coroutine.create(function()
  1925. getfenv().script = scri
  1926. ypcall(function() f() end)
  1927. end)
  1928. table.insert(cors,Dummy_CoRoutine);
  1929. coroutine.resume(Dummy_CoRoutine);
  1930. end
  1931. cors = {}
  1932. mas = Instance.new("Model",game:GetService("Lighting"))
  1933. mas.Name = "M2S_Model"
  1934. o3 = Instance.new("Model")
  1935. o4 = Instance.new("Script")
  1936. o5 = Instance.new("Model")
  1937. o6 = Instance.new("Model")
  1938. o7 = Instance.new("Part")
  1939. o8 = Instance.new("SpecialMesh")
  1940. o9 = Instance.new("Part")
  1941. o10 = Instance.new("Part")
  1942. o11 = Instance.new("Part")
  1943. o12 = Instance.new("Part")
  1944. o13 = Instance.new("Part")
  1945. o14 = Instance.new("Model")
  1946. o15 = Instance.new("Part")
  1947. o16 = Instance.new("SpecialMesh")
  1948. o21 = Instance.new("Sound")
  1949. o22 = Instance.new("RemoteEvent")
  1950. o23 = Instance.new("Sound")
  1951. o24 = Instance.new("RemoteEvent")
  1952. o25 = Instance.new("Sound")
  1953. o26 = Instance.new("RemoteEvent")
  1954. o27 = Instance.new("Sound")
  1955. o28 = Instance.new("RemoteEvent")
  1956. o29 = Instance.new("Sound")
  1957. o30 = Instance.new("RemoteEvent")
  1958. o31 = Instance.new("Sound")
  1959. o32 = Instance.new("RemoteEvent")
  1960. o33 = Instance.new("Sound")
  1961. o34 = Instance.new("RemoteEvent")
  1962. o35 = Instance.new("Sound")
  1963. o36 = Instance.new("RemoteEvent")
  1964. o37 = Instance.new("Sound")
  1965. o38 = Instance.new("RemoteEvent")
  1966. o39 = Instance.new("Decal")
  1967. o40 = Instance.new("Part")
  1968. o41 = Instance.new("Decal")
  1969. o50 = Instance.new("Motor6D")
  1970. o51 = Instance.new("Motor6D")
  1971. o52 = Instance.new("Motor6D")
  1972. o53 = Instance.new("Motor6D")
  1973. o54 = Instance.new("Motor6D")
  1974. o55 = Instance.new("Part")
  1975. o58 = Instance.new("Part")
  1976. o61 = Instance.new("Part")
  1977. o63 = Instance.new("Part")
  1978. o65 = Instance.new("Humanoid")
  1979. o68 = Instance.new("Part")
  1980. o70 = Instance.new("Motor6D")
  1981. o71 = Instance.new("Script")
  1982. o72 = Instance.new("LocalScript")
  1983. o73 = Instance.new("Script")
  1984. o74 = Instance.new("LocalScript")
  1985. o75 = Instance.new("StringValue")
  1986. o76 = Instance.new("Animation")
  1987. o77 = Instance.new("NumberValue")
  1988. o78 = Instance.new("Animation")
  1989. o79 = Instance.new("NumberValue")
  1990. o80 = Instance.new("StringValue")
  1991. o81 = Instance.new("Animation")
  1992. o82 = Instance.new("StringValue")
  1993. o83 = Instance.new("Animation")
  1994. o84 = Instance.new("StringValue")
  1995. o85 = Instance.new("Animation")
  1996. o86 = Instance.new("StringValue")
  1997. o87 = Instance.new("Animation")
  1998. o88 = Instance.new("StringValue")
  1999. o89 = Instance.new("Animation")
  2000. o90 = Instance.new("StringValue")
  2001. o91 = Instance.new("Animation")
  2002. o92 = Instance.new("StringValue")
  2003. o93 = Instance.new("Animation")
  2004. o94 = Instance.new("NumberValue")
  2005. o95 = Instance.new("BodyColors")
  2006. o96 = Instance.new("Pants")
  2007. o98 = Instance.new("Part")
  2008. o99 = Instance.new("SpecialMesh")
  2009. o101 = Instance.new("Vector3Value")
  2010. o102 = Instance.new("Weld")
  2011. o103 = Instance.new("Shirt")
  2012. o3.Name = "Compiled scripts"
  2013. o3.Parent = mas
  2014. o4.Name = "CScript1"
  2015. o4.Parent = o3
  2016. o4.Disabled = true
  2017.  
  2018. runDummyScript(function()
  2019. --Created by PenguinAnonymous (ttyyuu12345) Editied by Dittoide
  2020. --What's Added To M2S with Dittoide's Edit?
  2021. --/ Better dummy script function to improve compatibility (makes it like you are running the code inside the script.)
  2022. --/ Removed Gui In Bottom-Left for when you are making guis.
  2023. --/ Removed "Inserting Map Please Wait" gui when selected Workspace as Place to export.
  2024. --Credit: PenguinAnonymous for making original script, i just wanted to iron it out to my liking.
  2025. --Errors: Camera,Terrain
  2026. local runDummyScript = function(f,scri)
  2027. if (not scri:IsA('Script')) or (not scri:IsA('LocalScript')) then return false; end;
  2028. local Dummy_CoRoutine = coroutine.create(function()
  2029. getfenv().script = scri
  2030. ypcall(function() f() end)
  2031. end)
  2032. table.insert(cors,Dummy_CoRoutine);
  2033. coroutine.resume(Dummy_CoRoutine);
  2034. end
  2035. cors = {}
  2036. mas = Instance.new("Model",game:GetService("Lighting"))
  2037. mas.Name = "M2S_Model"
  2038. o3 = Instance.new("Model")
  2039. o4 = Instance.new("Part")
  2040. o5 = Instance.new("SpecialMesh")
  2041. o6 = Instance.new("Part")
  2042. o7 = Instance.new("Part")
  2043. o8 = Instance.new("Part")
  2044. o9 = Instance.new("Part")
  2045. o10 = Instance.new("Part")
  2046. o3.Parent = mas
  2047. o4.Parent = o3
  2048. o4.BrickColor = BrickColor.new("Dark stone grey")
  2049. o4.Transparency = 0.30000001192093
  2050. o4.Position = Vector3.new(-19.7996979, 32.7543106, 52)
  2051. o4.Rotation = Vector3.new(-86.5400009, 29.9599991, -1.73000002)
  2052. o4.Size = Vector3.new(4, 2.4000001, 2)
  2053. o4.CFrame = CFrame.new(-19.7996979, 32.7543106, 52, 0.865938365, 0.0261758789, 0.499465615, -0.500151098, 0.0453196988, 0.864751697, 1.86264537e-09, -0.998629689, 0.052335944)
  2054. o4.Color = Color3.new(0.388235, 0.372549, 0.384314)
  2055. o4.Position = Vector3.new(-19.7996979, 32.7543106, 52)
  2056. o5.Parent = o4
  2057. o5.MeshId = "http://www.roblox.com/asset/?id=12221720"
  2058. o5.Scale = Vector3.new(4, 4, 4)
  2059. o5.MeshType = Enum.MeshType.FileMesh
  2060. o6.Parent = o3
  2061. o6.BrickColor = BrickColor.new("Dark stone grey")
  2062. o6.Position = Vector3.new(-26, 21.7224236, 51)
  2063. o6.Rotation = Vector3.new(-90, -59.9899979, 90)
  2064. o6.Size = Vector3.new(4, 9.60000038, 4)
  2065. o6.CFrame = CFrame.new(-26, 21.7224236, 51, 0, -0.500150919, -0.865937889, 0, -0.865937889, 0.500150919, -1, 0, 0)
  2066. o6.BottomSurface = Enum.SurfaceType.Smooth
  2067. o6.TopSurface = Enum.SurfaceType.Smooth
  2068. o6.Color = Color3.new(0.388235, 0.372549, 0.384314)
  2069. o6.Position = Vector3.new(-26, 21.7224236, 51)
  2070. o7.Parent = o3
  2071. o7.BrickColor = BrickColor.new("Dark stone grey")
  2072. o7.Position = Vector3.new(-32, 16.7224045, 51)
  2073. o7.Rotation = Vector3.new(0, 90, 0)
  2074. o7.Size = Vector3.new(4, 9.60000038, 8)
  2075. o7.CFrame = CFrame.new(-32, 16.7224045, 51, -0, 0, 1, -0, 1, 0, -1, 0, 0)
  2076. o7.TopSurface = Enum.SurfaceType.Smooth
  2077. o7.Color = Color3.new(0.388235, 0.372549, 0.384314)
  2078. o7.Position = Vector3.new(-32, 16.7224045, 51)
  2079. o8.Parent = o3
  2080. o8.BrickColor = BrickColor.new("Dark stone grey")
  2081. o8.Position = Vector3.new(-39.0000038, 17.5224171, 51)
  2082. o8.Rotation = Vector3.new(90, 69, -90)
  2083. o8.Size = Vector3.new(4, 9.60000038, 4)
  2084. o8.CFrame = CFrame.new(-39.0000038, 17.5224171, 51, 0, 0.358368039, 0.933580935, 0, 0.933580935, -0.358368039, -1, 0, 0)
  2085. o8.BottomSurface = Enum.SurfaceType.Smooth
  2086. o8.TopSurface = Enum.SurfaceType.Smooth
  2087. o8.Color = Color3.new(0.388235, 0.372549, 0.384314)
  2088. o8.Position = Vector3.new(-39.0000038, 17.5224171, 51)
  2089. o9.Parent = o3
  2090. o9.BrickColor = BrickColor.new("Dark stone grey")
  2091. o9.Position = Vector3.new(-29, 7.72241306, 51)
  2092. o9.Rotation = Vector3.new(-90, 75, 90)
  2093. o9.Size = Vector3.new(4, 10.8000002, 4)
  2094. o9.CFrame = CFrame.new(-29, 7.72241306, 51, 0, -0.258819133, 0.96592629, 0, 0.96592629, 0.258819133, -1, 0, 0)
  2095. o9.TopSurface = Enum.SurfaceType.Smooth
  2096. o9.Color = Color3.new(0.388235, 0.372549, 0.384314)
  2097. o9.Position = Vector3.new(-29, 7.72241306, 51)
  2098. o10.Parent = o3
  2099. o10.BrickColor = BrickColor.new("Dark stone grey")
  2100. o10.Position = Vector3.new(-34, 7.12241077, 51)
  2101. o10.Rotation = Vector3.new(0, 90, 0)
  2102. o10.Size = Vector3.new(4, 9.60000038, 4)
  2103. o10.CFrame = CFrame.new(-34, 7.12241077, 51, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  2104. o10.TopSurface = Enum.SurfaceType.Smooth
  2105. o10.Color = Color3.new(0.388235, 0.372549, 0.384314)
  2106. o10.Position = Vector3.new(-34, 7.12241077, 51)
  2107. mas.Parent = workspace
  2108. mas:MakeJoints()
  2109. local mas1 = mas:GetChildren()
  2110. for i=1,#mas1 do
  2111. mas1[i].Parent = workspace
  2112. ypcall(function() mas1[i]:MakeJoints() end)
  2113. end
  2114. mas:Destroy()
  2115. for i=1,#cors do
  2116. coroutine.resume(cors[i])
  2117. end
  2118. mess_handle.Text = "Resetting"
  2119. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  2120. v:LoadCharacter()
  2121. end
  2122. wait(1)
  2123. mess_handle:Remove()
  2124.  
  2125. end,o4)
  2126.  
  2127. o5.Parent = mas
  2128. o6.Parent = o5
  2129. o7.Parent = o6
  2130. o7.BrickColor = BrickColor.new("Dark stone grey")
  2131. o7.Transparency = 0.30000001192093
  2132. o7.Position = Vector3.new(-19.7996979, 32.7543106, 52)
  2133. o7.Rotation = Vector3.new(-86.5400009, 29.9599991, -1.73000002)
  2134. o7.Anchored = true
  2135. o7.Size = Vector3.new(4, 2.4000001, 2)
  2136. o7.CFrame = CFrame.new(-19.7996979, 32.7543106, 52, 0.865948319, 0.0261648297, 0.499448657, -0.500133574, 0.0452957153, 0.864762843, 3.50177288e-06, -0.998630941, 0.0523096323)
  2137. o7.Color = Color3.new(0.388235, 0.372549, 0.384314)
  2138. o7.Position = Vector3.new(-19.7996979, 32.7543106, 52)
  2139. o8.Parent = o7
  2140. o8.MeshId = "http://www.roblox.com/asset/?id=12221720"
  2141. o8.Scale = Vector3.new(4, 4, 4)
  2142. o8.MeshType = Enum.MeshType.FileMesh
  2143. o9.Parent = o6
  2144. o9.BrickColor = BrickColor.new("Dark stone grey")
  2145. o9.Position = Vector3.new(-26, 21.7224236, 51)
  2146. o9.Rotation = Vector3.new(-90, -59.9899979, 90)
  2147. o9.Anchored = true
  2148. o9.Size = Vector3.new(4, 9.60000038, 4)
  2149. o9.CFrame = CFrame.new(-26, 21.7224236, 51, 3.40938568e-05, -0.500193477, -0.86591363, -9.14931297e-06, -0.86591363, 0.500193477, -1, -9.14931297e-06, -3.40938568e-05)
  2150. o9.BottomSurface = Enum.SurfaceType.Smooth
  2151. o9.TopSurface = Enum.SurfaceType.Smooth
  2152. o9.Color = Color3.new(0.388235, 0.372549, 0.384314)
  2153. o9.Position = Vector3.new(-26, 21.7224236, 51)
  2154. o10.Parent = o6
  2155. o10.BrickColor = BrickColor.new("Dark stone grey")
  2156. o10.Position = Vector3.new(-32, 16.7224045, 51)
  2157. o10.Rotation = Vector3.new(0, 90, 0)
  2158. o10.Anchored = true
  2159. o10.Size = Vector3.new(4, 9.60000038, 8)
  2160. o10.CFrame = CFrame.new(-32, 16.7224045, 51, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  2161. o10.TopSurface = Enum.SurfaceType.Smooth
  2162. o10.Color = Color3.new(0.388235, 0.372549, 0.384314)
  2163. o10.Position = Vector3.new(-32, 16.7224045, 51)
  2164. o11.Parent = o6
  2165. o11.BrickColor = BrickColor.new("Dark stone grey")
  2166. o11.Position = Vector3.new(-39.0000038, 17.5224171, 51)
  2167. o11.Rotation = Vector3.new(90.0099945, 69, -90.0099945)
  2168. o11.Anchored = true
  2169. o11.Size = Vector3.new(4, 9.60000038, 4)
  2170. o11.CFrame = CFrame.new(-39.0000038, 17.5224171, 51, -4.99486923e-05, 0.358418405, 0.933561087, 9.2536211e-06, 0.933561087, -0.358418405, -1, -9.2536211e-06, -4.99486923e-05)
  2171. o11.BottomSurface = Enum.SurfaceType.Smooth
  2172. o11.TopSurface = Enum.SurfaceType.Smooth
  2173. o11.Color = Color3.new(0.388235, 0.372549, 0.384314)
  2174. o11.Position = Vector3.new(-39.0000038, 17.5224171, 51)
  2175. o12.Parent = o6
  2176. o12.BrickColor = BrickColor.new("Dark stone grey")
  2177. o12.Position = Vector3.new(-29, 7.72241306, 51)
  2178. o12.Rotation = Vector3.new(-90, 75, 90)
  2179. o12.Anchored = true
  2180. o12.Size = Vector3.new(4, 10.8000002, 4)
  2181. o12.CFrame = CFrame.new(-29, 7.72241306, 51, -1.26361847e-05, -0.258770168, 0.965938866, -1.68383121e-06, 0.965938926, 0.258770168, -0.99999994, 1.68383121e-06, -1.26361847e-05)
  2182. o12.TopSurface = Enum.SurfaceType.Smooth
  2183. o12.Color = Color3.new(0.388235, 0.372549, 0.384314)
  2184. o12.Position = Vector3.new(-29, 7.72241306, 51)
  2185. o13.Parent = o6
  2186. o13.BrickColor = BrickColor.new("Dark stone grey")
  2187. o13.Position = Vector3.new(-34, 7.12241077, 51)
  2188. o13.Rotation = Vector3.new(0, 90, 0)
  2189. o13.Anchored = true
  2190. o13.Size = Vector3.new(4, 9.60000038, 4)
  2191. o13.CFrame = CFrame.new(-34, 7.12241077, 51, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  2192. o13.TopSurface = Enum.SurfaceType.Smooth
  2193. o13.Color = Color3.new(0.388235, 0.372549, 0.384314)
  2194. o13.Position = Vector3.new(-34, 7.12241077, 51)
  2195. o14.Name = "timetodie23232223"
  2196. o14.Parent = mas
  2197. o14.Archivable = false
  2198. o14.PrimaryPart = o15
  2199. o15.Name = "Head"
  2200. o15.Parent = o14
  2201. o15.BrickColor = BrickColor.new("Pastel brown")
  2202. o15.Position = Vector3.new(-24.0668049, 6.47494841, 40.683567)
  2203. o15.Rotation = Vector3.new(-0.269999981, -34.9199982, -0.159999996)
  2204. o15.Locked = true
  2205. o15.FormFactor = Enum.FormFactor.Symmetric
  2206. o15.Size = Vector3.new(2, 1, 1)
  2207. o15.CFrame = CFrame.new(-24.0668049, 6.47494841, 40.683567, 0.819974363, 0.00224036095, -0.572395802, -1.41710725e-05, 0.99999243, 0.00389366131, 0.572400212, -0.00318458513, 0.819968224)
  2208. o15.TopSurface = Enum.SurfaceType.Smooth
  2209. o15.Color = Color3.new(1, 0.8, 0.6)
  2210. o15.Position = Vector3.new(-24.0668049, 6.47494841, 40.683567)
  2211. o16.Parent = o15
  2212. o16.Scale = Vector3.new(1.25, 1.25, 1.25)
  2213. o21.Name = "GettingUp"
  2214. o21.Parent = o15
  2215. o21.Archivable = false
  2216. o21.SoundId = "rbxasset://sounds/action_get_up.mp3"
  2217. o21.Volume = 0.64999997615814
  2218. o22.Name = "CharacterSoundEvent"
  2219. o22.Parent = o21
  2220. o23.Name = "Died"
  2221. o23.Parent = o15
  2222. o23.Archivable = false
  2223. o23.SoundId = "rbxasset://sounds/uuhhh.mp3"
  2224. o23.Volume = 0.64999997615814
  2225. o24.Name = "CharacterSoundEvent"
  2226. o24.Parent = o23
  2227. o25.Name = "FreeFalling"
  2228. o25.Parent = o15
  2229. o25.Archivable = false
  2230. o25.SoundId = "rbxasset://sounds/action_falling.mp3"
  2231. o25.TimePosition = 0.20340387445407
  2232. o25.Volume = 1
  2233. o25.Looped = true
  2234. o26.Name = "CharacterSoundEvent"
  2235. o26.Parent = o25
  2236. o27.Name = "Jumping"
  2237. o27.Parent = o15
  2238. o27.Archivable = false
  2239. o27.SoundId = "rbxasset://sounds/action_jump.mp3"
  2240. o27.Volume = 0.64999997615814
  2241. o28.Name = "CharacterSoundEvent"
  2242. o28.Parent = o27
  2243. o29.Name = "Landing"
  2244. o29.Parent = o15
  2245. o29.Archivable = false
  2246. o29.SoundId = "rbxasset://sounds/action_jump_land.mp3"
  2247. o29.Volume = 1
  2248. o30.Name = "CharacterSoundEvent"
  2249. o30.Parent = o29
  2250. o31.Name = "Splash"
  2251. o31.Parent = o15
  2252. o31.Archivable = false
  2253. o31.SoundId = "rbxasset://sounds/impact_water.mp3"
  2254. o31.Volume = 0.64999997615814
  2255. o32.Name = "CharacterSoundEvent"
  2256. o32.Parent = o31
  2257. o33.Name = "Running"
  2258. o33.Parent = o15
  2259. o33.Archivable = false
  2260. o33.Pitch = 1.8500000238419
  2261. o33.SoundId = "rbxasset://sounds/action_footsteps_plastic.mp3"
  2262. o33.TimePosition = 0.85750264926479
  2263. o33.Volume = 0.64999997615814
  2264. o33.Looped = true
  2265. o34.Name = "CharacterSoundEvent"
  2266. o34.Parent = o33
  2267. o35.Name = "Swimming"
  2268. o35.Parent = o15
  2269. o35.Archivable = false
  2270. o35.Pitch = 1.6000000238419
  2271. o35.SoundId = "rbxasset://sounds/action_swim.mp3"
  2272. o35.Volume = 0.64999997615814
  2273. o35.Looped = true
  2274. o36.Name = "CharacterSoundEvent"
  2275. o36.Parent = o35
  2276. o37.Name = "Climbing"
  2277. o37.Parent = o15
  2278. o37.Archivable = false
  2279. o37.SoundId = "rbxasset://sounds/action_footsteps_plastic.mp3"
  2280. o37.Volume = 0.64999997615814
  2281. o37.Looped = true
  2282. o38.Name = "CharacterSoundEvent"
  2283. o38.Parent = o37
  2284. o39.Name = "face"
  2285. o39.Parent = o15
  2286. o39.Texture = "http://www.roblox.com/asset/?id=13038247"
  2287. o40.Name = "Torso"
  2288. o40.Parent = o14
  2289. o40.BrickColor = BrickColor.new("Pastel brown")
  2290. o40.Position = Vector3.new(-24.0679245, 4.97538948, 40.6851578)
  2291. o40.Rotation = Vector3.new(0, -35.1300011, 0)
  2292. o40.Locked = true
  2293. o40.FormFactor = Enum.FormFactor.Symmetric
  2294. o40.Size = Vector3.new(2, 2, 1)
  2295. o40.CFrame = CFrame.new(-24.0679245, 4.97538948, 40.6851578, 0.817877471, -1.04487619e-07, -0.575392425, 5.639804e-08, 1, -1.01428057e-07, 0.575392425, 5.05047169e-08, 0.817877471)
  2296. o40.LeftSurface = Enum.SurfaceType.Weld
  2297. o40.RightSurface = Enum.SurfaceType.Weld
  2298. o40.Color = Color3.new(1, 0.8, 0.6)
  2299. o40.Position = Vector3.new(-24.0679245, 4.97538948, 40.6851578)
  2300. o41.Name = "roblox"
  2301. o41.Parent = o40
  2302. o50.Name = "Right Shoulder"
  2303. o50.Parent = o40
  2304. o50.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  2305. o50.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  2306. o50.Part0 = o40
  2307. o50.Part1 = o58
  2308. o50.CurrentAngle = 0.0067748897708952
  2309. o50.MaxVelocity = 0.10000000149012
  2310. o51.Name = "Left Shoulder"
  2311. o51.Parent = o40
  2312. o51.C0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  2313. o51.C1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  2314. o51.Part0 = o40
  2315. o51.Part1 = o55
  2316. o51.CurrentAngle = -0.0048912507481873
  2317. o51.MaxVelocity = 0.10000000149012
  2318. o52.Name = "Right Hip"
  2319. o52.Parent = o40
  2320. o52.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  2321. o52.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  2322. o52.Part0 = o40
  2323. o52.Part1 = o63
  2324. o52.MaxVelocity = 0.10000000149012
  2325. o53.Name = "Left Hip"
  2326. o53.Parent = o40
  2327. o53.C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  2328. o53.C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  2329. o53.Part0 = o40
  2330. o53.Part1 = o61
  2331. o53.MaxVelocity = 0.10000000149012
  2332. o54.Name = "Neck"
  2333. o54.Parent = o40
  2334. o54.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  2335. o54.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  2336. o54.Part0 = o40
  2337. o54.Part1 = o15
  2338. o54.CurrentAngle = 0.0017011311138049
  2339. o54.MaxVelocity = 0.10000000149012
  2340. o55.Name = "Left Arm"
  2341. o55.Parent = o14
  2342. o55.BrickColor = BrickColor.new("Pastel brown")
  2343. o55.Position = Vector3.new(-25.2920303, 4.99553108, 39.8180618)
  2344. o55.Rotation = Vector3.new(0.0799999982, -35.6100006, 0.0299999993)
  2345. o55.CanCollide = false
  2346. o55.Locked = true
  2347. o55.FormFactor = Enum.FormFactor.Symmetric
  2348. o55.Size = Vector3.new(1, 2, 1)
  2349. o55.CFrame = CFrame.new(-25.2920303, 4.99553108, 39.8180618, 0.812950552, -0.000495347544, -0.582332551, -0.000223319279, 0.999999285, -0.00116239686, 0.582332671, 0.00107502041, 0.812949896)
  2350. o55.Color = Color3.new(1, 0.8, 0.6)
  2351. o55.Position = Vector3.new(-25.2920303, 4.99553108, 39.8180618)
  2352. o58.Name = "Right Arm"
  2353. o58.Parent = o14
  2354. o58.BrickColor = BrickColor.new("Pastel brown")
  2355. o58.Position = Vector3.new(-22.8415451, 5.00299072, 41.5513611)
  2356. o58.Rotation = Vector3.new(-0.189999998, -35.2900009, 0.049999997)
  2357. o58.CanCollide = false
  2358. o58.Locked = true
  2359. o58.FormFactor = Enum.FormFactor.Symmetric
  2360. o58.Size = Vector3.new(1, 2, 1)
  2361. o58.CFrame = CFrame.new(-22.8415451, 5.00299072, 41.5513611, 0.816229939, -0.000772229396, -0.577726662, 0.00288561243, 0.999992073, 0.00274024741, 0.577719927, -0.0039037643, 0.816225767)
  2362. o58.Color = Color3.new(1, 0.8, 0.6)
  2363. o58.Position = Vector3.new(-22.8415451, 5.00299072, 41.5513611)
  2364. o61.Name = "Left Leg"
  2365. o61.Parent = o14
  2366. o61.BrickColor = BrickColor.new("Pastel brown")
  2367. o61.Position = Vector3.new(-24.4768639, 2.99952984, 40.3974609)
  2368. o61.Rotation = Vector3.new(0, -35.1300011, 0)
  2369. o61.CanCollide = false
  2370. o61.Locked = true
  2371. o61.FormFactor = Enum.FormFactor.Symmetric
  2372. o61.Size = Vector3.new(1, 2, 1)
  2373. o61.CFrame = CFrame.new(-24.4768639, 2.99952984, 40.3974609, 0.817877471, -1.04487619e-07, -0.575392425, 5.639804e-08, 1, -1.01428057e-07, 0.575392425, 5.05047169e-08, 0.817877471)
  2374. o61.BottomSurface = Enum.SurfaceType.Smooth
  2375. o61.Color = Color3.new(1, 0.8, 0.6)
  2376. o61.Position = Vector3.new(-24.4768639, 2.99952984, 40.3974609)
  2377. o63.Name = "Right Leg"
  2378. o63.Parent = o14
  2379. o63.BrickColor = BrickColor.new("Pastel brown")
  2380. o63.Position = Vector3.new(-23.6589851, 2.99616575, 40.9728546)
  2381. o63.Rotation = Vector3.new(0, -35.1300011, 0)
  2382. o63.CanCollide = false
  2383. o63.Locked = true
  2384. o63.FormFactor = Enum.FormFactor.Symmetric
  2385. o63.Size = Vector3.new(1, 2, 1)
  2386. o63.CFrame = CFrame.new(-23.6589851, 2.99616575, 40.9728546, 0.817877471, -1.04487619e-07, -0.575392425, 5.639804e-08, 1, -1.01428057e-07, 0.575392425, 5.05047169e-08, 0.817877471)
  2387. o63.BottomSurface = Enum.SurfaceType.Smooth
  2388. o63.Color = Color3.new(1, 0.8, 0.6)
  2389. o63.Position = Vector3.new(-23.6589851, 2.99616575, 40.9728546)
  2390. o65.Parent = o14
  2391. o65.RightLeg = o63
  2392. o65.LeftLeg = o61
  2393. o65.Torso = o68
  2394. o68.Name = "HumanoidRootPart"
  2395. o68.Parent = o14
  2396. o68.Transparency = 1
  2397. o68.Position = Vector3.new(-24.0679245, 5, 40.6851578)
  2398. o68.Rotation = Vector3.new(0, -35.1300011, 0)
  2399. o68.CanCollide = false
  2400. o68.Locked = true
  2401. o68.FormFactor = Enum.FormFactor.Symmetric
  2402. o68.Size = Vector3.new(2, 2, 1)
  2403. o68.CFrame = CFrame.new(-24.0679245, 5, 40.6851578, 0.817877471, -1.04487619e-07, -0.575392425, 5.639804e-08, 1, -1.01428057e-07, 0.575392425, 5.05047169e-08, 0.817877471)
  2404. o68.BottomSurface = Enum.SurfaceType.Smooth
  2405. o68.TopSurface = Enum.SurfaceType.Smooth
  2406. o68.Position = Vector3.new(-24.0679245, 5, 40.6851578)
  2407. o70.Name = "RootJoint"
  2408. o70.Parent = o68
  2409. o70.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  2410. o70.C1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  2411. o70.Part0 = o68
  2412. o70.Part1 = o40
  2413. o70.MaxVelocity = 0.10000000149012
  2414. o71.Name = "Sound"
  2415. o71.Parent = o14
  2416.  
  2417. runDummyScript(function()
  2418. --[[
  2419. Author: @spotco
  2420. This script creates sounds which are placed under the character head.
  2421. These sounds are used by the "LocalSound" script.
  2422.  
  2423. To modify this script, copy it to your "StarterPlayer/StarterCharacterScripts" folder keeping the same script name ("Sound").
  2424. The default Sound script loaded for every character will then be replaced with your copy of the script.
  2425. ]]--
  2426. local ReplicatedStorage = game:GetService("ReplicatedStorage")
  2427. local Players = game:GetService("Players")
  2428.  
  2429. local SOUND_EVENT_FOLDER_NAME = "DefaultSoundEvents"
  2430. local DEFAULT_SERVER_SOUND_EVENT_NAME = "DefaultServerSoundEvent"
  2431.  
  2432. local SoundEventFolder = ReplicatedStorage:FindFirstChild(SOUND_EVENT_FOLDER_NAME)
  2433. local DefaultServerSoundEvent = nil
  2434.  
  2435. local useSoundDispatcher = UserSettings():IsUserFeatureEnabled("UserUseSoundDispatcher")
  2436. if useSoundDispatcher then
  2437. if not SoundEventFolder then
  2438. SoundEventFolder = Instance.new("Folder")
  2439. SoundEventFolder.Name = SOUND_EVENT_FOLDER_NAME
  2440. SoundEventFolder.Archivable = false
  2441. SoundEventFolder.Parent = ReplicatedStorage
  2442. end
  2443.  
  2444. DefaultServerSoundEvent = SoundEventFolder:FindFirstChild(DEFAULT_SERVER_SOUND_EVENT_NAME)
  2445. else
  2446. DefaultServerSoundEvent = ReplicatedStorage:FindFirstChild(DEFAULT_SERVER_SOUND_EVENT_NAME)
  2447. end
  2448.  
  2449. if not DefaultServerSoundEvent then
  2450. if useSoundDispatcher then
  2451. DefaultServerSoundEvent = Instance.new("RemoteEvent", SoundEventFolder)
  2452. else
  2453. DefaultServerSoundEvent = Instance.new("RemoteEvent", ReplicatedStorage)
  2454. end
  2455.  
  2456. DefaultServerSoundEvent.Name = DEFAULT_SERVER_SOUND_EVENT_NAME
  2457. DefaultServerSoundEvent.OnServerEvent:Connect(function() end)
  2458. end
  2459.  
  2460. local function CreateNewSound(name, id, looped, pitch, parent)
  2461. local sound = Instance.new("Sound")
  2462. sound.SoundId = id
  2463. sound.Name = name
  2464. sound.archivable = false
  2465. sound.Pitch = pitch
  2466. sound.Looped = looped
  2467. sound.MinDistance = 5
  2468. sound.MaxDistance = 150
  2469. sound.Volume = 0.65
  2470. sound.Parent = parent
  2471.  
  2472. if DefaultServerSoundEvent then
  2473. local CharacterSoundEvent = Instance.new("RemoteEvent", sound)
  2474. CharacterSoundEvent.Name = "CharacterSoundEvent"
  2475. CharacterSoundEvent.OnServerEvent:Connect(function(player, playing, resetPosition)
  2476. if type(playing) ~= "boolean" then
  2477. return
  2478. end
  2479. if type(resetPosition) ~= "boolean" then
  2480. return
  2481. end
  2482.  
  2483. if player.Character ~= script.Parent then
  2484. return
  2485. end
  2486. for _, p in pairs(Players:GetPlayers()) do
  2487. if p ~= player then
  2488. -- Connect to the dispatcher to check if the player has loaded.
  2489. if useSoundDispatcher then
  2490. SoundEventFolder:FindFirstChild("SoundDispatcher"):Fire(p, sound, playing, resetPosition)
  2491. else
  2492. DefaultServerSoundEvent:FireClient(p, sound, playing, resetPosition)
  2493. end
  2494. end
  2495. end
  2496. end)
  2497. end
  2498. return sound
  2499. end
  2500.  
  2501. local head = script.Parent:FindFirstChild("Head")
  2502. if not head then
  2503. error("Sound script parent has no child Head.")
  2504. return
  2505. end
  2506.  
  2507. CreateNewSound("GettingUp", "rbxasset://sounds/action_get_up.mp3", false, 1, head)
  2508. CreateNewSound("Died", "rbxasset://sounds/uuhhh.mp3", false, 1, head)
  2509. CreateNewSound("FreeFalling", "rbxasset://sounds/action_falling.mp3", true, 1, head)
  2510. CreateNewSound("Jumping", "rbxasset://sounds/action_jump.mp3", false, 1, head)
  2511. CreateNewSound("Landing", "rbxasset://sounds/action_jump_land.mp3", false, 1, head)
  2512. CreateNewSound("Splash", "rbxasset://sounds/impact_water.mp3", false, 1, head)
  2513. CreateNewSound("Running", "rbxasset://sounds/action_footsteps_plastic.mp3", true, 1.85, head)
  2514. CreateNewSound("Swimming", "rbxasset://sounds/action_swim.mp3", true, 1.6, head)
  2515. CreateNewSound("Climbing", "rbxasset://sounds/action_footsteps_plastic.mp3", true, 1, head)
  2516. end,o71)
  2517.  
  2518. o72.Name = "LocalSound"
  2519. o72.Parent = o71
  2520.  
  2521. runDummyScript(function()
  2522. --[[
  2523. Author: @spotco
  2524. This script runs locally for the player of the given humanoid.
  2525. This script triggers humanoid sound play/pause actions locally.
  2526.  
  2527. The Playing/TimePosition properties of Sound objects bypass FilteringEnabled, so this triggers the sound
  2528. immediately for the player and is replicated to all other players.
  2529.  
  2530. This script is optimized to reduce network traffic through minimizing the amount of property replication.
  2531. ]]--
  2532.  
  2533. --All sounds are referenced by this ID
  2534. local SFX = {
  2535. Died = 0;
  2536. Running = 1;
  2537. Swimming = 2;
  2538. Climbing = 3,
  2539. Jumping = 4;
  2540. GettingUp = 5;
  2541. FreeFalling = 6;
  2542. FallingDown = 7;
  2543. Landing = 8;
  2544. Splash = 9;
  2545. }
  2546.  
  2547. local useUpdatedLocalSoundFlag = UserSettings():IsUserFeatureEnabled("UserFixCharacterSoundIssues")
  2548.  
  2549. local Humanoid = nil
  2550. local Head = nil
  2551. --SFX ID to Sound object
  2552. local Sounds = {}
  2553. local SoundService = game:GetService("SoundService")
  2554. local soundEventFolderName = "DefaultSoundEvents"
  2555. local ReplicatedStorage = game:GetService("ReplicatedStorage")
  2556. local AddCharacterLoadedEvent = nil
  2557. local RemoveCharacterEvent = nil
  2558. local soundEventFolder = ReplicatedStorage:FindFirstChild(soundEventFolderName)
  2559. local useSoundDispatcher = UserSettings():IsUserFeatureEnabled("UserUseSoundDispatcher")
  2560.  
  2561. if useSoundDispatcher then
  2562. if not soundEventFolder then
  2563. soundEventFolder = Instance.new("Folder", ReplicatedStorage)
  2564. soundEventFolder.Name = soundEventFolderName
  2565. soundEventFolder.Archivable = false
  2566. end
  2567.  
  2568. -- Load the RemoveCharacterEvent
  2569. RemoveCharacterEvent = soundEventFolder:FindFirstChild("RemoveCharacterEvent")
  2570. if RemoveCharacterEvent == nil then
  2571. RemoveCharacterEvent = Instance.new("RemoteEvent", soundEventFolder)
  2572. RemoveCharacterEvent.Name = "RemoveCharacterEvent"
  2573. end
  2574.  
  2575. AddCharacterLoadedEvent = soundEventFolder:FindFirstChild("AddCharacterLoadedEvent")
  2576. if AddCharacterLoadedEvent == nil then
  2577. AddCharacterLoadedEvent = Instance.new("RemoteEvent", soundEventFolder)
  2578. AddCharacterLoadedEvent.Name = "AddCharacterLoadedEvent"
  2579. end
  2580.  
  2581. -- Notify the server a new character has been loaded
  2582. AddCharacterLoadedEvent:FireServer()
  2583.  
  2584. -- Notify the sound dispatcher this character has left.
  2585. game.Players.LocalPlayer.CharacterRemoving:connect(function(character)
  2586. RemoveCharacterEvent:FireServer(game.Players.LocalPlayer)
  2587. end)
  2588. end
  2589.  
  2590. do
  2591. local Figure = script.Parent.Parent
  2592. Head = Figure:WaitForChild("Head")
  2593. while not Humanoid do
  2594. for _,NewHumanoid in pairs(Figure:GetChildren()) do
  2595. if NewHumanoid:IsA("Humanoid") then
  2596. Humanoid = NewHumanoid
  2597. break
  2598. end
  2599. end
  2600. if Humanoid then break end
  2601. Figure.ChildAdded:wait()
  2602. end
  2603. Sounds[SFX.Died] = Head:WaitForChild("Died")
  2604. Sounds[SFX.Running] = Head:WaitForChild("Running")
  2605. Sounds[SFX.Swimming] = Head:WaitForChild("Swimming")
  2606. Sounds[SFX.Climbing] = Head:WaitForChild("Climbing")
  2607. Sounds[SFX.Jumping] = Head:WaitForChild("Jumping")
  2608. Sounds[SFX.GettingUp] = Head:WaitForChild("GettingUp")
  2609. Sounds[SFX.FreeFalling] = Head:WaitForChild("FreeFalling")
  2610. Sounds[SFX.Landing] = Head:WaitForChild("Landing")
  2611. Sounds[SFX.Splash] = Head:WaitForChild("Splash")
  2612.  
  2613. local DefaultServerSoundEvent = nil
  2614. if useSoundDispatcher then
  2615. DefaultServerSoundEvent = soundEventFolder:FindFirstChild("DefaultServerSoundEvent")
  2616. else
  2617. DefaultServerSoundEvent = game:GetService("ReplicatedStorage"):FindFirstChild("DefaultServerSoundEvent")
  2618. end
  2619.  
  2620. if DefaultServerSoundEvent then
  2621. DefaultServerSoundEvent.OnClientEvent:connect(function(sound, playing, resetPosition)
  2622. if resetPosition and sound.TimePosition ~= 0 then
  2623. sound.TimePosition = 0
  2624. end
  2625. if sound.IsPlaying ~= playing then
  2626. sound.Playing = playing
  2627. end
  2628. end)
  2629. end
  2630. end
  2631.  
  2632. local IsSoundFilteringEnabled = function()
  2633. return game.Workspace.FilteringEnabled and SoundService.RespectFilteringEnabled
  2634. end
  2635.  
  2636. local Util
  2637. Util = {
  2638.  
  2639. --Define linear relationship between (pt1x,pt2x) and (pt2x,pt2y). Evaluate this at x.
  2640. YForLineGivenXAndTwoPts = function(x,pt1x,pt1y,pt2x,pt2y)
  2641. --(y - y1)/(x - x1) = m
  2642. local m = (pt1y - pt2y) / (pt1x - pt2x)
  2643. --float b = pt1.y - m * pt1.x;
  2644. local b = (pt1y - m * pt1x)
  2645. return m * x + b
  2646. end;
  2647.  
  2648. --Clamps the value of "val" between the "min" and "max"
  2649. Clamp = function(val,min,max)
  2650. return math.min(max,math.max(min,val))
  2651. end;
  2652.  
  2653. --Gets the horizontal (x,z) velocity magnitude of the given part
  2654. HorizontalSpeed = function(Head)
  2655. local hVel = Head.Velocity + Vector3.new(0,-Head.Velocity.Y,0)
  2656. return hVel.magnitude
  2657. end;
  2658.  
  2659. --Gets the vertical (y) velocity magnitude of the given part
  2660. VerticalSpeed = function(Head)
  2661. return math.abs(Head.Velocity.Y)
  2662. end;
  2663.  
  2664. --Setting Playing/TimePosition values directly result in less network traffic than Play/Pause/Resume/Stop
  2665. --If these properties are enabled, use them.
  2666. Play = function(sound)
  2667. if IsSoundFilteringEnabled() then
  2668. sound.CharacterSoundEvent:FireServer(true, true)
  2669. end
  2670. if sound.TimePosition ~= 0 then
  2671. sound.TimePosition = 0
  2672. end
  2673. if not sound.IsPlaying then
  2674. sound.Playing = true
  2675. end
  2676. end;
  2677.  
  2678. Pause = function(sound)
  2679. if IsSoundFilteringEnabled() then
  2680. sound.CharacterSoundEvent:FireServer(false, false)
  2681. end
  2682. if sound.IsPlaying then
  2683. sound.Playing = false
  2684. end
  2685. end;
  2686.  
  2687. Resume = function(sound)
  2688. if IsSoundFilteringEnabled() then
  2689. sound.CharacterSoundEvent:FireServer(true, false)
  2690. end
  2691. if not sound.IsPlaying then
  2692. sound.Playing = true
  2693. end
  2694. end;
  2695.  
  2696. Stop = function(sound)
  2697. if IsSoundFilteringEnabled() then
  2698. sound.CharacterSoundEvent:FireServer(false, true)
  2699. end
  2700. if sound.IsPlaying then
  2701. sound.Playing = false
  2702. end
  2703. if sound.TimePosition ~= 0 then
  2704. sound.TimePosition = 0
  2705. end
  2706. end;
  2707. }
  2708.  
  2709. do
  2710. -- List of all active Looped sounds
  2711. local playingLoopedSounds = {}
  2712.  
  2713. -- Last seen Enum.HumanoidStateType
  2714. local activeState = nil
  2715.  
  2716. local fallSpeed = 0
  2717.  
  2718. -- Verify and set that "sound" is in "playingLoopedSounds".
  2719. function setSoundInPlayingLoopedSounds(sound)
  2720. for i=1, #playingLoopedSounds do
  2721. if playingLoopedSounds[i] == sound then
  2722. return
  2723. end
  2724. end
  2725. table.insert(playingLoopedSounds,sound)
  2726. end
  2727.  
  2728. -- Stop all active looped sounds except parameter "except". If "except" is not passed, all looped sounds will be stopped.
  2729. function stopPlayingLoopedSoundsExcept(except)
  2730. for i=#playingLoopedSounds,1,-1 do
  2731. if playingLoopedSounds[i] ~= except then
  2732. Util.Pause(playingLoopedSounds[i])
  2733. table.remove(playingLoopedSounds,i)
  2734. end
  2735. end
  2736. end
  2737.  
  2738. -- Table of Enum.HumanoidStateType to handling function
  2739. local stateUpdateHandler = {
  2740. [Enum.HumanoidStateType.Dead] = function()
  2741. stopPlayingLoopedSoundsExcept()
  2742. local sound = Sounds[SFX.Died]
  2743. Util.Play(sound)
  2744. end;
  2745.  
  2746. [Enum.HumanoidStateType.RunningNoPhysics] = function(speed)
  2747. stateUpdated(Enum.HumanoidStateType.Running, speed)
  2748. end;
  2749.  
  2750. [Enum.HumanoidStateType.Running] = function(speed)
  2751. local sound = Sounds[SFX.Running]
  2752. stopPlayingLoopedSoundsExcept(sound)
  2753.  
  2754. if(useUpdatedLocalSoundFlag and activeState == Enum.HumanoidStateType.Freefall and fallSpeed > 0.1) then
  2755. -- Play a landing sound if the character dropped from a large distance
  2756. local vol = math.min(1.0, math.max(0.0, (fallSpeed - 50) / 110))
  2757. local freeFallSound = Sounds[SFX.FreeFalling]
  2758. freeFallSound.Volume = vol
  2759. Util.Play(freeFallSound)
  2760. fallSpeed = 0
  2761. end
  2762. if useUpdatedLocalSoundFlag then
  2763. if speed ~= nil and speed > 0.5 then
  2764. Util.Resume(sound)
  2765. setSoundInPlayingLoopedSounds(sound)
  2766. elseif speed ~= nil then
  2767. stopPlayingLoopedSoundsExcept()
  2768. end
  2769. else
  2770. if Util.HorizontalSpeed(Head) > 0.5 then
  2771. Util.Resume(sound)
  2772. setSoundInPlayingLoopedSounds(sound)
  2773. else
  2774. stopPlayingLoopedSoundsExcept()
  2775. end
  2776. end
  2777. end;
  2778.  
  2779. [Enum.HumanoidStateType.Swimming] = function(speed)
  2780. local threshold
  2781. if useUpdatedLocalSoundFlag then threshold = speed else threshold = Util.VerticalSpeed(Head) end
  2782. if activeState ~= Enum.HumanoidStateType.Swimming and threshold > 0.1 then
  2783. local splashSound = Sounds[SFX.Splash]
  2784. splashSound.Volume = Util.Clamp(
  2785. Util.YForLineGivenXAndTwoPts(
  2786. Util.VerticalSpeed(Head),
  2787. 100, 0.28,
  2788. 350, 1),
  2789. 0,1)
  2790. Util.Play(splashSound)
  2791. end
  2792.  
  2793. do
  2794. local sound = Sounds[SFX.Swimming]
  2795. stopPlayingLoopedSoundsExcept(sound)
  2796. Util.Resume(sound)
  2797. setSoundInPlayingLoopedSounds(sound)
  2798. end
  2799. end;
  2800.  
  2801. [Enum.HumanoidStateType.Climbing] = function(speed)
  2802. local sound = Sounds[SFX.Climbing]
  2803. if useUpdatedLocalSoundFlag then
  2804. if speed ~= nil and math.abs(speed) > 0.1 then
  2805. Util.Resume(sound)
  2806. stopPlayingLoopedSoundsExcept(sound)
  2807. else
  2808. Util.Pause(sound)
  2809. stopPlayingLoopedSoundsExcept(sound)
  2810. end
  2811. else
  2812. if Util.VerticalSpeed(Head) > 0.1 then
  2813. Util.Resume(sound)
  2814. stopPlayingLoopedSoundsExcept(sound)
  2815. else
  2816. stopPlayingLoopedSoundsExcept()
  2817. end
  2818. end
  2819.  
  2820. setSoundInPlayingLoopedSounds(sound)
  2821. end;
  2822.  
  2823. [Enum.HumanoidStateType.Jumping] = function()
  2824. if activeState == Enum.HumanoidStateType.Jumping then
  2825. return
  2826. end
  2827. stopPlayingLoopedSoundsExcept()
  2828. local sound = Sounds[SFX.Jumping]
  2829. Util.Play(sound)
  2830. end;
  2831.  
  2832. [Enum.HumanoidStateType.GettingUp] = function()
  2833. stopPlayingLoopedSoundsExcept()
  2834. local sound = Sounds[SFX.GettingUp]
  2835. Util.Play(sound)
  2836. end;
  2837.  
  2838. [Enum.HumanoidStateType.Freefall] = function()
  2839. if activeState == Enum.HumanoidStateType.Freefall then
  2840. return
  2841. end
  2842. local sound = Sounds[SFX.FreeFalling]
  2843. sound.Volume = 0
  2844. stopPlayingLoopedSoundsExcept()
  2845.  
  2846. fallSpeed = math.max(fallSpeed, math.abs(Head.Velocity.y))
  2847. end;
  2848.  
  2849. [Enum.HumanoidStateType.FallingDown] = function()
  2850. stopPlayingLoopedSoundsExcept()
  2851. end;
  2852.  
  2853. [Enum.HumanoidStateType.Landed] = function()
  2854. stopPlayingLoopedSoundsExcept()
  2855. if Util.VerticalSpeed(Head) > 75 then
  2856. local landingSound = Sounds[SFX.Landing]
  2857. landingSound.Volume = Util.Clamp(
  2858. Util.YForLineGivenXAndTwoPts(
  2859. Util.VerticalSpeed(Head),
  2860. 50, 0,
  2861. 100, 1),
  2862. 0,1)
  2863. Util.Play(landingSound)
  2864. end
  2865. end;
  2866.  
  2867. [Enum.HumanoidStateType.Seated] = function()
  2868. stopPlayingLoopedSoundsExcept()
  2869. end;
  2870. }
  2871.  
  2872.  
  2873.  
  2874. -- Handle state event fired or OnChange fired
  2875. function stateUpdated(state, speed)
  2876. if stateUpdateHandler[state] ~= nil then
  2877. if useUpdatedLocalSoundFlag and (state == Enum.HumanoidStateType.Running
  2878. or state == Enum.HumanoidStateType.Climbing
  2879. or state == Enum.HumanoidStateType.Swimming
  2880. or state == Enum.HumanoidStateType.RunningNoPhysics) then
  2881. stateUpdateHandler[state](speed)
  2882. else
  2883. stateUpdateHandler[state]()
  2884. end
  2885. end
  2886. activeState = state
  2887. end
  2888.  
  2889. Humanoid.Died:connect( function() stateUpdated(Enum.HumanoidStateType.Dead) end)
  2890. Humanoid.Running:connect( function(speed) stateUpdated(Enum.HumanoidStateType.Running, speed) end)
  2891. Humanoid.Swimming:connect( function(speed) stateUpdated(Enum.HumanoidStateType.Swimming, speed) end)
  2892. Humanoid.Climbing:connect( function(speed) stateUpdated(Enum.HumanoidStateType.Climbing, speed) end)
  2893. Humanoid.Jumping:connect( function() stateUpdated(Enum.HumanoidStateType.Jumping) end)
  2894. Humanoid.GettingUp:connect( function() stateUpdated(Enum.HumanoidStateType.GettingUp) end)
  2895. Humanoid.FreeFalling:connect( function() stateUpdated(Enum.HumanoidStateType.Freefall) end)
  2896. Humanoid.FallingDown:connect( function() stateUpdated(Enum.HumanoidStateType.FallingDown) end)
  2897.  
  2898.  
  2899.  
  2900. -- required for proper handling of Landed event
  2901.  
  2902. Humanoid.StateChanged:connect(function(old, new)
  2903. stateUpdated(new)
  2904. end)
  2905.  
  2906.  
  2907.  
  2908. function onUpdate(stepDeltaSeconds, tickSpeedSeconds)
  2909. local stepScale = stepDeltaSeconds / tickSpeedSeconds
  2910. do
  2911. local sound = Sounds[SFX.FreeFalling]
  2912. if activeState == Enum.HumanoidStateType.Freefall then
  2913. if Head.Velocity.Y < 0 and Util.VerticalSpeed(Head) > 75 then
  2914. Util.Resume(sound)
  2915.  
  2916. --Volume takes 1.1 seconds to go from volume 0 to 1
  2917. local ANIMATION_LENGTH_SECONDS = 1.1
  2918.  
  2919. local normalizedIncrement = tickSpeedSeconds / ANIMATION_LENGTH_SECONDS
  2920. sound.Volume = Util.Clamp(sound.Volume + normalizedIncrement * stepScale, 0, 1)
  2921. else
  2922. sound.Volume = 0
  2923. end
  2924. else
  2925. Util.Pause(sound)
  2926. end
  2927. end
  2928.  
  2929. do
  2930. local sound = Sounds[SFX.Running]
  2931. if activeState == Enum.HumanoidStateType.Running then
  2932. if Util.HorizontalSpeed(Head) < 0.5 then
  2933. Util.Pause(sound)
  2934. end
  2935. end
  2936. end
  2937. end
  2938.  
  2939.  
  2940. local lastTick = tick()
  2941. local TICK_SPEED_SECONDS = 0.25
  2942. while true do
  2943. onUpdate(tick() - lastTick,TICK_SPEED_SECONDS)
  2944. lastTick = tick()
  2945. wait(TICK_SPEED_SECONDS)
  2946. end
  2947.  
  2948. end
  2949.  
  2950. end,o72)
  2951.  
  2952. o73.Name = "Health"
  2953. o73.Parent = o14
  2954.  
  2955. runDummyScript(function()
  2956. -- Gradually regenerates the Humanoid's Health over time.
  2957.  
  2958. local REGEN_RATE = 1/100 -- Regenerate this fraction of MaxHealth per second.
  2959. local REGEN_STEP = 1 -- Wait this long between each regeneration step.
  2960.  
  2961. --------------------------------------------------------------------------------
  2962.  
  2963. local Character = script.Parent
  2964. local Humanoid = Character:WaitForChild'Humanoid'
  2965.  
  2966. --------------------------------------------------------------------------------
  2967.  
  2968. while true do
  2969. while Humanoid.Health < Humanoid.MaxHealth do
  2970. local dt = wait(REGEN_STEP)
  2971. local dh = dt*REGEN_RATE*Humanoid.MaxHealth
  2972. Humanoid.Health = math.min(Humanoid.Health + dh, Humanoid.MaxHealth)
  2973. end
  2974. Humanoid.HealthChanged:Wait()
  2975. end
  2976. end,o73)
  2977.  
  2978. o74.Name = "Animate"
  2979. o74.Parent = o14
  2980.  
  2981. runDummyScript(function()
  2982. local Figure = script.Parent
  2983. local Torso = Figure:WaitForChild("Torso")
  2984. local RightShoulder = Torso:WaitForChild("Right Shoulder")
  2985. local LeftShoulder = Torso:WaitForChild("Left Shoulder")
  2986. local RightHip = Torso:WaitForChild("Right Hip")
  2987. local LeftHip = Torso:WaitForChild("Left Hip")
  2988. local Neck = Torso:WaitForChild("Neck")
  2989. local Humanoid = Figure:WaitForChild("Humanoid")
  2990. local pose = "Standing"
  2991.  
  2992. local currentAnim = ""
  2993. local currentAnimInstance = nil
  2994. local currentAnimTrack = nil
  2995. local currentAnimKeyframeHandler = nil
  2996. local currentAnimSpeed = 1.0
  2997. local animTable = {}
  2998. local animNames = {
  2999. idle = {
  3000. { id = "http://www.roblox.com/asset/?id=180435571", weight = 9 },
  3001. { id = "http://www.roblox.com/asset/?id=180435792", weight = 1 }
  3002. },
  3003. walk = {
  3004. { id = "http://www.roblox.com/asset/?id=180426354", weight = 10 }
  3005. },
  3006. run = {
  3007. { id = "run.xml", weight = 10 }
  3008. },
  3009. jump = {
  3010. { id = "http://www.roblox.com/asset/?id=125750702", weight = 10 }
  3011. },
  3012. fall = {
  3013. { id = "http://www.roblox.com/asset/?id=180436148", weight = 10 }
  3014. },
  3015. climb = {
  3016. { id = "http://www.roblox.com/asset/?id=180436334", weight = 10 }
  3017. },
  3018. sit = {
  3019. { id = "http://www.roblox.com/asset/?id=178130996", weight = 10 }
  3020. },
  3021. toolnone = {
  3022. { id = "http://www.roblox.com/asset/?id=182393478", weight = 10 }
  3023. },
  3024. toolslash = {
  3025. { id = "http://www.roblox.com/asset/?id=129967390", weight = 10 }
  3026. -- { id = "slash.xml", weight = 10 }
  3027. },
  3028. toollunge = {
  3029. { id = "http://www.roblox.com/asset/?id=129967478", weight = 10 }
  3030. },
  3031. wave = {
  3032. { id = "http://www.roblox.com/asset/?id=128777973", weight = 10 }
  3033. },
  3034. point = {
  3035. { id = "http://www.roblox.com/asset/?id=128853357", weight = 10 }
  3036. },
  3037. dance1 = {
  3038. { id = "http://www.roblox.com/asset/?id=182435998", weight = 10 },
  3039. { id = "http://www.roblox.com/asset/?id=182491037", weight = 10 },
  3040. { id = "http://www.roblox.com/asset/?id=182491065", weight = 10 }
  3041. },
  3042. dance2 = {
  3043. { id = "http://www.roblox.com/asset/?id=182436842", weight = 10 },
  3044. { id = "http://www.roblox.com/asset/?id=182491248", weight = 10 },
  3045. { id = "http://www.roblox.com/asset/?id=182491277", weight = 10 }
  3046. },
  3047. dance3 = {
  3048. { id = "http://www.roblox.com/asset/?id=182436935", weight = 10 },
  3049. { id = "http://www.roblox.com/asset/?id=182491368", weight = 10 },
  3050. { id = "http://www.roblox.com/asset/?id=182491423", weight = 10 }
  3051. },
  3052. laugh = {
  3053. { id = "http://www.roblox.com/asset/?id=129423131", weight = 10 }
  3054. },
  3055. cheer = {
  3056. { id = "http://www.roblox.com/asset/?id=129423030", weight = 10 }
  3057. },
  3058. }
  3059. local dances = {"dance1", "dance2", "dance3"}
  3060.  
  3061. -- Existance in this list signifies that it is an emote, the value indicates if it is a looping emote
  3062. local emoteNames = { wave = false, point = false, dance1 = true, dance2 = true, dance3 = true, laugh = false, cheer = false}
  3063.  
  3064. function configureAnimationSet(name, fileList)
  3065. if (animTable[name] ~= nil) then
  3066. for _, connection in pairs(animTable[name].connections) do
  3067. connection:disconnect()
  3068. end
  3069. end
  3070. animTable[name] = {}
  3071. animTable[name].count = 0
  3072. animTable[name].totalWeight = 0
  3073. animTable[name].connections = {}
  3074.  
  3075. -- check for config values
  3076. local config = script:FindFirstChild(name)
  3077. if (config ~= nil) then
  3078. -- print("Loading anims " .. name)
  3079. table.insert(animTable[name].connections, config.ChildAdded:connect(function(child) configureAnimationSet(name, fileList) end))
  3080. table.insert(animTable[name].connections, config.ChildRemoved:connect(function(child) configureAnimationSet(name, fileList) end))
  3081. local idx = 1
  3082. for _, childPart in pairs(config:GetChildren()) do
  3083. if (childPart:IsA("Animation")) then
  3084. table.insert(animTable[name].connections, childPart.Changed:connect(function(property) configureAnimationSet(name, fileList) end))
  3085. animTable[name][idx] = {}
  3086. animTable[name][idx].anim = childPart
  3087. local weightObject = childPart:FindFirstChild("Weight")
  3088. if (weightObject == nil) then
  3089. animTable[name][idx].weight = 1
  3090. else
  3091. animTable[name][idx].weight = weightObject.Value
  3092. end
  3093. animTable[name].count = animTable[name].count + 1
  3094. animTable[name].totalWeight = animTable[name].totalWeight + animTable[name][idx].weight
  3095. -- print(name .. " [" .. idx .. "] " .. animTable[name][idx].anim.AnimationId .. " (" .. animTable[name][idx].weight .. ")")
  3096. idx = idx + 1
  3097. end
  3098. end
  3099. end
  3100.  
  3101. -- fallback to defaults
  3102. if (animTable[name].count <= 0) then
  3103. for idx, anim in pairs(fileList) do
  3104. animTable[name][idx] = {}
  3105. animTable[name][idx].anim = Instance.new("Animation")
  3106. animTable[name][idx].anim.Name = name
  3107. animTable[name][idx].anim.AnimationId = anim.id
  3108. animTable[name][idx].weight = anim.weight
  3109. animTable[name].count = animTable[name].count + 1
  3110. animTable[name].totalWeight = animTable[name].totalWeight + anim.weight
  3111. -- print(name .. " [" .. idx .. "] " .. anim.id .. " (" .. anim.weight .. ")")
  3112. end
  3113. end
  3114. end
  3115.  
  3116. -- Setup animation objects
  3117. function scriptChildModified(child)
  3118. local fileList = animNames[child.Name]
  3119. if (fileList ~= nil) then
  3120. configureAnimationSet(child.Name, fileList)
  3121. end
  3122. end
  3123.  
  3124. script.ChildAdded:connect(scriptChildModified)
  3125. script.ChildRemoved:connect(scriptChildModified)
  3126.  
  3127.  
  3128. for name, fileList in pairs(animNames) do
  3129. configureAnimationSet(name, fileList)
  3130. end
  3131.  
  3132. -- ANIMATION
  3133.  
  3134. -- declarations
  3135. local toolAnim = "None"
  3136. local toolAnimTime = 0
  3137.  
  3138. local jumpAnimTime = 0
  3139. local jumpAnimDuration = 0.3
  3140.  
  3141. local toolTransitionTime = 0.1
  3142. local fallTransitionTime = 0.3
  3143. local jumpMaxLimbVelocity = 0.75
  3144.  
  3145. -- functions
  3146.  
  3147. function stopAllAnimations()
  3148. local oldAnim = currentAnim
  3149.  
  3150. -- return to idle if finishing an emote
  3151. if (emoteNames[oldAnim] ~= nil and emoteNames[oldAnim] == false) then
  3152. oldAnim = "idle"
  3153. end
  3154.  
  3155. currentAnim = ""
  3156. currentAnimInstance = nil
  3157. if (currentAnimKeyframeHandler ~= nil) then
  3158. currentAnimKeyframeHandler:disconnect()
  3159. end
  3160.  
  3161. if (currentAnimTrack ~= nil) then
  3162. currentAnimTrack:Stop()
  3163. currentAnimTrack:Destroy()
  3164. currentAnimTrack = nil
  3165. end
  3166. return oldAnim
  3167. end
  3168.  
  3169. function setAnimationSpeed(speed)
  3170. if speed ~= currentAnimSpeed then
  3171. currentAnimSpeed = speed
  3172. currentAnimTrack:AdjustSpeed(currentAnimSpeed)
  3173. end
  3174. end
  3175.  
  3176. function keyFrameReachedFunc(frameName)
  3177. if (frameName == "End") then
  3178.  
  3179. local repeatAnim = currentAnim
  3180. -- return to idle if finishing an emote
  3181. if (emoteNames[repeatAnim] ~= nil and emoteNames[repeatAnim] == false) then
  3182. repeatAnim = "idle"
  3183. end
  3184.  
  3185. local animSpeed = currentAnimSpeed
  3186. playAnimation(repeatAnim, 0.0, Humanoid)
  3187. setAnimationSpeed(animSpeed)
  3188. end
  3189. end
  3190.  
  3191. -- Preload animations
  3192. function playAnimation(animName, transitionTime, humanoid)
  3193.  
  3194. local roll = math.random(1, animTable[animName].totalWeight)
  3195. local origRoll = roll
  3196. local idx = 1
  3197. while (roll > animTable[animName][idx].weight) do
  3198. roll = roll - animTable[animName][idx].weight
  3199. idx = idx + 1
  3200. end
  3201. -- print(animName .. " " .. idx .. " [" .. origRoll .. "]")
  3202. local anim = animTable[animName][idx].anim
  3203.  
  3204. -- switch animation
  3205. if (anim ~= currentAnimInstance) then
  3206.  
  3207. if (currentAnimTrack ~= nil) then
  3208. currentAnimTrack:Stop(transitionTime)
  3209. currentAnimTrack:Destroy()
  3210. end
  3211.  
  3212. currentAnimSpeed = 1.0
  3213.  
  3214. -- load it to the humanoid; get AnimationTrack
  3215. currentAnimTrack = humanoid:LoadAnimation(anim)
  3216. currentAnimTrack.Priority = Enum.AnimationPriority.Core
  3217.  
  3218. -- play the animation
  3219. currentAnimTrack:Play(transitionTime)
  3220. currentAnim = animName
  3221. currentAnimInstance = anim
  3222.  
  3223. -- set up keyframe name triggers
  3224. if (currentAnimKeyframeHandler ~= nil) then
  3225. currentAnimKeyframeHandler:disconnect()
  3226. end
  3227. currentAnimKeyframeHandler = currentAnimTrack.KeyframeReached:connect(keyFrameReachedFunc)
  3228.  
  3229. end
  3230.  
  3231. end
  3232.  
  3233. -------------------------------------------------------------------------------------------
  3234. -------------------------------------------------------------------------------------------
  3235.  
  3236. local toolAnimName = ""
  3237. local toolAnimTrack = nil
  3238. local toolAnimInstance = nil
  3239. local currentToolAnimKeyframeHandler = nil
  3240.  
  3241. function toolKeyFrameReachedFunc(frameName)
  3242. if (frameName == "End") then
  3243. -- print("Keyframe : ".. frameName)
  3244. playToolAnimation(toolAnimName, 0.0, Humanoid)
  3245. end
  3246. end
  3247.  
  3248.  
  3249. function playToolAnimation(animName, transitionTime, humanoid, priority)
  3250.  
  3251. local roll = math.random(1, animTable[animName].totalWeight)
  3252. local origRoll = roll
  3253. local idx = 1
  3254. while (roll > animTable[animName][idx].weight) do
  3255. roll = roll - animTable[animName][idx].weight
  3256. idx = idx + 1
  3257. end
  3258. -- print(animName .. " * " .. idx .. " [" .. origRoll .. "]")
  3259. local anim = animTable[animName][idx].anim
  3260.  
  3261. if (toolAnimInstance ~= anim) then
  3262.  
  3263. if (toolAnimTrack ~= nil) then
  3264. toolAnimTrack:Stop()
  3265. toolAnimTrack:Destroy()
  3266. transitionTime = 0
  3267. end
  3268.  
  3269. -- load it to the humanoid; get AnimationTrack
  3270. toolAnimTrack = humanoid:LoadAnimation(anim)
  3271. if priority then
  3272. toolAnimTrack.Priority = priority
  3273. end
  3274.  
  3275. -- play the animation
  3276. toolAnimTrack:Play(transitionTime)
  3277. toolAnimName = animName
  3278. toolAnimInstance = anim
  3279.  
  3280. currentToolAnimKeyframeHandler = toolAnimTrack.KeyframeReached:connect(toolKeyFrameReachedFunc)
  3281. end
  3282. end
  3283.  
  3284. function stopToolAnimations()
  3285. local oldAnim = toolAnimName
  3286.  
  3287. if (currentToolAnimKeyframeHandler ~= nil) then
  3288. currentToolAnimKeyframeHandler:disconnect()
  3289. end
  3290.  
  3291. toolAnimName = ""
  3292. toolAnimInstance = nil
  3293. if (toolAnimTrack ~= nil) then
  3294. toolAnimTrack:Stop()
  3295. toolAnimTrack:Destroy()
  3296. toolAnimTrack = nil
  3297. end
  3298.  
  3299.  
  3300. return oldAnim
  3301. end
  3302.  
  3303. -------------------------------------------------------------------------------------------
  3304. -------------------------------------------------------------------------------------------
  3305.  
  3306.  
  3307. function onRunning(speed)
  3308. if speed > 0.01 then
  3309. playAnimation("walk", 0.1, Humanoid)
  3310. if currentAnimInstance and currentAnimInstance.AnimationId == "http://www.roblox.com/asset/?id=180426354" then
  3311. setAnimationSpeed(speed / 14.5)
  3312. end
  3313. pose = "Running"
  3314. else
  3315. if emoteNames[currentAnim] == nil then
  3316. playAnimation("idle", 0.1, Humanoid)
  3317. pose = "Standing"
  3318. end
  3319. end
  3320. end
  3321.  
  3322. function onDied()
  3323. pose = "Dead"
  3324. end
  3325.  
  3326. function onJumping()
  3327. playAnimation("jump", 0.1, Humanoid)
  3328. jumpAnimTime = jumpAnimDuration
  3329. pose = "Jumping"
  3330. end
  3331.  
  3332. function onClimbing(speed)
  3333. playAnimation("climb", 0.1, Humanoid)
  3334. setAnimationSpeed(speed / 12.0)
  3335. pose = "Climbing"
  3336. end
  3337.  
  3338. function onGettingUp()
  3339. pose = "GettingUp"
  3340. end
  3341.  
  3342. function onFreeFall()
  3343. if (jumpAnimTime <= 0) then
  3344. playAnimation("fall", fallTransitionTime, Humanoid)
  3345. end
  3346. pose = "FreeFall"
  3347. end
  3348.  
  3349. function onFallingDown()
  3350. pose = "FallingDown"
  3351. end
  3352.  
  3353. function onSeated()
  3354. pose = "Seated"
  3355. end
  3356.  
  3357. function onPlatformStanding()
  3358. pose = "PlatformStanding"
  3359. end
  3360.  
  3361. function onSwimming(speed)
  3362. if speed > 0 then
  3363. pose = "Running"
  3364. else
  3365. pose = "Standing"
  3366. end
  3367. end
  3368.  
  3369. function getTool()
  3370. for _, kid in ipairs(Figure:GetChildren()) do
  3371. if kid.className == "Tool" then return kid end
  3372. end
  3373. return nil
  3374. end
  3375.  
  3376. function getToolAnim(tool)
  3377. for _, c in ipairs(tool:GetChildren()) do
  3378. if c.Name == "toolanim" and c.className == "StringValue" then
  3379. return c
  3380. end
  3381. end
  3382. return nil
  3383. end
  3384.  
  3385. function animateTool()
  3386.  
  3387. if (toolAnim == "None") then
  3388. playToolAnimation("toolnone", toolTransitionTime, Humanoid, Enum.AnimationPriority.Idle)
  3389. return
  3390. end
  3391.  
  3392. if (toolAnim == "Slash") then
  3393. playToolAnimation("toolslash", 0, Humanoid, Enum.AnimationPriority.Action)
  3394. return
  3395. end
  3396.  
  3397. if (toolAnim == "Lunge") then
  3398. playToolAnimation("toollunge", 0, Humanoid, Enum.AnimationPriority.Action)
  3399. return
  3400. end
  3401. end
  3402.  
  3403. function moveSit()
  3404. RightShoulder.MaxVelocity = 0.15
  3405. LeftShoulder.MaxVelocity = 0.15
  3406. RightShoulder:SetDesiredAngle(3.14 /2)
  3407. LeftShoulder:SetDesiredAngle(-3.14 /2)
  3408. RightHip:SetDesiredAngle(3.14 /2)
  3409. LeftHip:SetDesiredAngle(-3.14 /2)
  3410. end
  3411.  
  3412. local lastTick = 0
  3413.  
  3414. function move(time)
  3415. local amplitude = 1
  3416. local frequency = 1
  3417. local deltaTime = time - lastTick
  3418. lastTick = time
  3419.  
  3420. local climbFudge = 0
  3421. local setAngles = false
  3422.  
  3423. if (jumpAnimTime > 0) then
  3424. jumpAnimTime = jumpAnimTime - deltaTime
  3425. end
  3426.  
  3427. if (pose == "FreeFall" and jumpAnimTime <= 0) then
  3428. playAnimation("fall", fallTransitionTime, Humanoid)
  3429. elseif (pose == "Seated") then
  3430. playAnimation("sit", 0.5, Humanoid)
  3431. return
  3432. elseif (pose == "Running") then
  3433. playAnimation("walk", 0.1, Humanoid)
  3434. elseif (pose == "Dead" or pose == "GettingUp" or pose == "FallingDown" or pose == "Seated" or pose == "PlatformStanding") then
  3435. -- print("Wha " .. pose)
  3436. stopAllAnimations()
  3437. amplitude = 0.1
  3438. frequency = 1
  3439. setAngles = true
  3440. end
  3441.  
  3442. if (setAngles) then
  3443. local desiredAngle = amplitude * math.sin(time * frequency)
  3444.  
  3445. RightShoulder:SetDesiredAngle(desiredAngle + climbFudge)
  3446. LeftShoulder:SetDesiredAngle(desiredAngle - climbFudge)
  3447. RightHip:SetDesiredAngle(-desiredAngle)
  3448. LeftHip:SetDesiredAngle(-desiredAngle)
  3449. end
  3450.  
  3451. -- Tool Animation handling
  3452. local tool = getTool()
  3453. if tool and tool:FindFirstChild("Handle") then
  3454.  
  3455. local animStringValueObject = getToolAnim(tool)
  3456.  
  3457. if animStringValueObject then
  3458. toolAnim = animStringValueObject.Value
  3459. -- message recieved, delete StringValue
  3460. animStringValueObject.Parent = nil
  3461. toolAnimTime = time + .3
  3462. end
  3463.  
  3464. if time > toolAnimTime then
  3465. toolAnimTime = 0
  3466. toolAnim = "None"
  3467. end
  3468.  
  3469. animateTool()
  3470. else
  3471. stopToolAnimations()
  3472. toolAnim = "None"
  3473. toolAnimInstance = nil
  3474. toolAnimTime = 0
  3475. end
  3476. end
  3477.  
  3478. -- connect events
  3479. Humanoid.Died:connect(onDied)
  3480. Humanoid.Running:connect(onRunning)
  3481. Humanoid.Jumping:connect(onJumping)
  3482. Humanoid.Climbing:connect(onClimbing)
  3483. Humanoid.GettingUp:connect(onGettingUp)
  3484. Humanoid.FreeFalling:connect(onFreeFall)
  3485. Humanoid.FallingDown:connect(onFallingDown)
  3486. Humanoid.Seated:connect(onSeated)
  3487. Humanoid.PlatformStanding:connect(onPlatformStanding)
  3488. Humanoid.Swimming:connect(onSwimming)
  3489.  
  3490. -- setup emote chat hook
  3491. game:GetService("Players").LocalPlayer.Chatted:connect(function(msg)
  3492. local emote = ""
  3493. if msg == "/e dance" then
  3494. emote = dances[math.random(1, #dances)]
  3495. elseif (string.sub(msg, 1, 3) == "/e ") then
  3496. emote = string.sub(msg, 4)
  3497. elseif (string.sub(msg, 1, 7) == "/emote ") then
  3498. emote = string.sub(msg, 8)
  3499. end
  3500.  
  3501. if (pose == "Standing" and emoteNames[emote] ~= nil) then
  3502. playAnimation(emote, 0.1, Humanoid)
  3503. end
  3504.  
  3505. end)
  3506.  
  3507.  
  3508. -- main program
  3509.  
  3510. -- initialize to idle
  3511. playAnimation("idle", 0.1, Humanoid)
  3512. pose = "Standing"
  3513.  
  3514. while Figure.Parent ~= nil do
  3515. local _, time = wait(0.1)
  3516. move(time)
  3517. end
  3518.  
  3519.  
  3520.  
  3521. end,o74)
  3522.  
  3523. o75.Name = "idle"
  3524. o75.Parent = o74
  3525. o76.Name = "Animation1"
  3526. o76.Parent = o75
  3527. o76.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  3528. o77.Name = "Weight"
  3529. o77.Parent = o76
  3530. o77.Value = 9
  3531. o78.Name = "Animation2"
  3532. o78.Parent = o75
  3533. o78.AnimationId = "http://www.roblox.com/asset/?id=180435792"
  3534. o79.Name = "Weight"
  3535. o79.Parent = o78
  3536. o79.Value = 1
  3537. o80.Name = "walk"
  3538. o80.Parent = o74
  3539. o81.Name = "WalkAnim"
  3540. o81.Parent = o80
  3541. o81.AnimationId = "http://www.roblox.com/asset/?id=180426354"
  3542. o82.Name = "run"
  3543. o82.Parent = o74
  3544. o83.Name = "RunAnim"
  3545. o83.Parent = o82
  3546. o83.AnimationId = "http://www.roblox.com/asset/?id=180426354"
  3547. o84.Name = "jump"
  3548. o84.Parent = o74
  3549. o85.Name = "JumpAnim"
  3550. o85.Parent = o84
  3551. o85.AnimationId = "http://www.roblox.com/asset/?id=125750702"
  3552. o86.Name = "climb"
  3553. o86.Parent = o74
  3554. o87.Name = "ClimbAnim"
  3555. o87.Parent = o86
  3556. o87.AnimationId = "http://www.roblox.com/asset/?id=180436334"
  3557. o88.Name = "toolnone"
  3558. o88.Parent = o74
  3559. o89.Name = "ToolNoneAnim"
  3560. o89.Parent = o88
  3561. o89.AnimationId = "http://www.roblox.com/asset/?id=182393478"
  3562. o90.Name = "fall"
  3563. o90.Parent = o74
  3564. o91.Name = "FallAnim"
  3565. o91.Parent = o90
  3566. o91.AnimationId = "http://www.roblox.com/asset/?id=180436148"
  3567. o92.Name = "sit"
  3568. o92.Parent = o74
  3569. o93.Name = "SitAnim"
  3570. o93.Parent = o92
  3571. o93.AnimationId = "http://www.roblox.com/asset/?id=178130996"
  3572. o94.Name = "ScaleDampeningPercent"
  3573. o94.Parent = o74
  3574. o94.Value = 0.39999997615814
  3575. o95.Parent = o14
  3576. o95.HeadColor = BrickColor.new("Pastel brown")
  3577. o95.LeftArmColor = BrickColor.new("Pastel brown")
  3578. o95.LeftLegColor = BrickColor.new("Pastel brown")
  3579. o95.RightArmColor = BrickColor.new("Pastel brown")
  3580. o95.RightLegColor = BrickColor.new("Pastel brown")
  3581. o95.TorsoColor = BrickColor.new("Pastel brown")
  3582. o96.Name = "Pants"
  3583. o96.Parent = o14
  3584. o96.PantsTemplate = "http://www.roblox.com/asset/?id=1439542143"
  3585. o98.Name = "Handle"
  3586. o98.Parent = mas
  3587. o98.Position = Vector3.new(-24.0806046, 6.87327433, 40.703331)
  3588. o98.Rotation = Vector3.new(-0.239999995, -34.9300003, -0.140000001)
  3589. o98.CanCollide = false
  3590. o98.Locked = true
  3591. o98.FormFactor = Enum.FormFactor.Custom
  3592. o98.Size = Vector3.new(1.45002651, 2.35999823, 1.24000001)
  3593. o98.CFrame = CFrame.new(-24.0806046, 6.87327433, 40.703331, 0.81987673, 0.00198863354, -0.572536647, -1.19155866e-05, 0.99999404, 0.00345628988, 0.572540045, -0.00282691, 0.819871843)
  3594. o98.BottomSurface = Enum.SurfaceType.Smooth
  3595. o98.TopSurface = Enum.SurfaceType.Smooth
  3596. o98.Position = Vector3.new(-24.0806046, 6.87327433, 40.703331)
  3597. o99.Parent = o98
  3598. o99.MeshId = "http://www.roblox.com/asset/?id=188565062 "
  3599. o99.TextureId = "http://www.roblox.com/asset/?id=188565095 "
  3600. o99.MeshType = Enum.MeshType.FileMesh
  3601. o101.Name = "OriginalSize"
  3602. o101.Parent = o98
  3603. o101.Value = Vector3.new(1.45002651, 2.35999823, 1.24000001)
  3604. o102.Name = "AccessoryWeld"
  3605. o102.Parent = o98
  3606. o102.C0 = CFrame.new(8.65748007e-09, 0.199999809, -0.0252722446, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3607. o102.C1 = CFrame.new(0, 0.600000024, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3608. o102.Part0 = o98
  3609. o102.Part1 = o15
  3610. o103.Name = "Shirt"
  3611. o103.Parent = o14
  3612. o103.ShirtTemplate = "http://www.roblox.com/asset/?id=1439532842"
  3613. mas.Parent = workspace
  3614. mas:MakeJoints()
  3615. local mas1 = mas:GetChildren()
  3616. for i=1,#mas1 do
  3617. mas1[i].Parent = workspace
  3618. ypcall(function() mas1[i]:MakeJoints() end)
  3619. end
  3620. mas:Destroy()
  3621. for i=1,#cors do
  3622. coroutine.resume(cors[i])
  3623. end
  3624. mess_handle.Text = "Resetting"
  3625. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  3626. v:LoadCharacter()
  3627. end
  3628. wait(1)
  3629. mess_handle:Remove()
  3630.  
  3631. end,o96)
  3632.  
  3633. o97.Parent = mas
  3634. o98.Name = "Infected"
  3635. o98.Parent = o97
  3636. o98.BrickColor = BrickColor.new("Bright violet")
  3637. o98.Position = Vector3.new(-28, 9.27394962, 73)
  3638. o98.Rotation = Vector3.new(0, -90, 0)
  3639. o98.Anchored = true
  3640. o98.FormFactor = Enum.FormFactor.Plate
  3641. o98.Size = Vector3.new(4, 1.20000005, 4)
  3642. o98.CFrame = CFrame.new(-28, 9.27394962, 73, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  3643. o98.TopSurface = Enum.SurfaceType.Smooth
  3644. o98.Color = Color3.new(0.419608, 0.196078, 0.486275)
  3645. o98.Position = Vector3.new(-28, 9.27394962, 73)
  3646. o99.Name = "Regen"
  3647. o99.Parent = o98
  3648.  
  3649. runDummyScript(function()
  3650. --Made by darkwings125, just group with the model to get it to work. This button also works for planes.
  3651. --Do not change anything besides the lines mentioned below.
  3652.  
  3653. model = script.Parent.Parent--Indicates that the script interacts with the model the button is grouped with.
  3654. messageText = ""--If you want a message to appear upon pressing, type it here.
  3655.  
  3656. message = Instance.new("Message")
  3657. message.Text = messageText
  3658. backup = model:clone()
  3659. enabled = true
  3660.  
  3661. function regenerate()
  3662. message.Parent = game.Workspace
  3663. model:remove()
  3664.  
  3665. wait(0.1)--Change this number to display the regen message as long as you want in seconds.
  3666.  
  3667. model = backup:clone()
  3668. model.Parent = game.Workspace
  3669. model:makeJoints()
  3670. message.Parent = nil
  3671.  
  3672. script.Disabled = true
  3673. script.Parent.BrickColor = BrickColor.new(26)--Black
  3674. wait(5)--Change this number to change the time in between regenerations via the button, in seconds..
  3675. script.Parent.BrickColor = BrickColor.new(104)--Purple
  3676. script.Disabled = false
  3677. end
  3678.  
  3679. function onHit(hit)
  3680. if (hit.Parent:FindFirstChild("Humanoid") ~= nil) and enabled then
  3681. regenerate()
  3682. end
  3683. end
  3684.  
  3685. script.Parent.Touched:connect(onHit)
  3686.  
  3687. --And it's done. If there's anything wrong with this button, PM me. -EdduTheArdo
  3688. end,o99)
  3689.  
  3690. o100.Name = "GoldenMechV2"
  3691. o100.Parent = o97
  3692. o101.Parent = o100
  3693. o101.BrickColor = BrickColor.new("Really black")
  3694. o101.Position = Vector3.new(-43.4783554, 7.46022511, 44.9495049)
  3695. o101.Rotation = Vector3.new(-179.959991, -3.31999993, 179.899994)
  3696. o101.FormFactor = Enum.FormFactor.Symmetric
  3697. o101.Size = Vector3.new(7, 3, 7)
  3698. o101.CFrame = CFrame.new(-43.4783554, 7.46022511, 44.9495049, -0.99831754, -0.00174688792, -0.0579567961, -0.00179327442, 0.999998093, 0.000748362683, 0.0579553805, 0.000851036049, -0.998318791)
  3699. o101.BottomSurface = Enum.SurfaceType.Smooth
  3700. o101.TopSurface = Enum.SurfaceType.Smooth
  3701. o101.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  3702. o101.Position = Vector3.new(-43.4783554, 7.46022511, 44.9495049)
  3703. o102.Parent = o100
  3704. o102.BrickColor = BrickColor.new("Bright red")
  3705. o102.Position = Vector3.new(-22.9255829, 33.2069778, 32.2562599)
  3706. o102.Rotation = Vector3.new(-89.9499969, -0.099999994, -86.6800003)
  3707. o102.FormFactor = Enum.FormFactor.Symmetric
  3708. o102.Size = Vector3.new(2, 6, 2)
  3709. o102.CFrame = CFrame.new(-22.9255829, 33.2069778, 32.2562599, 0.0579567961, 0.99831754, -0.00174688792, -0.000748362683, 0.00179327442, 0.999998093, 0.998318791, -0.0579553805, 0.000851036049)
  3710. o102.BottomSurface = Enum.SurfaceType.Weld
  3711. o102.TopSurface = Enum.SurfaceType.Smooth
  3712. o102.Color = Color3.new(0.768628, 0.156863, 0.109804)
  3713. o102.Position = Vector3.new(-22.9255829, 33.2069778, 32.2562599)
  3714. o103.Parent = o102
  3715. o103.Scale = Vector3.new(0.600000024, 1, 0.600000024)
  3716. o104.Parent = o100
  3717. o104.BrickColor = BrickColor.new("Bright red")
  3718. o104.Position = Vector3.new(-48.0344276, 40.1448364, 53.7528191)
  3719. o104.Rotation = Vector3.new(1.76999998, -86.6800003, 1.73000002)
  3720. o104.FormFactor = Enum.FormFactor.Symmetric
  3721. o104.Size = Vector3.new(10, 8, 3)
  3722. o104.CFrame = CFrame.new(-48.0344276, 40.1448364, 53.7528191, 0.0579567961, -0.00174688792, -0.99831754, -0.000748362683, 0.999998093, -0.00179327442, 0.998318791, 0.000851036049, 0.0579553805)
  3723. o104.BottomSurface = Enum.SurfaceType.Weld
  3724. o104.TopSurface = Enum.SurfaceType.Smooth
  3725. o104.Color = Color3.new(0.768628, 0.156863, 0.109804)
  3726. o104.Position = Vector3.new(-48.0344276, 40.1448364, 53.7528191)
  3727. o105.Parent = o104
  3728. o105.Texture = "http://www.roblox.com/asset/?id=26729786"
  3729. o105.Face = Enum.NormalId.Back
  3730. o106.Parent = o100
  3731. o106.BrickColor = BrickColor.new("Bright red")
  3732. o106.Position = Vector3.new(-29.1571808, 31.1582794, 76.6905899)
  3733. o106.Rotation = Vector3.new(-89.9499969, -0.099999994, -86.6800003)
  3734. o106.FormFactor = Enum.FormFactor.Symmetric
  3735. o106.Size = Vector3.new(2, 10, 2)
  3736. o106.CFrame = CFrame.new(-29.1571808, 31.1582794, 76.6905899, 0.0579567961, 0.99831754, -0.00174688792, -0.000748362683, 0.00179327442, 0.999998093, 0.998318791, -0.0579553805, 0.000851036049)
  3737. o106.BottomSurface = Enum.SurfaceType.Weld
  3738. o106.TopSurface = Enum.SurfaceType.Smooth
  3739. o106.Color = Color3.new(0.768628, 0.156863, 0.109804)
  3740. o106.Position = Vector3.new(-29.1571808, 31.1582794, 76.6905899)
  3741. o107.Parent = o106
  3742. o107.Scale = Vector3.new(0.600000024, 1, 0.600000024)
  3743. o108.Name = "Missile"
  3744. o108.Parent = o100
  3745. o109.Name = "Button"
  3746. o109.Parent = o108
  3747. o110.Name = "Button"
  3748. o110.Parent = o109
  3749. o110.BrickColor = BrickColor.new("Bright green")
  3750. o110.Reflectance = 0.5
  3751. o110.Position = Vector3.new(-46.6083717, 57.1597786, 39.1583672)
  3752. o110.Rotation = Vector3.new(90.0499954, 0.099999994, 86.6800003)
  3753. o110.FormFactor = Enum.FormFactor.Plate
  3754. o110.Size = Vector3.new(3, 0.400000006, 2)
  3755. o110.CFrame = CFrame.new(-46.6083717, 57.1597786, 39.1583672, 0.0579567961, -0.99831754, 0.00174688792, -0.000748362683, -0.00179327442, -0.999998093, 0.998318791, 0.0579553805, -0.000851036049)
  3756. o110.BottomSurface = Enum.SurfaceType.Weld
  3757. o110.TopSurface = Enum.SurfaceType.Smooth
  3758. o110.Color = Color3.new(0.294118, 0.592157, 0.294118)
  3759. o110.Position = Vector3.new(-46.6083717, 57.1597786, 39.1583672)
  3760. o111.Parent = o110
  3761. o111.MaxActivationDistance = 50
  3762. o112.Name = "Missile"
  3763. o112.Parent = o110
  3764.  
  3765. runDummyScript(function()
  3766. -- Cannon by TankLeadfoot
  3767.  
  3768. local b = Instance.new("Part")
  3769. b.Name = "Missile"
  3770. b.Size = Vector3.new(2, 2, 6)
  3771. b.Color = Color3.new(0, 0, 0)
  3772. b.CanCollide = true
  3773. b.Anchored = false
  3774. b.Shape = 1
  3775. b.formFactor = 0
  3776. b.BackSurface = 0
  3777. b.BottomSurface = 0
  3778. b.FrontSurface = 0
  3779. b.LeftSurface = 0
  3780. b.RightSurface = 0
  3781. b.TopSurface = 0
  3782.  
  3783. local m = Instance.new("SpecialMesh")
  3784. m.MeshType = 3
  3785. m.Parent = b
  3786.  
  3787. while (script:findFirstChild("Explosion") == nil) do wait(0.1) end
  3788. script.Explosion:Clone().Parent = b
  3789. while (script:findFirstChild("Swoosh") == nil) do wait(0.1) end
  3790. script.Swoosh:Clone().Parent = b
  3791. while (script:findFirstChild("Missile") == nil) do wait(0.1) end
  3792. script.Missile:Clone().Parent = b
  3793.  
  3794. while (b:findFirstChild("Swoosh") == nil) do wait(0.1) end
  3795. b.Swoosh:Play()
  3796.  
  3797. local Lock = nil
  3798.  
  3799. script.Parent.BrickColor = BrickColor.new(37)
  3800.  
  3801. script.Parent.ClickDetector.MouseClick:connect(function()
  3802. if (Lock == nil) and (script.Parent.Parent.Parent.Missiles:findFirstChild("Missile"..script.Parent.Clip.Value) ~= nil) then
  3803. Lock = true
  3804. script.Parent.BrickColor = BrickColor.new(21)
  3805.  
  3806. b.CFrame = script.Parent.Parent.Parent.Missiles:findFirstChild("Missile"..script.Parent.Clip.Value).CFrame + (script.Parent.Parent.Parent.Missiles.Missile1.CFrame.lookVector).unit * 5
  3807. b.Velocity = (script.Parent.Parent.Parent.Missiles.Missile1.CFrame.lookVector).unit * 500
  3808. b:Clone().Parent = game.Workspace
  3809.  
  3810.  
  3811. script.Parent.Clip.Value = script.Parent.Clip.Value - 1
  3812.  
  3813. if (script.Parent.Clip.Value <= 0) then
  3814. script.Parent.Clip.Value = 6
  3815. script.Parent.BrickColor = BrickColor.new(4)
  3816. wait(360)
  3817. else
  3818. wait(2)
  3819. end
  3820.  
  3821. script.Parent.BrickColor = BrickColor.new(37)
  3822. Lock = nil
  3823. end
  3824. end)
  3825.  
  3826. end,o112)
  3827.  
  3828. o113.Name = "Missile"
  3829. o113.Parent = o112
  3830.  
  3831. runDummyScript(function()
  3832. -- Cannon Ball by TankLeadfoot
  3833.  
  3834. local b = Instance.new("Explosion")
  3835. b.Name = "Boom"
  3836. b.BlastRadius = 50
  3837.  
  3838. local Lock = nil
  3839.  
  3840. function onTouch(hit)
  3841. if (Lock == nil) then
  3842. Lock = true
  3843. script.Parent.Anchored = true
  3844. script.Parent.CanCollide = false
  3845. script.Parent.Transparency = 1
  3846.  
  3847. if (script.Parent:findFirstChild("Explosion") ~= nil) then
  3848. script.Parent.Explosion:Play()
  3849. end
  3850. b.Position = script.Parent.Position
  3851. b:Clone().Parent = script.Parent
  3852.  
  3853. wait(1)
  3854. script.Parent:Remove()
  3855. end
  3856. end
  3857.  
  3858. script.Parent.Touched:connect(onTouch)
  3859.  
  3860. end,o113)
  3861.  
  3862. o114.Name = "Explosion"
  3863. o114.Parent = o112
  3864. o114.SoundId = "rbxasset://sounds/collide.wav"
  3865. o114.Volume = 1
  3866. o115.Name = "Swoosh"
  3867. o115.Parent = o112
  3868. o115.SoundId = "rbxasset://sounds/Rocket whoosh 01.wav"
  3869. o115.Volume = 1
  3870. o115.Looped = true
  3871. o116.Name = "Clip"
  3872. o116.Parent = o110
  3873. o116.Value = 4
  3874. o117.Name = "Missiles"
  3875. o117.Parent = o108
  3876. o118.Name = "Missile6"
  3877. o118.Parent = o117
  3878. o118.Transparency = 1
  3879. o118.Position = Vector3.new(-37.3524323, 58.6738472, 41.6272049)
  3880. o118.Rotation = Vector3.new(1.76999998, -86.6800003, 1.73000002)
  3881. o118.CanCollide = false
  3882. o118.FormFactor = Enum.FormFactor.Symmetric
  3883. o118.Size = Vector3.new(1, 1, 1)
  3884. o118.CFrame = CFrame.new(-37.3524323, 58.6738472, 41.6272049, 0.0579567961, -0.00174688792, -0.99831754, -0.000748362683, 0.999998093, -0.00179327442, 0.998318791, 0.000851036049, 0.0579553805)
  3885. o118.BackSurface = Enum.SurfaceType.Weld
  3886. o118.BottomSurface = Enum.SurfaceType.Smooth
  3887. o118.TopSurface = Enum.SurfaceType.Smooth
  3888. o118.Position = Vector3.new(-37.3524323, 58.6738472, 41.6272049)
  3889. o119.Name = "Missile5"
  3890. o119.Parent = o117
  3891. o119.BrickColor = BrickColor.new("Bright red")
  3892. o119.Transparency = 1
  3893. o119.Position = Vector3.new(-37.5263062, 58.6760941, 38.6322479)
  3894. o119.Rotation = Vector3.new(1.76999998, -86.6800003, 1.73000002)
  3895. o119.CanCollide = false
  3896. o119.FormFactor = Enum.FormFactor.Symmetric
  3897. o119.Size = Vector3.new(1, 1, 1)
  3898. o119.CFrame = CFrame.new(-37.5263062, 58.6760941, 38.6322479, 0.0579567961, -0.00174688792, -0.99831754, -0.000748362683, 0.999998093, -0.00179327442, 0.998318791, 0.000851036049, 0.0579553805)
  3899. o119.BackSurface = Enum.SurfaceType.Weld
  3900. o119.BottomSurface = Enum.SurfaceType.Smooth
  3901. o119.TopSurface = Enum.SurfaceType.Smooth
  3902. o119.Color = Color3.new(0.768628, 0.156863, 0.109804)
  3903. o119.Position = Vector3.new(-37.5263062, 58.6760941, 38.6322479)
  3904. o120.Name = "Missile4"
  3905. o120.Parent = o117
  3906. o120.Transparency = 1
  3907. o120.Position = Vector3.new(-37.7001762, 58.6783371, 35.6372948)
  3908. o120.Rotation = Vector3.new(1.76999998, -86.6800003, 1.73000002)
  3909. o120.CanCollide = false
  3910. o120.FormFactor = Enum.FormFactor.Symmetric
  3911. o120.Size = Vector3.new(1, 1, 1)
  3912. o120.CFrame = CFrame.new(-37.7001762, 58.6783371, 35.6372948, 0.0579567961, -0.00174688792, -0.99831754, -0.000748362683, 0.999998093, -0.00179327442, 0.998318791, 0.000851036049, 0.0579553805)
  3913. o120.BackSurface = Enum.SurfaceType.Weld
  3914. o120.BottomSurface = Enum.SurfaceType.Smooth
  3915. o120.TopSurface = Enum.SurfaceType.Smooth
  3916. o120.Position = Vector3.new(-37.7001762, 58.6783371, 35.6372948)
  3917. o121.Name = "Missile3"
  3918. o121.Parent = o117
  3919. o121.Transparency = 1
  3920. o121.Position = Vector3.new(-37.3471947, 55.6738548, 41.6246529)
  3921. o121.Rotation = Vector3.new(1.76999998, -86.6800003, 1.73000002)
  3922. o121.CanCollide = false
  3923. o121.FormFactor = Enum.FormFactor.Symmetric
  3924. o121.Size = Vector3.new(1, 1, 1)
  3925. o121.CFrame = CFrame.new(-37.3471947, 55.6738548, 41.6246529, 0.0579567961, -0.00174688792, -0.99831754, -0.000748362683, 0.999998093, -0.00179327442, 0.998318791, 0.000851036049, 0.0579553805)
  3926. o121.BackSurface = Enum.SurfaceType.Weld
  3927. o121.BottomSurface = Enum.SurfaceType.Smooth
  3928. o121.TopSurface = Enum.SurfaceType.Smooth
  3929. o121.Position = Vector3.new(-37.3471947, 55.6738548, 41.6246529)
  3930. o122.Name = "Missile2"
  3931. o122.Parent = o117
  3932. o122.Transparency = 1
  3933. o122.Position = Vector3.new(-37.5210648, 55.6760979, 38.6296959)
  3934. o122.Rotation = Vector3.new(1.76999998, -86.6800003, 1.73000002)
  3935. o122.CanCollide = false
  3936. o122.FormFactor = Enum.FormFactor.Symmetric
  3937. o122.Size = Vector3.new(1, 1, 1)
  3938. o122.CFrame = CFrame.new(-37.5210648, 55.6760979, 38.6296959, 0.0579567961, -0.00174688792, -0.99831754, -0.000748362683, 0.999998093, -0.00179327442, 0.998318791, 0.000851036049, 0.0579553805)
  3939. o122.BackSurface = Enum.SurfaceType.Weld
  3940. o122.BottomSurface = Enum.SurfaceType.Smooth
  3941. o122.TopSurface = Enum.SurfaceType.Smooth
  3942. o122.Position = Vector3.new(-37.5210648, 55.6760979, 38.6296959)
  3943. o123.Name = "Missile1"
  3944. o123.Parent = o117
  3945. o123.Transparency = 1
  3946. o123.Position = Vector3.new(-37.6949348, 55.6783447, 35.6347389)
  3947. o123.Rotation = Vector3.new(1.76999998, -86.6800003, 1.73000002)
  3948. o123.CanCollide = false
  3949. o123.FormFactor = Enum.FormFactor.Symmetric
  3950. o123.Size = Vector3.new(1, 1, 1)
  3951. o123.CFrame = CFrame.new(-37.6949348, 55.6783447, 35.6347389, 0.0579567961, -0.00174688792, -0.99831754, -0.000748362683, 0.999998093, -0.00179327442, 0.998318791, 0.000851036049, 0.0579553805)
  3952. o123.BackSurface = Enum.SurfaceType.Weld
  3953. o123.BottomSurface = Enum.SurfaceType.Smooth
  3954. o123.TopSurface = Enum.SurfaceType.Smooth
  3955. o123.Position = Vector3.new(-37.6949348, 55.6783447, 35.6347389)
  3956. o124.Name = "Missile"
  3957. o124.Parent = o100
  3958. o125.Name = "Button"
  3959. o125.Parent = o124
  3960. o126.Name = "Button"
  3961. o126.Parent = o125
  3962. o126.BrickColor = BrickColor.new("Bright green")
  3963. o126.Reflectance = 0.5
  3964. o126.Position = Vector3.new(-44.9276237, 57.1380806, 68.1096191)
  3965. o126.Rotation = Vector3.new(90.0499954, 0.099999994, 86.6800003)
  3966. o126.FormFactor = Enum.FormFactor.Plate
  3967. o126.Size = Vector3.new(3, 0.400000006, 2)
  3968. o126.CFrame = CFrame.new(-44.9276237, 57.1380806, 68.1096191, 0.0579567961, -0.99831754, 0.00174688792, -0.000748362683, -0.00179327442, -0.999998093, 0.998318791, 0.0579553805, -0.000851036049)
  3969. o126.BottomSurface = Enum.SurfaceType.Weld
  3970. o126.TopSurface = Enum.SurfaceType.Smooth
  3971. o126.Color = Color3.new(0.294118, 0.592157, 0.294118)
  3972. o126.Position = Vector3.new(-44.9276237, 57.1380806, 68.1096191)
  3973. o127.Parent = o126
  3974. o127.MaxActivationDistance = 50
  3975. o128.Name = "Missile"
  3976. o128.Parent = o126
  3977.  
  3978. runDummyScript(function()
  3979. -- Cannon by TankLeadfoot
  3980.  
  3981. local b = Instance.new("Part")
  3982. b.Name = "Missile"
  3983. b.Size = Vector3.new(2, 2, 6)
  3984. b.Color = Color3.new(0, 0, 0)
  3985. b.CanCollide = true
  3986. b.Anchored = false
  3987. b.Shape = 1
  3988. b.formFactor = 0
  3989. b.BackSurface = 0
  3990. b.BottomSurface = 0
  3991. b.FrontSurface = 0
  3992. b.LeftSurface = 0
  3993. b.RightSurface = 0
  3994. b.TopSurface = 0
  3995.  
  3996. local m = Instance.new("SpecialMesh")
  3997. m.MeshType = 3
  3998. m.Parent = b
  3999.  
  4000. while (script:findFirstChild("Explosion") == nil) do wait(0.1) end
  4001. script.Explosion:Clone().Parent = b
  4002. while (script:findFirstChild("Swoosh") == nil) do wait(0.1) end
  4003. script.Swoosh:Clone().Parent = b
  4004. while (script:findFirstChild("Missile") == nil) do wait(0.1) end
  4005. script.Missile:Clone().Parent = b
  4006.  
  4007. while (b:findFirstChild("Swoosh") == nil) do wait(0.1) end
  4008. b.Swoosh:Play()
  4009.  
  4010. local Lock = nil
  4011.  
  4012. script.Parent.BrickColor = BrickColor.new(37)
  4013.  
  4014. script.Parent.ClickDetector.MouseClick:connect(function()
  4015. if (Lock == nil) and (script.Parent.Parent.Parent.Missiles:findFirstChild("Missile"..script.Parent.Clip.Value) ~= nil) then
  4016. Lock = true
  4017. script.Parent.BrickColor = BrickColor.new(21)
  4018.  
  4019. b.CFrame = script.Parent.Parent.Parent.Missiles:findFirstChild("Missile"..script.Parent.Clip.Value).CFrame + (script.Parent.Parent.Parent.Missiles.Missile1.CFrame.lookVector).unit * 5
  4020. b.Velocity = (script.Parent.Parent.Parent.Missiles.Missile1.CFrame.lookVector).unit * 500
  4021. b:Clone().Parent = game.Workspace
  4022.  
  4023.  
  4024. script.Parent.Clip.Value = script.Parent.Clip.Value - 1
  4025.  
  4026. if (script.Parent.Clip.Value <= 0) then
  4027. script.Parent.Clip.Value = 6
  4028. script.Parent.BrickColor = BrickColor.new(4)
  4029. wait(360)
  4030. else
  4031. wait(2)
  4032. end
  4033.  
  4034. script.Parent.BrickColor = BrickColor.new(37)
  4035. Lock = nil
  4036. end
  4037. end)
  4038.  
  4039. end,o128)
  4040.  
  4041. o129.Name = "Missile"
  4042. o129.Parent = o128
  4043.  
  4044. runDummyScript(function()
  4045. -- Cannon Ball by TankLeadfoot
  4046.  
  4047. local b = Instance.new("Explosion")
  4048. b.Name = "Boom"
  4049. b.BlastRadius = 50
  4050.  
  4051. local Lock = nil
  4052.  
  4053. function onTouch(hit)
  4054. if (Lock == nil) then
  4055. Lock = true
  4056. script.Parent.Anchored = true
  4057. script.Parent.CanCollide = false
  4058. script.Parent.Transparency = 1
  4059.  
  4060. if (script.Parent:findFirstChild("Explosion") ~= nil) then
  4061. script.Parent.Explosion:Play()
  4062. end
  4063. b.Position = script.Parent.Position
  4064. b:Clone().Parent = script.Parent
  4065.  
  4066. wait(1)
  4067. script.Parent:Remove()
  4068. end
  4069. end
  4070.  
  4071. script.Parent.Touched:connect(onTouch)
  4072.  
  4073. end,o129)
  4074.  
  4075. o130.Name = "Explosion"
  4076. o130.Parent = o128
  4077. o130.SoundId = "rbxasset://sounds/collide.wav"
  4078. o130.Volume = 1
  4079. o131.Name = "Swoosh"
  4080. o131.Parent = o128
  4081. o131.SoundId = "rbxasset://sounds/Rocket whoosh 01.wav"
  4082. o131.Volume = 1
  4083. o131.Looped = true
  4084. o132.Name = "Clip"
  4085. o132.Parent = o126
  4086. o132.Value = 4
  4087. o133.Name = "Missiles"
  4088. o133.Parent = o124
  4089. o134.Name = "Missile6"
  4090. o134.Parent = o133
  4091. o134.Transparency = 1
  4092. o134.Position = Vector3.new(-35.6716843, 58.6521492, 70.5784607)
  4093. o134.Rotation = Vector3.new(1.76999998, -86.6800003, 1.73000002)
  4094. o134.CanCollide = false
  4095. o134.FormFactor = Enum.FormFactor.Symmetric
  4096. o134.Size = Vector3.new(1, 1, 1)
  4097. o134.CFrame = CFrame.new(-35.6716843, 58.6521492, 70.5784607, 0.0579567961, -0.00174688792, -0.99831754, -0.000748362683, 0.999998093, -0.00179327442, 0.998318791, 0.000851036049, 0.0579553805)
  4098. o134.BackSurface = Enum.SurfaceType.Weld
  4099. o134.BottomSurface = Enum.SurfaceType.Smooth
  4100. o134.TopSurface = Enum.SurfaceType.Smooth
  4101. o134.Position = Vector3.new(-35.6716843, 58.6521492, 70.5784607)
  4102. o135.Name = "Missile5"
  4103. o135.Parent = o133
  4104. o135.Transparency = 1
  4105. o135.Position = Vector3.new(-35.8455582, 58.6543961, 67.5835037)
  4106. o135.Rotation = Vector3.new(1.76999998, -86.6800003, 1.73000002)
  4107. o135.CanCollide = false
  4108. o135.FormFactor = Enum.FormFactor.Symmetric
  4109. o135.Size = Vector3.new(1, 1, 1)
  4110. o135.CFrame = CFrame.new(-35.8455582, 58.6543961, 67.5835037, 0.0579567961, -0.00174688792, -0.99831754, -0.000748362683, 0.999998093, -0.00179327442, 0.998318791, 0.000851036049, 0.0579553805)
  4111. o135.BackSurface = Enum.SurfaceType.Weld
  4112. o135.BottomSurface = Enum.SurfaceType.Smooth
  4113. o135.TopSurface = Enum.SurfaceType.Smooth
  4114. o135.Position = Vector3.new(-35.8455582, 58.6543961, 67.5835037)
  4115. o136.Name = "Missile4"
  4116. o136.Parent = o133
  4117. o136.BrickColor = BrickColor.new("Bright red")
  4118. o136.Transparency = 1
  4119. o136.Position = Vector3.new(-36.0194283, 58.6566391, 64.5885468)
  4120. o136.Rotation = Vector3.new(1.76999998, -86.6800003, 1.73000002)
  4121. o136.CanCollide = false
  4122. o136.FormFactor = Enum.FormFactor.Symmetric
  4123. o136.Size = Vector3.new(1, 1, 1)
  4124. o136.CFrame = CFrame.new(-36.0194283, 58.6566391, 64.5885468, 0.0579567961, -0.00174688792, -0.99831754, -0.000748362683, 0.999998093, -0.00179327442, 0.998318791, 0.000851036049, 0.0579553805)
  4125. o136.BackSurface = Enum.SurfaceType.Weld
  4126. o136.BottomSurface = Enum.SurfaceType.Smooth
  4127. o136.TopSurface = Enum.SurfaceType.Smooth
  4128. o136.Color = Color3.new(0.768628, 0.156863, 0.109804)
  4129. o136.Position = Vector3.new(-36.0194283, 58.6566391, 64.5885468)
  4130. o137.Name = "Missile3"
  4131. o137.Parent = o133
  4132. o137.Transparency = 1
  4133. o137.Position = Vector3.new(-35.6664467, 55.6521568, 70.5759048)
  4134. o137.Rotation = Vector3.new(1.76999998, -86.6800003, 1.73000002)
  4135. o137.CanCollide = false
  4136. o137.FormFactor = Enum.FormFactor.Symmetric
  4137. o137.Size = Vector3.new(1, 1, 1)
  4138. o137.CFrame = CFrame.new(-35.6664467, 55.6521568, 70.5759048, 0.0579567961, -0.00174688792, -0.99831754, -0.000748362683, 0.999998093, -0.00179327442, 0.998318791, 0.000851036049, 0.0579553805)
  4139. o137.BackSurface = Enum.SurfaceType.Weld
  4140. o137.BottomSurface = Enum.SurfaceType.Smooth
  4141. o137.TopSurface = Enum.SurfaceType.Smooth
  4142. o137.Position = Vector3.new(-35.6664467, 55.6521568, 70.5759048)
  4143. o138.Name = "Missile2"
  4144. o138.Parent = o133
  4145. o138.Transparency = 1
  4146. o138.Position = Vector3.new(-35.8403168, 55.6543999, 67.5809479)
  4147. o138.Rotation = Vector3.new(1.76999998, -86.6800003, 1.73000002)
  4148. o138.CanCollide = false
  4149. o138.FormFactor = Enum.FormFactor.Symmetric
  4150. o138.Size = Vector3.new(1, 1, 1)
  4151. o138.CFrame = CFrame.new(-35.8403168, 55.6543999, 67.5809479, 0.0579567961, -0.00174688792, -0.99831754, -0.000748362683, 0.999998093, -0.00179327442, 0.998318791, 0.000851036049, 0.0579553805)
  4152. o138.BackSurface = Enum.SurfaceType.Weld
  4153. o138.BottomSurface = Enum.SurfaceType.Smooth
  4154. o138.TopSurface = Enum.SurfaceType.Smooth
  4155. o138.Position = Vector3.new(-35.8403168, 55.6543999, 67.5809479)
  4156. o139.Name = "Missile1"
  4157. o139.Parent = o133
  4158. o139.Transparency = 1
  4159. o139.Position = Vector3.new(-36.0141869, 55.6566467, 64.5859909)
  4160. o139.Rotation = Vector3.new(1.76999998, -86.6800003, 1.73000002)
  4161. o139.CanCollide = false
  4162. o139.FormFactor = Enum.FormFactor.Symmetric
  4163. o139.Size = Vector3.new(1, 1, 1)
  4164. o139.CFrame = CFrame.new(-36.0141869, 55.6566467, 64.5859909, 0.0579567961, -0.00174688792, -0.99831754, -0.000748362683, 0.999998093, -0.00179327442, 0.998318791, 0.000851036049, 0.0579553805)
  4165. o139.BackSurface = Enum.SurfaceType.Weld
  4166. o139.BottomSurface = Enum.SurfaceType.Smooth
  4167. o139.TopSurface = Enum.SurfaceType.Smooth
  4168. o139.Position = Vector3.new(-36.0141869, 55.6566467, 64.5859909)
  4169. o140.Parent = o100
  4170. o140.BrickColor = BrickColor.new("Bright red")
  4171. o140.Position = Vector3.new(-43.6037216, 29.4613075, 43.4707489)
  4172. o140.Rotation = Vector3.new(0.0399999991, 3.31999993, 0.099999994)
  4173. o140.FormFactor = Enum.FormFactor.Symmetric
  4174. o140.Size = Vector3.new(7, 3, 4)
  4175. o140.CFrame = CFrame.new(-43.6037216, 29.4613075, 43.4707489, 0.99831754, -0.00174688792, 0.0579567961, 0.00179327442, 0.999998093, -0.000748362683, -0.0579553805, 0.000851036049, 0.998318791)
  4176. o140.BackSurface = Enum.SurfaceType.Weld
  4177. o140.BottomSurface = Enum.SurfaceType.Weld
  4178. o140.Color = Color3.new(0.768628, 0.156863, 0.109804)
  4179. o140.Position = Vector3.new(-43.6037216, 29.4613075, 43.4707489)
  4180. o141.Parent = o100
  4181. o141.BrickColor = BrickColor.new("Bright red")
  4182. o141.Position = Vector3.new(-30.4933071, 3.49379253, 44.1926575)
  4183. o141.Rotation = Vector3.new(90.8499985, 13.5499992, 86.5800018)
  4184. o141.FormFactor = Enum.FormFactor.Symmetric
  4185. o141.Shape = Enum.PartType.Cylinder
  4186. o141.Size = Vector3.new(3, 3, 3)
  4187. o141.CFrame = CFrame.new(-30.4933071, 3.49379253, 44.1926575, 0.057942111, -0.970421553, 0.234360203, -0.000789284939, -0.234799057, -0.972043633, 0.998319626, 0.0561372824, -0.0143706929)
  4188. o141.BottomSurface = Enum.SurfaceType.Smooth
  4189. o141.LeftSurface = Enum.SurfaceType.Hinge
  4190. o141.RightSurface = Enum.SurfaceType.Hinge
  4191. o141.TopSurface = Enum.SurfaceType.Smooth
  4192. o141.Color = Color3.new(0.768628, 0.156863, 0.109804)
  4193. o141.Position = Vector3.new(-30.4933071, 3.49379253, 44.1926575)
  4194. o142.Parent = o100
  4195. o142.BrickColor = BrickColor.new("Bright red")
  4196. o142.Position = Vector3.new(-29.5079994, 3.49877977, 61.1640854)
  4197. o142.Rotation = Vector3.new(88.5699997, -24.2600002, 86.3600006)
  4198. o142.FormFactor = Enum.FormFactor.Symmetric
  4199. o142.Shape = Enum.PartType.Cylinder
  4200. o142.Size = Vector3.new(3, 3, 3)
  4201. o142.CFrame = CFrame.new(-29.5079994, 3.49877977, 61.1640854, 0.057957951, -0.909877658, -0.410808414, -0.00118278491, 0.411437273, -0.911437333, 0.998318315, 0.0533109382, 0.0227698702)
  4202. o142.BottomSurface = Enum.SurfaceType.Smooth
  4203. o142.LeftSurface = Enum.SurfaceType.Hinge
  4204. o142.RightSurface = Enum.SurfaceType.Hinge
  4205. o142.TopSurface = Enum.SurfaceType.Smooth
  4206. o142.Color = Color3.new(0.768628, 0.156863, 0.109804)
  4207. o142.Position = Vector3.new(-29.5079994, 3.49877977, 61.1640854)
  4208. o143.Parent = o100
  4209. o143.BrickColor = BrickColor.new("Bright red")
  4210. o143.Position = Vector3.new(-35.4849129, 3.49484396, 44.4824371)
  4211. o143.Rotation = Vector3.new(92.1399994, 32.1199989, 86.0800018)
  4212. o143.FormFactor = Enum.FormFactor.Symmetric
  4213. o143.Shape = Enum.PartType.Cylinder
  4214. o143.Size = Vector3.new(3, 3, 3)
  4215. o143.CFrame = CFrame.new(-35.4849129, 3.49484396, 44.4824371, 0.0579487942, -0.844944894, 0.531704843, -0.000840289518, -0.532640934, -0.846340895, 0.998319209, 0.0485976487, -0.0315758958)
  4216. o143.BottomSurface = Enum.SurfaceType.Smooth
  4217. o143.LeftSurface = Enum.SurfaceType.Hinge
  4218. o143.RightSurface = Enum.SurfaceType.Hinge
  4219. o143.TopSurface = Enum.SurfaceType.Smooth
  4220. o143.Color = Color3.new(0.768628, 0.156863, 0.109804)
  4221. o143.Position = Vector3.new(-35.4849129, 3.49484396, 44.4824371)
  4222. o144.Parent = o100
  4223. o144.BrickColor = BrickColor.new("Bright red")
  4224. o144.Position = Vector3.new(-34.4996338, 3.48213696, 61.4538383)
  4225. o144.Rotation = Vector3.new(95.3399963, 57.8199997, 83.75)
  4226. o144.FormFactor = Enum.FormFactor.Symmetric
  4227. o144.Shape = Enum.PartType.Cylinder
  4228. o144.Size = Vector3.new(3, 3, 3)
  4229. o144.CFrame = CFrame.new(-34.4996338, 3.48213696, 61.4538383, 0.0579573996, -0.52945894, 0.846353412, -0.000790686347, -0.847802579, -0.530311346, 0.998318732, 0.0300662667, -0.049555067)
  4230. o144.BottomSurface = Enum.SurfaceType.Smooth
  4231. o144.LeftSurface = Enum.SurfaceType.Hinge
  4232. o144.RightSurface = Enum.SurfaceType.Hinge
  4233. o144.TopSurface = Enum.SurfaceType.Smooth
  4234. o144.Color = Color3.new(0.768628, 0.156863, 0.109804)
  4235. o144.Position = Vector3.new(-34.4996338, 3.48213696, 61.4538383)
  4236. o145.Parent = o100
  4237. o145.BrickColor = BrickColor.new("Bright red")
  4238. o145.Position = Vector3.new(-39.4781761, 3.487674, 44.7142754)
  4239. o145.Rotation = Vector3.new(122.129997, 83.7599945, 57.7599983)
  4240. o145.FormFactor = Enum.FormFactor.Symmetric
  4241. o145.Shape = Enum.PartType.Cylinder
  4242. o145.Size = Vector3.new(3, 3, 3)
  4243. o145.CFrame = CFrame.new(-39.4781761, 3.487674, 44.7142754, 0.0579589233, -0.0918883085, 0.99408114, -0.000783773605, -0.995758891, -0.0919976979, 0.998318672, 0.00455295295, -0.0577851348)
  4244. o145.BottomSurface = Enum.SurfaceType.Smooth
  4245. o145.LeftSurface = Enum.SurfaceType.Hinge
  4246. o145.RightSurface = Enum.SurfaceType.Hinge
  4247. o145.TopSurface = Enum.SurfaceType.Smooth
  4248. o145.Color = Color3.new(0.768628, 0.156863, 0.109804)
  4249. o145.Position = Vector3.new(-39.4781761, 3.487674, 44.7142754)
  4250. o146.Parent = o100
  4251. o146.BrickColor = BrickColor.new("Bright red")
  4252. o146.Position = Vector3.new(-38.492897, 3.47495151, 61.6856308)
  4253. o146.Rotation = Vector3.new(-89.5400009, -7.08999968, -86.6500015)
  4254. o146.FormFactor = Enum.FormFactor.Symmetric
  4255. o146.Shape = Enum.PartType.Cylinder
  4256. o146.Size = Vector3.new(3, 3, 3)
  4257. o146.CFrame = CFrame.new(-38.492897, 3.47495151, 61.6856308, 0.0579508133, 0.990654528, -0.123471893, -0.000766836922, 0.123723879, 0.992316365, 0.998319149, -0.0574108586, 0.00792957004)
  4258. o146.BottomSurface = Enum.SurfaceType.Smooth
  4259. o146.LeftSurface = Enum.SurfaceType.Hinge
  4260. o146.RightSurface = Enum.SurfaceType.Hinge
  4261. o146.TopSurface = Enum.SurfaceType.Smooth
  4262. o146.Color = Color3.new(0.768628, 0.156863, 0.109804)
  4263. o146.Position = Vector3.new(-38.492897, 3.47495151, 61.6856308)
  4264. o147.Parent = o100
  4265. o147.BrickColor = BrickColor.new("Really black")
  4266. o147.Position = Vector3.new(-42.1205292, 4.46479177, 42.3642235)
  4267. o147.Rotation = Vector3.new(-179.959991, -3.31999993, 179.899994)
  4268. o147.FormFactor = Enum.FormFactor.Symmetric
  4269. o147.Size = Vector3.new(24, 3, 2)
  4270. o147.CFrame = CFrame.new(-42.1205292, 4.46479177, 42.3642235, -0.99831754, -0.00174688792, -0.0579567961, -0.00179327442, 0.999998093, 0.000748362683, 0.0579553805, 0.000851036049, -0.998318791)
  4271. o147.BackSurface = Enum.SurfaceType.Weld
  4272. o147.BottomSurface = Enum.SurfaceType.Smooth
  4273. o147.TopSurface = Enum.SurfaceType.Weld
  4274. o147.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  4275. o147.Position = Vector3.new(-42.1205292, 4.46479177, 42.3642235)
  4276. o148.Parent = o100
  4277. o148.BrickColor = BrickColor.new("Bright red")
  4278. o148.Position = Vector3.new(-44.4697685, 3.4786973, 45.0040512)
  4279. o148.Rotation = Vector3.new(80.2299957, -71.1800003, 79.6500015)
  4280. o148.FormFactor = Enum.FormFactor.Symmetric
  4281. o148.Shape = Enum.PartType.Cylinder
  4282. o148.Size = Vector3.new(3, 3, 3)
  4283. o148.CFrame = CFrame.new(-44.4697685, 3.4786973, 45.0040512, 0.057945665, -0.317266703, -0.946564376, -0.000719263277, 0.948144019, -0.317840219, 0.998319507, 0.0190982912, 0.0547126345)
  4284. o148.BottomSurface = Enum.SurfaceType.Smooth
  4285. o148.LeftSurface = Enum.SurfaceType.Hinge
  4286. o148.RightSurface = Enum.SurfaceType.Hinge
  4287. o148.TopSurface = Enum.SurfaceType.Smooth
  4288. o148.Color = Color3.new(0.768628, 0.156863, 0.109804)
  4289. o148.Position = Vector3.new(-44.4697685, 3.4786973, 45.0040512)
  4290. o149.Parent = o100
  4291. o149.BrickColor = BrickColor.new("Really black")
  4292. o149.Position = Vector3.new(-41.8307457, 4.46105003, 47.3558159)
  4293. o149.Rotation = Vector3.new(-179.959991, -3.31999993, 179.899994)
  4294. o149.FormFactor = Enum.FormFactor.Symmetric
  4295. o149.Size = Vector3.new(24, 3, 2)
  4296. o149.CFrame = CFrame.new(-41.8307457, 4.46105003, 47.3558159, -0.99831754, -0.00174688792, -0.0579567961, -0.00179327442, 0.999998093, 0.000748362683, 0.0579553805, 0.000851036049, -0.998318791)
  4297. o149.BottomSurface = Enum.SurfaceType.Smooth
  4298. o149.FrontSurface = Enum.SurfaceType.Weld
  4299. o149.TopSurface = Enum.SurfaceType.Weld
  4300. o149.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  4301. o149.Position = Vector3.new(-41.8307457, 4.46105003, 47.3558159)
  4302. o150.Parent = o100
  4303. o150.BrickColor = BrickColor.new("Bright red")
  4304. o150.Position = Vector3.new(-39.8707466, 17.9500961, 64.2807693)
  4305. o150.Rotation = Vector3.new(-179.959991, -3.31999993, 179.899994)
  4306. o150.Size = Vector3.new(2, 18, 2)
  4307. o150.CFrame = CFrame.new(-39.8707466, 17.9500961, 64.2807693, -0.99831754, -0.00174688792, -0.0579567961, -0.00179327442, 0.999998093, 0.000748362683, 0.0579553805, 0.000851036049, -0.998318791)
  4308. o150.BackSurface = Enum.SurfaceType.Smooth
  4309. o150.BottomSurface = Enum.SurfaceType.Weld
  4310. o150.FrontSurface = Enum.SurfaceType.Smooth
  4311. o150.LeftSurface = Enum.SurfaceType.Smooth
  4312. o150.RightSurface = Enum.SurfaceType.Smooth
  4313. o150.TopSurface = Enum.SurfaceType.Weld
  4314. o150.Color = Color3.new(0.768628, 0.156863, 0.109804)
  4315. o150.Position = Vector3.new(-39.8707466, 17.9500961, 64.2807693)
  4316. o151.Parent = o100
  4317. o151.BrickColor = BrickColor.new("Really black")
  4318. o151.Position = Vector3.new(-40.8454742, 4.44832945, 64.32724)
  4319. o151.Rotation = Vector3.new(-179.959991, -3.31999993, 179.899994)
  4320. o151.FormFactor = Enum.FormFactor.Symmetric
  4321. o151.Size = Vector3.new(24, 3, 2)
  4322. o151.CFrame = CFrame.new(-40.8454742, 4.44832945, 64.32724, -0.99831754, -0.00174688792, -0.0579567961, -0.00179327442, 0.999998093, 0.000748362683, 0.0579553805, 0.000851036049, -0.998318791)
  4323. o151.BottomSurface = Enum.SurfaceType.Smooth
  4324. o151.FrontSurface = Enum.SurfaceType.Weld
  4325. o151.TopSurface = Enum.SurfaceType.Weld
  4326. o151.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  4327. o151.Position = Vector3.new(-40.8454742, 4.44832945, 64.32724)
  4328. o152.Parent = o100
  4329. o152.BrickColor = BrickColor.new("Bright red")
  4330. o152.Position = Vector3.new(-41.867382, 17.9465103, 64.3966827)
  4331. o152.Rotation = Vector3.new(-179.959991, -3.31999993, 179.899994)
  4332. o152.Size = Vector3.new(2, 18, 2)
  4333. o152.CFrame = CFrame.new(-41.867382, 17.9465103, 64.3966827, -0.99831754, -0.00174688792, -0.0579567961, -0.00179327442, 0.999998093, 0.000748362683, 0.0579553805, 0.000851036049, -0.998318791)
  4334. o152.BackSurface = Enum.SurfaceType.Smooth
  4335. o152.BottomSurface = Enum.SurfaceType.Weld
  4336. o152.FrontSurface = Enum.SurfaceType.Smooth
  4337. o152.LeftSurface = Enum.SurfaceType.Smooth
  4338. o152.RightSurface = Enum.SurfaceType.Smooth
  4339. o152.TopSurface = Enum.SurfaceType.Weld
  4340. o152.Color = Color3.new(0.768628, 0.156863, 0.109804)
  4341. o152.Position = Vector3.new(-41.867382, 17.9465103, 64.3966827)
  4342. o153.Parent = o100
  4343. o153.BrickColor = BrickColor.new("Really black")
  4344. o153.Position = Vector3.new(-41.1352615, 4.45207119, 59.3356438)
  4345. o153.Rotation = Vector3.new(-179.959991, -3.31999993, 179.899994)
  4346. o153.FormFactor = Enum.FormFactor.Symmetric
  4347. o153.Size = Vector3.new(24, 3, 2)
  4348. o153.CFrame = CFrame.new(-41.1352615, 4.45207119, 59.3356438, -0.99831754, -0.00174688792, -0.0579567961, -0.00179327442, 0.999998093, 0.000748362683, 0.0579553805, 0.000851036049, -0.998318791)
  4349. o153.BackSurface = Enum.SurfaceType.Weld
  4350. o153.BottomSurface = Enum.SurfaceType.Smooth
  4351. o153.TopSurface = Enum.SurfaceType.Weld
  4352. o153.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  4353. o153.Position = Vector3.new(-41.1352615, 4.45207119, 59.3356438)
  4354. o154.Parent = o100
  4355. o154.BrickColor = BrickColor.new("Bright red")
  4356. o154.Position = Vector3.new(-43.4844818, 3.46593094, 61.9753952)
  4357. o154.Rotation = Vector3.new(82.8600006, -65.0899963, 82.0899963)
  4358. o154.FormFactor = Enum.FormFactor.Symmetric
  4359. o154.Shape = Enum.PartType.Cylinder
  4360. o154.Size = Vector3.new(3, 3, 3)
  4361. o154.CFrame = CFrame.new(-43.4844818, 3.46593094, 61.9753952, 0.0579433888, -0.417257667, -0.906939149, -0.000725571241, 0.908447623, -0.417998046, 0.998319626, 0.0248782728, 0.0523357876)
  4362. o154.BottomSurface = Enum.SurfaceType.Smooth
  4363. o154.LeftSurface = Enum.SurfaceType.Hinge
  4364. o154.RightSurface = Enum.SurfaceType.Hinge
  4365. o154.TopSurface = Enum.SurfaceType.Smooth
  4366. o154.Color = Color3.new(0.768628, 0.156863, 0.109804)
  4367. o154.Position = Vector3.new(-43.4844818, 3.46593094, 61.9753952)
  4368. o155.Parent = o100
  4369. o155.BrickColor = BrickColor.new("Really black")
  4370. o155.Position = Vector3.new(-34.0082626, 7.96274662, 61.42873)
  4371. o155.Rotation = Vector3.new(1.76999998, -86.6800003, 1.73000002)
  4372. o155.FormFactor = Enum.FormFactor.Symmetric
  4373. o155.Size = Vector3.new(7, 4, 10)
  4374. o155.CFrame = CFrame.new(-34.0082626, 7.96274662, 61.42873, 0.0579567961, -0.00174688792, -0.99831754, -0.000748362683, 0.999998093, -0.00179327442, 0.998318791, 0.000851036049, 0.0579553805)
  4375. o155.BottomSurface = Enum.SurfaceType.Smooth
  4376. o155.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  4377. o155.Position = Vector3.new(-34.0082626, 7.96274662, 61.42873)
  4378. o156.Parent = o100
  4379. o156.BrickColor = BrickColor.new("Bright red")
  4380. o156.Position = Vector3.new(-48.4630432, 3.47141838, 45.2359085)
  4381. o156.Rotation = Vector3.new(-82.8699951, -64.7999954, -82.1800003)
  4382. o156.FormFactor = Enum.FormFactor.Symmetric
  4383. o156.Shape = Enum.PartType.Cylinder
  4384. o156.Size = Vector3.new(3, 3, 3)
  4385. o156.CFrame = CFrame.new(-48.4630432, 3.47141838, 45.2359085, 0.0579621866, 0.421827465, -0.904821515, -0.000682514568, 0.906361818, 0.422501832, 0.998318553, -0.0238715764, 0.052822616)
  4386. o156.BottomSurface = Enum.SurfaceType.Smooth
  4387. o156.LeftSurface = Enum.SurfaceType.Hinge
  4388. o156.RightSurface = Enum.SurfaceType.Hinge
  4389. o156.TopSurface = Enum.SurfaceType.Smooth
  4390. o156.Color = Color3.new(0.768628, 0.156863, 0.109804)
  4391. o156.Position = Vector3.new(-48.4630432, 3.47141838, 45.2359085)
  4392. o157.Parent = o100
  4393. o157.BrickColor = BrickColor.new("Really black")
  4394. o157.Position = Vector3.new(-37.5128555, 13.956459, 61.6366806)
  4395. o157.Rotation = Vector3.new(1.76999998, -86.6800003, -178.269989)
  4396. o157.FormFactor = Enum.FormFactor.Symmetric
  4397. o157.Size = Vector3.new(7, 8, 3)
  4398. o157.CFrame = CFrame.new(-37.5128555, 13.956459, 61.6366806, -0.0579567961, 0.00174688792, -0.99831754, 0.000748362683, -0.999998093, -0.00179327442, -0.998318791, -0.000851036049, 0.0579553805)
  4399. o157.BackSurface = Enum.SurfaceType.Weld
  4400. o157.BottomSurface = Enum.SurfaceType.Weld
  4401. o157.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  4402. o157.Position = Vector3.new(-37.5128555, 13.956459, 61.6366806)
  4403. o158.Parent = o100
  4404. o158.Material = Enum.Material.DiamondPlate
  4405. o158.BrickColor = BrickColor.new("Bright red")
  4406. o158.Position = Vector3.new(-37.5215912, 18.9564495, 61.640934)
  4407. o158.Rotation = Vector3.new(-179.959991, -3.31999993, 179.899994)
  4408. o158.FormFactor = Enum.FormFactor.Symmetric
  4409. o158.Size = Vector3.new(3, 2, 7)
  4410. o158.CFrame = CFrame.new(-37.5215912, 18.9564495, 61.640934, -0.99831754, -0.00174688792, -0.0579567961, -0.00179327442, 0.999998093, 0.000748362683, 0.0579553805, 0.000851036049, -0.998318791)
  4411. o158.BottomSurface = Enum.SurfaceType.Smooth
  4412. o158.RightSurface = Enum.SurfaceType.Weld
  4413. o158.TopSurface = Enum.SurfaceType.Smooth
  4414. o158.Color = Color3.new(0.768628, 0.156863, 0.109804)
  4415. o158.Position = Vector3.new(-37.5215912, 18.9564495, 61.640934)
  4416. o159.Parent = o100
  4417. o159.BrickColor = BrickColor.new("Really black")
  4418. o159.Position = Vector3.new(-37.5294495, 23.4564419, 61.6447639)
  4419. o159.Rotation = Vector3.new(1.76999998, -86.6800003, 1.73000002)
  4420. o159.FormFactor = Enum.FormFactor.Symmetric
  4421. o159.Size = Vector3.new(7, 7, 3)
  4422. o159.CFrame = CFrame.new(-37.5294495, 23.4564419, 61.6447639, 0.0579567961, -0.00174688792, -0.99831754, -0.000748362683, 0.999998093, -0.00179327442, 0.998318791, 0.000851036049, 0.0579553805)
  4423. o159.BackSurface = Enum.SurfaceType.Weld
  4424. o159.BottomSurface = Enum.SurfaceType.Weld
  4425. o159.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  4426. o159.Position = Vector3.new(-37.5294495, 23.4564419, 61.6447639)
  4427. o160.Parent = o100
  4428. o160.BrickColor = BrickColor.new("Bright red")
  4429. o160.Position = Vector3.new(-42.4445877, 29.4463387, 63.4371262)
  4430. o160.Rotation = Vector3.new(-179.959991, -3.31999993, 179.899994)
  4431. o160.FormFactor = Enum.FormFactor.Symmetric
  4432. o160.Size = Vector3.new(7, 3, 4)
  4433. o160.CFrame = CFrame.new(-42.4445877, 29.4463387, 63.4371262, -0.99831754, -0.00174688792, -0.0579567961, -0.00179327442, 0.999998093, 0.000748362683, 0.0579553805, 0.000851036049, -0.998318791)
  4434. o160.BackSurface = Enum.SurfaceType.Weld
  4435. o160.BottomSurface = Enum.SurfaceType.Weld
  4436. o160.Color = Color3.new(0.768628, 0.156863, 0.109804)
  4437. o160.Position = Vector3.new(-42.4445877, 29.4463387, 63.4371262)
  4438. o161.Parent = o100
  4439. o161.BrickColor = BrickColor.new("Really black")
  4440. o161.Position = Vector3.new(-34.9935303, 7.97546721, 44.4573097)
  4441. o161.Rotation = Vector3.new(1.76999998, -86.6800003, 1.73000002)
  4442. o161.FormFactor = Enum.FormFactor.Symmetric
  4443. o161.Size = Vector3.new(7, 4, 10)
  4444. o161.CFrame = CFrame.new(-34.9935303, 7.97546721, 44.4573097, 0.0579567961, -0.00174688792, -0.99831754, -0.000748362683, 0.999998093, -0.00179327442, 0.998318791, 0.000851036049, 0.0579553805)
  4445. o161.BottomSurface = Enum.SurfaceType.Smooth
  4446. o161.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  4447. o161.Position = Vector3.new(-34.9935303, 7.97546721, 44.4573097)
  4448. o162.Parent = o100
  4449. o162.BrickColor = BrickColor.new("Bright red")
  4450. o162.Position = Vector3.new(-47.4777565, 3.45879006, 62.2072144)
  4451. o162.Rotation = Vector3.new(82.9700012, -64.7600021, 82.1899948)
  4452. o162.FormFactor = Enum.FormFactor.Symmetric
  4453. o162.Shape = Enum.PartType.Cylinder
  4454. o162.Size = Vector3.new(3, 3, 3)
  4455. o162.CFrame = CFrame.new(-47.4777565, 3.45879006, 62.2072144, 0.0579428114, -0.422452241, -0.90453124, -0.000711863162, 0.906035781, -0.423200518, 0.998319626, 0.0251653306, 0.0521975309)
  4456. o162.BottomSurface = Enum.SurfaceType.Smooth
  4457. o162.LeftSurface = Enum.SurfaceType.Hinge
  4458. o162.RightSurface = Enum.SurfaceType.Hinge
  4459. o162.TopSurface = Enum.SurfaceType.Smooth
  4460. o162.Color = Color3.new(0.768628, 0.156863, 0.109804)
  4461. o162.Position = Vector3.new(-47.4777565, 3.45879006, 62.2072144)
  4462. o163.Parent = o100
  4463. o163.BrickColor = BrickColor.new("Really black")
  4464. o163.Position = Vector3.new(-42.4930878, 7.447505, 61.9209251)
  4465. o163.Rotation = Vector3.new(-179.959991, -3.31999993, 179.899994)
  4466. o163.FormFactor = Enum.FormFactor.Symmetric
  4467. o163.Size = Vector3.new(7, 3, 7)
  4468. o163.CFrame = CFrame.new(-42.4930878, 7.447505, 61.9209251, -0.99831754, -0.00174688792, -0.0579567961, -0.00179327442, 0.999998093, 0.000748362683, 0.0579553805, 0.000851036049, -0.998318791)
  4469. o163.BottomSurface = Enum.SurfaceType.Smooth
  4470. o163.TopSurface = Enum.SurfaceType.Smooth
  4471. o163.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  4472. o163.Position = Vector3.new(-42.4930878, 7.447505, 61.9209251)
  4473. o164.Parent = o100
  4474. o164.BrickColor = BrickColor.new("Really black")
  4475. o164.Position = Vector3.new(-44.500206, 13.4439077, 62.0419426)
  4476. o164.Rotation = Vector3.new(-178.229996, 86.6800003, 178.269989)
  4477. o164.FormFactor = Enum.FormFactor.Symmetric
  4478. o164.Size = Vector3.new(7, 9, 3)
  4479. o164.CFrame = CFrame.new(-44.500206, 13.4439077, 62.0419426, -0.0579567961, -0.00174688792, 0.99831754, 0.000748362683, 0.999998093, 0.00179327442, -0.998318791, 0.000851036049, -0.0579553805)
  4480. o164.BackSurface = Enum.SurfaceType.Weld
  4481. o164.BottomSurface = Enum.SurfaceType.Weld
  4482. o164.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  4483. o164.Position = Vector3.new(-44.500206, 13.4439077, 62.0419426)
  4484. o165.Parent = o100
  4485. o165.BrickColor = BrickColor.new("Really black")
  4486. o165.Position = Vector3.new(-44.5159302, 22.4438896, 62.0496025)
  4487. o165.Rotation = Vector3.new(-178.229996, 86.6800003, -1.73000002)
  4488. o165.FormFactor = Enum.FormFactor.Symmetric
  4489. o165.Size = Vector3.new(7, 9, 3)
  4490. o165.CFrame = CFrame.new(-44.5159302, 22.4438896, 62.0496025, 0.0579567961, 0.00174688792, 0.99831754, -0.000748362683, -0.999998093, 0.00179327442, 0.998318791, -0.000851036049, -0.0579553805)
  4491. o165.BackSurface = Enum.SurfaceType.Weld
  4492. o165.BottomSurface = Enum.SurfaceType.Weld
  4493. o165.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  4494. o165.Position = Vector3.new(-44.5159302, 22.4438896, 62.0496025)
  4495. o166.Parent = o100
  4496. o166.BrickColor = BrickColor.new("Bright red")
  4497. o166.Position = Vector3.new(-53.4546242, 3.46253943, 45.5256653)
  4498. o166.Rotation = Vector3.new(-97.7200012, 66.75, -81.5599976)
  4499. o166.FormFactor = Enum.FormFactor.Symmetric
  4500. o166.Shape = Enum.PartType.Cylinder
  4501. o166.Size = Vector3.new(3, 3, 3)
  4502. o166.CFrame = CFrame.new(-53.4546242, 3.46253943, 45.5256653, 0.0579559542, 0.390523046, 0.918767035, -0.000715891889, -0.920297444, 0.391218722, 0.998318911, -0.0233311914, -0.0530571453)
  4503. o166.BottomSurface = Enum.SurfaceType.Smooth
  4504. o166.LeftSurface = Enum.SurfaceType.Hinge
  4505. o166.RightSurface = Enum.SurfaceType.Hinge
  4506. o166.TopSurface = Enum.SurfaceType.Smooth
  4507. o166.Color = Color3.new(0.768628, 0.156863, 0.109804)
  4508. o166.Position = Vector3.new(-53.4546242, 3.46253943, 45.5256653)
  4509. o167.Parent = o100
  4510. o167.BrickColor = BrickColor.new("Bright red")
  4511. o167.Position = Vector3.new(-36.158371, 29.4606152, 59.5662994)
  4512. o167.Rotation = Vector3.new(1.76999998, -86.6800003, -88.2699966)
  4513. o167.FormFactor = Enum.FormFactor.Symmetric
  4514. o167.Size = Vector3.new(3, 3, 6)
  4515. o167.CFrame = CFrame.new(-36.158371, 29.4606152, 59.5662994, 0.00174688792, 0.0579567961, -0.99831754, -0.999998093, -0.000748362683, -0.00179327442, -0.000851036049, 0.998318791, 0.0579553805)
  4516. o167.BackSurface = Enum.SurfaceType.Weld
  4517. o167.BottomSurface = Enum.SurfaceType.Weld
  4518. o167.Color = Color3.new(0.768628, 0.156863, 0.109804)
  4519. o167.Position = Vector3.new(-36.158371, 29.4606152, 59.5662994)
  4520. o168.Parent = o100
  4521. o168.BrickColor = BrickColor.new("Bright red")
  4522. o168.Position = Vector3.new(-52.469326, 3.44998407, 62.4970093)
  4523. o168.Rotation = Vector3.new(-95.5, 58.9599991, -83.5499954)
  4524. o168.FormFactor = Enum.FormFactor.Symmetric
  4525. o168.Shape = Enum.PartType.Cylinder
  4526. o168.Size = Vector3.new(3, 3, 3)
  4527. o168.CFrame = CFrame.new(-52.469326, 3.44998407, 62.4970093, 0.0579466559, 0.51237613, 0.856803894, -0.000631681934, -0.858227015, 0.513269901, 0.998319507, -0.0302835032, -0.049407728)
  4528. o168.BottomSurface = Enum.SurfaceType.Smooth
  4529. o168.LeftSurface = Enum.SurfaceType.Hinge
  4530. o168.RightSurface = Enum.SurfaceType.Hinge
  4531. o168.TopSurface = Enum.SurfaceType.Smooth
  4532. o168.Color = Color3.new(0.768628, 0.156863, 0.109804)
  4533. o168.Position = Vector3.new(-52.469326, 3.44998407, 62.4970093)
  4534. o169.Parent = o100
  4535. o169.BrickColor = BrickColor.new("Really black")
  4536. o169.Position = Vector3.new(-49.481308, 7.43495178, 62.3266144)
  4537. o169.Rotation = Vector3.new(-178.229996, 86.6800003, 178.269989)
  4538. o169.FormFactor = Enum.FormFactor.Symmetric
  4539. o169.Size = Vector3.new(7, 3, 7)
  4540. o169.CFrame = CFrame.new(-49.481308, 7.43495178, 62.3266144, -0.0579567961, -0.00174688792, 0.99831754, 0.000748362683, 0.999998093, 0.00179327442, -0.998318791, 0.000851036049, -0.0579553805)
  4541. o169.BottomSurface = Enum.SurfaceType.Smooth
  4542. o169.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  4543. o169.Position = Vector3.new(-49.481308, 7.43495178, 62.3266144)
  4544. o170.Parent = o100
  4545. o170.BrickColor = BrickColor.new("Bright red")
  4546. o170.Position = Vector3.new(-47.6390228, 29.439991, 60.2327881)
  4547. o170.Rotation = Vector3.new(-178.229996, 86.6800003, -91.7299957)
  4548. o170.FormFactor = Enum.FormFactor.Symmetric
  4549. o170.Size = Vector3.new(3, 3, 3)
  4550. o170.CFrame = CFrame.new(-47.6390228, 29.439991, 60.2327881, -0.00174688792, 0.0579567961, 0.99831754, 0.999998093, -0.000748362683, 0.00179327442, 0.000851036049, 0.998318791, -0.0579553805)
  4551. o170.BackSurface = Enum.SurfaceType.Weld
  4552. o170.BottomSurface = Enum.SurfaceType.Weld
  4553. o170.Color = Color3.new(0.768628, 0.156863, 0.109804)
  4554. o170.Position = Vector3.new(-47.6390228, 29.439991, 60.2327881)
  4555. o171.Parent = o100
  4556. o171.BrickColor = BrickColor.new("Really black")
  4557. o171.Position = Vector3.new(-41.0719109, 17.9509239, 60.8446083)
  4558. o171.Rotation = Vector3.new(-179.959991, -3.31999993, 179.899994)
  4559. o171.FormFactor = Enum.FormFactor.Symmetric
  4560. o171.Size = Vector3.new(4, 18, 5)
  4561. o171.CFrame = CFrame.new(-41.0719109, 17.9509239, 60.8446083, -0.99831754, -0.00174688792, -0.0579567961, -0.00179327442, 0.999998093, 0.000748362683, 0.0579553805, 0.000851036049, -0.998318791)
  4562. o171.BottomSurface = Enum.SurfaceType.Weld
  4563. o171.FrontSurface = Enum.SurfaceType.Weld
  4564. o171.TopSurface = Enum.SurfaceType.Weld
  4565. o171.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  4566. o171.Position = Vector3.new(-41.0719109, 17.9509239, 60.8446083)
  4567. o172.Parent = o100
  4568. o172.BrickColor = BrickColor.new("Bright red")
  4569. o172.Position = Vector3.new(-42.6474342, 29.4489594, 59.9430122)
  4570. o172.Rotation = Vector3.new(1.76999998, -86.6800003, 1.73000002)
  4571. o172.FormFactor = Enum.FormFactor.Symmetric
  4572. o172.Size = Vector3.new(3, 3, 7)
  4573. o172.CFrame = CFrame.new(-42.6474342, 29.4489594, 59.9430122, 0.0579567961, -0.00174688792, -0.99831754, -0.000748362683, 0.999998093, -0.00179327442, 0.998318791, 0.000851036049, 0.0579553805)
  4574. o172.BottomSurface = Enum.SurfaceType.Weld
  4575. o172.TopSurface = Enum.SurfaceType.Smooth
  4576. o172.Color = Color3.new(0.768628, 0.156863, 0.109804)
  4577. o172.Position = Vector3.new(-42.6474342, 29.4489594, 59.9430122)
  4578. o173.Parent = o100
  4579. o173.BrickColor = BrickColor.new("Really black")
  4580. o173.Position = Vector3.new(-38.5147171, 23.469162, 44.6733437)
  4581. o173.Rotation = Vector3.new(1.76999998, -86.6800003, 1.73000002)
  4582. o173.FormFactor = Enum.FormFactor.Symmetric
  4583. o173.Size = Vector3.new(7, 7, 3)
  4584. o173.CFrame = CFrame.new(-38.5147171, 23.469162, 44.6733437, 0.0579567961, -0.00174688792, -0.99831754, -0.000748362683, 0.999998093, -0.00179327442, 0.998318791, 0.000851036049, 0.0579553805)
  4585. o173.BackSurface = Enum.SurfaceType.Weld
  4586. o173.BottomSurface = Enum.SurfaceType.Weld
  4587. o173.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  4588. o173.Position = Vector3.new(-38.5147171, 23.469162, 44.6733437)
  4589. o174.Parent = o100
  4590. o174.BrickColor = BrickColor.new("Really black")
  4591. o174.Position = Vector3.new(-45.501194, 22.4566116, 45.0781822)
  4592. o174.Rotation = Vector3.new(-178.229996, 86.6800003, -1.73000002)
  4593. o174.FormFactor = Enum.FormFactor.Symmetric
  4594. o174.Size = Vector3.new(7, 9, 3)
  4595. o174.CFrame = CFrame.new(-45.501194, 22.4566116, 45.0781822, 0.0579567961, 0.00174688792, 0.99831754, -0.000748362683, -0.999998093, 0.00179327442, 0.998318791, -0.000851036049, -0.0579553805)
  4596. o174.BackSurface = Enum.SurfaceType.Weld
  4597. o174.BottomSurface = Enum.SurfaceType.Weld
  4598. o174.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  4599. o174.Position = Vector3.new(-45.501194, 22.4566116, 45.0781822)
  4600. o175.Parent = o100
  4601. o175.BrickColor = BrickColor.new("Bright red")
  4602. o175.Position = Vector3.new(-36.911808, 29.4703426, 46.5881538)
  4603. o175.Rotation = Vector3.new(1.76999998, -86.6800003, 91.7299957)
  4604. o175.FormFactor = Enum.FormFactor.Symmetric
  4605. o175.Size = Vector3.new(3, 3, 6)
  4606. o175.CFrame = CFrame.new(-36.911808, 29.4703426, 46.5881538, -0.00174688792, -0.0579567961, -0.99831754, 0.999998093, 0.000748362683, -0.00179327442, 0.000851036049, -0.998318791, 0.0579553805)
  4607. o175.BackSurface = Enum.SurfaceType.Weld
  4608. o175.BottomSurface = Enum.SurfaceType.Weld
  4609. o175.Color = Color3.new(0.768628, 0.156863, 0.109804)
  4610. o175.Position = Vector3.new(-36.911808, 29.4703426, 46.5881538)
  4611. o176.Parent = o100
  4612. o176.BrickColor = BrickColor.new("Bright red")
  4613. o176.Position = Vector3.new(-43.1424294, 17.9629745, 42.4336662)
  4614. o176.Rotation = Vector3.new(-179.959991, -3.31999993, 179.899994)
  4615. o176.Size = Vector3.new(2, 18, 2)
  4616. o176.CFrame = CFrame.new(-43.1424294, 17.9629745, 42.4336662, -0.99831754, -0.00174688792, -0.0579567961, -0.00179327442, 0.999998093, 0.000748362683, 0.0579553805, 0.000851036049, -0.998318791)
  4617. o176.BackSurface = Enum.SurfaceType.Smooth
  4618. o176.BottomSurface = Enum.SurfaceType.Weld
  4619. o176.FrontSurface = Enum.SurfaceType.Smooth
  4620. o176.LeftSurface = Enum.SurfaceType.Smooth
  4621. o176.RightSurface = Enum.SurfaceType.Smooth
  4622. o176.TopSurface = Enum.SurfaceType.Weld
  4623. o176.Color = Color3.new(0.768628, 0.156863, 0.109804)
  4624. o176.Position = Vector3.new(-43.1424294, 17.9629745, 42.4336662)
  4625. o177.Parent = o100
  4626. o177.BrickColor = BrickColor.new("Really black")
  4627. o177.Position = Vector3.new(-41.9412651, 17.9621468, 45.8698273)
  4628. o177.Rotation = Vector3.new(-179.959991, -3.31999993, 179.899994)
  4629. o177.FormFactor = Enum.FormFactor.Symmetric
  4630. o177.Size = Vector3.new(4, 18, 5)
  4631. o177.CFrame = CFrame.new(-41.9412651, 17.9621468, 45.8698273, -0.99831754, -0.00174688792, -0.0579567961, -0.00179327442, 0.999998093, 0.000748362683, 0.0579553805, 0.000851036049, -0.998318791)
  4632. o177.BackSurface = Enum.SurfaceType.Weld
  4633. o177.BottomSurface = Enum.SurfaceType.Weld
  4634. o177.TopSurface = Enum.SurfaceType.Weld
  4635. o177.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  4636. o177.Position = Vector3.new(-41.9412651, 17.9621468, 45.8698273)
  4637. o178.Parent = o100
  4638. o178.BrickColor = BrickColor.new("Bright red")
  4639. o178.Position = Vector3.new(-41.1457977, 17.9665604, 42.3177567)
  4640. o178.Rotation = Vector3.new(-179.959991, -3.31999993, 179.899994)
  4641. o178.Size = Vector3.new(2, 18, 2)
  4642. o178.CFrame = CFrame.new(-41.1457977, 17.9665604, 42.3177567, -0.99831754, -0.00174688792, -0.0579567961, -0.00179327442, 0.999998093, 0.000748362683, 0.0579553805, 0.000851036049, -0.998318791)
  4643. o178.BackSurface = Enum.SurfaceType.Smooth
  4644. o178.BottomSurface = Enum.SurfaceType.Weld
  4645. o178.FrontSurface = Enum.SurfaceType.Smooth
  4646. o178.LeftSurface = Enum.SurfaceType.Smooth
  4647. o178.RightSurface = Enum.SurfaceType.Smooth
  4648. o178.TopSurface = Enum.SurfaceType.Weld
  4649. o178.Color = Color3.new(0.768628, 0.156863, 0.109804)
  4650. o178.Position = Vector3.new(-41.1457977, 17.9665604, 42.3177567)
  4651. o179.Parent = o100
  4652. o179.BrickColor = BrickColor.new("Bright red")
  4653. o179.Position = Vector3.new(-48.3924599, 29.4497204, 47.2546425)
  4654. o179.Rotation = Vector3.new(-178.229996, 86.6800003, 88.2699966)
  4655. o179.FormFactor = Enum.FormFactor.Symmetric
  4656. o179.Size = Vector3.new(3, 3, 3)
  4657. o179.CFrame = CFrame.new(-48.3924599, 29.4497204, 47.2546425, 0.00174688792, -0.0579567961, 0.99831754, -0.999998093, 0.000748362683, 0.00179327442, -0.000851036049, -0.998318791, -0.0579553805)
  4658. o179.BackSurface = Enum.SurfaceType.Weld
  4659. o179.BottomSurface = Enum.SurfaceType.Weld
  4660. o179.Color = Color3.new(0.768628, 0.156863, 0.109804)
  4661. o179.Position = Vector3.new(-48.3924599, 29.4497204, 47.2546425)
  4662. o180.Parent = o100
  4663. o180.BrickColor = BrickColor.new("Bright red")
  4664. o180.Position = Vector3.new(-43.4008751, 29.4586868, 46.9648666)
  4665. o180.Rotation = Vector3.new(1.76999998, -86.6800003, 1.73000002)
  4666. o180.FormFactor = Enum.FormFactor.Symmetric
  4667. o180.Size = Vector3.new(3, 3, 7)
  4668. o180.CFrame = CFrame.new(-43.4008751, 29.4586868, 46.9648666, 0.0579567961, -0.00174688792, -0.99831754, -0.000748362683, 0.999998093, -0.00179327442, 0.998318791, 0.000851036049, 0.0579553805)
  4669. o180.BottomSurface = Enum.SurfaceType.Weld
  4670. o180.TopSurface = Enum.SurfaceType.Smooth
  4671. o180.Color = Color3.new(0.768628, 0.156863, 0.109804)
  4672. o180.Position = Vector3.new(-43.4008751, 29.4586868, 46.9648666)
  4673. o181.Parent = o100
  4674. o181.Material = Enum.Material.DiamondPlate
  4675. o181.BrickColor = BrickColor.new("Bright red")
  4676. o181.Position = Vector3.new(-38.5068588, 18.9691696, 44.6695175)
  4677. o181.Rotation = Vector3.new(-179.959991, -3.31999993, 179.899994)
  4678. o181.FormFactor = Enum.FormFactor.Symmetric
  4679. o181.Size = Vector3.new(3, 2, 7)
  4680. o181.CFrame = CFrame.new(-38.5068588, 18.9691696, 44.6695175, -0.99831754, -0.00174688792, -0.0579567961, -0.00179327442, 0.999998093, 0.000748362683, 0.0579553805, 0.000851036049, -0.998318791)
  4681. o181.BottomSurface = Enum.SurfaceType.Smooth
  4682. o181.RightSurface = Enum.SurfaceType.Weld
  4683. o181.TopSurface = Enum.SurfaceType.Smooth
  4684. o181.Color = Color3.new(0.768628, 0.156863, 0.109804)
  4685. o181.Position = Vector3.new(-38.5068588, 18.9691696, 44.6695175)
  4686. o182.Parent = o100
  4687. o182.BrickColor = BrickColor.new("Really black")
  4688. o182.Position = Vector3.new(-45.4854736, 13.4566269, 45.0705223)
  4689. o182.Rotation = Vector3.new(-178.229996, 86.6800003, 178.269989)
  4690. o182.FormFactor = Enum.FormFactor.Symmetric
  4691. o182.Size = Vector3.new(7, 9, 3)
  4692. o182.CFrame = CFrame.new(-45.4854736, 13.4566269, 45.0705223, -0.0579567961, -0.00174688792, 0.99831754, 0.000748362683, 0.999998093, 0.00179327442, -0.998318791, 0.000851036049, -0.0579553805)
  4693. o182.BackSurface = Enum.SurfaceType.Weld
  4694. o182.BottomSurface = Enum.SurfaceType.Weld
  4695. o182.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  4696. o182.Position = Vector3.new(-45.4854736, 13.4566269, 45.0705223)
  4697. o183.Parent = o100
  4698. o183.BrickColor = BrickColor.new("Really black")
  4699. o183.Position = Vector3.new(-38.4981232, 13.9691792, 44.6652603)
  4700. o183.Rotation = Vector3.new(1.76999998, -86.6800003, -178.269989)
  4701. o183.FormFactor = Enum.FormFactor.Symmetric
  4702. o183.Size = Vector3.new(7, 8, 3)
  4703. o183.CFrame = CFrame.new(-38.4981232, 13.9691792, 44.6652603, -0.0579567961, 0.00174688792, -0.99831754, 0.000748362683, -0.999998093, -0.00179327442, -0.998318791, -0.000851036049, 0.0579553805)
  4704. o183.BackSurface = Enum.SurfaceType.Weld
  4705. o183.BottomSurface = Enum.SurfaceType.Weld
  4706. o183.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  4707. o183.Position = Vector3.new(-38.4981232, 13.9691792, 44.6652603)
  4708. o184.Parent = o100
  4709. o184.BrickColor = BrickColor.new("Really black")
  4710. o184.Position = Vector3.new(-43.0206604, 27.4538269, 53.4522362)
  4711. o184.Rotation = Vector3.new(-179.959991, -3.31999993, 179.899994)
  4712. o184.FormFactor = Enum.FormFactor.Symmetric
  4713. o184.Size = Vector3.new(7, 1, 24)
  4714. o184.CFrame = CFrame.new(-43.0206604, 27.4538269, 53.4522362, -0.99831754, -0.00174688792, -0.0579567961, -0.00179327442, 0.999998093, 0.000748362683, 0.0579553805, 0.000851036049, -0.998318791)
  4715. o184.BottomSurface = Enum.SurfaceType.Smooth
  4716. o184.TopSurface = Enum.SurfaceType.Smooth
  4717. o184.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  4718. o184.Position = Vector3.new(-43.0206604, 27.4538269, 53.4522362)
  4719. o185.Parent = o100
  4720. o185.BrickColor = BrickColor.new("Bright red")
  4721. o185.Position = Vector3.new(-43.0189133, 26.4538288, 53.4513855)
  4722. o185.Rotation = Vector3.new(1.76999998, -86.6800003, 1.73000002)
  4723. o185.FormFactor = Enum.FormFactor.Symmetric
  4724. o185.Size = Vector3.new(10, 1, 7)
  4725. o185.CFrame = CFrame.new(-43.0189133, 26.4538288, 53.4513855, 0.0579567961, -0.00174688792, -0.99831754, -0.000748362683, 0.999998093, -0.00179327442, 0.998318791, 0.000851036049, 0.0579553805)
  4726. o185.BottomSurface = Enum.SurfaceType.Smooth
  4727. o185.TopSurface = Enum.SurfaceType.Weld
  4728. o185.Color = Color3.new(0.768628, 0.156863, 0.109804)
  4729. o185.Position = Vector3.new(-43.0189133, 26.4538288, 53.4513855)
  4730. o186.Parent = o185
  4731. o186.Texture = "http://www.roblox.com/asset/?id=26729786"
  4732. o186.Face = Enum.NormalId.Bottom
  4733. o187.Parent = o100
  4734. o187.BrickColor = BrickColor.new("Really black")
  4735. o187.Position = Vector3.new(-41.529644, 31.1565094, 53.3684502)
  4736. o187.Rotation = Vector3.new(1.76999998, -86.6800003, 1.73000002)
  4737. o187.FormFactor = Enum.FormFactor.Plate
  4738. o187.Size = Vector3.new(10, 0.400000006, 10)
  4739. o187.CFrame = CFrame.new(-41.529644, 31.1565094, 53.3684502, 0.0579567961, -0.00174688792, -0.99831754, -0.000748362683, 0.999998093, -0.00179327442, 0.998318791, 0.000851036049, 0.0579553805)
  4740. o187.BottomSurface = Enum.SurfaceType.Weld
  4741. o187.TopSurface = Enum.SurfaceType.Universal
  4742. o187.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  4743. o187.Position = Vector3.new(-41.529644, 31.1565094, 53.3684502)
  4744. o188.Parent = o187
  4745. o189.Parent = o100
  4746. o189.BrickColor = BrickColor.new("Bright red")
  4747. o189.Position = Vector3.new(-41.5266762, 29.4565125, 53.3670044)
  4748. o189.Rotation = Vector3.new(1.76999998, -86.6800003, 1.73000002)
  4749. o189.FormFactor = Enum.FormFactor.Symmetric
  4750. o189.Size = Vector3.new(10, 3, 16)
  4751. o189.CFrame = CFrame.new(-41.5266762, 29.4565125, 53.3670044, 0.0579567961, -0.00174688792, -0.99831754, -0.000748362683, 0.999998093, -0.00179327442, 0.998318791, 0.000851036049, 0.0579553805)
  4752. o189.BottomSurface = Enum.SurfaceType.Weld
  4753. o189.TopSurface = Enum.SurfaceType.Smooth
  4754. o189.Color = Color3.new(0.768628, 0.156863, 0.109804)
  4755. o189.Position = Vector3.new(-41.5266762, 29.4565125, 53.3670044)
  4756. o190.Parent = o100
  4757. o190.BrickColor = BrickColor.new("Bright red")
  4758. o190.Position = Vector3.new(-48.0113754, 26.9448624, 53.7415886)
  4759. o190.Rotation = Vector3.new(-89.9499969, -0.099999994, 93.3199997)
  4760. o190.FormFactor = Enum.FormFactor.Symmetric
  4761. o190.Size = Vector3.new(10, 3, 2)
  4762. o190.CFrame = CFrame.new(-48.0113754, 26.9448624, 53.7415886, -0.0579567961, -0.99831754, -0.00174688792, 0.000748362683, -0.00179327442, 0.999998093, -0.998318791, 0.0579553805, 0.000851036049)
  4763. o190.BottomSurface = Enum.SurfaceType.Weld
  4764. o190.Color = Color3.new(0.768628, 0.156863, 0.109804)
  4765. o190.Position = Vector3.new(-48.0113754, 26.9448624, 53.7415886)
  4766. o191.Parent = o100
  4767. o191.BrickColor = BrickColor.new("Really black")
  4768. o191.Position = Vector3.new(-50.4665756, 7.44767237, 45.3551941)
  4769. o191.Rotation = Vector3.new(-178.229996, 86.6800003, 178.269989)
  4770. o191.FormFactor = Enum.FormFactor.Symmetric
  4771. o191.Size = Vector3.new(7, 3, 7)
  4772. o191.CFrame = CFrame.new(-50.4665756, 7.44767237, 45.3551941, -0.0579567961, -0.00174688792, 0.99831754, 0.000748362683, 0.999998093, 0.00179327442, -0.998318791, 0.000851036049, -0.0579553805)
  4773. o191.BottomSurface = Enum.SurfaceType.Smooth
  4774. o191.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  4775. o191.Position = Vector3.new(-50.4665756, 7.44767237, 45.3551941)
  4776. o192.Parent = o100
  4777. o192.BrickColor = BrickColor.new("Bright red")
  4778. o192.Position = Vector3.new(-36.5307236, 26.9654846, 53.0750999)
  4779. o192.Rotation = Vector3.new(-89.9499969, -0.099999994, -86.6800003)
  4780. o192.FormFactor = Enum.FormFactor.Symmetric
  4781. o192.Size = Vector3.new(10, 6, 2)
  4782. o192.CFrame = CFrame.new(-36.5307236, 26.9654846, 53.0750999, 0.0579567961, 0.99831754, -0.00174688792, -0.000748362683, 0.00179327442, 0.999998093, 0.998318791, -0.0579553805, 0.000851036049)
  4783. o192.BottomSurface = Enum.SurfaceType.Weld
  4784. o192.Color = Color3.new(0.768628, 0.156863, 0.109804)
  4785. o192.Position = Vector3.new(-36.5307236, 26.9654846, 53.0750999)
  4786. o193.Parent = o100
  4787. o193.BrickColor = BrickColor.new("Really black")
  4788. o193.Position = Vector3.new(-42.8940964, 49.1736832, 30.4224377)
  4789. o193.Rotation = Vector3.new(0.0399999991, 3.31999993, 0.099999994)
  4790. o193.FormFactor = Enum.FormFactor.Symmetric
  4791. o193.Size = Vector3.new(8, 6, 8)
  4792. o193.CFrame = CFrame.new(-42.8940964, 49.1736832, 30.4224377, 0.99831754, -0.00174688792, 0.0579567961, 0.00179327442, 0.999998093, -0.000748362683, -0.0579553805, 0.000851036049, 0.998318791)
  4793. o193.BackSurface = Enum.SurfaceType.Weld
  4794. o193.BottomSurface = Enum.SurfaceType.Weld
  4795. o193.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  4796. o193.Position = Vector3.new(-42.8940964, 49.1736832, 30.4224377)
  4797. o194.Parent = o100
  4798. o194.BrickColor = BrickColor.new("Bright red")
  4799. o194.Position = Vector3.new(-42.5173759, 49.1688194, 36.9115105)
  4800. o194.Rotation = Vector3.new(90.0499954, 0.099999994, 176.679993)
  4801. o194.FormFactor = Enum.FormFactor.Symmetric
  4802. o194.Size = Vector3.new(4, 1, 4)
  4803. o194.CFrame = CFrame.new(-42.5173759, 49.1688194, 36.9115105, -0.99831754, -0.0579567961, 0.00174688792, -0.00179327442, 0.000748362683, -0.999998093, 0.0579553805, -0.998318791, -0.000851036049)
  4804. o194.BottomSurface = Enum.SurfaceType.Universal
  4805. o194.TopSurface = Enum.SurfaceType.Weld
  4806. o194.Color = Color3.new(0.768628, 0.156863, 0.109804)
  4807. o194.Position = Vector3.new(-42.5173759, 49.1688194, 36.9115105)
  4808. o195.Parent = o194
  4809. o196.Parent = o100
  4810. o196.BrickColor = BrickColor.new("Bright red")
  4811. o196.Position = Vector3.new(-23.038002, 31.2084789, 30.2579193)
  4812. o196.Rotation = Vector3.new(-89.9499969, -0.099999994, -86.6800003)
  4813. o196.FormFactor = Enum.FormFactor.Symmetric
  4814. o196.Size = Vector3.new(2, 6, 2)
  4815. o196.CFrame = CFrame.new(-23.038002, 31.2084789, 30.2579193, 0.0579567961, 0.99831754, -0.00174688792, -0.000748362683, 0.00179327442, 0.999998093, 0.998318791, -0.0579553805, 0.000851036049)
  4816. o196.BottomSurface = Enum.SurfaceType.Weld
  4817. o196.TopSurface = Enum.SurfaceType.Smooth
  4818. o196.Color = Color3.new(0.768628, 0.156863, 0.109804)
  4819. o196.Position = Vector3.new(-23.038002, 31.2084789, 30.2579193)
  4820. o197.Parent = o196
  4821. o197.Scale = Vector3.new(0.600000024, 1, 0.600000024)
  4822. o198.Parent = o100
  4823. o198.BrickColor = BrickColor.new("Bright red")
  4824. o198.Position = Vector3.new(-23.1539154, 31.2099762, 28.261282)
  4825. o198.Rotation = Vector3.new(-89.9499969, -0.099999994, -86.6800003)
  4826. o198.FormFactor = Enum.FormFactor.Symmetric
  4827. o198.Size = Vector3.new(2, 6, 2)
  4828. o198.CFrame = CFrame.new(-23.1539154, 31.2099762, 28.261282, 0.0579567961, 0.99831754, -0.00174688792, -0.000748362683, 0.00179327442, 0.999998093, 0.998318791, -0.0579553805, 0.000851036049)
  4829. o198.BottomSurface = Enum.SurfaceType.Weld
  4830. o198.TopSurface = Enum.SurfaceType.Smooth
  4831. o198.Color = Color3.new(0.768628, 0.156863, 0.109804)
  4832. o198.Position = Vector3.new(-23.1539154, 31.2099762, 28.261282)
  4833. o199.Parent = o198
  4834. o199.Scale = Vector3.new(0.600000024, 1, 0.600000024)
  4835. o200.Parent = o100
  4836. o200.BrickColor = BrickColor.new("Bright red")
  4837. o200.Position = Vector3.new(-31.8231964, 31.1926994, 30.7679272)
  4838. o200.Rotation = Vector3.new(-89.9499969, -0.099999994, -86.6800003)
  4839. o200.FormFactor = Enum.FormFactor.Symmetric
  4840. o200.Size = Vector3.new(2, 10, 2)
  4841. o200.CFrame = CFrame.new(-31.8231964, 31.1926994, 30.7679272, 0.0579567961, 0.99831754, -0.00174688792, -0.000748362683, 0.00179327442, 0.999998093, 0.998318791, -0.0579553805, 0.000851036049)
  4842. o200.BottomSurface = Enum.SurfaceType.Weld
  4843. o200.TopSurface = Enum.SurfaceType.Smooth
  4844. o200.Color = Color3.new(0.768628, 0.156863, 0.109804)
  4845. o200.Position = Vector3.new(-31.8231964, 31.1926994, 30.7679272)
  4846. o201.Parent = o200
  4847. o201.Scale = Vector3.new(0.600000024, 1, 0.600000024)
  4848. o202.Parent = o100
  4849. o202.BrickColor = BrickColor.new("Bright red")
  4850. o202.Position = Vector3.new(-31.9391098, 31.1941948, 28.7712898)
  4851. o202.Rotation = Vector3.new(-89.9499969, -0.099999994, -86.6800003)
  4852. o202.FormFactor = Enum.FormFactor.Symmetric
  4853. o202.Size = Vector3.new(2, 10, 2)
  4854. o202.CFrame = CFrame.new(-31.9391098, 31.1941948, 28.7712898, 0.0579567961, 0.99831754, -0.00174688792, -0.000748362683, 0.00179327442, 0.999998093, 0.998318791, -0.0579553805, 0.000851036049)
  4855. o202.BottomSurface = Enum.SurfaceType.Weld
  4856. o202.TopSurface = Enum.SurfaceType.Smooth
  4857. o202.Color = Color3.new(0.768628, 0.156863, 0.109804)
  4858. o202.Position = Vector3.new(-31.9391098, 31.1941948, 28.7712898)
  4859. o203.Parent = o202
  4860. o203.Scale = Vector3.new(0.600000024, 1, 0.600000024)
  4861. o204.Parent = o100
  4862. o204.BrickColor = BrickColor.new("Really black")
  4863. o204.Position = Vector3.new(-42.6043129, 49.1699409, 35.414032)
  4864. o204.Rotation = Vector3.new(1.76999998, -86.6800003, 91.7299957)
  4865. o204.FormFactor = Enum.FormFactor.Symmetric
  4866. o204.Size = Vector3.new(6, 2, 8)
  4867. o204.CFrame = CFrame.new(-42.6043129, 49.1699409, 35.414032, -0.00174688792, -0.0579567961, -0.99831754, 0.999998093, 0.000748362683, -0.00179327442, 0.000851036049, -0.998318791, 0.0579553805)
  4868. o204.BottomSurface = Enum.SurfaceType.Smooth
  4869. o204.TopSurface = Enum.SurfaceType.Smooth
  4870. o204.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  4871. o204.Position = Vector3.new(-42.6043129, 49.1699409, 35.414032)
  4872. o205.Parent = o100
  4873. o205.BrickColor = BrickColor.new("Bright red")
  4874. o205.Position = Vector3.new(-23.2733231, 33.2114677, 26.266346)
  4875. o205.Rotation = Vector3.new(-89.9499969, -0.099999994, -86.6800003)
  4876. o205.FormFactor = Enum.FormFactor.Symmetric
  4877. o205.Size = Vector3.new(2, 6, 2)
  4878. o205.CFrame = CFrame.new(-23.2733231, 33.2114677, 26.266346, 0.0579567961, 0.99831754, -0.00174688792, -0.000748362683, 0.00179327442, 0.999998093, 0.998318791, -0.0579553805, 0.000851036049)
  4879. o205.BottomSurface = Enum.SurfaceType.Weld
  4880. o205.TopSurface = Enum.SurfaceType.Smooth
  4881. o205.Color = Color3.new(0.768628, 0.156863, 0.109804)
  4882. o205.Position = Vector3.new(-23.2733231, 33.2114677, 26.266346)
  4883. o206.Parent = o205
  4884. o206.Scale = Vector3.new(0.600000024, 1, 0.600000024)
  4885. o207.Parent = o100
  4886. o207.BrickColor = BrickColor.new("Really black")
  4887. o207.Position = Vector3.new(-42.8801193, 41.1736984, 30.4156284)
  4888. o207.Rotation = Vector3.new(1.76999998, -86.6800003, 1.73000002)
  4889. o207.FormFactor = Enum.FormFactor.Symmetric
  4890. o207.Size = Vector3.new(8, 6, 8)
  4891. o207.CFrame = CFrame.new(-42.8801193, 41.1736984, 30.4156284, 0.0579567961, -0.00174688792, -0.99831754, -0.000748362683, 0.999998093, -0.00179327442, 0.998318791, 0.000851036049, 0.0579553805)
  4892. o207.BottomSurface = Enum.SurfaceType.Weld
  4893. o207.TopSurface = Enum.SurfaceType.Weld
  4894. o207.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  4895. o207.Position = Vector3.new(-42.8801193, 41.1736984, 30.4156284)
  4896. o208.Parent = o207
  4897. o209.Parent = o100
  4898. o209.BrickColor = BrickColor.new("Really black")
  4899. o209.Position = Vector3.new(-42.8871078, 45.1736908, 30.4190331)
  4900. o209.Rotation = Vector3.new(1.76999998, -86.6800003, 1.73000002)
  4901. o209.FormFactor = Enum.FormFactor.Symmetric
  4902. o209.Size = Vector3.new(8, 2, 8)
  4903. o209.CFrame = CFrame.new(-42.8871078, 45.1736908, 30.4190331, 0.0579567961, -0.00174688792, -0.99831754, -0.000748362683, 0.999998093, -0.00179327442, 0.998318791, 0.000851036049, 0.0579553805)
  4904. o209.BottomSurface = Enum.SurfaceType.Smooth
  4905. o209.TopSurface = Enum.SurfaceType.Smooth
  4906. o209.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  4907. o209.Position = Vector3.new(-42.8871078, 45.1736908, 30.4190331)
  4908. o210.Parent = o100
  4909. o210.BrickColor = BrickColor.new("Bright red")
  4910. o210.Position = Vector3.new(-31.8336773, 37.192688, 30.7730331)
  4911. o210.Rotation = Vector3.new(-89.9499969, -0.099999994, -86.6800003)
  4912. o210.FormFactor = Enum.FormFactor.Symmetric
  4913. o210.Size = Vector3.new(2, 10, 2)
  4914. o210.CFrame = CFrame.new(-31.8336773, 37.192688, 30.7730331, 0.0579567961, 0.99831754, -0.00174688792, -0.000748362683, 0.00179327442, 0.999998093, 0.998318791, -0.0579553805, 0.000851036049)
  4915. o210.BottomSurface = Enum.SurfaceType.Weld
  4916. o210.TopSurface = Enum.SurfaceType.Smooth
  4917. o210.Color = Color3.new(0.768628, 0.156863, 0.109804)
  4918. o210.Position = Vector3.new(-31.8336773, 37.192688, 30.7730331)
  4919. o211.Parent = o210
  4920. o211.Scale = Vector3.new(0.600000024, 1, 0.600000024)
  4921. o212.Parent = o100
  4922. o212.BrickColor = BrickColor.new("Bright red")
  4923. o212.Position = Vector3.new(-31.9495907, 37.1941833, 28.7763958)
  4924. o212.Rotation = Vector3.new(-89.9499969, -0.099999994, -86.6800003)
  4925. o212.FormFactor = Enum.FormFactor.Symmetric
  4926. o212.Size = Vector3.new(2, 10, 2)
  4927. o212.CFrame = CFrame.new(-31.9495907, 37.1941833, 28.7763958, 0.0579567961, 0.99831754, -0.00174688792, -0.000748362683, 0.00179327442, 0.999998093, 0.998318791, -0.0579553805, 0.000851036049)
  4928. o212.BottomSurface = Enum.SurfaceType.Weld
  4929. o212.TopSurface = Enum.SurfaceType.Smooth
  4930. o212.Color = Color3.new(0.768628, 0.156863, 0.109804)
  4931. o212.Position = Vector3.new(-31.9495907, 37.1941833, 28.7763958)
  4932. o213.Parent = o212
  4933. o213.Scale = Vector3.new(0.600000024, 1, 0.600000024)
  4934. o214.Parent = o100
  4935. o214.BrickColor = BrickColor.new("Really black")
  4936. o214.Position = Vector3.new(-52.3519058, 34.1566772, 30.960247)
  4937. o214.Rotation = Vector3.new(1.76999998, -86.6800003, 1.73000002)
  4938. o214.FormFactor = Enum.FormFactor.Symmetric
  4939. o214.Size = Vector3.new(8, 8, 27)
  4940. o214.CFrame = CFrame.new(-52.3519058, 34.1566772, 30.960247, 0.0579567961, -0.00174688792, -0.99831754, -0.000748362683, 0.999998093, -0.00179327442, 0.998318791, 0.000851036049, 0.0579553805)
  4941. o214.BottomSurface = Enum.SurfaceType.Smooth
  4942. o214.TopSurface = Enum.SurfaceType.Smooth
  4943. o214.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  4944. o214.Position = Vector3.new(-52.3519058, 34.1566772, 30.960247)
  4945. o215.Parent = o100
  4946. o215.BrickColor = BrickColor.new("Really black")
  4947. o215.Position = Vector3.new(-37.8763008, 34.1826782, 30.119894)
  4948. o215.Rotation = Vector3.new(-89.9499969, -0.099999994, -86.6800003)
  4949. o215.FormFactor = Enum.FormFactor.Symmetric
  4950. o215.Size = Vector3.new(8, 2, 8)
  4951. o215.CFrame = CFrame.new(-37.8763008, 34.1826782, 30.119894, 0.0579567961, 0.99831754, -0.00174688792, -0.000748362683, 0.00179327442, 0.999998093, 0.998318791, -0.0579553805, 0.000851036049)
  4952. o215.BottomSurface = Enum.SurfaceType.Weld
  4953. o215.TopSurface = Enum.SurfaceType.Smooth
  4954. o215.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  4955. o215.Position = Vector3.new(-37.8763008, 34.1826782, 30.119894)
  4956. o216.Parent = o215
  4957. o217.Parent = o100
  4958. o217.BrickColor = BrickColor.new("Bright red")
  4959. o217.Position = Vector3.new(-23.1643982, 37.2099648, 28.2663879)
  4960. o217.Rotation = Vector3.new(-89.9499969, -0.099999994, -86.6800003)
  4961. o217.FormFactor = Enum.FormFactor.Symmetric
  4962. o217.Size = Vector3.new(2, 6, 2)
  4963. o217.CFrame = CFrame.new(-23.1643982, 37.2099648, 28.2663879, 0.0579567961, 0.99831754, -0.00174688792, -0.000748362683, 0.00179327442, 0.999998093, 0.998318791, -0.0579553805, 0.000851036049)
  4964. o217.BottomSurface = Enum.SurfaceType.Weld
  4965. o217.TopSurface = Enum.SurfaceType.Smooth
  4966. o217.Color = Color3.new(0.768628, 0.156863, 0.109804)
  4967. o217.Position = Vector3.new(-23.1643982, 37.2099648, 28.2663879)
  4968. o218.Parent = o217
  4969. o218.Scale = Vector3.new(0.600000024, 1, 0.600000024)
  4970. o219.Parent = o100
  4971. o219.BrickColor = BrickColor.new("Bright red")
  4972. o219.Position = Vector3.new(-32.0620117, 35.1956863, 26.7780552)
  4973. o219.Rotation = Vector3.new(-89.9499969, -0.099999994, -86.6800003)
  4974. o219.FormFactor = Enum.FormFactor.Symmetric
  4975. o219.Size = Vector3.new(2, 10, 2)
  4976. o219.CFrame = CFrame.new(-32.0620117, 35.1956863, 26.7780552, 0.0579567961, 0.99831754, -0.00174688792, -0.000748362683, 0.00179327442, 0.999998093, 0.998318791, -0.0579553805, 0.000851036049)
  4977. o219.BottomSurface = Enum.SurfaceType.Weld
  4978. o219.TopSurface = Enum.SurfaceType.Smooth
  4979. o219.Color = Color3.new(0.768628, 0.156863, 0.109804)
  4980. o219.Position = Vector3.new(-32.0620117, 35.1956863, 26.7780552)
  4981. o220.Parent = o219
  4982. o220.Scale = Vector3.new(0.600000024, 1, 0.600000024)
  4983. o221.Parent = o100
  4984. o221.BrickColor = BrickColor.new("Bright red")
  4985. o221.Position = Vector3.new(-23.0484848, 37.2084694, 30.2630253)
  4986. o221.Rotation = Vector3.new(-89.9499969, -0.099999994, -86.6800003)
  4987. o221.FormFactor = Enum.FormFactor.Symmetric
  4988. o221.Size = Vector3.new(2, 6, 2)
  4989. o221.CFrame = CFrame.new(-23.0484848, 37.2084694, 30.2630253, 0.0579567961, 0.99831754, -0.00174688792, -0.000748362683, 0.00179327442, 0.999998093, 0.998318791, -0.0579553805, 0.000851036049)
  4990. o221.BottomSurface = Enum.SurfaceType.Weld
  4991. o221.TopSurface = Enum.SurfaceType.Smooth
  4992. o221.Color = Color3.new(0.768628, 0.156863, 0.109804)
  4993. o221.Position = Vector3.new(-23.0484848, 37.2084694, 30.2630253)
  4994. o222.Parent = o221
  4995. o222.Scale = Vector3.new(0.600000024, 1, 0.600000024)
  4996. o223.Parent = o100
  4997. o223.BrickColor = BrickColor.new("Bright red")
  4998. o223.Position = Vector3.new(-31.7142696, 35.1911926, 32.7679672)
  4999. o223.Rotation = Vector3.new(-89.9499969, -0.099999994, -86.6800003)
  5000. o223.FormFactor = Enum.FormFactor.Symmetric
  5001. o223.Size = Vector3.new(2, 10, 2)
  5002. o223.CFrame = CFrame.new(-31.7142696, 35.1911926, 32.7679672, 0.0579567961, 0.99831754, -0.00174688792, -0.000748362683, 0.00179327442, 0.999998093, 0.998318791, -0.0579553805, 0.000851036049)
  5003. o223.BottomSurface = Enum.SurfaceType.Weld
  5004. o223.TopSurface = Enum.SurfaceType.Smooth
  5005. o223.Color = Color3.new(0.768628, 0.156863, 0.109804)
  5006. o223.Position = Vector3.new(-31.7142696, 35.1911926, 32.7679672)
  5007. o224.Parent = o223
  5008. o224.Scale = Vector3.new(0.600000024, 1, 0.600000024)
  5009. o225.Parent = o100
  5010. o225.BrickColor = BrickColor.new("Really black")
  5011. o225.Position = Vector3.new(-31.8863945, 34.1934395, 29.7721615)
  5012. o225.Rotation = Vector3.new(-89.9499969, -0.099999994, -86.6800003)
  5013. o225.FormFactor = Enum.FormFactor.Symmetric
  5014. o225.Size = Vector3.new(4, 10, 4)
  5015. o225.CFrame = CFrame.new(-31.8863945, 34.1934395, 29.7721615, 0.0579567961, 0.99831754, -0.00174688792, -0.000748362683, 0.00179327442, 0.999998093, 0.998318791, -0.0579553805, 0.000851036049)
  5016. o225.BottomSurface = Enum.SurfaceType.Weld
  5017. o225.TopSurface = Enum.SurfaceType.Smooth
  5018. o225.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  5019. o225.Position = Vector3.new(-31.8863945, 34.1934395, 29.7721615)
  5020. o226.Parent = o225
  5021. o227.Parent = o100
  5022. o227.BrickColor = BrickColor.new("Bright red")
  5023. o227.Position = Vector3.new(-32.0585175, 33.1956902, 26.7763538)
  5024. o227.Rotation = Vector3.new(-89.9499969, -0.099999994, -86.6800003)
  5025. o227.FormFactor = Enum.FormFactor.Symmetric
  5026. o227.Size = Vector3.new(2, 10, 2)
  5027. o227.CFrame = CFrame.new(-32.0585175, 33.1956902, 26.7763538, 0.0579567961, 0.99831754, -0.00174688792, -0.000748362683, 0.00179327442, 0.999998093, 0.998318791, -0.0579553805, 0.000851036049)
  5028. o227.BottomSurface = Enum.SurfaceType.Weld
  5029. o227.TopSurface = Enum.SurfaceType.Smooth
  5030. o227.Color = Color3.new(0.768628, 0.156863, 0.109804)
  5031. o227.Position = Vector3.new(-32.0585175, 33.1956902, 26.7763538)
  5032. o228.Parent = o227
  5033. o228.Scale = Vector3.new(0.600000024, 1, 0.600000024)
  5034. o229.Parent = o100
  5035. o229.BrickColor = BrickColor.new("Bright red")
  5036. o229.Position = Vector3.new(-23.2768173, 35.2114639, 26.2680473)
  5037. o229.Rotation = Vector3.new(-89.9499969, -0.099999994, -86.6800003)
  5038. o229.FormFactor = Enum.FormFactor.Symmetric
  5039. o229.Size = Vector3.new(2, 6, 2)
  5040. o229.CFrame = CFrame.new(-23.2768173, 35.2114639, 26.2680473, 0.0579567961, 0.99831754, -0.00174688792, -0.000748362683, 0.00179327442, 0.999998093, 0.998318791, -0.0579553805, 0.000851036049)
  5041. o229.BottomSurface = Enum.SurfaceType.Weld
  5042. o229.TopSurface = Enum.SurfaceType.Smooth
  5043. o229.Color = Color3.new(0.768628, 0.156863, 0.109804)
  5044. o229.Position = Vector3.new(-23.2768173, 35.2114639, 26.2680473)
  5045. o230.Parent = o229
  5046. o230.Scale = Vector3.new(0.600000024, 1, 0.600000024)
  5047. o231.Parent = o100
  5048. o231.BrickColor = BrickColor.new("Bright red")
  5049. o231.Position = Vector3.new(-31.7107773, 33.1911964, 32.7662659)
  5050. o231.Rotation = Vector3.new(-89.9499969, -0.099999994, -86.6800003)
  5051. o231.FormFactor = Enum.FormFactor.Symmetric
  5052. o231.Size = Vector3.new(2, 10, 2)
  5053. o231.CFrame = CFrame.new(-31.7107773, 33.1911964, 32.7662659, 0.0579567961, 0.99831754, -0.00174688792, -0.000748362683, 0.00179327442, 0.999998093, 0.998318791, -0.0579553805, 0.000851036049)
  5054. o231.BottomSurface = Enum.SurfaceType.Weld
  5055. o231.TopSurface = Enum.SurfaceType.Smooth
  5056. o231.Color = Color3.new(0.768628, 0.156863, 0.109804)
  5057. o231.Position = Vector3.new(-31.7107773, 33.1911964, 32.7662659)
  5058. o232.Parent = o231
  5059. o232.Scale = Vector3.new(0.600000024, 1, 0.600000024)
  5060. o233.Parent = o100
  5061. o233.BrickColor = BrickColor.new("Really black")
  5062. o233.Position = Vector3.new(-26.4954796, 34.203125, 29.4592018)
  5063. o233.Rotation = Vector3.new(-89.9499969, -0.099999994, -86.6800003)
  5064. o233.FormFactor = Enum.FormFactor.Plate
  5065. o233.Size = Vector3.new(8, 0.800000012, 8)
  5066. o233.CFrame = CFrame.new(-26.4954796, 34.203125, 29.4592018, 0.0579567961, 0.99831754, -0.00174688792, -0.000748362683, 0.00179327442, 0.999998093, 0.998318791, -0.0579553805, 0.000851036049)
  5067. o233.BottomSurface = Enum.SurfaceType.Weld
  5068. o233.TopSurface = Enum.SurfaceType.Smooth
  5069. o233.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  5070. o233.Position = Vector3.new(-26.4954796, 34.203125, 29.4592018)
  5071. o234.Parent = o233
  5072. o235.Parent = o100
  5073. o235.BrickColor = BrickColor.new("Bright red")
  5074. o235.Position = Vector3.new(-22.9290771, 35.206974, 32.2579613)
  5075. o235.Rotation = Vector3.new(-89.9499969, -0.099999994, -86.6800003)
  5076. o235.FormFactor = Enum.FormFactor.Symmetric
  5077. o235.Size = Vector3.new(2, 6, 2)
  5078. o235.CFrame = CFrame.new(-22.9290771, 35.206974, 32.2579613, 0.0579567961, 0.99831754, -0.00174688792, -0.000748362683, 0.00179327442, 0.999998093, 0.998318791, -0.0579553805, 0.000851036049)
  5079. o235.BottomSurface = Enum.SurfaceType.Weld
  5080. o235.TopSurface = Enum.SurfaceType.Smooth
  5081. o235.Color = Color3.new(0.768628, 0.156863, 0.109804)
  5082. o235.Position = Vector3.new(-22.9290771, 35.206974, 32.2579613)
  5083. o236.Parent = o235
  5084. o236.Scale = Vector3.new(0.600000024, 1, 0.600000024)
  5085. o237.Parent = o100
  5086. o237.BrickColor = BrickColor.new("Really black")
  5087. o237.Position = Vector3.new(-25.0978355, 34.2056351, 29.3780651)
  5088. o237.Rotation = Vector3.new(-89.9499969, -0.099999994, -86.6800003)
  5089. o237.FormFactor = Enum.FormFactor.Symmetric
  5090. o237.Size = Vector3.new(4, 2, 4)
  5091. o237.CFrame = CFrame.new(-25.0978355, 34.2056351, 29.3780651, 0.0579567961, 0.99831754, -0.00174688792, -0.000748362683, 0.00179327442, 0.999998093, 0.998318791, -0.0579553805, 0.000851036049)
  5092. o237.BottomSurface = Enum.SurfaceType.Weld
  5093. o237.TopSurface = Enum.SurfaceType.Smooth
  5094. o237.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  5095. o237.Position = Vector3.new(-25.0978355, 34.2056351, 29.3780651)
  5096. o238.Parent = o237
  5097. o238.Offset = Vector3.new(0, 1, 0)
  5098. o238.Scale = Vector3.new(1, 2, 1)
  5099. o239.Parent = o100
  5100. o239.BrickColor = BrickColor.new("Bright red")
  5101. o239.Position = Vector3.new(-40.6627579, 49.1448784, 68.8577118)
  5102. o239.Rotation = Vector3.new(90.0499954, 0.099999994, 176.679993)
  5103. o239.FormFactor = Enum.FormFactor.Symmetric
  5104. o239.Size = Vector3.new(4, 1, 4)
  5105. o239.CFrame = CFrame.new(-40.6627579, 49.1448784, 68.8577118, -0.99831754, -0.0579567961, 0.00174688792, -0.00179327442, 0.000748362683, -0.999998093, 0.0579553805, -0.998318791, -0.000851036049)
  5106. o239.BottomSurface = Enum.SurfaceType.Universal
  5107. o239.TopSurface = Enum.SurfaceType.Weld
  5108. o239.Color = Color3.new(0.768628, 0.156863, 0.109804)
  5109. o239.Position = Vector3.new(-40.6627579, 49.1448784, 68.8577118)
  5110. o240.Parent = o239
  5111. o241.Parent = o100
  5112. o241.BrickColor = BrickColor.new("Bright red")
  5113. o241.Position = Vector3.new(-42.2855492, 49.1658287, 40.9047852)
  5114. o241.Rotation = Vector3.new(90.0499954, 0.099999994, -3.31999993)
  5115. o241.FormFactor = Enum.FormFactor.Symmetric
  5116. o241.Size = Vector3.new(4, 1, 4)
  5117. o241.CFrame = CFrame.new(-42.2855492, 49.1658287, 40.9047852, 0.99831754, 0.0579567961, 0.00174688792, 0.00179327442, -0.000748362683, -0.999998093, -0.0579553805, 0.998318791, -0.000851036049)
  5118. o241.BottomSurface = Enum.SurfaceType.Universal
  5119. o241.TopSurface = Enum.SurfaceType.Weld
  5120. o241.Color = Color3.new(0.768628, 0.156863, 0.109804)
  5121. o241.Position = Vector3.new(-42.2855492, 49.1658287, 40.9047852)
  5122. o242.Parent = o241
  5123. o243.Parent = o100
  5124. o243.BrickColor = BrickColor.new("Bright red")
  5125. o243.Position = Vector3.new(-40.836628, 49.1471214, 65.8627548)
  5126. o243.Rotation = Vector3.new(90.0499954, 0.099999994, 176.679993)
  5127. o243.FormFactor = Enum.FormFactor.Symmetric
  5128. o243.Size = Vector3.new(4, 1, 4)
  5129. o243.CFrame = CFrame.new(-40.836628, 49.1471214, 65.8627548, -0.99831754, -0.0579567961, 0.00174688792, -0.00179327442, 0.000748362683, -0.999998093, 0.0579553805, -0.998318791, -0.000851036049)
  5130. o243.BottomSurface = Enum.SurfaceType.Universal
  5131. o243.TopSurface = Enum.SurfaceType.Weld
  5132. o243.Color = Color3.new(0.768628, 0.156863, 0.109804)
  5133. o243.Position = Vector3.new(-40.836628, 49.1471214, 65.8627548)
  5134. o244.Parent = o243
  5135. o245.Parent = o100
  5136. o245.BrickColor = BrickColor.new("Bright red")
  5137. o245.Position = Vector3.new(-47.6559639, 39.1399727, 60.2410393)
  5138. o245.Rotation = Vector3.new(-179.959991, -3.31999993, 89.9000015)
  5139. o245.FormFactor = Enum.FormFactor.Symmetric
  5140. o245.Size = Vector3.new(10, 3, 3)
  5141. o245.CFrame = CFrame.new(-47.6559639, 39.1399727, 60.2410393, 0.00174688792, -0.99831754, -0.0579567961, -0.999998093, -0.00179327442, 0.000748362683, -0.000851036049, 0.0579553805, -0.998318791)
  5142. o245.BackSurface = Enum.SurfaceType.Weld
  5143. o245.BottomSurface = Enum.SurfaceType.Weld
  5144. o245.Color = Color3.new(0.768628, 0.156863, 0.109804)
  5145. o245.Position = Vector3.new(-47.6559639, 39.1399727, 60.2410393)
  5146. o246.Parent = o100
  5147. o246.BrickColor = BrickColor.new("Really black")
  5148. o246.Position = Vector3.new(-40.9815216, 49.1489906, 63.3669586)
  5149. o246.Rotation = Vector3.new(1.76999998, -86.6800003, 1.73000002)
  5150. o246.FormFactor = Enum.FormFactor.Symmetric
  5151. o246.Size = Vector3.new(4, 6, 10)
  5152. o246.CFrame = CFrame.new(-40.9815216, 49.1489906, 63.3669586, 0.0579567961, -0.00174688792, -0.99831754, -0.000748362683, 0.999998093, -0.00179327442, 0.998318791, 0.000851036049, 0.0579553805)
  5153. o246.BottomSurface = Enum.SurfaceType.Weld
  5154. o246.TopSurface = Enum.SurfaceType.Smooth
  5155. o246.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  5156. o246.Position = Vector3.new(-40.9815216, 49.1489906, 63.3669586)
  5157. o247.Parent = o100
  5158. o247.BrickColor = BrickColor.new("Really black")
  5159. o247.Position = Vector3.new(-40.9727859, 44.1490021, 63.3627014)
  5160. o247.Rotation = Vector3.new(-89.9499969, -0.099999994, -176.679993)
  5161. o247.FormFactor = Enum.FormFactor.Symmetric
  5162. o247.Size = Vector3.new(10, 4, 4)
  5163. o247.CFrame = CFrame.new(-40.9727859, 44.1490021, 63.3627014, -0.99831754, 0.0579567961, -0.00174688792, -0.00179327442, -0.000748362683, 0.999998093, 0.0579553805, 0.998318791, 0.000851036049)
  5164. o247.BottomSurface = Enum.SurfaceType.Weld
  5165. o247.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  5166. o247.Position = Vector3.new(-40.9727859, 44.1490021, 63.3627014)
  5167. o248.Parent = o100
  5168. o248.BrickColor = BrickColor.new("Bright red")
  5169. o248.Position = Vector3.new(-43.1705208, 43.148037, 59.9836464)
  5170. o248.Rotation = Vector3.new(0.0399999991, 3.31999993, 0.099999994)
  5171. o248.FormFactor = Enum.FormFactor.Symmetric
  5172. o248.Size = Vector3.new(6, 2, 3)
  5173. o248.CFrame = CFrame.new(-43.1705208, 43.148037, 59.9836464, 0.99831754, -0.00174688792, 0.0579567961, 0.00179327442, 0.999998093, -0.000748362683, -0.0579553805, 0.000851036049, 0.998318791)
  5174. o248.BottomSurface = Enum.SurfaceType.Smooth
  5175. o248.TopSurface = Enum.SurfaceType.Weld
  5176. o248.Color = Color3.new(0.768628, 0.156863, 0.109804)
  5177. o248.Position = Vector3.new(-43.1705208, 43.148037, 59.9836464)
  5178. o249.Parent = o100
  5179. o249.Material = Enum.Material.DiamondPlate
  5180. o249.BrickColor = BrickColor.new("Really black")
  5181. o249.Position = Vector3.new(-43.1617889, 38.1480446, 59.9793892)
  5182. o249.Rotation = Vector3.new(-179.959991, -3.31999993, 179.899994)
  5183. o249.CanCollide = false
  5184. o249.FormFactor = Enum.FormFactor.Symmetric
  5185. o249.Size = Vector3.new(6, 8, 3)
  5186. o249.CFrame = CFrame.new(-43.1617889, 38.1480446, 59.9793892, -0.99831754, -0.00174688792, -0.0579567961, -0.00179327442, 0.999998093, 0.000748362683, 0.0579553805, 0.000851036049, -0.998318791)
  5187. o249.BottomSurface = Enum.SurfaceType.Weld
  5188. o249.TopSurface = Enum.SurfaceType.Weld
  5189. o249.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  5190. o249.Position = Vector3.new(-43.1617889, 38.1480446, 59.9793892)
  5191. o250.Parent = o100
  5192. o250.BrickColor = BrickColor.new("Really black")
  5193. o250.Position = Vector3.new(-41.5306931, 31.7565079, 53.3689613)
  5194. o250.Rotation = Vector3.new(1.76999998, -86.6800003, 1.73000002)
  5195. o250.FormFactor = Enum.FormFactor.Plate
  5196. o250.Size = Vector3.new(10, 0.800000012, 10)
  5197. o250.CFrame = CFrame.new(-41.5306931, 31.7565079, 53.3689613, 0.0579567961, -0.00174688792, -0.99831754, -0.000748362683, 0.999998093, -0.00179327442, 0.998318791, 0.000851036049, 0.0579553805)
  5198. o250.BottomSurface = Enum.SurfaceType.Universal
  5199. o250.TopSurface = Enum.SurfaceType.Weld
  5200. o250.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  5201. o250.Position = Vector3.new(-41.5306931, 31.7565079, 53.3689613)
  5202. o251.Parent = o250
  5203. o252.Parent = o100
  5204. o252.BrickColor = BrickColor.new("Really black")
  5205. o252.Position = Vector3.new(-42.1406555, 49.1639595, 43.4005814)
  5206. o252.Rotation = Vector3.new(1.76999998, -86.6800003, 1.73000002)
  5207. o252.FormFactor = Enum.FormFactor.Symmetric
  5208. o252.Size = Vector3.new(4, 6, 10)
  5209. o252.CFrame = CFrame.new(-42.1406555, 49.1639595, 43.4005814, 0.0579567961, -0.00174688792, -0.99831754, -0.000748362683, 0.999998093, -0.00179327442, 0.998318791, 0.000851036049, 0.0579553805)
  5210. o252.BottomSurface = Enum.SurfaceType.Weld
  5211. o252.TopSurface = Enum.SurfaceType.Smooth
  5212. o252.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  5213. o252.Position = Vector3.new(-42.1406555, 49.1639595, 43.4005814)
  5214. o253.Parent = o100
  5215. o253.BrickColor = BrickColor.new("Really black")
  5216. o253.Position = Vector3.new(-42.1319199, 44.1639709, 43.3963242)
  5217. o253.Rotation = Vector3.new(-89.9499969, -0.099999994, 3.31999993)
  5218. o253.FormFactor = Enum.FormFactor.Symmetric
  5219. o253.Size = Vector3.new(10, 4, 4)
  5220. o253.CFrame = CFrame.new(-42.1319199, 44.1639709, 43.3963242, 0.99831754, -0.0579567961, -0.00174688792, 0.00179327442, 0.000748362683, 0.999998093, -0.0579553805, -0.998318791, 0.000851036049)
  5221. o253.BottomSurface = Enum.SurfaceType.Weld
  5222. o253.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  5223. o253.Position = Vector3.new(-42.1319199, 44.1639709, 43.3963242)
  5224. o254.Parent = o100
  5225. o254.BrickColor = BrickColor.new("Really black")
  5226. o254.Position = Vector3.new(-41.8517456, 49.6602173, 48.392601)
  5227. o254.Rotation = Vector3.new(-179.959991, -3.31999993, 179.899994)
  5228. o254.FormFactor = Enum.FormFactor.Symmetric
  5229. o254.Size = Vector3.new(10, 5, 6)
  5230. o254.CFrame = CFrame.new(-41.8517456, 49.6602173, 48.392601, -0.99831754, -0.00174688792, -0.0579567961, -0.00179327442, 0.999998093, 0.000748362683, 0.0579553805, 0.000851036049, -0.998318791)
  5231. o254.BackSurface = Enum.SurfaceType.Weld
  5232. o254.BottomSurface = Enum.SurfaceType.Weld
  5233. o254.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  5234. o254.Position = Vector3.new(-41.8517456, 49.6602173, 48.392601)
  5235. o255.Parent = o100
  5236. o255.BrickColor = BrickColor.new("Bright red")
  5237. o255.Position = Vector3.new(-43.9239616, 43.1577644, 47.0055008)
  5238. o255.Rotation = Vector3.new(0.0399999991, 3.31999993, 0.099999994)
  5239. o255.FormFactor = Enum.FormFactor.Symmetric
  5240. o255.Size = Vector3.new(6, 2, 3)
  5241. o255.CFrame = CFrame.new(-43.9239616, 43.1577644, 47.0055008, 0.99831754, -0.00174688792, 0.0579567961, 0.00179327442, 0.999998093, -0.000748362683, -0.0579553805, 0.000851036049, 0.998318791)
  5242. o255.BottomSurface = Enum.SurfaceType.Smooth
  5243. o255.TopSurface = Enum.SurfaceType.Weld
  5244. o255.Color = Color3.new(0.768628, 0.156863, 0.109804)
  5245. o255.Position = Vector3.new(-43.9239616, 43.1577644, 47.0055008)
  5246. o256.Parent = o100
  5247. o256.BrickColor = BrickColor.new("Bright red")
  5248. o256.Transparency = 0.5
  5249. o256.Position = Vector3.new(-35.0597954, 42.1681442, 53.0011024)
  5250. o256.Rotation = Vector3.new(90.0499954, 0.099999994, -93.3199997)
  5251. o256.FormFactor = Enum.FormFactor.Symmetric
  5252. o256.Size = Vector3.new(12, 3, 6)
  5253. o256.CFrame = CFrame.new(-35.0597954, 42.1681442, 53.0011024, -0.0579567961, 0.99831754, 0.00174688792, 0.000748362683, 0.00179327442, -0.999998093, -0.998318791, -0.0579553805, -0.000851036049)
  5254. o256.BackSurface = Enum.SurfaceType.Weld
  5255. o256.BottomSurface = Enum.SurfaceType.Smooth
  5256. o256.Color = Color3.new(0.768628, 0.156863, 0.109804)
  5257. o256.Position = Vector3.new(-35.0597954, 42.1681442, 53.0011024)
  5258. o257.Parent = o100
  5259. o257.Material = Enum.Material.DiamondPlate
  5260. o257.BrickColor = BrickColor.new("Really black")
  5261. o257.Position = Vector3.new(-43.915226, 38.1577721, 47.0012436)
  5262. o257.Rotation = Vector3.new(0.0399999991, 3.31999993, 0.099999994)
  5263. o257.CanCollide = false
  5264. o257.FormFactor = Enum.FormFactor.Symmetric
  5265. o257.Size = Vector3.new(6, 8, 3)
  5266. o257.CFrame = CFrame.new(-43.915226, 38.1577721, 47.0012436, 0.99831754, -0.00174688792, 0.0579567961, 0.00179327442, 0.999998093, -0.000748362683, -0.0579553805, 0.000851036049, 0.998318791)
  5267. o257.BottomSurface = Enum.SurfaceType.Weld
  5268. o257.TopSurface = Enum.SurfaceType.Weld
  5269. o257.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  5270. o257.Position = Vector3.new(-43.915226, 38.1577721, 47.0012436)
  5271. o258.Parent = o100
  5272. o258.BrickColor = BrickColor.new("Bright red")
  5273. o258.Position = Vector3.new(-38.9253845, 39.1667404, 46.7123184)
  5274. o258.Rotation = Vector3.new(0.0399999991, 3.31999993, 0.099999994)
  5275. o258.FormFactor = Enum.FormFactor.Symmetric
  5276. o258.Size = Vector3.new(4, 10, 3)
  5277. o258.CFrame = CFrame.new(-38.9253845, 39.1667404, 46.7123184, 0.99831754, -0.00174688792, 0.0579567961, 0.00179327442, 0.999998093, -0.000748362683, -0.0579553805, 0.000851036049, 0.998318791)
  5278. o258.BottomSurface = Enum.SurfaceType.Weld
  5279. o258.TopSurface = Enum.SurfaceType.Weld
  5280. o258.Color = Color3.new(0.768628, 0.156863, 0.109804)
  5281. o258.Position = Vector3.new(-38.9253845, 39.1667404, 46.7123184)
  5282. o259.Parent = o100
  5283. o259.BrickColor = BrickColor.new("Really black")
  5284. o259.Position = Vector3.new(-41.5549736, 45.6564827, 53.3807907)
  5285. o259.Rotation = Vector3.new(1.76999998, -86.6800003, 1.73000002)
  5286. o259.FormFactor = Enum.FormFactor.Symmetric
  5287. o259.Size = Vector3.new(16, 3, 10)
  5288. o259.CFrame = CFrame.new(-41.5549736, 45.6564827, 53.3807907, 0.0579567961, -0.00174688792, -0.99831754, -0.000748362683, 0.999998093, -0.00179327442, 0.998318791, 0.000851036049, 0.0579553805)
  5289. o259.BottomSurface = Enum.SurfaceType.Smooth
  5290. o259.TopSurface = Enum.SurfaceType.Smooth
  5291. o259.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  5292. o259.Position = Vector3.new(-41.5549736, 45.6564827, 53.3807907)
  5293. o260.Parent = o100
  5294. o260.BrickColor = BrickColor.new("Bright red")
  5295. o260.Position = Vector3.new(-48.4094009, 39.149704, 47.2628937)
  5296. o260.Rotation = Vector3.new(-178.229996, 86.6800003, 88.2699966)
  5297. o260.FormFactor = Enum.FormFactor.Symmetric
  5298. o260.Size = Vector3.new(10, 3, 3)
  5299. o260.CFrame = CFrame.new(-48.4094009, 39.149704, 47.2628937, 0.00174688792, -0.0579567961, 0.99831754, -0.999998093, 0.000748362683, 0.00179327442, -0.000851036049, -0.998318791, -0.0579553805)
  5300. o260.BackSurface = Enum.SurfaceType.Weld
  5301. o260.BottomSurface = Enum.SurfaceType.Weld
  5302. o260.Color = Color3.new(0.768628, 0.156863, 0.109804)
  5303. o260.Position = Vector3.new(-48.4094009, 39.149704, 47.2628937)
  5304. o261.Parent = o100
  5305. o261.Reflectance = 0.5
  5306. o261.Position = Vector3.new(-38.5443001, 36.6618805, 53.1992645)
  5307. o261.Rotation = Vector3.new(1.76999998, -86.6800003, 1.73000002)
  5308. o261.Size = Vector3.new(2, 1, 2)
  5309. o261.CFrame = CFrame.new(-38.5443001, 36.6618805, 53.1992645, 0.0579567961, -0.00174688792, -0.99831754, -0.000748362683, 0.999998093, -0.00179327442, 0.998318791, 0.000851036049, 0.0579553805)
  5310. o261.BackSurface = Enum.SurfaceType.Weld
  5311. o261.BottomSurface = Enum.SurfaceType.Weld
  5312. o261.TopSurface = Enum.SurfaceType.Smooth
  5313. o261.MaxSpeed = 30
  5314. o261.Torque = 70
  5315. o261.Position = Vector3.new(-38.5443001, 36.6618805, 53.1992645)
  5316. o262.Parent = o100
  5317. o262.BrickColor = BrickColor.new("Bright red")
  5318. o262.Position = Vector3.new(-35.455883, 36.6733932, 46.0081902)
  5319. o262.Rotation = Vector3.new(0.0399999991, 3.31999993, -89.9000015)
  5320. o262.FormFactor = Enum.FormFactor.Symmetric
  5321. o262.Size = Vector3.new(5, 3, 2)
  5322. o262.CFrame = CFrame.new(-35.455883, 36.6733932, 46.0081902, 0.00174688792, 0.99831754, 0.0579567961, -0.999998093, 0.00179327442, -0.000748362683, -0.000851036049, -0.0579553805, 0.998318791)
  5323. o262.BackSurface = Enum.SurfaceType.Weld
  5324. o262.BottomSurface = Enum.SurfaceType.Weld
  5325. o262.Color = Color3.new(0.768628, 0.156863, 0.109804)
  5326. o262.Position = Vector3.new(-35.455883, 36.6733932, 46.0081902)
  5327. o263.Parent = o100
  5328. o263.BrickColor = BrickColor.new("Bright red")
  5329. o263.Position = Vector3.new(-43.0341072, 35.1538124, 53.458786)
  5330. o263.Rotation = Vector3.new(1.76999998, -86.6800003, 1.73000002)
  5331. o263.FormFactor = Enum.FormFactor.Symmetric
  5332. o263.Size = Vector3.new(10, 2, 13)
  5333. o263.CFrame = CFrame.new(-43.0341072, 35.1538124, 53.458786, 0.0579567961, -0.00174688792, -0.99831754, -0.000748362683, 0.999998093, -0.00179327442, 0.998318791, 0.000851036049, 0.0579553805)
  5334. o263.BottomSurface = Enum.SurfaceType.Weld
  5335. o263.TopSurface = Enum.SurfaceType.Smooth
  5336. o263.Color = Color3.new(0.768628, 0.156863, 0.109804)
  5337. o263.Position = Vector3.new(-43.0341072, 35.1538124, 53.458786)
  5338. o264.Parent = o100
  5339. o264.BrickColor = BrickColor.new("Bright red")
  5340. o264.Position = Vector3.new(-35.0501862, 36.6681557, 52.9964218)
  5341. o264.Rotation = Vector3.new(1.76999998, -86.6800003, 1.73000002)
  5342. o264.FormFactor = Enum.FormFactor.Symmetric
  5343. o264.Size = Vector3.new(12, 5, 3)
  5344. o264.CFrame = CFrame.new(-35.0501862, 36.6681557, 52.9964218, 0.0579567961, -0.00174688792, -0.99831754, -0.000748362683, 0.999998093, -0.00179327442, 0.998318791, 0.000851036049, 0.0579553805)
  5345. o264.BottomSurface = Enum.SurfaceType.Weld
  5346. o264.TopSurface = Enum.SurfaceType.Smooth
  5347. o264.Color = Color3.new(0.768628, 0.156863, 0.109804)
  5348. o264.Position = Vector3.new(-35.0501862, 36.6681557, 52.9964218)
  5349. o265.Parent = o264
  5350. o265.Texture = "http://www.roblox.com/asset/?id=25303836"
  5351. o266.Parent = o100
  5352. o266.BrickColor = BrickColor.new("Bright red")
  5353. o266.Position = Vector3.new(-38.1719475, 39.1570091, 59.690464)
  5354. o266.Rotation = Vector3.new(0.0399999991, 3.31999993, 0.099999994)
  5355. o266.FormFactor = Enum.FormFactor.Symmetric
  5356. o266.Size = Vector3.new(4, 10, 3)
  5357. o266.CFrame = CFrame.new(-38.1719475, 39.1570091, 59.690464, 0.99831754, -0.00174688792, 0.0579567961, 0.00179327442, 0.999998093, -0.000748362683, -0.0579553805, 0.000851036049, 0.998318791)
  5358. o266.BottomSurface = Enum.SurfaceType.Weld
  5359. o266.TopSurface = Enum.SurfaceType.Weld
  5360. o266.Color = Color3.new(0.768628, 0.156863, 0.109804)
  5361. o266.Position = Vector3.new(-38.1719475, 39.1570091, 59.690464)
  5362. o267.Parent = o100
  5363. o267.BrickColor = BrickColor.new("Really black")
  5364. o267.Position = Vector3.new(-41.2721786, 49.6527328, 58.3757896)
  5365. o267.Rotation = Vector3.new(0.0399999991, 3.31999993, 0.099999994)
  5366. o267.FormFactor = Enum.FormFactor.Symmetric
  5367. o267.Size = Vector3.new(10, 5, 6)
  5368. o267.CFrame = CFrame.new(-41.2721786, 49.6527328, 58.3757896, 0.99831754, -0.00174688792, 0.0579567961, 0.00179327442, 0.999998093, -0.000748362683, -0.0579553805, 0.000851036049, 0.998318791)
  5369. o267.BackSurface = Enum.SurfaceType.Weld
  5370. o267.BottomSurface = Enum.SurfaceType.Weld
  5371. o267.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  5372. o267.Position = Vector3.new(-41.2721786, 49.6527328, 58.3757896)
  5373. o268.Parent = o100
  5374. o268.BrickColor = BrickColor.new("Bright red")
  5375. o268.Position = Vector3.new(-34.6444893, 36.6629181, 59.9846535)
  5376. o268.Rotation = Vector3.new(1.76999998, -86.6800003, -88.2699966)
  5377. o268.FormFactor = Enum.FormFactor.Symmetric
  5378. o268.Size = Vector3.new(5, 2, 3)
  5379. o268.CFrame = CFrame.new(-34.6444893, 36.6629181, 59.9846535, 0.00174688792, 0.0579567961, -0.99831754, -0.999998093, -0.000748362683, -0.00179327442, -0.000851036049, 0.998318791, 0.0579553805)
  5380. o268.BackSurface = Enum.SurfaceType.Weld
  5381. o268.BottomSurface = Enum.SurfaceType.Weld
  5382. o268.Color = Color3.new(0.768628, 0.156863, 0.109804)
  5383. o268.Position = Vector3.new(-34.6444893, 36.6629181, 59.9846535)
  5384. o269.Parent = o100
  5385. o269.BrickColor = BrickColor.new("Really black")
  5386. o269.Position = Vector3.new(-41.5331383, 33.1565056, 53.3701515)
  5387. o269.Rotation = Vector3.new(1.76999998, -86.6800003, 1.73000002)
  5388. o269.FormFactor = Enum.FormFactor.Symmetric
  5389. o269.Size = Vector3.new(12, 2, 12)
  5390. o269.CFrame = CFrame.new(-41.5331383, 33.1565056, 53.3701515, 0.0579567961, -0.00174688792, -0.99831754, -0.000748362683, 0.999998093, -0.00179327442, 0.998318791, 0.000851036049, 0.0579553805)
  5391. o269.BottomSurface = Enum.SurfaceType.Smooth
  5392. o269.TopSurface = Enum.SurfaceType.Smooth
  5393. o269.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  5394. o269.Position = Vector3.new(-41.5331383, 33.1565056, 53.3701515)
  5395. o270.Parent = o100
  5396. o270.BrickColor = BrickColor.new("Bright red")
  5397. o270.Position = Vector3.new(-48.0440369, 45.644825, 53.7574997)
  5398. o270.Rotation = Vector3.new(-178.229996, 86.6800003, 178.269989)
  5399. o270.FormFactor = Enum.FormFactor.Symmetric
  5400. o270.Size = Vector3.new(10, 3, 3)
  5401. o270.CFrame = CFrame.new(-48.0440369, 45.644825, 53.7574997, -0.0579567961, -0.00174688792, 0.99831754, 0.000748362683, 0.999998093, 0.00179327442, -0.998318791, 0.000851036049, -0.0579553805)
  5402. o270.BackSurface = Enum.SurfaceType.Weld
  5403. o270.BottomSurface = Enum.SurfaceType.Weld
  5404. o270.Color = Color3.new(0.768628, 0.156863, 0.109804)
  5405. o270.Position = Vector3.new(-48.0440369, 45.644825, 53.7574997)
  5406. o271.Parent = o100
  5407. o271.BrickColor = BrickColor.new("Bright red")
  5408. o271.Position = Vector3.new(-40.6048012, 49.1441307, 69.8560333)
  5409. o271.Rotation = Vector3.new(90.0499954, 0.099999994, -3.31999993)
  5410. o271.FormFactor = Enum.FormFactor.Symmetric
  5411. o271.Size = Vector3.new(4, 1, 4)
  5412. o271.CFrame = CFrame.new(-40.6048012, 49.1441307, 69.8560333, 0.99831754, 0.0579567961, 0.00174688792, 0.00179327442, -0.000748362683, -0.999998093, -0.0579553805, 0.998318791, -0.000851036049)
  5413. o271.BottomSurface = Enum.SurfaceType.Universal
  5414. o271.TopSurface = Enum.SurfaceType.Weld
  5415. o271.Color = Color3.new(0.768628, 0.156863, 0.109804)
  5416. o271.Position = Vector3.new(-40.6048012, 49.1441307, 69.8560333)
  5417. o272.Parent = o271
  5418. o273.Parent = o100
  5419. o273.BrickColor = BrickColor.new("Bright red")
  5420. o273.Position = Vector3.new(-20.3719864, 31.1740589, 76.1805801)
  5421. o273.Rotation = Vector3.new(-89.9499969, -0.099999994, -86.6800003)
  5422. o273.FormFactor = Enum.FormFactor.Symmetric
  5423. o273.Size = Vector3.new(2, 6, 2)
  5424. o273.CFrame = CFrame.new(-20.3719864, 31.1740589, 76.1805801, 0.0579567961, 0.99831754, -0.00174688792, -0.000748362683, 0.00179327442, 0.999998093, 0.998318791, -0.0579553805, 0.000851036049)
  5425. o273.BottomSurface = Enum.SurfaceType.Weld
  5426. o273.TopSurface = Enum.SurfaceType.Smooth
  5427. o273.Color = Color3.new(0.768628, 0.156863, 0.109804)
  5428. o273.Position = Vector3.new(-20.3719864, 31.1740589, 76.1805801)
  5429. o274.Parent = o273
  5430. o274.Scale = Vector3.new(0.600000024, 1, 0.600000024)
  5431. o275.Parent = o100
  5432. o275.BrickColor = BrickColor.new("Bright red")
  5433. o275.Position = Vector3.new(-20.4878998, 31.1755562, 74.1839447)
  5434. o275.Rotation = Vector3.new(-89.9499969, -0.099999994, -86.6800003)
  5435. o275.FormFactor = Enum.FormFactor.Symmetric
  5436. o275.Size = Vector3.new(2, 6, 2)
  5437. o275.CFrame = CFrame.new(-20.4878998, 31.1755562, 74.1839447, 0.0579567961, 0.99831754, -0.00174688792, -0.000748362683, 0.00179327442, 0.999998093, 0.998318791, -0.0579553805, 0.000851036049)
  5438. o275.BottomSurface = Enum.SurfaceType.Weld
  5439. o275.TopSurface = Enum.SurfaceType.Smooth
  5440. o275.Color = Color3.new(0.768628, 0.156863, 0.109804)
  5441. o275.Position = Vector3.new(-20.4878998, 31.1755562, 74.1839447)
  5442. o276.Parent = o275
  5443. o276.Scale = Vector3.new(0.600000024, 1, 0.600000024)
  5444. o277.Parent = o100
  5445. o277.BrickColor = BrickColor.new("Bright red")
  5446. o277.Position = Vector3.new(-20.6073074, 33.1770477, 72.1890106)
  5447. o277.Rotation = Vector3.new(-89.9499969, -0.099999994, -86.6800003)
  5448. o277.FormFactor = Enum.FormFactor.Symmetric
  5449. o277.Size = Vector3.new(2, 6, 2)
  5450. o277.CFrame = CFrame.new(-20.6073074, 33.1770477, 72.1890106, 0.0579567961, 0.99831754, -0.00174688792, -0.000748362683, 0.00179327442, 0.999998093, 0.998318791, -0.0579553805, 0.000851036049)
  5451. o277.BottomSurface = Enum.SurfaceType.Weld
  5452. o277.TopSurface = Enum.SurfaceType.Smooth
  5453. o277.Color = Color3.new(0.768628, 0.156863, 0.109804)
  5454. o277.Position = Vector3.new(-20.6073074, 33.1770477, 72.1890106)
  5455. o278.Parent = o277
  5456. o278.Scale = Vector3.new(0.600000024, 1, 0.600000024)
  5457. o279.Parent = o100
  5458. o279.BrickColor = BrickColor.new("Bright red")
  5459. o279.Position = Vector3.new(-20.2595673, 33.1725578, 78.1789246)
  5460. o279.Rotation = Vector3.new(-89.9499969, -0.099999994, -86.6800003)
  5461. o279.FormFactor = Enum.FormFactor.Symmetric
  5462. o279.Size = Vector3.new(2, 6, 2)
  5463. o279.CFrame = CFrame.new(-20.2595673, 33.1725578, 78.1789246, 0.0579567961, 0.99831754, -0.00174688792, -0.000748362683, 0.00179327442, 0.999998093, 0.998318791, -0.0579553805, 0.000851036049)
  5464. o279.BottomSurface = Enum.SurfaceType.Weld
  5465. o279.TopSurface = Enum.SurfaceType.Smooth
  5466. o279.Color = Color3.new(0.768628, 0.156863, 0.109804)
  5467. o279.Position = Vector3.new(-20.2595673, 33.1725578, 78.1789246)
  5468. o280.Parent = o279
  5469. o280.Scale = Vector3.new(0.600000024, 1, 0.600000024)
  5470. o281.Name = "VulcanCannon"
  5471. o281.Parent = o100
  5472. o282.Name = "Cannon"
  5473. o282.Parent = o281
  5474. o283.Name = "Cannon"
  5475. o283.Parent = o282
  5476. o283.BrickColor = BrickColor.new("Really black")
  5477. o283.Reflectance = 0.5
  5478. o283.Position = Vector3.new(-19.4368668, 34.1765938, 75.1268616)
  5479. o283.Rotation = Vector3.new(1.76999998, -86.6800003, 1.73000002)
  5480. o283.FormFactor = Enum.FormFactor.Symmetric
  5481. o283.Size = Vector3.new(4, 4, 4)
  5482. o283.CFrame = CFrame.new(-19.4368668, 34.1765938, 75.1268616, 0.0579567961, -0.00174688792, -0.99831754, -0.000748362683, 0.999998093, -0.00179327442, 0.998318791, 0.000851036049, 0.0579553805)
  5483. o283.BackSurface = Enum.SurfaceType.Weld
  5484. o283.BottomSurface = Enum.SurfaceType.Smooth
  5485. o283.TopSurface = Enum.SurfaceType.Smooth
  5486. o283.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  5487. o283.Position = Vector3.new(-19.4368668, 34.1765938, 75.1268616)
  5488. o284.Name = "Cannon"
  5489. o284.Parent = o283
  5490. o284.Volume = 1
  5491. o285.Parent = o283
  5492. o285.MeshType = Enum.MeshType.Sphere
  5493. o286.Parent = o283
  5494. o286.Texture = "http://www.roblox.com/asset/?id=26729786"
  5495. o287.Name = "Button"
  5496. o287.Parent = o281
  5497. o288.Name = "Button"
  5498. o288.Parent = o287
  5499. o288.BrickColor = BrickColor.new("Bright green")
  5500. o288.Reflectance = 0.5
  5501. o288.Position = Vector3.new(-63.3628387, 34.0976944, 77.6769028)
  5502. o288.Rotation = Vector3.new(90.0499954, 0.099999994, 86.6800003)
  5503. o288.FormFactor = Enum.FormFactor.Plate
  5504. o288.Size = Vector3.new(4, 0.400000006, 4)
  5505. o288.CFrame = CFrame.new(-63.3628387, 34.0976944, 77.6769028, 0.0579567961, -0.99831754, 0.00174688792, -0.000748362683, -0.00179327442, -0.999998093, 0.998318791, 0.0579553805, -0.000851036049)
  5506. o288.BottomSurface = Enum.SurfaceType.Weld
  5507. o288.TopSurface = Enum.SurfaceType.Smooth
  5508. o288.Color = Color3.new(0.294118, 0.592157, 0.294118)
  5509. o288.Position = Vector3.new(-63.3628387, 34.0976944, 77.6769028)
  5510. o289.Name = "Cannon"
  5511. o289.Parent = o288
  5512.  
  5513. runDummyScript(function()
  5514. -- Cannon by TankLeadfoot
  5515.  
  5516. local b = Instance.new("Part")
  5517. b.Name = "Ball"
  5518. b.Size = Vector3.new(2, 2, 2)
  5519. b.Color = Color3.new(0, 0, 0)
  5520. b.CanCollide = true
  5521. b.Anchored = false
  5522. b.Shape = 0
  5523. b.formFactor = 0
  5524. b.BackSurface = 0
  5525. b.BottomSurface = 0
  5526. b.FrontSurface = 0
  5527. b.LeftSurface = 0
  5528. b.RightSurface = 0
  5529. b.TopSurface = 0
  5530.  
  5531. while (script:findFirstChild("Explosion") == nil) do wait(0.1) end
  5532. script.Explosion:Clone().Parent = b
  5533. while (script:findFirstChild("Ball") == nil) do wait(0.1) end
  5534. script.Ball:Clone().Parent = b
  5535.  
  5536. local Lock = nil
  5537. local On = nil
  5538.  
  5539. script.Parent.BrickColor = BrickColor.new(37)
  5540.  
  5541. script.Parent.ClickDetector.MouseClick:connect(function()
  5542. if (Lock == nil) and (script.Parent.Parent.Parent.Cannon:findFirstChild("Cannon") ~= nil) then
  5543. Lock = true
  5544. On = true
  5545. script.Parent.BrickColor = BrickColor.new(21)
  5546. if (script.Parent.Parent.Parent.Cannon.Cannon:findFirstChild("Cannon") ~= nil) then
  5547. script.Parent.Parent.Parent.Cannon.Cannon.Cannon:Play()
  5548. end
  5549.  
  5550. while (script.Parent.Clip.Value > 0) and (On == true) do
  5551. b.Position = script.Parent.Parent.Parent.Cannon.Cannon.Position + (script.Parent.Parent.Parent.Cannon.Cannon.CFrame.lookVector).unit * 5
  5552. b.Velocity = (script.Parent.Parent.Parent.Cannon.Cannon.CFrame.lookVector).unit * 500
  5553. b:Clone().Parent = game.Workspace
  5554.  
  5555. script.Parent.Clip.Value = script.Parent.Clip.Value - 1
  5556. wait(0.2)
  5557. end
  5558.  
  5559. if (script.Parent.Clip.Value <= 0) then
  5560. script.Parent.BrickColor = BrickColor.new(7)
  5561. script.Parent.Clip.Value = 1000
  5562. wait(60)
  5563. end
  5564.  
  5565. script.Parent.BrickColor = BrickColor.new(37)
  5566. Lock = nil
  5567. end
  5568. On = nil
  5569. end)
  5570.  
  5571. end,o289)
  5572.  
  5573. o290.Name = "Ball"
  5574. o290.Parent = o289
  5575.  
  5576. runDummyScript(function()
  5577. -- Cannon Ball by TankLeadfoot
  5578.  
  5579. local b = Instance.new("Explosion")
  5580. b.Name = "Boom"
  5581. b.BlastRadius = 10
  5582.  
  5583. local Lock = nil
  5584.  
  5585. function onTouch(hit)
  5586. if (Lock == nil) then
  5587. Lock = true
  5588. script.Parent.Anchored = true
  5589. script.Parent.CanCollide = false
  5590. script.Parent.Transparency = 1
  5591.  
  5592. if (script.Parent:findFirstChild("Explosion") ~= nil) then
  5593. script.Parent.Explosion:Play()
  5594. end
  5595. b.Position = script.Parent.Position
  5596. b:Clone().Parent = script.Parent
  5597.  
  5598. wait(1)
  5599. script.Parent:Remove()
  5600. end
  5601. end
  5602.  
  5603. script.Parent.Touched:connect(onTouch)
  5604.  
  5605. end,o290)
  5606.  
  5607. o291.Name = "Explosion"
  5608. o291.Parent = o289
  5609. o291.SoundId = "rbxasset://sounds/collide.wav"
  5610. o291.Volume = 1
  5611. o292.Parent = o288
  5612. o292.MaxActivationDistance = 50
  5613. o293.Name = "Clip"
  5614. o293.Parent = o288
  5615. o293.Value = 720
  5616. o294.Parent = o100
  5617. o294.BrickColor = BrickColor.new("Really black")
  5618. o294.Position = Vector3.new(-22.4318199, 34.1712151, 75.3007278)
  5619. o294.Rotation = Vector3.new(-89.9499969, -0.099999994, -86.6800003)
  5620. o294.FormFactor = Enum.FormFactor.Symmetric
  5621. o294.Size = Vector3.new(4, 2, 4)
  5622. o294.CFrame = CFrame.new(-22.4318199, 34.1712151, 75.3007278, 0.0579567961, 0.99831754, -0.00174688792, -0.000748362683, 0.00179327442, 0.999998093, 0.998318791, -0.0579553805, 0.000851036049)
  5623. o294.BottomSurface = Enum.SurfaceType.Weld
  5624. o294.TopSurface = Enum.SurfaceType.Smooth
  5625. o294.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  5626. o294.Position = Vector3.new(-22.4318199, 34.1712151, 75.3007278)
  5627. o295.Parent = o294
  5628. o295.Offset = Vector3.new(0, 1, 0)
  5629. o295.Scale = Vector3.new(1, 2, 1)
  5630. o296.Parent = o100
  5631. o296.BrickColor = BrickColor.new("Bright red")
  5632. o296.Position = Vector3.new(-20.2630615, 35.172554, 78.1806259)
  5633. o296.Rotation = Vector3.new(-89.9499969, -0.099999994, -86.6800003)
  5634. o296.FormFactor = Enum.FormFactor.Symmetric
  5635. o296.Size = Vector3.new(2, 6, 2)
  5636. o296.CFrame = CFrame.new(-20.2630615, 35.172554, 78.1806259, 0.0579567961, 0.99831754, -0.00174688792, -0.000748362683, 0.00179327442, 0.999998093, 0.998318791, -0.0579553805, 0.000851036049)
  5637. o296.BottomSurface = Enum.SurfaceType.Weld
  5638. o296.TopSurface = Enum.SurfaceType.Smooth
  5639. o296.Color = Color3.new(0.768628, 0.156863, 0.109804)
  5640. o296.Position = Vector3.new(-20.2630615, 35.172554, 78.1806259)
  5641. o297.Parent = o296
  5642. o297.Scale = Vector3.new(0.600000024, 1, 0.600000024)
  5643. o298.Parent = o100
  5644. o298.BrickColor = BrickColor.new("Really black")
  5645. o298.Position = Vector3.new(-40.5178642, 49.1430092, 71.353508)
  5646. o298.Rotation = Vector3.new(1.76999998, -86.6800003, 91.7299957)
  5647. o298.FormFactor = Enum.FormFactor.Symmetric
  5648. o298.Size = Vector3.new(6, 2, 8)
  5649. o298.CFrame = CFrame.new(-40.5178642, 49.1430092, 71.353508, -0.00174688792, -0.0579567961, -0.99831754, 0.999998093, 0.000748362683, -0.00179327442, 0.000851036049, -0.998318791, 0.0579553805)
  5650. o298.BottomSurface = Enum.SurfaceType.Smooth
  5651. o298.TopSurface = Enum.SurfaceType.Smooth
  5652. o298.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  5653. o298.Position = Vector3.new(-40.5178642, 49.1430092, 71.353508)
  5654. o299.Parent = o100
  5655. o299.BrickColor = BrickColor.new("Really black")
  5656. o299.Position = Vector3.new(-40.2210922, 45.1392746, 76.3416977)
  5657. o299.Rotation = Vector3.new(1.76999998, -86.6800003, 1.73000002)
  5658. o299.FormFactor = Enum.FormFactor.Symmetric
  5659. o299.Size = Vector3.new(8, 2, 8)
  5660. o299.CFrame = CFrame.new(-40.2210922, 45.1392746, 76.3416977, 0.0579567961, -0.00174688792, -0.99831754, -0.000748362683, 0.999998093, -0.00179327442, 0.998318791, 0.000851036049, 0.0579553805)
  5661. o299.BottomSurface = Enum.SurfaceType.Smooth
  5662. o299.TopSurface = Enum.SurfaceType.Smooth
  5663. o299.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  5664. o299.Position = Vector3.new(-40.2210922, 45.1392746, 76.3416977)
  5665. o300.Parent = o100
  5666. o300.BrickColor = BrickColor.new("Really black")
  5667. o300.Position = Vector3.new(-40.2280807, 49.139267, 76.3451004)
  5668. o300.Rotation = Vector3.new(-179.959991, -3.31999993, 179.899994)
  5669. o300.FormFactor = Enum.FormFactor.Symmetric
  5670. o300.Size = Vector3.new(8, 6, 8)
  5671. o300.CFrame = CFrame.new(-40.2280807, 49.139267, 76.3451004, -0.99831754, -0.00174688792, -0.0579567961, -0.00179327442, 0.999998093, 0.000748362683, 0.0579553805, 0.000851036049, -0.998318791)
  5672. o300.BackSurface = Enum.SurfaceType.Weld
  5673. o300.BottomSurface = Enum.SurfaceType.Weld
  5674. o300.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  5675. o300.Position = Vector3.new(-40.2280807, 49.139267, 76.3451004)
  5676. o301.Parent = o100
  5677. o301.BrickColor = BrickColor.new("Really black")
  5678. o301.Position = Vector3.new(-40.2141037, 41.1392822, 76.338295)
  5679. o301.Rotation = Vector3.new(1.76999998, -86.6800003, 1.73000002)
  5680. o301.FormFactor = Enum.FormFactor.Symmetric
  5681. o301.Size = Vector3.new(8, 6, 8)
  5682. o301.CFrame = CFrame.new(-40.2141037, 41.1392822, 76.338295, 0.0579567961, -0.00174688792, -0.99831754, -0.000748362683, 0.999998093, -0.00179327442, 0.998318791, 0.000851036049, 0.0579553805)
  5683. o301.BottomSurface = Enum.SurfaceType.Weld
  5684. o301.TopSurface = Enum.SurfaceType.Weld
  5685. o301.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  5686. o301.Position = Vector3.new(-40.2141037, 41.1392822, 76.338295)
  5687. o302.Parent = o301
  5688. o303.Parent = o100
  5689. o303.BrickColor = BrickColor.new("Really black")
  5690. o303.Position = Vector3.new(-49.6858902, 34.122261, 76.8829117)
  5691. o303.Rotation = Vector3.new(1.76999998, -86.6800003, 1.73000002)
  5692. o303.FormFactor = Enum.FormFactor.Symmetric
  5693. o303.Size = Vector3.new(8, 8, 27)
  5694. o303.CFrame = CFrame.new(-49.6858902, 34.122261, 76.8829117, 0.0579567961, -0.00174688792, -0.99831754, -0.000748362683, 0.999998093, -0.00179327442, 0.998318791, 0.000851036049, 0.0579553805)
  5695. o303.BottomSurface = Enum.SurfaceType.Smooth
  5696. o303.TopSurface = Enum.SurfaceType.Smooth
  5697. o303.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  5698. o303.Position = Vector3.new(-49.6858902, 34.122261, 76.8829117)
  5699. o304.Parent = o100
  5700. o304.BrickColor = BrickColor.new("Bright red")
  5701. o304.Position = Vector3.new(-29.1676617, 37.158268, 76.695694)
  5702. o304.Rotation = Vector3.new(-89.9499969, -0.099999994, -86.6800003)
  5703. o304.FormFactor = Enum.FormFactor.Symmetric
  5704. o304.Size = Vector3.new(2, 10, 2)
  5705. o304.CFrame = CFrame.new(-29.1676617, 37.158268, 76.695694, 0.0579567961, 0.99831754, -0.00174688792, -0.000748362683, 0.00179327442, 0.999998093, 0.998318791, -0.0579553805, 0.000851036049)
  5706. o304.BottomSurface = Enum.SurfaceType.Weld
  5707. o304.TopSurface = Enum.SurfaceType.Smooth
  5708. o304.Color = Color3.new(0.768628, 0.156863, 0.109804)
  5709. o304.Position = Vector3.new(-29.1676617, 37.158268, 76.695694)
  5710. o305.Parent = o304
  5711. o305.Scale = Vector3.new(0.600000024, 1, 0.600000024)
  5712. o306.Parent = o100
  5713. o306.BrickColor = BrickColor.new("Really black")
  5714. o306.Position = Vector3.new(-35.2102852, 34.148262, 76.0425568)
  5715. o306.Rotation = Vector3.new(-89.9499969, -0.099999994, -86.6800003)
  5716. o306.FormFactor = Enum.FormFactor.Symmetric
  5717. o306.Size = Vector3.new(8, 2, 8)
  5718. o306.CFrame = CFrame.new(-35.2102852, 34.148262, 76.0425568, 0.0579567961, 0.99831754, -0.00174688792, -0.000748362683, 0.00179327442, 0.999998093, 0.998318791, -0.0579553805, 0.000851036049)
  5719. o306.BottomSurface = Enum.SurfaceType.Weld
  5720. o306.TopSurface = Enum.SurfaceType.Smooth
  5721. o306.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  5722. o306.Position = Vector3.new(-35.2102852, 34.148262, 76.0425568)
  5723. o307.Parent = o306
  5724. o308.Parent = o100
  5725. o308.BrickColor = BrickColor.new("Bright red")
  5726. o308.Position = Vector3.new(-29.2835751, 37.1597633, 74.6990585)
  5727. o308.Rotation = Vector3.new(-89.9499969, -0.099999994, -86.6800003)
  5728. o308.FormFactor = Enum.FormFactor.Symmetric
  5729. o308.Size = Vector3.new(2, 10, 2)
  5730. o308.CFrame = CFrame.new(-29.2835751, 37.1597633, 74.6990585, 0.0579567961, 0.99831754, -0.00174688792, -0.000748362683, 0.00179327442, 0.999998093, 0.998318791, -0.0579553805, 0.000851036049)
  5731. o308.BottomSurface = Enum.SurfaceType.Weld
  5732. o308.TopSurface = Enum.SurfaceType.Smooth
  5733. o308.Color = Color3.new(0.768628, 0.156863, 0.109804)
  5734. o308.Position = Vector3.new(-29.2835751, 37.1597633, 74.6990585)
  5735. o309.Parent = o308
  5736. o309.Scale = Vector3.new(0.600000024, 1, 0.600000024)
  5737. o310.Parent = o100
  5738. o310.BrickColor = BrickColor.new("Bright red")
  5739. o310.Position = Vector3.new(-29.048254, 35.1567726, 78.6906357)
  5740. o310.Rotation = Vector3.new(-89.9499969, -0.099999994, -86.6800003)
  5741. o310.FormFactor = Enum.FormFactor.Symmetric
  5742. o310.Size = Vector3.new(2, 10, 2)
  5743. o310.CFrame = CFrame.new(-29.048254, 35.1567726, 78.6906357, 0.0579567961, 0.99831754, -0.00174688792, -0.000748362683, 0.00179327442, 0.999998093, 0.998318791, -0.0579553805, 0.000851036049)
  5744. o310.BottomSurface = Enum.SurfaceType.Weld
  5745. o310.TopSurface = Enum.SurfaceType.Smooth
  5746. o310.Color = Color3.new(0.768628, 0.156863, 0.109804)
  5747. o310.Position = Vector3.new(-29.048254, 35.1567726, 78.6906357)
  5748. o311.Parent = o310
  5749. o311.Scale = Vector3.new(0.600000024, 1, 0.600000024)
  5750. o312.Parent = o100
  5751. o312.BrickColor = BrickColor.new("Bright red")
  5752. o312.Position = Vector3.new(-29.3959961, 35.1612663, 72.7007217)
  5753. o312.Rotation = Vector3.new(-89.9499969, -0.099999994, -86.6800003)
  5754. o312.FormFactor = Enum.FormFactor.Symmetric
  5755. o312.Size = Vector3.new(2, 10, 2)
  5756. o312.CFrame = CFrame.new(-29.3959961, 35.1612663, 72.7007217, 0.0579567961, 0.99831754, -0.00174688792, -0.000748362683, 0.00179327442, 0.999998093, 0.998318791, -0.0579553805, 0.000851036049)
  5757. o312.BottomSurface = Enum.SurfaceType.Weld
  5758. o312.TopSurface = Enum.SurfaceType.Smooth
  5759. o312.Color = Color3.new(0.768628, 0.156863, 0.109804)
  5760. o312.Position = Vector3.new(-29.3959961, 35.1612663, 72.7007217)
  5761. o313.Parent = o312
  5762. o313.Scale = Vector3.new(0.600000024, 1, 0.600000024)
  5763. o314.Parent = o100
  5764. o314.BrickColor = BrickColor.new("Bright red")
  5765. o314.Position = Vector3.new(-29.0447617, 33.1567764, 78.6889343)
  5766. o314.Rotation = Vector3.new(-89.9499969, -0.099999994, -86.6800003)
  5767. o314.FormFactor = Enum.FormFactor.Symmetric
  5768. o314.Size = Vector3.new(2, 10, 2)
  5769. o314.CFrame = CFrame.new(-29.0447617, 33.1567764, 78.6889343, 0.0579567961, 0.99831754, -0.00174688792, -0.000748362683, 0.00179327442, 0.999998093, 0.998318791, -0.0579553805, 0.000851036049)
  5770. o314.BottomSurface = Enum.SurfaceType.Weld
  5771. o314.TopSurface = Enum.SurfaceType.Smooth
  5772. o314.Color = Color3.new(0.768628, 0.156863, 0.109804)
  5773. o314.Position = Vector3.new(-29.0447617, 33.1567764, 78.6889343)
  5774. o315.Parent = o314
  5775. o315.Scale = Vector3.new(0.600000024, 1, 0.600000024)
  5776. o316.Parent = o100
  5777. o316.BrickColor = BrickColor.new("Bright red")
  5778. o316.Position = Vector3.new(-20.3824692, 37.1740494, 76.1856918)
  5779. o316.Rotation = Vector3.new(-89.9499969, -0.099999994, -86.6800003)
  5780. o316.FormFactor = Enum.FormFactor.Symmetric
  5781. o316.Size = Vector3.new(2, 6, 2)
  5782. o316.CFrame = CFrame.new(-20.3824692, 37.1740494, 76.1856918, 0.0579567961, 0.99831754, -0.00174688792, -0.000748362683, 0.00179327442, 0.999998093, 0.998318791, -0.0579553805, 0.000851036049)
  5783. o316.BottomSurface = Enum.SurfaceType.Weld
  5784. o316.TopSurface = Enum.SurfaceType.Smooth
  5785. o316.Color = Color3.new(0.768628, 0.156863, 0.109804)
  5786. o316.Position = Vector3.new(-20.3824692, 37.1740494, 76.1856918)
  5787. o317.Parent = o316
  5788. o317.Scale = Vector3.new(0.600000024, 1, 0.600000024)
  5789. o318.Parent = o100
  5790. o318.BrickColor = BrickColor.new("Bright red")
  5791. o318.Position = Vector3.new(-29.3925018, 33.1612701, 72.6990204)
  5792. o318.Rotation = Vector3.new(-89.9499969, -0.099999994, -86.6800003)
  5793. o318.FormFactor = Enum.FormFactor.Symmetric
  5794. o318.Size = Vector3.new(2, 10, 2)
  5795. o318.CFrame = CFrame.new(-29.3925018, 33.1612701, 72.6990204, 0.0579567961, 0.99831754, -0.00174688792, -0.000748362683, 0.00179327442, 0.999998093, 0.998318791, -0.0579553805, 0.000851036049)
  5796. o318.BottomSurface = Enum.SurfaceType.Weld
  5797. o318.TopSurface = Enum.SurfaceType.Smooth
  5798. o318.Color = Color3.new(0.768628, 0.156863, 0.109804)
  5799. o318.Position = Vector3.new(-29.3925018, 33.1612701, 72.6990204)
  5800. o319.Parent = o318
  5801. o319.Scale = Vector3.new(0.600000024, 1, 0.600000024)
  5802. o320.Parent = o100
  5803. o320.BrickColor = BrickColor.new("Bright red")
  5804. o320.Position = Vector3.new(-20.4983826, 37.1755447, 74.1890488)
  5805. o320.Rotation = Vector3.new(-89.9499969, -0.099999994, -86.6800003)
  5806. o320.FormFactor = Enum.FormFactor.Symmetric
  5807. o320.Size = Vector3.new(2, 6, 2)
  5808. o320.CFrame = CFrame.new(-20.4983826, 37.1755447, 74.1890488, 0.0579567961, 0.99831754, -0.00174688792, -0.000748362683, 0.00179327442, 0.999998093, 0.998318791, -0.0579553805, 0.000851036049)
  5809. o320.BottomSurface = Enum.SurfaceType.Weld
  5810. o320.TopSurface = Enum.SurfaceType.Smooth
  5811. o320.Color = Color3.new(0.768628, 0.156863, 0.109804)
  5812. o320.Position = Vector3.new(-20.4983826, 37.1755447, 74.1890488)
  5813. o321.Parent = o320
  5814. o321.Scale = Vector3.new(0.600000024, 1, 0.600000024)
  5815. o322.Parent = o100
  5816. o322.BrickColor = BrickColor.new("Really black")
  5817. o322.Position = Vector3.new(-29.2203789, 34.1590195, 75.6948242)
  5818. o322.Rotation = Vector3.new(-89.9499969, -0.099999994, -86.6800003)
  5819. o322.FormFactor = Enum.FormFactor.Symmetric
  5820. o322.Size = Vector3.new(4, 10, 4)
  5821. o322.CFrame = CFrame.new(-29.2203789, 34.1590195, 75.6948242, 0.0579567961, 0.99831754, -0.00174688792, -0.000748362683, 0.00179327442, 0.999998093, 0.998318791, -0.0579553805, 0.000851036049)
  5822. o322.BottomSurface = Enum.SurfaceType.Weld
  5823. o322.TopSurface = Enum.SurfaceType.Smooth
  5824. o322.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  5825. o322.Position = Vector3.new(-29.2203789, 34.1590195, 75.6948242)
  5826. o323.Parent = o322
  5827. o324.Parent = o100
  5828. o324.BrickColor = BrickColor.new("Really black")
  5829. o324.Position = Vector3.new(-23.829464, 34.168705, 75.3818665)
  5830. o324.Rotation = Vector3.new(-89.9499969, -0.099999994, -86.6800003)
  5831. o324.FormFactor = Enum.FormFactor.Plate
  5832. o324.Size = Vector3.new(8, 0.800000012, 8)
  5833. o324.CFrame = CFrame.new(-23.829464, 34.168705, 75.3818665, 0.0579567961, 0.99831754, -0.00174688792, -0.000748362683, 0.00179327442, 0.999998093, 0.998318791, -0.0579553805, 0.000851036049)
  5834. o324.BottomSurface = Enum.SurfaceType.Weld
  5835. o324.TopSurface = Enum.SurfaceType.Smooth
  5836. o324.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  5837. o324.Position = Vector3.new(-23.829464, 34.168705, 75.3818665)
  5838. o325.Parent = o324
  5839. o326.Parent = o100
  5840. o326.BrickColor = BrickColor.new("Bright red")
  5841. o326.Position = Vector3.new(-29.2730961, 31.1597748, 74.6939545)
  5842. o326.Rotation = Vector3.new(-89.9499969, -0.099999994, -86.6800003)
  5843. o326.FormFactor = Enum.FormFactor.Symmetric
  5844. o326.Size = Vector3.new(2, 10, 2)
  5845. o326.CFrame = CFrame.new(-29.2730961, 31.1597748, 74.6939545, 0.0579567961, 0.99831754, -0.00174688792, -0.000748362683, 0.00179327442, 0.999998093, 0.998318791, -0.0579553805, 0.000851036049)
  5846. o326.BottomSurface = Enum.SurfaceType.Weld
  5847. o326.TopSurface = Enum.SurfaceType.Smooth
  5848. o326.Color = Color3.new(0.768628, 0.156863, 0.109804)
  5849. o326.Position = Vector3.new(-29.2730961, 31.1597748, 74.6939545)
  5850. o327.Parent = o326
  5851. o327.Scale = Vector3.new(0.600000024, 1, 0.600000024)
  5852. o328.Parent = o100
  5853. o328.BrickColor = BrickColor.new("Bright red")
  5854. o328.Position = Vector3.new(-20.6108017, 35.1770439, 72.190712)
  5855. o328.Rotation = Vector3.new(-89.9499969, -0.099999994, -86.6800003)
  5856. o328.FormFactor = Enum.FormFactor.Symmetric
  5857. o328.Size = Vector3.new(2, 6, 2)
  5858. o328.CFrame = CFrame.new(-20.6108017, 35.1770439, 72.190712, 0.0579567961, 0.99831754, -0.00174688792, -0.000748362683, 0.00179327442, 0.999998093, 0.998318791, -0.0579553805, 0.000851036049)
  5859. o328.BottomSurface = Enum.SurfaceType.Weld
  5860. o328.TopSurface = Enum.SurfaceType.Smooth
  5861. o328.Color = Color3.new(0.768628, 0.156863, 0.109804)
  5862. o328.Position = Vector3.new(-20.6108017, 35.1770439, 72.190712)
  5863. o329.Parent = o328
  5864. o329.Scale = Vector3.new(0.600000024, 1, 0.600000024)
  5865. o330.Parent = o100
  5866. o330.BrickColor = BrickColor.new("Bright red")
  5867. o330.Position = Vector3.new(-38.3989983, 58.6770821, 35.6778641)
  5868. o330.Rotation = Vector3.new(-89.9499969, -0.099999994, -86.6800003)
  5869. o330.CanCollide = false
  5870. o330.FormFactor = Enum.FormFactor.Plate
  5871. o330.Size = Vector3.new(3, 0.400000006, 3)
  5872. o330.CFrame = CFrame.new(-38.3989983, 58.6770821, 35.6778641, 0.0579567961, 0.99831754, -0.00174688792, -0.000748362683, 0.00179327442, 0.999998093, 0.998318791, -0.0579553805, 0.000851036049)
  5873. o330.BottomSurface = Enum.SurfaceType.Weld
  5874. o330.TopSurface = Enum.SurfaceType.Smooth
  5875. o330.Color = Color3.new(0.768628, 0.156863, 0.109804)
  5876. o330.Position = Vector3.new(-38.3989983, 58.6770821, 35.6778641)
  5877. o331.Parent = o330
  5878. o331.Offset = Vector3.new(0, -0.349999994, 0)
  5879. o331.Scale = Vector3.new(0.699999988, 1, 0.699999988)
  5880. o332.Parent = o100
  5881. o332.BrickColor = BrickColor.new("Bright red")
  5882. o332.Position = Vector3.new(-38.2251282, 58.674839, 38.6728172)
  5883. o332.Rotation = Vector3.new(-89.9499969, -0.099999994, -86.6800003)
  5884. o332.CanCollide = false
  5885. o332.FormFactor = Enum.FormFactor.Plate
  5886. o332.Size = Vector3.new(3, 0.400000006, 3)
  5887. o332.CFrame = CFrame.new(-38.2251282, 58.674839, 38.6728172, 0.0579567961, 0.99831754, -0.00174688792, -0.000748362683, 0.00179327442, 0.999998093, 0.998318791, -0.0579553805, 0.000851036049)
  5888. o332.BottomSurface = Enum.SurfaceType.Weld
  5889. o332.TopSurface = Enum.SurfaceType.Smooth
  5890. o332.Color = Color3.new(0.768628, 0.156863, 0.109804)
  5891. o332.Position = Vector3.new(-38.2251282, 58.674839, 38.6728172)
  5892. o333.Parent = o332
  5893. o333.Offset = Vector3.new(0, -0.349999994, 0)
  5894. o333.Scale = Vector3.new(0.699999988, 1, 0.699999988)
  5895. o334.Parent = o100
  5896. o334.BrickColor = BrickColor.new("Bright red")
  5897. o334.Position = Vector3.new(-38.2198868, 55.6748428, 38.6702652)
  5898. o334.Rotation = Vector3.new(-89.9499969, -0.099999994, -86.6800003)
  5899. o334.CanCollide = false
  5900. o334.FormFactor = Enum.FormFactor.Plate
  5901. o334.Size = Vector3.new(3, 0.400000006, 3)
  5902. o334.CFrame = CFrame.new(-38.2198868, 55.6748428, 38.6702652, 0.0579567961, 0.99831754, -0.00174688792, -0.000748362683, 0.00179327442, 0.999998093, 0.998318791, -0.0579553805, 0.000851036049)
  5903. o334.BottomSurface = Enum.SurfaceType.Weld
  5904. o334.TopSurface = Enum.SurfaceType.Smooth
  5905. o334.Color = Color3.new(0.768628, 0.156863, 0.109804)
  5906. o334.Position = Vector3.new(-38.2198868, 55.6748428, 38.6702652)
  5907. o335.Parent = o334
  5908. o335.Offset = Vector3.new(0, -0.349999994, 0)
  5909. o335.Scale = Vector3.new(0.699999988, 1, 0.699999988)
  5910. o336.Parent = o100
  5911. o336.BrickColor = BrickColor.new("Bright red")
  5912. o336.Position = Vector3.new(-38.3937569, 55.6770897, 35.6753082)
  5913. o336.Rotation = Vector3.new(-89.9499969, -0.099999994, -86.6800003)
  5914. o336.CanCollide = false
  5915. o336.FormFactor = Enum.FormFactor.Plate
  5916. o336.Size = Vector3.new(3, 0.400000006, 3)
  5917. o336.CFrame = CFrame.new(-38.3937569, 55.6770897, 35.6753082, 0.0579567961, 0.99831754, -0.00174688792, -0.000748362683, 0.00179327442, 0.999998093, 0.998318791, -0.0579553805, 0.000851036049)
  5918. o336.BottomSurface = Enum.SurfaceType.Weld
  5919. o336.TopSurface = Enum.SurfaceType.Smooth
  5920. o336.Color = Color3.new(0.768628, 0.156863, 0.109804)
  5921. o336.Position = Vector3.new(-38.3937569, 55.6770897, 35.6753082)
  5922. o337.Parent = o336
  5923. o337.Offset = Vector3.new(0, -0.349999994, 0)
  5924. o337.Scale = Vector3.new(0.699999988, 1, 0.699999988)
  5925. o338.Parent = o100
  5926. o338.BrickColor = BrickColor.new("Bright red")
  5927. o338.Position = Vector3.new(-38.0512543, 58.6725922, 41.6677742)
  5928. o338.Rotation = Vector3.new(-89.9499969, -0.099999994, -86.6800003)
  5929. o338.CanCollide = false
  5930. o338.FormFactor = Enum.FormFactor.Plate
  5931. o338.Size = Vector3.new(3, 0.400000006, 3)
  5932. o338.CFrame = CFrame.new(-38.0512543, 58.6725922, 41.6677742, 0.0579567961, 0.99831754, -0.00174688792, -0.000748362683, 0.00179327442, 0.999998093, 0.998318791, -0.0579553805, 0.000851036049)
  5933. o338.BottomSurface = Enum.SurfaceType.Weld
  5934. o338.TopSurface = Enum.SurfaceType.Smooth
  5935. o338.Color = Color3.new(0.768628, 0.156863, 0.109804)
  5936. o338.Position = Vector3.new(-38.0512543, 58.6725922, 41.6677742)
  5937. o339.Parent = o338
  5938. o339.Offset = Vector3.new(0, -0.349999994, 0)
  5939. o339.Scale = Vector3.new(0.699999988, 1, 0.699999988)
  5940. o340.Parent = o100
  5941. o340.BrickColor = BrickColor.new("Bright red")
  5942. o340.Position = Vector3.new(-38.0460167, 55.6725998, 41.6652222)
  5943. o340.Rotation = Vector3.new(-89.9499969, -0.099999994, -86.6800003)
  5944. o340.CanCollide = false
  5945. o340.FormFactor = Enum.FormFactor.Plate
  5946. o340.Size = Vector3.new(3, 0.400000006, 3)
  5947. o340.CFrame = CFrame.new(-38.0460167, 55.6725998, 41.6652222, 0.0579567961, 0.99831754, -0.00174688792, -0.000748362683, 0.00179327442, 0.999998093, 0.998318791, -0.0579553805, 0.000851036049)
  5948. o340.BottomSurface = Enum.SurfaceType.Weld
  5949. o340.TopSurface = Enum.SurfaceType.Smooth
  5950. o340.Color = Color3.new(0.768628, 0.156863, 0.109804)
  5951. o340.Position = Vector3.new(-38.0460167, 55.6725998, 41.6652222)
  5952. o341.Parent = o340
  5953. o341.Offset = Vector3.new(0, -0.349999994, 0)
  5954. o341.Scale = Vector3.new(0.699999988, 1, 0.699999988)
  5955. o342.Parent = o100
  5956. o342.BrickColor = BrickColor.new("Really black")
  5957. o342.Position = Vector3.new(-42.4040833, 50.6673203, 38.9094238)
  5958. o342.Rotation = Vector3.new(0.0399999991, 3.31999993, 0.099999994)
  5959. o342.FormFactor = Enum.FormFactor.Symmetric
  5960. o342.Size = Vector3.new(4, 7, 1)
  5961. o342.CFrame = CFrame.new(-42.4040833, 50.6673203, 38.9094238, 0.99831754, -0.00174688792, 0.0579567961, 0.00179327442, 0.999998093, -0.000748362683, -0.0579553805, 0.000851036049, 0.998318791)
  5962. o342.BottomSurface = Enum.SurfaceType.Weld
  5963. o342.TopSurface = Enum.SurfaceType.Weld
  5964. o342.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  5965. o342.Position = Vector3.new(-42.4040833, 50.6673203, 38.9094238)
  5966. o343.Parent = o100
  5967. o343.BrickColor = BrickColor.new("Bright red")
  5968. o343.Position = Vector3.new(-42.4594193, 49.1680717, 37.9098282)
  5969. o343.Rotation = Vector3.new(90.0499954, 0.099999994, 176.679993)
  5970. o343.FormFactor = Enum.FormFactor.Symmetric
  5971. o343.Size = Vector3.new(4, 1, 4)
  5972. o343.CFrame = CFrame.new(-42.4594193, 49.1680717, 37.9098282, -0.99831754, -0.0579567961, 0.00174688792, -0.00179327442, 0.000748362683, -0.999998093, 0.0579553805, -0.998318791, -0.000851036049)
  5973. o343.BottomSurface = Enum.SurfaceType.Weld
  5974. o343.TopSurface = Enum.SurfaceType.Universal
  5975. o343.Color = Color3.new(0.768628, 0.156863, 0.109804)
  5976. o343.Position = Vector3.new(-42.4594193, 49.1680717, 37.9098282)
  5977. o344.Parent = o343
  5978. o345.Parent = o100
  5979. o345.BrickColor = BrickColor.new("Really black")
  5980. o345.Position = Vector3.new(-42.4154396, 57.1673088, 38.9149551)
  5981. o345.Rotation = Vector3.new(-179.959991, -3.31999993, 179.899994)
  5982. o345.FormFactor = Enum.FormFactor.Symmetric
  5983. o345.Size = Vector3.new(8, 6, 9)
  5984. o345.CFrame = CFrame.new(-42.4154396, 57.1673088, 38.9149551, -0.99831754, -0.00174688792, -0.0579567961, -0.00179327442, 0.999998093, 0.000748362683, 0.0579553805, 0.000851036049, -0.998318791)
  5985. o345.BottomSurface = Enum.SurfaceType.Smooth
  5986. o345.TopSurface = Enum.SurfaceType.Smooth
  5987. o345.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  5988. o345.Position = Vector3.new(-42.4154396, 57.1673088, 38.9149551)
  5989. o346.Parent = o100
  5990. o346.BrickColor = BrickColor.new("Bright red")
  5991. o346.Position = Vector3.new(-42.3435059, 49.1665764, 39.9064674)
  5992. o346.Rotation = Vector3.new(90.0499954, 0.099999994, 176.679993)
  5993. o346.FormFactor = Enum.FormFactor.Symmetric
  5994. o346.Size = Vector3.new(4, 1, 4)
  5995. o346.CFrame = CFrame.new(-42.3435059, 49.1665764, 39.9064674, -0.99831754, -0.0579567961, 0.00174688792, -0.00179327442, 0.000748362683, -0.999998093, 0.0579553805, -0.998318791, -0.000851036049)
  5996. o346.BottomSurface = Enum.SurfaceType.Universal
  5997. o346.TopSurface = Enum.SurfaceType.Weld
  5998. o346.Color = Color3.new(0.768628, 0.156863, 0.109804)
  5999. o346.Position = Vector3.new(-42.3435059, 49.1665764, 39.9064674)
  6000. o347.Parent = o346
  6001. o348.Parent = o100
  6002. o348.BrickColor = BrickColor.new("Bright red")
  6003. o348.Position = Vector3.new(-36.7182503, 58.6553841, 64.6291122)
  6004. o348.Rotation = Vector3.new(-89.9499969, -0.099999994, -86.6800003)
  6005. o348.CanCollide = false
  6006. o348.FormFactor = Enum.FormFactor.Plate
  6007. o348.Size = Vector3.new(3, 0.400000006, 3)
  6008. o348.CFrame = CFrame.new(-36.7182503, 58.6553841, 64.6291122, 0.0579567961, 0.99831754, -0.00174688792, -0.000748362683, 0.00179327442, 0.999998093, 0.998318791, -0.0579553805, 0.000851036049)
  6009. o348.BottomSurface = Enum.SurfaceType.Weld
  6010. o348.TopSurface = Enum.SurfaceType.Smooth
  6011. o348.Color = Color3.new(0.768628, 0.156863, 0.109804)
  6012. o348.Position = Vector3.new(-36.7182503, 58.6553841, 64.6291122)
  6013. o349.Parent = o348
  6014. o349.Offset = Vector3.new(0, -0.349999994, 0)
  6015. o349.Scale = Vector3.new(0.699999988, 1, 0.699999988)
  6016. o350.Parent = o100
  6017. o350.BrickColor = BrickColor.new("Bright red")
  6018. o350.Position = Vector3.new(-36.5443802, 58.653141, 67.6240692)
  6019. o350.Rotation = Vector3.new(-89.9499969, -0.099999994, -86.6800003)
  6020. o350.CanCollide = false
  6021. o350.FormFactor = Enum.FormFactor.Plate
  6022. o350.Size = Vector3.new(3, 0.400000006, 3)
  6023. o350.CFrame = CFrame.new(-36.5443802, 58.653141, 67.6240692, 0.0579567961, 0.99831754, -0.00174688792, -0.000748362683, 0.00179327442, 0.999998093, 0.998318791, -0.0579553805, 0.000851036049)
  6024. o350.BottomSurface = Enum.SurfaceType.Weld
  6025. o350.TopSurface = Enum.SurfaceType.Smooth
  6026. o350.Color = Color3.new(0.768628, 0.156863, 0.109804)
  6027. o350.Position = Vector3.new(-36.5443802, 58.653141, 67.6240692)
  6028. o351.Parent = o350
  6029. o351.Offset = Vector3.new(0, -0.349999994, 0)
  6030. o351.Scale = Vector3.new(0.699999988, 1, 0.699999988)
  6031. o352.Parent = o100
  6032. o352.BrickColor = BrickColor.new("Bright red")
  6033. o352.Position = Vector3.new(-36.5391388, 55.6531448, 67.6215134)
  6034. o352.Rotation = Vector3.new(-89.9499969, -0.099999994, -86.6800003)
  6035. o352.CanCollide = false
  6036. o352.FormFactor = Enum.FormFactor.Plate
  6037. o352.Size = Vector3.new(3, 0.400000006, 3)
  6038. o352.CFrame = CFrame.new(-36.5391388, 55.6531448, 67.6215134, 0.0579567961, 0.99831754, -0.00174688792, -0.000748362683, 0.00179327442, 0.999998093, 0.998318791, -0.0579553805, 0.000851036049)
  6039. o352.BottomSurface = Enum.SurfaceType.Weld
  6040. o352.TopSurface = Enum.SurfaceType.Smooth
  6041. o352.Color = Color3.new(0.768628, 0.156863, 0.109804)
  6042. o352.Position = Vector3.new(-36.5391388, 55.6531448, 67.6215134)
  6043. o353.Parent = o352
  6044. o353.Offset = Vector3.new(0, -0.349999994, 0)
  6045. o353.Scale = Vector3.new(0.699999988, 1, 0.699999988)
  6046. o354.Parent = o100
  6047. o354.BrickColor = BrickColor.new("Bright red")
  6048. o354.Position = Vector3.new(-36.7130089, 55.6553917, 64.6265564)
  6049. o354.Rotation = Vector3.new(-89.9499969, -0.099999994, -86.6800003)
  6050. o354.CanCollide = false
  6051. o354.FormFactor = Enum.FormFactor.Plate
  6052. o354.Size = Vector3.new(3, 0.400000006, 3)
  6053. o354.CFrame = CFrame.new(-36.7130089, 55.6553917, 64.6265564, 0.0579567961, 0.99831754, -0.00174688792, -0.000748362683, 0.00179327442, 0.999998093, 0.998318791, -0.0579553805, 0.000851036049)
  6054. o354.BottomSurface = Enum.SurfaceType.Weld
  6055. o354.TopSurface = Enum.SurfaceType.Smooth
  6056. o354.Color = Color3.new(0.768628, 0.156863, 0.109804)
  6057. o354.Position = Vector3.new(-36.7130089, 55.6553917, 64.6265564)
  6058. o355.Parent = o354
  6059. o355.Offset = Vector3.new(0, -0.349999994, 0)
  6060. o355.Scale = Vector3.new(0.699999988, 1, 0.699999988)
  6061. o356.Parent = o100
  6062. o356.BrickColor = BrickColor.new("Bright red")
  6063. o356.Position = Vector3.new(-36.3705063, 58.6508942, 70.6190262)
  6064. o356.Rotation = Vector3.new(-89.9499969, -0.099999994, -86.6800003)
  6065. o356.CanCollide = false
  6066. o356.FormFactor = Enum.FormFactor.Plate
  6067. o356.Size = Vector3.new(3, 0.400000006, 3)
  6068. o356.CFrame = CFrame.new(-36.3705063, 58.6508942, 70.6190262, 0.0579567961, 0.99831754, -0.00174688792, -0.000748362683, 0.00179327442, 0.999998093, 0.998318791, -0.0579553805, 0.000851036049)
  6069. o356.BottomSurface = Enum.SurfaceType.Weld
  6070. o356.TopSurface = Enum.SurfaceType.Smooth
  6071. o356.Color = Color3.new(0.768628, 0.156863, 0.109804)
  6072. o356.Position = Vector3.new(-36.3705063, 58.6508942, 70.6190262)
  6073. o357.Parent = o356
  6074. o357.Offset = Vector3.new(0, -0.349999994, 0)
  6075. o357.Scale = Vector3.new(0.699999988, 1, 0.699999988)
  6076. o358.Parent = o100
  6077. o358.BrickColor = BrickColor.new("Bright red")
  6078. o358.Position = Vector3.new(-36.3652687, 55.6509018, 70.6164703)
  6079. o358.Rotation = Vector3.new(-89.9499969, -0.099999994, -86.6800003)
  6080. o358.CanCollide = false
  6081. o358.FormFactor = Enum.FormFactor.Plate
  6082. o358.Size = Vector3.new(3, 0.400000006, 3)
  6083. o358.CFrame = CFrame.new(-36.3652687, 55.6509018, 70.6164703, 0.0579567961, 0.99831754, -0.00174688792, -0.000748362683, 0.00179327442, 0.999998093, 0.998318791, -0.0579553805, 0.000851036049)
  6084. o358.BottomSurface = Enum.SurfaceType.Weld
  6085. o358.TopSurface = Enum.SurfaceType.Smooth
  6086. o358.Color = Color3.new(0.768628, 0.156863, 0.109804)
  6087. o358.Position = Vector3.new(-36.3652687, 55.6509018, 70.6164703)
  6088. o359.Parent = o358
  6089. o359.Offset = Vector3.new(0, -0.349999994, 0)
  6090. o359.Scale = Vector3.new(0.699999988, 1, 0.699999988)
  6091. o360.Parent = o100
  6092. o360.BrickColor = BrickColor.new("Really black")
  6093. o360.Position = Vector3.new(-40.7233353, 50.6456223, 67.860672)
  6094. o360.Rotation = Vector3.new(0.0399999991, 3.31999993, 0.099999994)
  6095. o360.FormFactor = Enum.FormFactor.Symmetric
  6096. o360.Size = Vector3.new(4, 7, 1)
  6097. o360.CFrame = CFrame.new(-40.7233353, 50.6456223, 67.860672, 0.99831754, -0.00174688792, 0.0579567961, 0.00179327442, 0.999998093, -0.000748362683, -0.0579553805, 0.000851036049, 0.998318791)
  6098. o360.BottomSurface = Enum.SurfaceType.Weld
  6099. o360.TopSurface = Enum.SurfaceType.Weld
  6100. o360.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  6101. o360.Position = Vector3.new(-40.7233353, 50.6456223, 67.860672)
  6102. o361.Parent = o100
  6103. o361.BrickColor = BrickColor.new("Bright red")
  6104. o361.Position = Vector3.new(-40.7786713, 49.1463737, 66.8610764)
  6105. o361.Rotation = Vector3.new(90.0499954, 0.099999994, 176.679993)
  6106. o361.FormFactor = Enum.FormFactor.Symmetric
  6107. o361.Size = Vector3.new(4, 1, 4)
  6108. o361.CFrame = CFrame.new(-40.7786713, 49.1463737, 66.8610764, -0.99831754, -0.0579567961, 0.00174688792, -0.00179327442, 0.000748362683, -0.999998093, 0.0579553805, -0.998318791, -0.000851036049)
  6109. o361.BottomSurface = Enum.SurfaceType.Weld
  6110. o361.TopSurface = Enum.SurfaceType.Universal
  6111. o361.Color = Color3.new(0.768628, 0.156863, 0.109804)
  6112. o361.Position = Vector3.new(-40.7786713, 49.1463737, 66.8610764)
  6113. o362.Parent = o361
  6114. o363.Parent = o100
  6115. o363.BrickColor = BrickColor.new("Really black")
  6116. o363.Position = Vector3.new(-40.7346916, 57.1456108, 67.8662033)
  6117. o363.Rotation = Vector3.new(-179.959991, -3.31999993, 179.899994)
  6118. o363.FormFactor = Enum.FormFactor.Symmetric
  6119. o363.Size = Vector3.new(8, 6, 9)
  6120. o363.CFrame = CFrame.new(-40.7346916, 57.1456108, 67.8662033, -0.99831754, -0.00174688792, -0.0579567961, -0.00179327442, 0.999998093, 0.000748362683, 0.0579553805, 0.000851036049, -0.998318791)
  6121. o363.BottomSurface = Enum.SurfaceType.Smooth
  6122. o363.TopSurface = Enum.SurfaceType.Smooth
  6123. o363.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  6124. o363.Position = Vector3.new(-40.7346916, 57.1456108, 67.8662033)
  6125. o364.Name = "VulcanCannon"
  6126. o364.Parent = o100
  6127. o365.Name = "Cannon"
  6128. o365.Parent = o364
  6129. o366.Name = "Cannon"
  6130. o366.Parent = o365
  6131. o366.BrickColor = BrickColor.new("Really black")
  6132. o366.Reflectance = 0.5
  6133. o366.Position = Vector3.new(-22.1028824, 34.2110138, 29.2041988)
  6134. o366.Rotation = Vector3.new(1.76999998, -86.6800003, 1.73000002)
  6135. o366.FormFactor = Enum.FormFactor.Symmetric
  6136. o366.Size = Vector3.new(4, 4, 4)
  6137. o366.CFrame = CFrame.new(-22.1028824, 34.2110138, 29.2041988, 0.0579567961, -0.00174688792, -0.99831754, -0.000748362683, 0.999998093, -0.00179327442, 0.998318791, 0.000851036049, 0.0579553805)
  6138. o366.BackSurface = Enum.SurfaceType.Weld
  6139. o366.BottomSurface = Enum.SurfaceType.Smooth
  6140. o366.TopSurface = Enum.SurfaceType.Smooth
  6141. o366.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  6142. o366.Position = Vector3.new(-22.1028824, 34.2110138, 29.2041988)
  6143. o367.Name = "Cannon"
  6144. o367.Parent = o366
  6145. o367.Volume = 1
  6146. o368.Parent = o366
  6147. o368.MeshType = Enum.MeshType.Sphere
  6148. o369.Parent = o366
  6149. o369.Texture = "http://www.roblox.com/asset/?id=26729786"
  6150. o370.Name = "Button"
  6151. o370.Parent = o364
  6152. o371.Name = "Button"
  6153. o371.Parent = o370
  6154. o371.BrickColor = BrickColor.new("Bright green")
  6155. o371.Reflectance = 0.5
  6156. o371.Position = Vector3.new(-66.0288544, 34.1321106, 31.7542362)
  6157. o371.Rotation = Vector3.new(90.0499954, 0.099999994, 86.6800003)
  6158. o371.FormFactor = Enum.FormFactor.Plate
  6159. o371.Size = Vector3.new(4, 0.400000006, 4)
  6160. o371.CFrame = CFrame.new(-66.0288544, 34.1321106, 31.7542362, 0.0579567961, -0.99831754, 0.00174688792, -0.000748362683, -0.00179327442, -0.999998093, 0.998318791, 0.0579553805, -0.000851036049)
  6161. o371.BottomSurface = Enum.SurfaceType.Weld
  6162. o371.TopSurface = Enum.SurfaceType.Smooth
  6163. o371.Color = Color3.new(0.294118, 0.592157, 0.294118)
  6164. o371.Position = Vector3.new(-66.0288544, 34.1321106, 31.7542362)
  6165. o372.Name = "Cannon"
  6166. o372.Parent = o371
  6167.  
  6168. runDummyScript(function()
  6169. -- Cannon by TankLeadfoot
  6170.  
  6171. local b = Instance.new("Part")
  6172. b.Name = "Ball"
  6173. b.Size = Vector3.new(2, 2, 2)
  6174. b.Color = Color3.new(0, 0, 0)
  6175. b.CanCollide = true
  6176. b.Anchored = false
  6177. b.Shape = 0
  6178. b.formFactor = 0
  6179. b.BackSurface = 0
  6180. b.BottomSurface = 0
  6181. b.FrontSurface = 0
  6182. b.LeftSurface = 0
  6183. b.RightSurface = 0
  6184. b.TopSurface = 0
  6185.  
  6186. while (script:findFirstChild("Explosion") == nil) do wait(0.1) end
  6187. script.Explosion:Clone().Parent = b
  6188. while (script:findFirstChild("Ball") == nil) do wait(0.1) end
  6189. script.Ball:Clone().Parent = b
  6190.  
  6191. local Lock = nil
  6192. local On = nil
  6193.  
  6194. script.Parent.BrickColor = BrickColor.new(37)
  6195.  
  6196. script.Parent.ClickDetector.MouseClick:connect(function()
  6197. if (Lock == nil) and (script.Parent.Parent.Parent.Cannon:findFirstChild("Cannon") ~= nil) then
  6198. Lock = true
  6199. On = true
  6200. script.Parent.BrickColor = BrickColor.new(21)
  6201. if (script.Parent.Parent.Parent.Cannon.Cannon:findFirstChild("Cannon") ~= nil) then
  6202. script.Parent.Parent.Parent.Cannon.Cannon.Cannon:Play()
  6203. end
  6204.  
  6205. while (script.Parent.Clip.Value > 0) and (On == true) do
  6206. b.Position = script.Parent.Parent.Parent.Cannon.Cannon.Position + (script.Parent.Parent.Parent.Cannon.Cannon.CFrame.lookVector).unit * 5
  6207. b.Velocity = (script.Parent.Parent.Parent.Cannon.Cannon.CFrame.lookVector).unit * 500
  6208. b:Clone().Parent = game.Workspace
  6209.  
  6210. script.Parent.Clip.Value = script.Parent.Clip.Value - 1
  6211. wait(0.2)
  6212. end
  6213.  
  6214. if (script.Parent.Clip.Value <= 0) then
  6215. script.Parent.BrickColor = BrickColor.new(7)
  6216. script.Parent.Clip.Value = 1000
  6217. wait(60)
  6218. end
  6219.  
  6220. script.Parent.BrickColor = BrickColor.new(37)
  6221. Lock = nil
  6222. end
  6223. On = nil
  6224. end)
  6225.  
  6226. end,o372)
  6227.  
  6228. o373.Name = "Ball"
  6229. o373.Parent = o372
  6230.  
  6231. runDummyScript(function()
  6232. -- Cannon Ball by TankLeadfoot
  6233.  
  6234. local b = Instance.new("Explosion")
  6235. b.Name = "Boom"
  6236. b.BlastRadius = 10
  6237.  
  6238. local Lock = nil
  6239.  
  6240. function onTouch(hit)
  6241. if (Lock == nil) then
  6242. Lock = true
  6243. script.Parent.Anchored = true
  6244. script.Parent.CanCollide = false
  6245. script.Parent.Transparency = 1
  6246.  
  6247. if (script.Parent:findFirstChild("Explosion") ~= nil) then
  6248. script.Parent.Explosion:Play()
  6249. end
  6250. b.Position = script.Parent.Position
  6251. b:Clone().Parent = script.Parent
  6252.  
  6253. wait(1)
  6254. script.Parent:Remove()
  6255. end
  6256. end
  6257.  
  6258. script.Parent.Touched:connect(onTouch)
  6259.  
  6260. end,o373)
  6261.  
  6262. o374.Name = "Explosion"
  6263. o374.Parent = o372
  6264. o374.SoundId = "rbxasset://sounds/collide.wav"
  6265. o374.Volume = 1
  6266. o375.Parent = o371
  6267. o375.MaxActivationDistance = 50
  6268. o376.Name = "Clip"
  6269. o376.Parent = o371
  6270. o376.Value = 700
  6271. o377.Name = "Handle"
  6272. o377.Parent = o100
  6273. o377.BrickColor = BrickColor.new("Bright red")
  6274. o377.Reflectance = 0.25
  6275. o377.Position = Vector3.new(-32.7232742, 4.38295078, 40.3160858)
  6276. o377.Rotation = Vector3.new(-178.229996, 86.6800003, 178.269989)
  6277. o377.FormFactor = Enum.FormFactor.Plate
  6278. o377.Size = Vector3.new(1, 2.79999995, 5)
  6279. o377.CFrame = CFrame.new(-32.7232742, 4.38295078, 40.3160858, -0.0579567961, -0.00174688792, 0.99831754, 0.000748362683, 0.999998093, 0.00179327442, -0.998318791, 0.000851036049, -0.0579553805)
  6280. o377.BottomSurface = Enum.SurfaceType.Smooth
  6281. o377.TopSurface = Enum.SurfaceType.Smooth
  6282. o377.Color = Color3.new(0.768628, 0.156863, 0.109804)
  6283. o377.Position = Vector3.new(-32.7232742, 4.38295078, 40.3160858)
  6284. o378.Parent = o377
  6285. o378.MeshId = "http://www.roblox.com/asset/?id=10681506"
  6286. o378.Scale = Vector3.new(5, 5, 5)
  6287. o378.TextureId = "http://www.robloxcom/asset/?id=10681501"
  6288. o378.MeshType = Enum.MeshType.FileMesh
  6289. o379.Name = "Handle"
  6290. o379.Parent = o100
  6291. o379.BrickColor = BrickColor.new("Bright red")
  6292. o379.Reflectance = 0.25
  6293. o379.Position = Vector3.new(-31.2746964, 4.56424284, 65.274231)
  6294. o379.Rotation = Vector3.new(-178.229996, 86.6800003, -1.73000002)
  6295. o379.FormFactor = Enum.FormFactor.Plate
  6296. o379.Size = Vector3.new(1, 2.79999995, 5)
  6297. o379.CFrame = CFrame.new(-31.2746964, 4.56424284, 65.274231, 0.0579567961, 0.00174688792, 0.99831754, -0.000748362683, -0.999998093, 0.00179327442, 0.998318791, -0.000851036049, -0.0579553805)
  6298. o379.BottomSurface = Enum.SurfaceType.Smooth
  6299. o379.TopSurface = Enum.SurfaceType.Smooth
  6300. o379.Color = Color3.new(0.768628, 0.156863, 0.109804)
  6301. o379.Position = Vector3.new(-31.2746964, 4.56424284, 65.274231)
  6302. o380.Parent = o379
  6303. o380.MeshId = "http://www.roblox.com/asset/?id=10681506"
  6304. o380.Scale = Vector3.new(5, 5, 5)
  6305. o380.TextureId = "http://ww.roblox.com/asset/?id=10681501"
  6306. o380.MeshType = Enum.MeshType.FileMesh
  6307. mas.Parent = workspace
  6308. mas:MakeJoints()
  6309. local mas1 = mas:GetChildren()
  6310. for i=1,#mas1 do
  6311. mas1[i].Parent = workspace
  6312. ypcall(function() mas1[i]:MakeJoints() end)
  6313. end
  6314. mas:Destroy()
  6315. for i=1,#cors do
  6316. coroutine.resume(cors[i])
  6317. end
  6318. mess_handle.Text = "Resetting"
  6319. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  6320. v:LoadCharacter()
  6321. end
  6322. wait(1)
  6323. mess_handle:Remove()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement