Advertisement
lafur

Untitled

Oct 19th, 2018
264
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 271.02 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. o2 = Instance.new("Part")
  21. o4 = Instance.new("Model")
  22. o5 = Instance.new("Script")
  23. o6 = Instance.new("Model")
  24. o7 = Instance.new("Model")
  25. o8 = Instance.new("Model")
  26. o9 = Instance.new("Model")
  27. o10 = Instance.new("Model")
  28. o11 = Instance.new("Part")
  29. o12 = Instance.new("Part")
  30. o13 = Instance.new("SpecialMesh")
  31. o14 = Instance.new("Weld")
  32. o15 = Instance.new("CFrameValue")
  33. o16 = Instance.new("Part")
  34. o17 = Instance.new("SpecialMesh")
  35. o18 = Instance.new("Weld")
  36. o19 = Instance.new("CFrameValue")
  37. o20 = Instance.new("Part")
  38. o21 = Instance.new("Weld")
  39. o22 = Instance.new("CFrameValue")
  40. o23 = Instance.new("Part")
  41. o24 = Instance.new("Weld")
  42. o25 = Instance.new("CFrameValue")
  43. o26 = Instance.new("Part")
  44. o27 = Instance.new("SpecialMesh")
  45. o28 = Instance.new("Weld")
  46. o29 = Instance.new("CFrameValue")
  47. o30 = Instance.new("Part")
  48. o31 = Instance.new("SpecialMesh")
  49. o32 = Instance.new("Weld")
  50. o33 = Instance.new("CFrameValue")
  51. o34 = Instance.new("Part")
  52. o35 = Instance.new("SpecialMesh")
  53. o36 = Instance.new("Weld")
  54. o37 = Instance.new("CFrameValue")
  55. o38 = Instance.new("Part")
  56. o39 = Instance.new("Weld")
  57. o40 = Instance.new("CFrameValue")
  58. o41 = Instance.new("Part")
  59. o42 = Instance.new("SpecialMesh")
  60. o43 = Instance.new("Weld")
  61. o44 = Instance.new("CFrameValue")
  62. o45 = Instance.new("Part")
  63. o46 = Instance.new("Weld")
  64. o47 = Instance.new("CFrameValue")
  65. o48 = Instance.new("Part")
  66. o49 = Instance.new("Weld")
  67. o50 = Instance.new("CFrameValue")
  68. o51 = Instance.new("Script")
  69. o52 = Instance.new("Model")
  70. o53 = Instance.new("Model")
  71. o54 = Instance.new("Model")
  72. o55 = Instance.new("Part")
  73. o56 = Instance.new("ClickDetector")
  74. o57 = Instance.new("Script")
  75. o58 = Instance.new("Script")
  76. o59 = Instance.new("Sound")
  77. o60 = Instance.new("Model")
  78. o61 = Instance.new("Part")
  79. o62 = Instance.new("Model")
  80. o63 = Instance.new("Part")
  81. o64 = Instance.new("Part")
  82. o65 = Instance.new("SpecialMesh")
  83. o66 = Instance.new("Part")
  84. o67 = Instance.new("Part")
  85. o68 = Instance.new("Part")
  86. o69 = Instance.new("Part")
  87. o70 = Instance.new("Part")
  88. o71 = Instance.new("SpecialMesh")
  89. o72 = Instance.new("Part")
  90. o73 = Instance.new("SpecialMesh")
  91. o74 = Instance.new("Part")
  92. o75 = Instance.new("SpecialMesh")
  93. o76 = Instance.new("Model")
  94. o77 = Instance.new("Part")
  95. o78 = Instance.new("ClickDetector")
  96. o79 = Instance.new("Script")
  97. o80 = Instance.new("Script")
  98. o81 = Instance.new("Sound")
  99. o82 = Instance.new("Model")
  100. o83 = Instance.new("Part")
  101. o84 = Instance.new("Model")
  102. o85 = Instance.new("Part")
  103. o86 = Instance.new("Part")
  104. o87 = Instance.new("SpecialMesh")
  105. o88 = Instance.new("Part")
  106. o89 = Instance.new("Part")
  107. o90 = Instance.new("Part")
  108. o91 = Instance.new("Part")
  109. o92 = Instance.new("Part")
  110. o93 = Instance.new("SpecialMesh")
  111. o94 = Instance.new("Part")
  112. o95 = Instance.new("SpecialMesh")
  113. o96 = Instance.new("Part")
  114. o97 = Instance.new("SpecialMesh")
  115. o98 = Instance.new("Model")
  116. o99 = Instance.new("Model")
  117. o100 = Instance.new("Part")
  118. o101 = Instance.new("SpecialMesh")
  119. o102 = Instance.new("Part")
  120. o103 = Instance.new("Part")
  121. o104 = Instance.new("SpecialMesh")
  122. o105 = Instance.new("Part")
  123. o106 = Instance.new("SpecialMesh")
  124. o107 = Instance.new("Part")
  125. o108 = Instance.new("ClickDetector")
  126. o109 = Instance.new("Part")
  127. o110 = Instance.new("ClickDetector")
  128. o111 = Instance.new("Script")
  129. o112 = Instance.new("VehicleSeat")
  130. o113 = Instance.new("Weld")
  131. o114 = Instance.new("Model")
  132. o115 = Instance.new("Part")
  133. o116 = Instance.new("Script")
  134. o117 = Instance.new("ClickDetector")
  135. o118 = Instance.new("Part")
  136. o119 = Instance.new("Fire")
  137. o120 = Instance.new("Part")
  138. o121 = Instance.new("Fire")
  139. o122 = Instance.new("Part")
  140. o123 = Instance.new("Part")
  141. o124 = Instance.new("Part")
  142. o125 = Instance.new("Sound")
  143. o126 = Instance.new("Model")
  144. o127 = Instance.new("Model")
  145. o128 = Instance.new("Part")
  146. o129 = Instance.new("ClickDetector")
  147. o130 = Instance.new("Part")
  148. o131 = Instance.new("Script")
  149. o132 = Instance.new("Sound")
  150. o133 = Instance.new("Part")
  151. o134 = Instance.new("PointLight")
  152. o135 = Instance.new("Part")
  153. o136 = Instance.new("SpecialMesh")
  154. o137 = Instance.new("Part")
  155. o138 = Instance.new("Part")
  156. o139 = Instance.new("SpecialMesh")
  157. o140 = Instance.new("Part")
  158. o141 = Instance.new("SpecialMesh")
  159. o142 = Instance.new("Part")
  160. o143 = Instance.new("Part")
  161. o144 = Instance.new("Part")
  162. o145 = Instance.new("SpecialMesh")
  163. o146 = Instance.new("Part")
  164. o147 = Instance.new("SpecialMesh")
  165. o148 = Instance.new("Part")
  166. o149 = Instance.new("Part")
  167. o150 = Instance.new("Part")
  168. o151 = Instance.new("SpecialMesh")
  169. o152 = Instance.new("Part")
  170. o153 = Instance.new("SpecialMesh")
  171. o154 = Instance.new("Part")
  172. o155 = Instance.new("Part")
  173. o156 = Instance.new("Part")
  174. o157 = Instance.new("SpecialMesh")
  175. o158 = Instance.new("Part")
  176. o159 = Instance.new("Part")
  177. o160 = Instance.new("SpecialMesh")
  178. o161 = Instance.new("Part")
  179. o162 = Instance.new("SpecialMesh")
  180. o163 = Instance.new("Part")
  181. o164 = Instance.new("SpecialMesh")
  182. o165 = Instance.new("Part")
  183. o166 = Instance.new("Part")
  184. o167 = Instance.new("Part")
  185. o168 = Instance.new("Part")
  186. o169 = Instance.new("SpecialMesh")
  187. o170 = Instance.new("Part")
  188. o171 = Instance.new("Part")
  189. o172 = Instance.new("SpecialMesh")
  190. o173 = Instance.new("Part")
  191. o174 = Instance.new("Part")
  192. o175 = Instance.new("SpecialMesh")
  193. o176 = Instance.new("Part")
  194. o177 = Instance.new("SpecialMesh")
  195. o178 = Instance.new("Part")
  196. o179 = Instance.new("SpecialMesh")
  197. o180 = Instance.new("Part")
  198. o181 = Instance.new("Part")
  199. o182 = Instance.new("Part")
  200. o183 = Instance.new("SpecialMesh")
  201. o184 = Instance.new("Part")
  202. o185 = Instance.new("SpecialMesh")
  203. o186 = Instance.new("Part")
  204. o187 = Instance.new("SpecialMesh")
  205. o188 = Instance.new("Part")
  206. o189 = Instance.new("Part")
  207. o190 = Instance.new("Model")
  208. o191 = Instance.new("Part")
  209. o192 = Instance.new("Part")
  210. o193 = Instance.new("SpecialMesh")
  211. o194 = Instance.new("Part")
  212. o195 = Instance.new("Part")
  213. o196 = Instance.new("Part")
  214. o197 = Instance.new("Part")
  215. o198 = Instance.new("Part")
  216. o199 = Instance.new("Part")
  217. o200 = Instance.new("Part")
  218. o201 = Instance.new("Part")
  219. o202 = Instance.new("Part")
  220. o203 = Instance.new("Part")
  221. o204 = Instance.new("SpecialMesh")
  222. o205 = Instance.new("Part")
  223. o206 = Instance.new("ClickDetector")
  224. o207 = Instance.new("Script")
  225. o208 = Instance.new("Decal")
  226. o209 = Instance.new("Script")
  227. o210 = Instance.new("Model")
  228. o211 = Instance.new("Part")
  229. o212 = Instance.new("SpecialMesh")
  230. o217 = Instance.new("Sound")
  231. o218 = Instance.new("RemoteEvent")
  232. o219 = Instance.new("Sound")
  233. o220 = Instance.new("RemoteEvent")
  234. o221 = Instance.new("Sound")
  235. o222 = Instance.new("RemoteEvent")
  236. o223 = Instance.new("Sound")
  237. o224 = Instance.new("RemoteEvent")
  238. o225 = Instance.new("Sound")
  239. o226 = Instance.new("RemoteEvent")
  240. o227 = Instance.new("Sound")
  241. o228 = Instance.new("RemoteEvent")
  242. o229 = Instance.new("Sound")
  243. o230 = Instance.new("RemoteEvent")
  244. o231 = Instance.new("Sound")
  245. o232 = Instance.new("RemoteEvent")
  246. o233 = Instance.new("Sound")
  247. o234 = Instance.new("RemoteEvent")
  248. o235 = Instance.new("Decal")
  249. o236 = Instance.new("Part")
  250. o237 = Instance.new("Decal")
  251. o246 = Instance.new("Motor6D")
  252. o247 = Instance.new("Motor6D")
  253. o248 = Instance.new("Motor6D")
  254. o249 = Instance.new("Motor6D")
  255. o250 = Instance.new("Motor6D")
  256. o251 = Instance.new("Part")
  257. o254 = Instance.new("Part")
  258. o257 = Instance.new("Part")
  259. o259 = Instance.new("Part")
  260. o261 = Instance.new("Humanoid")
  261. o264 = Instance.new("Part")
  262. o266 = Instance.new("Motor6D")
  263. o267 = Instance.new("Script")
  264. o268 = Instance.new("LocalScript")
  265. o269 = Instance.new("Script")
  266. o270 = Instance.new("LocalScript")
  267. o271 = Instance.new("StringValue")
  268. o272 = Instance.new("Animation")
  269. o273 = Instance.new("NumberValue")
  270. o274 = Instance.new("Animation")
  271. o275 = Instance.new("NumberValue")
  272. o276 = Instance.new("StringValue")
  273. o277 = Instance.new("Animation")
  274. o278 = Instance.new("StringValue")
  275. o279 = Instance.new("Animation")
  276. o280 = Instance.new("StringValue")
  277. o281 = Instance.new("Animation")
  278. o282 = Instance.new("StringValue")
  279. o283 = Instance.new("Animation")
  280. o284 = Instance.new("StringValue")
  281. o285 = Instance.new("Animation")
  282. o286 = Instance.new("StringValue")
  283. o287 = Instance.new("Animation")
  284. o288 = Instance.new("StringValue")
  285. o289 = Instance.new("Animation")
  286. o290 = Instance.new("NumberValue")
  287. o291 = Instance.new("BodyColors")
  288. o292 = Instance.new("Pants")
  289. o293 = Instance.new("Shirt")
  290. o295 = Instance.new("Part")
  291. o296 = Instance.new("SpecialMesh")
  292. o298 = Instance.new("Vector3Value")
  293. o299 = Instance.new("Weld")
  294. o2.Name = "Baseplate"
  295. o2.Parent = mas
  296. o2.BrickColor = BrickColor.new("Dark stone grey")
  297. o2.Position = Vector3.new(0, -10, 0)
  298. o2.Anchored = true
  299. o2.Locked = true
  300. o2.FormFactor = Enum.FormFactor.Symmetric
  301. o2.Size = Vector3.new(512, 20, 512)
  302. o2.CFrame = CFrame.new(0, -10, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  303. o2.Color = Color3.new(0.388235, 0.372549, 0.384314)
  304. o2.Position = Vector3.new(0, -10, 0)
  305. o4.Name = "Compiled scripts"
  306. o4.Parent = mas
  307. o5.Name = "CScript1"
  308. o5.Parent = o4
  309. o5.Disabled = true
  310.  
  311. runDummyScript(function()
  312. --Created by PenguinAnonymous (ttyyuu12345) Editied by Dittoide
  313. --What's Added To M2S with Dittoide's Edit?
  314. --/ Better dummy script function to improve compatibility (makes it like you are running the code inside the script.)
  315. --/ Removed Gui In Bottom-Left for when you are making guis.
  316. --/ Removed "Inserting Map Please Wait" gui when selected Workspace as Place to export.
  317. --Credit: PenguinAnonymous for making original script, i just wanted to iron it out to my liking.
  318. --Errors: Camera,Terrain
  319. local runDummyScript = function(f,scri)
  320. if (not scri:IsA('Script')) or (not scri:IsA('LocalScript')) then return false; end;
  321. local Dummy_CoRoutine = coroutine.create(function()
  322. getfenv().script = scri
  323. ypcall(function() f() end)
  324. end)
  325. table.insert(cors,Dummy_CoRoutine);
  326. coroutine.resume(Dummy_CoRoutine);
  327. end
  328. cors = {}
  329. mas = Instance.new("Model",game:GetService("Lighting"))
  330. mas.Name = "M2S_Model"
  331. o2 = Instance.new("Part")
  332. o4 = Instance.new("Model")
  333. o5 = Instance.new("Model")
  334. o6 = Instance.new("Model")
  335. o7 = Instance.new("Part")
  336. o8 = Instance.new("Part")
  337. o9 = Instance.new("SpecialMesh")
  338. o10 = Instance.new("Part")
  339. o11 = Instance.new("SpecialMesh")
  340. o12 = Instance.new("Part")
  341. o13 = Instance.new("Part")
  342. o14 = Instance.new("Part")
  343. o15 = Instance.new("SpecialMesh")
  344. o16 = Instance.new("Part")
  345. o17 = Instance.new("SpecialMesh")
  346. o18 = Instance.new("Part")
  347. o19 = Instance.new("SpecialMesh")
  348. o20 = Instance.new("Part")
  349. o21 = Instance.new("Part")
  350. o22 = Instance.new("SpecialMesh")
  351. o23 = Instance.new("Part")
  352. o24 = Instance.new("Part")
  353. o25 = Instance.new("Script")
  354. o26 = Instance.new("Model")
  355. o27 = Instance.new("Model")
  356. o28 = Instance.new("Model")
  357. o29 = Instance.new("Part")
  358. o30 = Instance.new("ClickDetector")
  359. o31 = Instance.new("Script")
  360. o32 = Instance.new("Script")
  361. o33 = Instance.new("Sound")
  362. o34 = Instance.new("Model")
  363. o35 = Instance.new("Part")
  364. o36 = Instance.new("Model")
  365. o37 = Instance.new("Part")
  366. o38 = Instance.new("Part")
  367. o39 = Instance.new("SpecialMesh")
  368. o40 = Instance.new("Part")
  369. o41 = Instance.new("Part")
  370. o42 = Instance.new("Part")
  371. o43 = Instance.new("Part")
  372. o44 = Instance.new("Part")
  373. o45 = Instance.new("SpecialMesh")
  374. o46 = Instance.new("Part")
  375. o47 = Instance.new("SpecialMesh")
  376. o48 = Instance.new("Part")
  377. o49 = Instance.new("SpecialMesh")
  378. o50 = Instance.new("Model")
  379. o51 = Instance.new("Part")
  380. o52 = Instance.new("ClickDetector")
  381. o53 = Instance.new("Script")
  382. o54 = Instance.new("Script")
  383. o55 = Instance.new("Sound")
  384. o56 = Instance.new("Model")
  385. o57 = Instance.new("Part")
  386. o58 = Instance.new("Model")
  387. o59 = Instance.new("Part")
  388. o60 = Instance.new("Part")
  389. o61 = Instance.new("SpecialMesh")
  390. o62 = Instance.new("Part")
  391. o63 = Instance.new("Part")
  392. o64 = Instance.new("Part")
  393. o65 = Instance.new("Part")
  394. o66 = Instance.new("Part")
  395. o67 = Instance.new("SpecialMesh")
  396. o68 = Instance.new("Part")
  397. o69 = Instance.new("SpecialMesh")
  398. o70 = Instance.new("Part")
  399. o71 = Instance.new("SpecialMesh")
  400. o72 = Instance.new("Model")
  401. o73 = Instance.new("Model")
  402. o74 = Instance.new("Part")
  403. o75 = Instance.new("SpecialMesh")
  404. o76 = Instance.new("Part")
  405. o77 = Instance.new("Part")
  406. o78 = Instance.new("SpecialMesh")
  407. o79 = Instance.new("Part")
  408. o80 = Instance.new("SpecialMesh")
  409. o81 = Instance.new("Part")
  410. o82 = Instance.new("ClickDetector")
  411. o83 = Instance.new("Part")
  412. o84 = Instance.new("ClickDetector")
  413. o85 = Instance.new("Script")
  414. o86 = Instance.new("VehicleSeat")
  415. o87 = Instance.new("Model")
  416. o88 = Instance.new("Part")
  417. o89 = Instance.new("Script")
  418. o90 = Instance.new("ClickDetector")
  419. o91 = Instance.new("Part")
  420. o92 = Instance.new("Fire")
  421. o93 = Instance.new("Part")
  422. o94 = Instance.new("Fire")
  423. o95 = Instance.new("Part")
  424. o96 = Instance.new("Part")
  425. o97 = Instance.new("Part")
  426. o98 = Instance.new("Sound")
  427. o99 = Instance.new("Model")
  428. o100 = Instance.new("Model")
  429. o101 = Instance.new("Part")
  430. o102 = Instance.new("ClickDetector")
  431. o103 = Instance.new("Part")
  432. o104 = Instance.new("Script")
  433. o105 = Instance.new("Sound")
  434. o106 = Instance.new("Part")
  435. o107 = Instance.new("PointLight")
  436. o108 = Instance.new("Part")
  437. o109 = Instance.new("SpecialMesh")
  438. o110 = Instance.new("Part")
  439. o111 = Instance.new("Part")
  440. o112 = Instance.new("SpecialMesh")
  441. o113 = Instance.new("Part")
  442. o114 = Instance.new("SpecialMesh")
  443. o115 = Instance.new("Part")
  444. o116 = Instance.new("Part")
  445. o117 = Instance.new("Part")
  446. o118 = Instance.new("SpecialMesh")
  447. o119 = Instance.new("Part")
  448. o120 = Instance.new("SpecialMesh")
  449. o121 = Instance.new("Part")
  450. o122 = Instance.new("Part")
  451. o123 = Instance.new("Part")
  452. o124 = Instance.new("SpecialMesh")
  453. o125 = Instance.new("Part")
  454. o126 = Instance.new("SpecialMesh")
  455. o127 = Instance.new("Part")
  456. o128 = Instance.new("Part")
  457. o129 = Instance.new("Part")
  458. o130 = Instance.new("SpecialMesh")
  459. o131 = Instance.new("Part")
  460. o132 = Instance.new("Part")
  461. o133 = Instance.new("SpecialMesh")
  462. o134 = Instance.new("Part")
  463. o135 = Instance.new("SpecialMesh")
  464. o136 = Instance.new("Part")
  465. o137 = Instance.new("SpecialMesh")
  466. o138 = Instance.new("Part")
  467. o139 = Instance.new("Part")
  468. o140 = Instance.new("Part")
  469. o141 = Instance.new("Part")
  470. o142 = Instance.new("SpecialMesh")
  471. o143 = Instance.new("Part")
  472. o144 = Instance.new("Part")
  473. o145 = Instance.new("SpecialMesh")
  474. o146 = Instance.new("Part")
  475. o147 = Instance.new("Part")
  476. o148 = Instance.new("SpecialMesh")
  477. o149 = Instance.new("Part")
  478. o150 = Instance.new("SpecialMesh")
  479. o151 = Instance.new("Part")
  480. o152 = Instance.new("SpecialMesh")
  481. o153 = Instance.new("Part")
  482. o154 = Instance.new("Part")
  483. o155 = Instance.new("Part")
  484. o156 = Instance.new("SpecialMesh")
  485. o157 = Instance.new("Part")
  486. o158 = Instance.new("SpecialMesh")
  487. o159 = Instance.new("Part")
  488. o160 = Instance.new("SpecialMesh")
  489. o161 = Instance.new("Part")
  490. o162 = Instance.new("Part")
  491. o163 = Instance.new("Model")
  492. o164 = Instance.new("Part")
  493. o165 = Instance.new("Part")
  494. o166 = Instance.new("SpecialMesh")
  495. o167 = Instance.new("Part")
  496. o168 = Instance.new("Part")
  497. o169 = Instance.new("Part")
  498. o170 = Instance.new("Part")
  499. o171 = Instance.new("Part")
  500. o172 = Instance.new("Part")
  501. o173 = Instance.new("Part")
  502. o174 = Instance.new("Part")
  503. o175 = Instance.new("Part")
  504. o176 = Instance.new("Part")
  505. o177 = Instance.new("SpecialMesh")
  506. o178 = Instance.new("Part")
  507. o179 = Instance.new("ClickDetector")
  508. o180 = Instance.new("Script")
  509. o181 = Instance.new("Decal")
  510. o182 = Instance.new("Script")
  511. o2.Name = "Baseplate"
  512. o2.Parent = mas
  513. o2.BrickColor = BrickColor.new("Dark stone grey")
  514. o2.Position = Vector3.new(0, -10, 0)
  515. o2.Anchored = true
  516. o2.Locked = true
  517. o2.FormFactor = Enum.FormFactor.Symmetric
  518. o2.Size = Vector3.new(512, 20, 512)
  519. o2.CFrame = CFrame.new(0, -10, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  520. o2.Color = Color3.new(0.388235, 0.372549, 0.384314)
  521. o2.Position = Vector3.new(0, -10, 0)
  522. o4.Name = "Mech"
  523. o4.Parent = mas
  524. o5.Name = "Mech"
  525. o5.Parent = o4
  526. o6.Parent = o5
  527. o7.Parent = o6
  528. o7.Material = Enum.Material.Glass
  529. o7.BrickColor = BrickColor.new("Baby blue")
  530. o7.Transparency = 0.60000002384186
  531. o7.Position = Vector3.new(-136.339142, 12.6800861, -85.0720215)
  532. o7.Rotation = Vector3.new(-180, 0, -0.219999999)
  533. o7.FormFactor = Enum.FormFactor.Symmetric
  534. o7.Size = Vector3.new(7.00000095, 0.999999583, 0.999999344)
  535. o7.CFrame = CFrame.new(-136.339142, 12.6800861, -85.0720215, 0.999992549, 0.00385993393, 3.07300411e-07, 0.00385993393, -0.999992549, 1.3162661e-09, 3.07303196e-07, -1.30095962e-10, -1)
  536. o7.BottomSurface = Enum.SurfaceType.Weld
  537. o7.TopSurface = Enum.SurfaceType.Weld
  538. o7.Color = Color3.new(0.596078, 0.760784, 0.858824)
  539. o7.Position = Vector3.new(-136.339142, 12.6800861, -85.0720215)
  540. o8.Parent = o6
  541. o8.Material = Enum.Material.Glass
  542. o8.BrickColor = BrickColor.new("Baby blue")
  543. o8.Transparency = 0.60000002384186
  544. o8.Position = Vector3.new(-136.339188, 12.6800413, -84.4719849)
  545. o8.Rotation = Vector3.new(-180, 0, -0.219999999)
  546. o8.FormFactor = Enum.FormFactor.Symmetric
  547. o8.Size = Vector3.new(7, 0.999999583, 0.200000033)
  548. o8.CFrame = CFrame.new(-136.339188, 12.6800413, -84.4719849, 0.999992549, 0.00385993393, 3.07300411e-07, 0.00385993393, -0.999992549, 1.31626565e-09, 3.07303196e-07, -1.3009635e-10, -1)
  549. o8.BottomSurface = Enum.SurfaceType.Weld
  550. o8.TopSurface = Enum.SurfaceType.Weld
  551. o8.Color = Color3.new(0.596078, 0.760784, 0.858824)
  552. o8.Position = Vector3.new(-136.339188, 12.6800413, -84.4719849)
  553. o9.Parent = o8
  554. o9.MeshType = Enum.MeshType.Wedge
  555. o10.Parent = o6
  556. o10.Material = Enum.Material.Glass
  557. o10.BrickColor = BrickColor.new("Baby blue")
  558. o10.Transparency = 0.60000002384186
  559. o10.Position = Vector3.new(-136.39032, 10.4789, -86.5623779)
  560. o10.Rotation = Vector3.new(-180, 0, -0.219999999)
  561. o10.FormFactor = Enum.FormFactor.Symmetric
  562. o10.Size = Vector3.new(7, 1, 2)
  563. o10.CFrame = CFrame.new(-136.39032, 10.4789, -86.5623779, 0.999993324, 0.00384845538, 3.08445607e-07, 0.00386406179, -0.999993801, 1.30656197e-09, 3.10643316e-07, -1.2310275e-10, -1)
  564. o10.BottomSurface = Enum.SurfaceType.Weld
  565. o10.TopSurface = Enum.SurfaceType.Weld
  566. o10.Color = Color3.new(0.596078, 0.760784, 0.858824)
  567. o10.Position = Vector3.new(-136.39032, 10.4789, -86.5623779)
  568. o11.Parent = o10
  569. o11.MeshType = Enum.MeshType.Wedge
  570. o12.Parent = o6
  571. o12.Material = Enum.Material.Glass
  572. o12.BrickColor = BrickColor.new("Baby blue")
  573. o12.Transparency = 0.60000002384186
  574. o12.Position = Vector3.new(-139.396454, 12.0671377, -86.562439)
  575. o12.Rotation = Vector3.new(-180, 0, -0.219999999)
  576. o12.FormFactor = Enum.FormFactor.Symmetric
  577. o12.Size = Vector3.new(1, 2.19999981, 1.99999952)
  578. o12.CFrame = CFrame.new(-139.396454, 12.0671377, -86.562439, 0.999992967, 0.00389632559, 3.15096173e-07, 0.00390458689, -0.999993384, 1.33485067e-09, 3.16261094e-07, -1.08941828e-10, -1)
  579. o12.BottomSurface = Enum.SurfaceType.Weld
  580. o12.TopSurface = Enum.SurfaceType.Weld
  581. o12.Color = Color3.new(0.596078, 0.760784, 0.858824)
  582. o12.Position = Vector3.new(-139.396454, 12.0671377, -86.562439)
  583. o13.Parent = o6
  584. o13.Material = Enum.Material.Glass
  585. o13.BrickColor = BrickColor.new("Baby blue")
  586. o13.Transparency = 0.60000002384186
  587. o13.Position = Vector3.new(-133.396484, 12.0906963, -86.562439)
  588. o13.Rotation = Vector3.new(-180, 0, -0.219999999)
  589. o13.FormFactor = Enum.FormFactor.Symmetric
  590. o13.Size = Vector3.new(1, 2.19999981, 1.99999952)
  591. o13.CFrame = CFrame.new(-133.396484, 12.0906963, -86.562439, 0.999992907, 0.00389358099, 3.05802615e-07, 0.00390184228, -0.999993324, 1.28412669e-09, 3.06967394e-07, -9.53482571e-11, -1)
  592. o13.BottomSurface = Enum.SurfaceType.Weld
  593. o13.TopSurface = Enum.SurfaceType.Weld
  594. o13.Color = Color3.new(0.596078, 0.760784, 0.858824)
  595. o13.Position = Vector3.new(-133.396484, 12.0906963, -86.562439)
  596. o14.Parent = o6
  597. o14.Material = Enum.Material.Glass
  598. o14.BrickColor = BrickColor.new("Baby blue")
  599. o14.Transparency = 0.60000002384186
  600. o14.Position = Vector3.new(-136.334839, 11.5801001, -85.0720215)
  601. o14.Rotation = Vector3.new(-180, 0, -0.219999999)
  602. o14.FormFactor = Enum.FormFactor.Symmetric
  603. o14.Size = Vector3.new(7, 1.19999957, 1)
  604. o14.CFrame = CFrame.new(-136.334839, 11.5801001, -85.0720215, 0.999992549, 0.00385993393, 3.07300411e-07, 0.00385993393, -0.999992549, 1.31626621e-09, 3.07303196e-07, -1.30095892e-10, -1)
  605. o14.BottomSurface = Enum.SurfaceType.Weld
  606. o14.TopSurface = Enum.SurfaceType.Weld
  607. o14.Color = Color3.new(0.596078, 0.760784, 0.858824)
  608. o14.Position = Vector3.new(-136.334839, 11.5801001, -85.0720215)
  609. o15.Parent = o14
  610. o15.MeshType = Enum.MeshType.Wedge
  611. o16.Parent = o6
  612. o16.Material = Enum.Material.Glass
  613. o16.BrickColor = BrickColor.new("Baby blue")
  614. o16.Transparency = 0.60000002384186
  615. o16.Position = Vector3.new(-136.411072, 15.8787508, -86.5623779)
  616. o16.Rotation = Vector3.new(-180, 0, 179.769989)
  617. o16.FormFactor = Enum.FormFactor.Symmetric
  618. o16.Size = Vector3.new(7, 1, 2)
  619. o16.CFrame = CFrame.new(-136.411072, 15.8787508, -86.5623779, -0.999992847, -0.00392798288, 3.19402545e-07, -0.00393624417, 0.999993265, 1.35199452e-09, -3.20567466e-07, 9.9122717e-11, -1)
  620. o16.BottomSurface = Enum.SurfaceType.Weld
  621. o16.TopSurface = Enum.SurfaceType.Weld
  622. o16.Color = Color3.new(0.596078, 0.760784, 0.858824)
  623. o16.Position = Vector3.new(-136.411072, 15.8787508, -86.5623779)
  624. o17.Parent = o16
  625. o17.MeshType = Enum.MeshType.Wedge
  626. o18.Parent = o6
  627. o18.Material = Enum.Material.Glass
  628. o18.BrickColor = BrickColor.new("Baby blue")
  629. o18.Transparency = 0.60000002384186
  630. o18.Position = Vector3.new(-136.347229, 14.7799797, -85.0720215)
  631. o18.Rotation = Vector3.new(-180, 0, 179.779999)
  632. o18.FormFactor = Enum.FormFactor.Symmetric
  633. o18.Size = Vector3.new(7, 1.19999957, 1)
  634. o18.CFrame = CFrame.new(-136.347229, 14.7799797, -85.0720215, -0.999992549, -0.00385993393, 3.07300411e-07, -0.00385993393, 0.999992549, 1.31626554e-09, -3.07303196e-07, 1.3009642e-10, -1)
  635. o18.BottomSurface = Enum.SurfaceType.Weld
  636. o18.TopSurface = Enum.SurfaceType.Weld
  637. o18.Color = Color3.new(0.596078, 0.760784, 0.858824)
  638. o18.Position = Vector3.new(-136.347229, 14.7799797, -85.0720215)
  639. o19.Parent = o18
  640. o19.MeshType = Enum.MeshType.Wedge
  641. o20.Parent = o6
  642. o20.Material = Enum.Material.Glass
  643. o20.BrickColor = BrickColor.new("Baby blue")
  644. o20.Transparency = 0.60000002384186
  645. o20.Position = Vector3.new(-136.342911, 13.6800365, -85.0720215)
  646. o20.Rotation = Vector3.new(-180, 0, 179.779999)
  647. o20.FormFactor = Enum.FormFactor.Symmetric
  648. o20.Size = Vector3.new(7.00000095, 0.999999583, 0.999999344)
  649. o20.CFrame = CFrame.new(-136.342911, 13.6800365, -85.0720215, -0.999992549, -0.00385993393, 3.07300411e-07, -0.00385993393, 0.999992549, 1.31626587e-09, -3.07303196e-07, 1.30096101e-10, -1)
  650. o20.BottomSurface = Enum.SurfaceType.Weld
  651. o20.TopSurface = Enum.SurfaceType.Weld
  652. o20.Color = Color3.new(0.596078, 0.760784, 0.858824)
  653. o20.Position = Vector3.new(-136.342911, 13.6800365, -85.0720215)
  654. o21.Parent = o6
  655. o21.Material = Enum.Material.Glass
  656. o21.BrickColor = BrickColor.new("Baby blue")
  657. o21.Transparency = 0.60000002384186
  658. o21.Position = Vector3.new(-136.342957, 13.6799936, -84.4719849)
  659. o21.Rotation = Vector3.new(-180, 0, 179.779999)
  660. o21.FormFactor = Enum.FormFactor.Symmetric
  661. o21.Size = Vector3.new(7, 0.999999583, 0.200000033)
  662. o21.CFrame = CFrame.new(-136.342957, 13.6799936, -84.4719849, -0.999992549, -0.00385993393, 3.07300411e-07, -0.00385993393, 0.999992549, 1.31626554e-09, -3.07303196e-07, 1.3009642e-10, -1)
  663. o21.BottomSurface = Enum.SurfaceType.Weld
  664. o21.TopSurface = Enum.SurfaceType.Weld
  665. o21.Color = Color3.new(0.596078, 0.760784, 0.858824)
  666. o21.Position = Vector3.new(-136.342957, 13.6799936, -84.4719849)
  667. o22.Parent = o21
  668. o22.MeshType = Enum.MeshType.Wedge
  669. o23.Parent = o6
  670. o23.Material = Enum.Material.Glass
  671. o23.BrickColor = BrickColor.new("Baby blue")
  672. o23.Transparency = 0.60000002384186
  673. o23.Position = Vector3.new(-133.404877, 14.2906885, -86.562439)
  674. o23.Rotation = Vector3.new(-180, 0, 179.769989)
  675. o23.FormFactor = Enum.FormFactor.Symmetric
  676. o23.Size = Vector3.new(1, 2.19999981, 1.99999952)
  677. o23.CFrame = CFrame.new(-133.404877, 14.2906885, -86.562439, -0.999992788, -0.0039332537, 3.11400868e-07, -0.00394151499, 0.999993205, 1.30587974e-09, -3.12565675e-07, 8.28571725e-11, -1)
  678. o23.BottomSurface = Enum.SurfaceType.Weld
  679. o23.TopSurface = Enum.SurfaceType.Weld
  680. o23.Color = Color3.new(0.596078, 0.760784, 0.858824)
  681. o23.Position = Vector3.new(-133.404877, 14.2906885, -86.562439)
  682. o24.Parent = o6
  683. o24.Material = Enum.Material.Glass
  684. o24.BrickColor = BrickColor.new("Baby blue")
  685. o24.Transparency = 0.60000002384186
  686. o24.Position = Vector3.new(-139.404953, 14.2668896, -86.562439)
  687. o24.Rotation = Vector3.new(-180, 0, 179.779999)
  688. o24.FormFactor = Enum.FormFactor.Symmetric
  689. o24.Size = Vector3.new(1, 2.19999981, 1.99999952)
  690. o24.CFrame = CFrame.new(-139.404953, 14.2668896, -86.562439, -0.999992847, -0.00392685411, 3.1940354e-07, -0.00393511541, 0.999993265, 1.35894773e-09, -3.20568518e-07, 1.06433674e-10, -1)
  691. o24.BottomSurface = Enum.SurfaceType.Weld
  692. o24.TopSurface = Enum.SurfaceType.Weld
  693. o24.Color = Color3.new(0.596078, 0.760784, 0.858824)
  694. o24.Position = Vector3.new(-139.404953, 14.2668896, -86.562439)
  695. o25.Name = "qPerfectionWeld"
  696. o25.Parent = o6
  697.  
  698. runDummyScript(function()
  699. -- Created by Quenty (@Quenty, follow me on twitter).
  700. -- Should work with only ONE copy, seamlessly with weapons, trains, et cetera.
  701. -- Parts should be ANCHORED before use. It will, however, store relatives values and so when tools are reparented, it'll fix them.
  702.  
  703. --[[ INSTRUCTIONS
  704. - Place in the model
  705. - Make sure model is anchored
  706. - That's it. It will weld the model and all children.
  707.  
  708. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  709. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  710. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  711. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  712. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  713. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  714. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  715. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  716.  
  717. This script is designed to be used is a regular script. In a local script it will weld, but it will not attempt to handle ancestory changes.
  718. ]]
  719.  
  720. --[[ DOCUMENTATION
  721. - Will work in tools. If ran more than once it will not create more than one weld. This is especially useful for tools that are dropped and then picked up again.
  722. - Will work in PBS servers
  723. - Will work as long as it starts out with the part anchored
  724. - Stores the relative CFrame as a CFrame value
  725. - Takes careful measure to reduce lag by not having a joint set off or affected by the parts offset from origin
  726. - Utilizes a recursive algorith to find all parts in the model
  727. - Will reweld on script reparent if the script is initially parented to a tool.
  728. - Welds as fast as possible
  729. ]]
  730.  
  731. -- qPerfectionWeld.lua
  732. -- Created 10/6/2014
  733. -- Author: Quenty
  734. -- Version 1.0.3
  735.  
  736. -- Updated 10/14/2014 - Updated to 1.0.1
  737. --- Bug fix with existing ROBLOX welds ? Repro by asimo3089
  738.  
  739. -- Updated 10/14/2014 - Updated to 1.0.2
  740. --- Fixed bug fix.
  741.  
  742. -- Updated 10/14/2014 - Updated to 1.0.3
  743. --- Now handles joints semi-acceptably. May be rather hacky with some joints. :/
  744.  
  745. local NEVER_BREAK_JOINTS = false -- If you set this to true it will never break joints (this can create some welding issues, but can save stuff like hinges).
  746.  
  747.  
  748. local function CallOnChildren(Instance, FunctionToCall)
  749. -- Calls a function on each of the children of a certain object, using recursion.
  750.  
  751. FunctionToCall(Instance)
  752.  
  753. for _, Child in next, Instance:GetChildren() do
  754. CallOnChildren(Child, FunctionToCall)
  755. end
  756. end
  757.  
  758. local function GetNearestParent(Instance, ClassName)
  759. -- Returns the nearest parent of a certain class, or returns nil
  760.  
  761. local Ancestor = Instance
  762. repeat
  763. Ancestor = Ancestor.Parent
  764. if Ancestor == nil then
  765. return nil
  766. end
  767. until Ancestor:IsA(ClassName)
  768.  
  769. return Ancestor
  770. end
  771.  
  772. local function GetBricks(StartInstance)
  773. local List = {}
  774.  
  775. -- if StartInstance:IsA("BasePart") then
  776. -- List[#List+1] = StartInstance
  777. -- end
  778.  
  779. CallOnChildren(StartInstance, function(Item)
  780. if Item:IsA("BasePart") then
  781. List[#List+1] = Item;
  782. end
  783. end)
  784.  
  785. return List
  786. end
  787.  
  788. local function Modify(Instance, Values)
  789. -- Modifies an Instance by using a table.
  790.  
  791. assert(type(Values) == "table", "Values is not a table");
  792.  
  793. for Index, Value in next, Values do
  794. if type(Index) == "number" then
  795. Value.Parent = Instance
  796. else
  797. Instance[Index] = Value
  798. end
  799. end
  800. return Instance
  801. end
  802.  
  803. local function Make(ClassType, Properties)
  804. -- Using a syntax hack to create a nice way to Make new items.
  805.  
  806. return Modify(Instance.new(ClassType), Properties)
  807. end
  808.  
  809. local Surfaces = {"TopSurface", "BottomSurface", "LeftSurface", "RightSurface", "FrontSurface", "BackSurface"}
  810. local HingSurfaces = {"Hinge", "Motor", "SteppingMotor"}
  811.  
  812. local function HasWheelJoint(Part)
  813. for _, SurfaceName in pairs(Surfaces) do
  814. for _, HingSurfaceName in pairs(HingSurfaces) do
  815. if Part[SurfaceName].Name == HingSurfaceName then
  816. return true
  817. end
  818. end
  819. end
  820.  
  821. return false
  822. end
  823.  
  824. local function ShouldBreakJoints(Part)
  825. --- We do not want to break joints of wheels/hinges. This takes the utmost care to not do this. There are
  826. -- definitely some edge cases.
  827.  
  828. if NEVER_BREAK_JOINTS then
  829. return false
  830. end
  831.  
  832. if HasWheelJoint(Part) then
  833. return false
  834. end
  835.  
  836. local Connected = Part:GetConnectedParts()
  837.  
  838. if #Connected == 1 then
  839. return false
  840. end
  841.  
  842. for _, Item in pairs(Connected) do
  843. if HasWheelJoint(Item) then
  844. return false
  845. elseif not Item:IsDescendantOf(script.Parent) then
  846. return false
  847. end
  848. end
  849.  
  850. return true
  851. end
  852.  
  853. local function WeldTogether(Part0, Part1, JointType, WeldParent)
  854. --- Weld's 2 parts together
  855. -- @param Part0 The first part
  856. -- @param Part1 The second part (Dependent part most of the time).
  857. -- @param [JointType] The type of joint. Defaults to weld.
  858. -- @param [WeldParent] Parent of the weld, Defaults to Part0 (so GC is better).
  859. -- @return The weld created.
  860.  
  861. JointType = JointType or "Weld"
  862. local RelativeValue = Part1:FindFirstChild("qRelativeCFrameWeldValue")
  863.  
  864. local NewWeld = Part1:FindFirstChild("qCFrameWeldThingy") or Instance.new(JointType)
  865. Modify(NewWeld, {
  866. Name = "qCFrameWeldThingy";
  867. Part0 = Part0;
  868. Part1 = Part1;
  869. C0 = CFrame.new();--Part0.CFrame:inverse();
  870. C1 = RelativeValue and RelativeValue.Value or Part1.CFrame:toObjectSpace(Part0.CFrame); --Part1.CFrame:inverse() * Part0.CFrame;-- Part1.CFrame:inverse();
  871. Parent = Part1;
  872. })
  873.  
  874. if not RelativeValue then
  875. RelativeValue = Make("CFrameValue", {
  876. Parent = Part1;
  877. Name = "qRelativeCFrameWeldValue";
  878. Archivable = true;
  879. Value = NewWeld.C1;
  880. })
  881. end
  882.  
  883. return NewWeld
  884. end
  885.  
  886. local function WeldParts(Parts, MainPart, JointType, DoNotUnanchor)
  887. -- @param Parts The Parts to weld. Should be anchored to prevent really horrible results.
  888. -- @param MainPart The part to weld the model to (can be in the model).
  889. -- @param [JointType] The type of joint. Defaults to weld.
  890. -- @parm DoNotUnanchor Boolean, if true, will not unachor the model after cmopletion.
  891.  
  892. for _, Part in pairs(Parts) do
  893. if ShouldBreakJoints(Part) then
  894. Part:BreakJoints()
  895. end
  896. end
  897.  
  898. for _, Part in pairs(Parts) do
  899. if Part ~= MainPart then
  900. WeldTogether(MainPart, Part, JointType, MainPart)
  901. end
  902. end
  903.  
  904. if not DoNotUnanchor then
  905. for _, Part in pairs(Parts) do
  906. Part.Anchored = false
  907. end
  908. MainPart.Anchored = false
  909. end
  910. end
  911.  
  912. local function PerfectionWeld()
  913. local Tool = GetNearestParent(script, "Tool")
  914.  
  915. local Parts = GetBricks(script.Parent)
  916. local PrimaryPart = Tool and Tool:FindFirstChild("Handle") and Tool.Handle:IsA("BasePart") and Tool.Handle or script.Parent:IsA("Model") and script.Parent.PrimaryPart or Parts[1]
  917.  
  918. if PrimaryPart then
  919. WeldParts(Parts, PrimaryPart, "Weld", false)
  920. else
  921. warn("qWeld - Unable to weld part")
  922. end
  923.  
  924. return Tool
  925. end
  926.  
  927. local Tool = PerfectionWeld()
  928.  
  929.  
  930. if Tool and script.ClassName == "Script" then
  931. --- Don't bother with local scripts
  932.  
  933. script.Parent.AncestryChanged:connect(function()
  934. PerfectionWeld()
  935. end)
  936. end
  937.  
  938. -- Created by Quenty (@Quenty, follow me on twitter).
  939.  
  940. end,o25)
  941.  
  942. o26.Parent = o5
  943. o27.Parent = o26
  944. o28.Parent = o27
  945. o29.Name = "Switch"
  946. o29.Parent = o28
  947. o29.Material = Enum.Material.Neon
  948. o29.BrickColor = BrickColor.new("Sea green")
  949. o29.Position = Vector3.new(-136.016968, 11.5627031, -85.5962524)
  950. o29.Rotation = Vector3.new(-90, -0.219999999, 180)
  951. o29.CanCollide = false
  952. o29.FormFactor = Enum.FormFactor.Plate
  953. o29.Size = Vector3.new(0.469999969, 0.0500000007, 0.489999861)
  954. o29.CFrame = CFrame.new(-136.016968, 11.5627031, -85.5962524, -0.999992549, -3.07300411e-07, -0.00385993393, -0.00385993393, -1.31626632e-09, 0.999992549, -3.07303196e-07, 1, 1.30095823e-10)
  955. o29.BottomSurface = Enum.SurfaceType.Weld
  956. o29.TopSurface = Enum.SurfaceType.Weld
  957. o29.Color = Color3.new(0.203922, 0.556863, 0.25098)
  958. o29.Position = Vector3.new(-136.016968, 11.5627031, -85.5962524)
  959. o30.Parent = o29
  960. o30.MaxActivationDistance = 10
  961. o31.Name = "CannonBall"
  962. o31.Parent = o29
  963. o31.Disabled = true
  964.  
  965. runDummyScript(function()
  966. ball = script.Parent
  967. damage = 1000
  968.  
  969. function onTouched(hit)
  970.  
  971.  
  972. local humanoid = hit.Parent:findFirstChild("Humanoid")
  973. if humanoid~=nil then
  974. tagHumanoid(humanoid)
  975. humanoid.Health = humanoid.Health - damage
  976. wait(0.01)
  977. untagHumanoid(humanoid)
  978. connection:disconnect()
  979. else
  980. damage = damage / 2
  981. if damage < 2 then
  982. connection:disconnect()
  983. ball.Parent = nil
  984. end
  985. end
  986.  
  987. if math.random(1,1) == 1 then
  988. explosion = Instance.new("Explosion")
  989. explosion.BlastRadius = 10
  990. explosion.BlastPressure = 50 -- these are really wussy units
  991. explosion.Position = script.Parent.Position
  992. explosion.Parent = game.Workspace
  993. connection:disconnect()
  994. ball.Parent = nil
  995. cancollide = true
  996. end
  997.  
  998. end
  999.  
  1000. function tagHumanoid(humanoid)
  1001. -- todo: make tag expire
  1002. local tag = ball:findFirstChild("creator")
  1003. if tag ~= nil then
  1004. local new_tag = tag:clone()
  1005. new_tag.Parent = humanoid
  1006. end
  1007. end
  1008.  
  1009.  
  1010. function untagHumanoid(humanoid)
  1011. if humanoid ~= nil then
  1012. local tag = humanoid:findFirstChild("creator")
  1013. if tag ~= nil then
  1014. tag.Parent = nil
  1015. end
  1016. end
  1017. end
  1018.  
  1019. connection = ball.Touched:connect(onTouched)
  1020.  
  1021. r = game:service("RunService")
  1022. t, s = r.Stepped:wait()
  1023. d = t + 5.0 - s
  1024. while t < d do
  1025. t = r.Stepped:wait()
  1026. end
  1027.  
  1028. ball.Parent = nil
  1029. end,o31)
  1030.  
  1031. o32.Name = "FireGun"
  1032. o32.Parent = o29
  1033.  
  1034. runDummyScript(function()
  1035. local switch = script.Parent
  1036. local gunBarrelOne = script.Parent.Parent.GunBarrel.One
  1037.  
  1038. local debounce = false
  1039. local gunOne = true
  1040.  
  1041. local cannonBall = Instance.new("Part")
  1042. cannonBall.Size = Vector3.new(1,1,1)
  1043. cannonBall.BrickColor = BrickColor.new(26) -- Really black
  1044. cannonBall.Shape = 0
  1045. cannonBall.BottomSurface = 0
  1046. cannonBall.TopSurface = 0
  1047. cannonBall.Name = "Cannon Shot"
  1048. cannonBall.Elasticity = .1
  1049. cannonBall.Reflectance = 0
  1050. cannonBall.Friction = 0
  1051.  
  1052. function fire(player)
  1053.  
  1054. local sound = script.Parent:findFirstChild("GunSound")
  1055. if sound == nil then
  1056. sound = Instance.new("Sound")
  1057. sound.Name = "GunSound"
  1058. sound.SoundId = "http://www.roblox.com/asset?id=2101148"
  1059. sound.Volume = 1
  1060. sound.Parent = script.Parent
  1061. end
  1062. sound:play()
  1063.  
  1064.  
  1065.  
  1066.  
  1067. local missile = Instance.new("Part")
  1068.  
  1069.  
  1070. local barrel
  1071.  
  1072. if gunOne == true then
  1073. barrel = gunBarrelOne
  1074. gunOne = true
  1075.  
  1076. end
  1077.  
  1078. local spawnPos = barrel.CFrame * Vector3.new(6, 0, 0)
  1079.  
  1080. local dx = math.random(50,50)
  1081. local dy = math.random(0,0)
  1082. local dz = math.random(0,0)
  1083. local mag = math.random(300,300)
  1084.  
  1085. local v = barrel.CFrame:vectorToWorldSpace(Vector3.new(mag + dx,dy,dz))
  1086.  
  1087. local missile = cannonBall:clone()
  1088.  
  1089. missile.Position = spawnPos
  1090. missile.Velocity = v
  1091.  
  1092.  
  1093.  
  1094. local new_script = script.Parent.CannonBall:clone()
  1095. new_script.Disabled = false
  1096. new_script.Parent = missile
  1097.  
  1098. local creator_tag = Instance.new("ObjectValue")
  1099. creator_tag.Value = player
  1100. creator_tag.Name = "creator"
  1101. creator_tag.Parent = missile
  1102.  
  1103.  
  1104.  
  1105. missile.Parent = game.Workspace
  1106.  
  1107. end
  1108.  
  1109. function onClicked()
  1110. if debounce == false then
  1111. debounce = true
  1112. switch.BrickColor = BrickColor.new(21)
  1113. -- let slip the dogs of war
  1114. fire(player)
  1115. wait(.1)
  1116.  
  1117. wait(0.5)
  1118. debounce = false
  1119. switch.BrickColor = BrickColor.new(37)
  1120. end
  1121. end
  1122.  
  1123.  
  1124. script.Parent.ClickDetector.MouseClick:connect(onClicked)
  1125.  
  1126.  
  1127.  
  1128. end,o32)
  1129.  
  1130. o33.Name = "GunSound"
  1131. o33.Parent = o29
  1132. o33.SoundId = "rbxassetid://1486537732"
  1133. o34.Name = "GunBarrel"
  1134. o34.Parent = o28
  1135. o35.Name = "One"
  1136. o35.Parent = o34
  1137. o35.Material = Enum.Material.SmoothPlastic
  1138. o35.Position = Vector3.new(-131.892059, 10.7562933, -84.5623779)
  1139. o35.Rotation = Vector3.new(90, 0.209999993, 90)
  1140. o35.FormFactor = Enum.FormFactor.Symmetric
  1141. o35.Shape = Enum.PartType.Cylinder
  1142. o35.Size = Vector3.new(2, 2, 2)
  1143. o35.CFrame = CFrame.new(-131.892059, 10.7562933, -84.5623779, -2.84912375e-07, -0.999993563, 0.00372171379, -1.19563204e-09, -0.00372997462, -0.99999398, 1, -2.86076983e-07, -1.37532138e-10)
  1144. o35.BottomSurface = Enum.SurfaceType.Smooth
  1145. o35.LeftSurface = Enum.SurfaceType.Weld
  1146. o35.RightSurface = Enum.SurfaceType.Weld
  1147. o35.TopSurface = Enum.SurfaceType.Smooth
  1148. o35.Position = Vector3.new(-131.892059, 10.7562933, -84.5623779)
  1149. o36.Parent = o28
  1150. o37.Parent = o36
  1151. o37.Material = Enum.Material.Neon
  1152. o37.BrickColor = BrickColor.new("Crimson")
  1153. o37.Position = Vector3.new(-130.867264, 10.7601748, -90.2623901)
  1154. o37.Rotation = Vector3.new(0, 0, 0.209999993)
  1155. o37.Size = Vector3.new(0.0500000007, 2.80000043, 2.59999967)
  1156. o37.CFrame = CFrame.new(-130.867264, 10.7601748, -90.2623901, 0.999993682, -0.00373263354, -2.91385135e-07, 0.00375039922, 0.999994099, -1.23178634e-09, 2.93890167e-07, 1.48657697e-10, 1)
  1157. o37.BackSurface = Enum.SurfaceType.Weld
  1158. o37.BottomSurface = Enum.SurfaceType.Weld
  1159. o37.FrontSurface = Enum.SurfaceType.Weld
  1160. o37.LeftSurface = Enum.SurfaceType.Weld
  1161. o37.RightSurface = Enum.SurfaceType.Weld
  1162. o37.TopSurface = Enum.SurfaceType.Smooth
  1163. o37.Color = Color3.new(0.592157, 0, 0)
  1164. o37.Position = Vector3.new(-130.867264, 10.7601748, -90.2623901)
  1165. o38.Name = "DO NOT USE"
  1166. o38.Parent = o36
  1167. o38.Material = Enum.Material.SmoothPlastic
  1168. o38.Position = Vector3.new(-131.897064, 11.9565048, -91.8624268)
  1169. o38.Rotation = Vector3.new(90, 0.219999999, -180)
  1170. o38.FormFactor = Enum.FormFactor.Symmetric
  1171. o38.Size = Vector3.new(2.00000191, 0.599999845, 0.399999857)
  1172. o38.CFrame = CFrame.new(-131.897064, 11.9565048, -91.8624268, -0.999993205, 2.9455768e-07, 0.00381699344, -0.00382525474, 1.23375876e-09, -0.999993622, -2.95722344e-07, -1, -1.11505499e-10)
  1173. o38.BackSurface = Enum.SurfaceType.Weld
  1174. o38.BottomSurface = Enum.SurfaceType.Weld
  1175. o38.TopSurface = Enum.SurfaceType.Weld
  1176. o38.Position = Vector3.new(-131.897064, 11.9565048, -91.8624268)
  1177. o39.Parent = o38
  1178. o39.MeshType = Enum.MeshType.Wedge
  1179. o40.Parent = o36
  1180. o40.Material = Enum.Material.SmoothPlastic
  1181. o40.Position = Vector3.new(-131.892334, 10.7563906, -90.062439)
  1182. o40.Rotation = Vector3.new(0, 0, 0.219999999)
  1183. o40.FormFactor = Enum.FormFactor.Symmetric
  1184. o40.Size = Vector3.new(2, 2.80000019, 3)
  1185. o40.CFrame = CFrame.new(-131.892334, 10.7563906, -90.062439, 0.999993503, -0.00375429052, -2.94774054e-07, 0.00376255182, 0.99999392, -1.24696342e-09, 2.95938776e-07, 1.42438686e-10, 1)
  1186. o40.BackSurface = Enum.SurfaceType.Weld
  1187. o40.BottomSurface = Enum.SurfaceType.Smooth
  1188. o40.TopSurface = Enum.SurfaceType.Smooth
  1189. o40.Position = Vector3.new(-131.892334, 10.7563906, -90.062439)
  1190. o41.Parent = o36
  1191. o41.Material = Enum.Material.SmoothPlastic
  1192. o41.Position = Vector3.new(-131.892044, 10.7562933, -87.0623779)
  1193. o41.Rotation = Vector3.new(0, 0, 0.209999993)
  1194. o41.FormFactor = Enum.FormFactor.Symmetric
  1195. o41.Size = Vector3.new(2, 2, 3)
  1196. o41.CFrame = CFrame.new(-131.892044, 10.7562933, -87.0623779, 0.999993622, -0.00372101949, -2.89744406e-07, 0.00372928078, 0.99999404, -1.21667476e-09, 2.90909014e-07, 1.40753548e-10, 1)
  1197. o41.BackSurface = Enum.SurfaceType.Weld
  1198. o41.BottomSurface = Enum.SurfaceType.Smooth
  1199. o41.TopSurface = Enum.SurfaceType.Smooth
  1200. o41.Position = Vector3.new(-131.892044, 10.7562933, -87.0623779)
  1201. o42.Parent = o36
  1202. o42.Material = Enum.Material.SmoothPlastic
  1203. o42.Position = Vector3.new(-130.818085, 10.7603464, -90.2623901)
  1204. o42.Rotation = Vector3.new(0, 0, 0.209999993)
  1205. o42.Size = Vector3.new(0.0500000007, 2.40000033, 2.19999957)
  1206. o42.CFrame = CFrame.new(-130.818085, 10.7603464, -90.2623901, 0.999993622, -0.00375047419, -2.94005588e-07, 0.0037682401, 0.99999404, -1.24424337e-09, 2.96510649e-07, 1.45996853e-10, 1)
  1207. o42.BackSurface = Enum.SurfaceType.Weld
  1208. o42.BottomSurface = Enum.SurfaceType.Weld
  1209. o42.FrontSurface = Enum.SurfaceType.Weld
  1210. o42.LeftSurface = Enum.SurfaceType.Weld
  1211. o42.RightSurface = Enum.SurfaceType.Weld
  1212. o42.TopSurface = Enum.SurfaceType.Smooth
  1213. o42.Position = Vector3.new(-130.818085, 10.7603464, -90.2623901)
  1214. o43.Parent = o36
  1215. o43.Material = Enum.Material.SmoothPlastic
  1216. o43.Position = Vector3.new(-131.892593, 10.7564564, -91.8623657)
  1217. o43.Rotation = Vector3.new(0, 0, 0.209999993)
  1218. o43.FormFactor = Enum.FormFactor.Symmetric
  1219. o43.Size = Vector3.new(2, 2, 0.599999726)
  1220. o43.CFrame = CFrame.new(-131.892593, 10.7564564, -91.8623657, 0.999993742, -0.00369270612, -2.86096508e-07, 0.00370096741, 0.999994159, -1.20372268e-09, 2.87261116e-07, 1.49538854e-10, 1)
  1221. o43.BackSurface = Enum.SurfaceType.Weld
  1222. o43.BottomSurface = Enum.SurfaceType.Smooth
  1223. o43.TopSurface = Enum.SurfaceType.Smooth
  1224. o43.Position = Vector3.new(-131.892593, 10.7564564, -91.8623657)
  1225. o44.Name = "DO NOT USE"
  1226. o44.Parent = o36
  1227. o44.Material = Enum.Material.SmoothPlastic
  1228. o44.Position = Vector3.new(-131.896683, 11.9563589, -87.0623779)
  1229. o44.Rotation = Vector3.new(-180, 0, 179.779999)
  1230. o44.FormFactor = Enum.FormFactor.Symmetric
  1231. o44.Size = Vector3.new(2.00000191, 0.399999857, 3.00000024)
  1232. o44.CFrame = CFrame.new(-131.896683, 11.9563589, -87.0623779, -0.999993622, -0.00377303059, 2.88351117e-07, -0.0037868002, 0.999994159, 1.19326271e-09, -2.9029033e-07, 1.08920276e-10, -1)
  1233. o44.BackSurface = Enum.SurfaceType.Weld
  1234. o44.BottomSurface = Enum.SurfaceType.Weld
  1235. o44.TopSurface = Enum.SurfaceType.Weld
  1236. o44.Position = Vector3.new(-131.896683, 11.9563589, -87.0623779)
  1237. o45.Parent = o44
  1238. o45.MeshType = Enum.MeshType.Wedge
  1239. o46.Name = "DO NOT USE"
  1240. o46.Parent = o36
  1241. o46.Material = Enum.Material.SmoothPlastic
  1242. o46.Position = Vector3.new(-131.887589, 9.55611038, -87.0623779)
  1243. o46.Rotation = Vector3.new(-180, 0, -0.219999999)
  1244. o46.FormFactor = Enum.FormFactor.Symmetric
  1245. o46.Size = Vector3.new(2.00000191, 0.399999857, 3.00000024)
  1246. o46.CFrame = CFrame.new(-131.887589, 9.55611038, -87.0623779, 0.999993384, 0.00379234646, 3.00829385e-07, 0.00380060775, -0.999993801, 1.255962e-09, 3.01994106e-07, -1.17161031e-10, -1)
  1247. o46.BackSurface = Enum.SurfaceType.Weld
  1248. o46.BottomSurface = Enum.SurfaceType.Weld
  1249. o46.TopSurface = Enum.SurfaceType.Weld
  1250. o46.Position = Vector3.new(-131.887589, 9.55611038, -87.0623779)
  1251. o47.Parent = o46
  1252. o47.MeshType = Enum.MeshType.Wedge
  1253. o48.Name = "DO NOT USE"
  1254. o48.Parent = o36
  1255. o48.Material = Enum.Material.SmoothPlastic
  1256. o48.Position = Vector3.new(-131.888062, 9.55651474, -91.8624268)
  1257. o48.Rotation = Vector3.new(-90, -0.219999999, 0)
  1258. o48.FormFactor = Enum.FormFactor.Symmetric
  1259. o48.Size = Vector3.new(2.00000191, 0.599999845, 0.399999857)
  1260. o48.CFrame = CFrame.new(-131.888062, 9.55651474, -91.8624268, 0.999993682, 2.96458779e-07, -0.00376647292, 0.00378024252, 1.23183452e-09, 0.999994218, 2.98398163e-07, -1, 1.18759322e-10)
  1261. o48.BackSurface = Enum.SurfaceType.Weld
  1262. o48.BottomSurface = Enum.SurfaceType.Weld
  1263. o48.TopSurface = Enum.SurfaceType.Weld
  1264. o48.Position = Vector3.new(-131.888062, 9.55651474, -91.8624268)
  1265. o49.Parent = o48
  1266. o49.MeshType = Enum.MeshType.Wedge
  1267. o50.Parent = o27
  1268. o51.Name = "Switch"
  1269. o51.Parent = o50
  1270. o51.Material = Enum.Material.Neon
  1271. o51.BrickColor = BrickColor.new("Sea green")
  1272. o51.Position = Vector3.new(-136.764816, 11.5598211, -85.5962524)
  1273. o51.Rotation = Vector3.new(-90, -0.219999999, 180)
  1274. o51.CanCollide = false
  1275. o51.FormFactor = Enum.FormFactor.Plate
  1276. o51.Size = Vector3.new(0.469999969, 0.0500000007, 0.489999861)
  1277. o51.CFrame = CFrame.new(-136.764816, 11.5598211, -85.5962524, -0.999992549, -3.07300411e-07, -0.00385993393, -0.00385993393, -1.31626632e-09, 0.999992549, -3.07303196e-07, 1, 1.30095823e-10)
  1278. o51.BottomSurface = Enum.SurfaceType.Weld
  1279. o51.TopSurface = Enum.SurfaceType.Weld
  1280. o51.Color = Color3.new(0.203922, 0.556863, 0.25098)
  1281. o51.Position = Vector3.new(-136.764816, 11.5598211, -85.5962524)
  1282. o52.Parent = o51
  1283. o52.MaxActivationDistance = 10
  1284. o53.Name = "CannonBall"
  1285. o53.Parent = o51
  1286. o53.Disabled = true
  1287.  
  1288. runDummyScript(function()
  1289. ball = script.Parent
  1290. damage = 1000
  1291.  
  1292. function onTouched(hit)
  1293.  
  1294.  
  1295. local humanoid = hit.Parent:findFirstChild("Humanoid")
  1296. if humanoid~=nil then
  1297. tagHumanoid(humanoid)
  1298. humanoid.Health = humanoid.Health - damage
  1299. wait(0.01)
  1300. untagHumanoid(humanoid)
  1301. connection:disconnect()
  1302. else
  1303. damage = damage / 2
  1304. if damage < 2 then
  1305. connection:disconnect()
  1306. ball.Parent = nil
  1307. end
  1308. end
  1309.  
  1310. if math.random(1,1) == 1 then
  1311. explosion = Instance.new("Explosion")
  1312. explosion.BlastRadius = 10
  1313. explosion.BlastPressure = 50 -- these are really wussy units
  1314. explosion.Position = script.Parent.Position
  1315. explosion.Parent = game.Workspace
  1316. connection:disconnect()
  1317. ball.Parent = nil
  1318. cancollide = true
  1319. end
  1320.  
  1321. end
  1322.  
  1323. function tagHumanoid(humanoid)
  1324. -- todo: make tag expire
  1325. local tag = ball:findFirstChild("creator")
  1326. if tag ~= nil then
  1327. local new_tag = tag:clone()
  1328. new_tag.Parent = humanoid
  1329. end
  1330. end
  1331.  
  1332.  
  1333. function untagHumanoid(humanoid)
  1334. if humanoid ~= nil then
  1335. local tag = humanoid:findFirstChild("creator")
  1336. if tag ~= nil then
  1337. tag.Parent = nil
  1338. end
  1339. end
  1340. end
  1341.  
  1342. connection = ball.Touched:connect(onTouched)
  1343.  
  1344. r = game:service("RunService")
  1345. t, s = r.Stepped:wait()
  1346. d = t + 5.0 - s
  1347. while t < d do
  1348. t = r.Stepped:wait()
  1349. end
  1350.  
  1351. ball.Parent = nil
  1352. end,o53)
  1353.  
  1354. o54.Name = "FireGun"
  1355. o54.Parent = o51
  1356.  
  1357. runDummyScript(function()
  1358. local switch = script.Parent
  1359. local gunBarrelOne = script.Parent.Parent.GunBarrel.One
  1360.  
  1361. local debounce = false
  1362. local gunOne = true
  1363.  
  1364. local cannonBall = Instance.new("Part")
  1365. cannonBall.Size = Vector3.new(1,1,1)
  1366. cannonBall.BrickColor = BrickColor.new(26) -- Really black
  1367. cannonBall.Shape = 0
  1368. cannonBall.BottomSurface = 0
  1369. cannonBall.TopSurface = 0
  1370. cannonBall.Name = "Cannon Shot"
  1371. cannonBall.Elasticity = .1
  1372. cannonBall.Reflectance = 0
  1373. cannonBall.Friction = 0
  1374.  
  1375. function fire(player)
  1376.  
  1377. local sound = script.Parent:findFirstChild("GunSound")
  1378. if sound == nil then
  1379. sound = Instance.new("Sound")
  1380. sound.Name = "GunSound"
  1381. sound.SoundId = "http://www.roblox.com/asset?id=2101148"
  1382. sound.Volume = 1
  1383. sound.Parent = script.Parent
  1384. end
  1385. sound:play()
  1386.  
  1387.  
  1388.  
  1389.  
  1390. local missile = Instance.new("Part")
  1391.  
  1392.  
  1393. local barrel
  1394.  
  1395. if gunOne == true then
  1396. barrel = gunBarrelOne
  1397. gunOne = true
  1398.  
  1399. end
  1400.  
  1401. local spawnPos = barrel.CFrame * Vector3.new(6, 0, 0)
  1402.  
  1403. local dx = math.random(50,50)
  1404. local dy = math.random(0,0)
  1405. local dz = math.random(0,0)
  1406. local mag = math.random(300,300)
  1407.  
  1408. local v = barrel.CFrame:vectorToWorldSpace(Vector3.new(mag + dx,dy,dz))
  1409.  
  1410. local missile = cannonBall:clone()
  1411.  
  1412. missile.Position = spawnPos
  1413. missile.Velocity = v
  1414.  
  1415.  
  1416.  
  1417. local new_script = script.Parent.CannonBall:clone()
  1418. new_script.Disabled = false
  1419. new_script.Parent = missile
  1420.  
  1421. local creator_tag = Instance.new("ObjectValue")
  1422. creator_tag.Value = player
  1423. creator_tag.Name = "creator"
  1424. creator_tag.Parent = missile
  1425.  
  1426.  
  1427.  
  1428. missile.Parent = game.Workspace
  1429.  
  1430. end
  1431.  
  1432. function onClicked()
  1433. if debounce == false then
  1434. debounce = true
  1435. switch.BrickColor = BrickColor.new(21)
  1436. -- let slip the dogs of war
  1437. fire(player)
  1438. wait(.1)
  1439.  
  1440. wait(0.5)
  1441. debounce = false
  1442. switch.BrickColor = BrickColor.new(37)
  1443. end
  1444. end
  1445.  
  1446.  
  1447. script.Parent.ClickDetector.MouseClick:connect(onClicked)
  1448.  
  1449.  
  1450.  
  1451. end,o54)
  1452.  
  1453. o55.Name = "GunSound"
  1454. o55.Parent = o51
  1455. o55.SoundId = "rbxassetid://1486537732"
  1456. o56.Name = "GunBarrel"
  1457. o56.Parent = o50
  1458. o57.Name = "One"
  1459. o57.Parent = o56
  1460. o57.Material = Enum.Material.SmoothPlastic
  1461. o57.Position = Vector3.new(-140.890884, 10.721858, -84.562439)
  1462. o57.Rotation = Vector3.new(-90, -0.219999999, -90)
  1463. o57.FormFactor = Enum.FormFactor.Symmetric
  1464. o57.Shape = Enum.PartType.Cylinder
  1465. o57.Size = Vector3.new(2, 2, 2)
  1466. o57.CFrame = CFrame.new(-140.890884, 10.721858, -84.562439, -2.95752727e-07, 0.999993503, -0.00377585017, -1.24351618e-09, 0.00379099115, 0.99999404, 1, 2.97885634e-07, 1.3055583e-10)
  1467. o57.BottomSurface = Enum.SurfaceType.Smooth
  1468. o57.LeftSurface = Enum.SurfaceType.Weld
  1469. o57.RightSurface = Enum.SurfaceType.Weld
  1470. o57.TopSurface = Enum.SurfaceType.Smooth
  1471. o57.Position = Vector3.new(-140.890884, 10.721858, -84.562439)
  1472. o58.Parent = o50
  1473. o59.Parent = o58
  1474. o59.Material = Enum.Material.Neon
  1475. o59.BrickColor = BrickColor.new("Crimson")
  1476. o59.Position = Vector3.new(-141.915802, 10.7179079, -90.2624512)
  1477. o59.Rotation = Vector3.new(0, 0, -179.779999)
  1478. o59.Size = Vector3.new(0.0500000007, 2.80000043, 2.59999967)
  1479. o59.CFrame = CFrame.new(-141.915802, 10.7179079, -90.2624512, -0.999993503, 0.00375412614, -2.94714738e-07, -0.00376238744, -0.99999392, -1.24058108e-09, -2.95879431e-07, -1.36328338e-10, 1)
  1480. o59.BackSurface = Enum.SurfaceType.Weld
  1481. o59.BottomSurface = Enum.SurfaceType.Weld
  1482. o59.FrontSurface = Enum.SurfaceType.Weld
  1483. o59.LeftSurface = Enum.SurfaceType.Weld
  1484. o59.RightSurface = Enum.SurfaceType.Weld
  1485. o59.TopSurface = Enum.SurfaceType.Smooth
  1486. o59.Color = Color3.new(0.592157, 0, 0)
  1487. o59.Position = Vector3.new(-141.915802, 10.7179079, -90.2624512)
  1488. o60.Name = "DO NOT USE"
  1489. o60.Parent = o58
  1490. o60.Material = Enum.Material.SmoothPlastic
  1491. o60.Position = Vector3.new(-140.885895, 9.52162075, -91.8624268)
  1492. o60.Rotation = Vector3.new(-90, -0.219999999, 0)
  1493. o60.FormFactor = Enum.FormFactor.Symmetric
  1494. o60.Size = Vector3.new(2.00000191, 0.599999845, 0.399999857)
  1495. o60.CFrame = CFrame.new(-140.885895, 9.52162075, -91.8624268, 0.999992967, 3.13872761e-07, -0.00388568477, 0.00389394606, 1.31488187e-09, 0.999993384, 3.15037596e-07, -1, 9.7102458e-11)
  1496. o60.BackSurface = Enum.SurfaceType.Weld
  1497. o60.BottomSurface = Enum.SurfaceType.Weld
  1498. o60.TopSurface = Enum.SurfaceType.Weld
  1499. o60.Position = Vector3.new(-140.885895, 9.52162075, -91.8624268)
  1500. o61.Parent = o60
  1501. o61.MeshType = Enum.MeshType.Wedge
  1502. o62.Parent = o58
  1503. o62.Material = Enum.Material.SmoothPlastic
  1504. o62.Position = Vector3.new(-140.890686, 10.7216673, -90.062439)
  1505. o62.Rotation = Vector3.new(0, 0, -179.779999)
  1506. o62.FormFactor = Enum.FormFactor.Symmetric
  1507. o62.Size = Vector3.new(2, 2.80000019, 3)
  1508. o62.CFrame = CFrame.new(-140.890686, 10.7216673, -90.062439, -0.999993205, 0.00382624869, -3.02243791e-07, -0.00383450999, -0.999993622, -1.27088662e-09, -3.03408541e-07, -1.16423732e-10, 1)
  1509. o62.BackSurface = Enum.SurfaceType.Weld
  1510. o62.BottomSurface = Enum.SurfaceType.Smooth
  1511. o62.TopSurface = Enum.SurfaceType.Smooth
  1512. o62.Position = Vector3.new(-140.890686, 10.7216673, -90.062439)
  1513. o63.Parent = o58
  1514. o63.Material = Enum.Material.SmoothPlastic
  1515. o63.Position = Vector3.new(-140.890732, 10.7217884, -87.062439)
  1516. o63.Rotation = Vector3.new(0, 0, -179.779999)
  1517. o63.FormFactor = Enum.FormFactor.Symmetric
  1518. o63.Size = Vector3.new(2, 2, 3)
  1519. o63.CFrame = CFrame.new(-140.890732, 10.7217884, -87.062439, -0.999993265, 0.0038126146, -3.03568811e-07, -0.00382087589, -0.999993682, -1.27363797e-09, -3.04733561e-07, -1.1824898e-10, 1)
  1520. o63.BackSurface = Enum.SurfaceType.Weld
  1521. o63.BottomSurface = Enum.SurfaceType.Smooth
  1522. o63.TopSurface = Enum.SurfaceType.Smooth
  1523. o63.Position = Vector3.new(-140.890732, 10.7217884, -87.062439)
  1524. o64.Parent = o58
  1525. o64.Material = Enum.Material.SmoothPlastic
  1526. o64.Position = Vector3.new(-141.964813, 10.7179632, -90.2624512)
  1527. o64.Rotation = Vector3.new(0, 0, -179.779999)
  1528. o64.Size = Vector3.new(0.0500000007, 2.40000033, 2.19999957)
  1529. o64.CFrame = CFrame.new(-141.964813, 10.7179632, -90.2624512, -0.999993503, 0.00377198169, -2.97335305e-07, -0.00378851756, -0.999994099, -1.25310917e-09, -2.99666851e-07, -1.35643885e-10, 1)
  1530. o64.BackSurface = Enum.SurfaceType.Weld
  1531. o64.BottomSurface = Enum.SurfaceType.Weld
  1532. o64.FrontSurface = Enum.SurfaceType.Weld
  1533. o64.LeftSurface = Enum.SurfaceType.Weld
  1534. o64.RightSurface = Enum.SurfaceType.Weld
  1535. o64.TopSurface = Enum.SurfaceType.Smooth
  1536. o64.Position = Vector3.new(-141.964813, 10.7179632, -90.2624512)
  1537. o65.Parent = o58
  1538. o65.Material = Enum.Material.SmoothPlastic
  1539. o65.Position = Vector3.new(-140.890411, 10.7215996, -91.8623657)
  1540. o65.Rotation = Vector3.new(0, 0, -179.779999)
  1541. o65.FormFactor = Enum.FormFactor.Symmetric
  1542. o65.Size = Vector3.new(2, 2, 0.599999726)
  1543. o65.CFrame = CFrame.new(-140.890411, 10.7215996, -91.8623657, -0.999993265, 0.00380971096, -2.99915087e-07, -0.00381797226, -0.999993682, -1.26539568e-09, -3.01079837e-07, -1.24841387e-10, 1)
  1544. o65.BackSurface = Enum.SurfaceType.Weld
  1545. o65.BottomSurface = Enum.SurfaceType.Smooth
  1546. o65.TopSurface = Enum.SurfaceType.Smooth
  1547. o65.Position = Vector3.new(-140.890411, 10.7215996, -91.8623657)
  1548. o66.Name = "DO NOT USE"
  1549. o66.Parent = o58
  1550. o66.Material = Enum.Material.SmoothPlastic
  1551. o66.Position = Vector3.new(-140.886505, 9.52201939, -87.0623779)
  1552. o66.Rotation = Vector3.new(-180, 0, -0.219999999)
  1553. o66.FormFactor = Enum.FormFactor.Symmetric
  1554. o66.Size = Vector3.new(2.00000191, 0.399999857, 3.00000024)
  1555. o66.CFrame = CFrame.new(-140.886505, 9.52201939, -87.0623779, 0.999993086, 0.00386341359, 3.11154054e-07, 0.00387167488, -0.999993503, 1.30752298e-09, 3.12318861e-07, -1.07286027e-10, -1)
  1556. o66.BackSurface = Enum.SurfaceType.Weld
  1557. o66.BottomSurface = Enum.SurfaceType.Weld
  1558. o66.TopSurface = Enum.SurfaceType.Weld
  1559. o66.Position = Vector3.new(-140.886505, 9.52201939, -87.0623779)
  1560. o67.Parent = o66
  1561. o67.MeshType = Enum.MeshType.Wedge
  1562. o68.Name = "DO NOT USE"
  1563. o68.Parent = o58
  1564. o68.Material = Enum.Material.SmoothPlastic
  1565. o68.Position = Vector3.new(-140.895538, 11.9220219, -87.062439)
  1566. o68.Rotation = Vector3.new(-180, 0, 179.769989)
  1567. o68.FormFactor = Enum.FormFactor.Symmetric
  1568. o68.Size = Vector3.new(2.00000191, 0.399999857, 3.00000024)
  1569. o68.CFrame = CFrame.new(-140.895538, 11.9220219, -87.062439, -0.999992847, -0.00394329149, 3.12261761e-07, -0.00395706017, 0.999993443, 1.30908795e-09, -3.14201259e-07, 8.07290138e-11, -1)
  1570. o68.BackSurface = Enum.SurfaceType.Weld
  1571. o68.BottomSurface = Enum.SurfaceType.Weld
  1572. o68.TopSurface = Enum.SurfaceType.Weld
  1573. o68.Position = Vector3.new(-140.895538, 11.9220219, -87.062439)
  1574. o69.Parent = o68
  1575. o69.MeshType = Enum.MeshType.Wedge
  1576. o70.Name = "DO NOT USE"
  1577. o70.Parent = o58
  1578. o70.Material = Enum.Material.SmoothPlastic
  1579. o70.Position = Vector3.new(-140.894974, 11.921752, -91.8623657)
  1580. o70.Rotation = Vector3.new(90, 0.219999999, -180)
  1581. o70.FormFactor = Enum.FormFactor.Symmetric
  1582. o70.Size = Vector3.new(2.00000191, 0.599999845, 0.399999857)
  1583. o70.CFrame = CFrame.new(-140.894974, 11.921752, -91.8623657, -0.999993026, 3.12164985e-07, 0.00389460544, -0.00390837528, 1.31396238e-09, -0.999993622, -3.14104454e-07, -1, -1.0127877e-10)
  1584. o70.BackSurface = Enum.SurfaceType.Weld
  1585. o70.BottomSurface = Enum.SurfaceType.Weld
  1586. o70.TopSurface = Enum.SurfaceType.Weld
  1587. o70.Position = Vector3.new(-140.894974, 11.921752, -91.8623657)
  1588. o71.Parent = o70
  1589. o71.MeshType = Enum.MeshType.Wedge
  1590. o72.Parent = o26
  1591. o73.Name = "Door"
  1592. o73.Parent = o5
  1593. o74.Name = "D3"
  1594. o74.Parent = o73
  1595. o74.Material = Enum.Material.SmoothPlastic
  1596. o74.BrickColor = BrickColor.new("Quill grey")
  1597. o74.Position = Vector3.new(-136.390915, 10.6388702, -93.6623535)
  1598. o74.Rotation = Vector3.new(0, 0, -179.779999)
  1599. o74.CanCollide = false
  1600. o74.FormFactor = Enum.FormFactor.Symmetric
  1601. o74.Size = Vector3.new(4.99999952, 1.79999995, 1.39999986)
  1602. o74.CFrame = CFrame.new(-136.390915, 10.6388702, -93.6623535, -0.999993443, 0.00384708634, -3.08254585e-07, -0.00386085548, -0.999994159, -1.30551348e-09, -3.1019411e-07, -1.22802851e-10, 1)
  1603. o74.BackSurface = Enum.SurfaceType.Weld
  1604. o74.BottomSurface = Enum.SurfaceType.Weld
  1605. o74.TopSurface = Enum.SurfaceType.Weld
  1606. o74.Color = Color3.new(0.87451, 0.87451, 0.870588)
  1607. o74.Position = Vector3.new(-136.390915, 10.6388702, -93.6623535)
  1608. o75.Parent = o74
  1609. o75.MeshType = Enum.MeshType.Wedge
  1610. o76.Name = "D2"
  1611. o76.Parent = o73
  1612. o76.Material = Enum.Material.SmoothPlastic
  1613. o76.BrickColor = BrickColor.new("Quill grey")
  1614. o76.Position = Vector3.new(-136.398056, 12.5389881, -93.6624146)
  1615. o76.Rotation = Vector3.new(-180, 0, -0.219999999)
  1616. o76.CanCollide = false
  1617. o76.Size = Vector3.new(4.99999666, 2.00000024, 1.39999938)
  1618. o76.CFrame = CFrame.new(-136.398056, 12.5389881, -93.6624146, 0.999992967, 0.00388663309, 3.11172357e-07, 0.00389489438, -0.999993384, 1.32698508e-09, 3.12337249e-07, -1.19424637e-10, -1)
  1619. o76.BackSurface = Enum.SurfaceType.Weld
  1620. o76.BottomSurface = Enum.SurfaceType.Weld
  1621. o76.FrontSurface = Enum.SurfaceType.Weld
  1622. o76.LeftSurface = Enum.SurfaceType.Weld
  1623. o76.RightSurface = Enum.SurfaceType.Weld
  1624. o76.TopSurface = Enum.SurfaceType.Smooth
  1625. o76.Color = Color3.new(0.87451, 0.87451, 0.870588)
  1626. o76.Position = Vector3.new(-136.398056, 12.5389881, -93.6624146)
  1627. o77.Name = "D4"
  1628. o77.Parent = o73
  1629. o77.Material = Enum.Material.SmoothPlastic
  1630. o77.BrickColor = BrickColor.new("Quill grey")
  1631. o77.Position = Vector3.new(-136.40538, 14.4388809, -93.6624146)
  1632. o77.Rotation = Vector3.new(0, 0, 0.219999999)
  1633. o77.CanCollide = false
  1634. o77.FormFactor = Enum.FormFactor.Symmetric
  1635. o77.Size = Vector3.new(4.99999952, 1.79999995, 1.39999986)
  1636. o77.CFrame = CFrame.new(-136.40538, 14.4388809, -93.6624146, 0.999992967, -0.00388559909, -3.13348892e-07, 0.00389386038, 0.999993384, -1.33431799e-09, 3.14513812e-07, 1.18605264e-10, 1)
  1637. o77.BackSurface = Enum.SurfaceType.Weld
  1638. o77.BottomSurface = Enum.SurfaceType.Weld
  1639. o77.TopSurface = Enum.SurfaceType.Weld
  1640. o77.Color = Color3.new(0.87451, 0.87451, 0.870588)
  1641. o77.Position = Vector3.new(-136.40538, 14.4388809, -93.6624146)
  1642. o78.Parent = o77
  1643. o78.MeshType = Enum.MeshType.Wedge
  1644. o79.Name = "D1"
  1645. o79.Parent = o73
  1646. o79.Material = Enum.Material.SmoothPlastic
  1647. o79.BrickColor = BrickColor.new("Mid gray")
  1648. o79.Position = Vector3.new(-136.411758, 16.1388741, -92.0623856)
  1649. o79.Rotation = Vector3.new(0, 0, 0.219999999)
  1650. o79.CanCollide = false
  1651. o79.FormFactor = Enum.FormFactor.Symmetric
  1652. o79.Size = Vector3.new(4.99999857, 1.5999999, 1.79999995)
  1653. o79.CFrame = CFrame.new(-136.411758, 16.1388741, -92.0623856, 0.999993205, -0.00383650349, -3.06582081e-07, 0.00384476478, 0.999993622, -1.29516609e-09, 3.07746916e-07, 1.20911767e-10, 1)
  1654. o79.BackSurface = Enum.SurfaceType.Weld
  1655. o79.BottomSurface = Enum.SurfaceType.Weld
  1656. o79.TopSurface = Enum.SurfaceType.Weld
  1657. o79.Color = Color3.new(0.803922, 0.803922, 0.803922)
  1658. o79.Position = Vector3.new(-136.411758, 16.1388741, -92.0623856)
  1659. o80.Parent = o79
  1660. o80.MeshType = Enum.MeshType.Wedge
  1661. o81.Name = "Open"
  1662. o81.Parent = o73
  1663. o81.Material = Enum.Material.Neon
  1664. o81.BrickColor = BrickColor.new("Lime green")
  1665. o81.Position = Vector3.new(-134.234482, 11.4997835, -85.6711426)
  1666. o81.Rotation = Vector3.new(0, 0, 0.219999999)
  1667. o81.Size = Vector3.new(0.39999938, 0.400000036, 0.199999854)
  1668. o81.CFrame = CFrame.new(-134.234482, 11.4997835, -85.6711426, 0.999992549, -0.00385993393, -3.07300411e-07, 0.00385993393, 0.999992549, -1.31626632e-09, 3.07303196e-07, 1.30095823e-10, 1)
  1669. o81.BackSurface = Enum.SurfaceType.Weld
  1670. o81.BottomSurface = Enum.SurfaceType.Smooth
  1671. o81.TopSurface = Enum.SurfaceType.Smooth
  1672. o81.Color = Color3.new(0, 1, 0)
  1673. o81.Position = Vector3.new(-134.234482, 11.4997835, -85.6711426)
  1674. o82.Parent = o81
  1675. o83.Name = "Close"
  1676. o83.Parent = o73
  1677. o83.Material = Enum.Material.Neon
  1678. o83.BrickColor = BrickColor.new("Really red")
  1679. o83.Position = Vector3.new(-134.834457, 11.497468, -85.6712646)
  1680. o83.Rotation = Vector3.new(0, 0, 0.219999999)
  1681. o83.Size = Vector3.new(0.39999938, 0.400000036, 0.199999854)
  1682. o83.CFrame = CFrame.new(-134.834457, 11.497468, -85.6712646, 0.999992549, -0.00385993393, -3.07300411e-07, 0.00385993393, 0.999992549, -1.31626632e-09, 3.07303196e-07, 1.30095823e-10, 1)
  1683. o83.BackSurface = Enum.SurfaceType.Weld
  1684. o83.BottomSurface = Enum.SurfaceType.Smooth
  1685. o83.TopSurface = Enum.SurfaceType.Smooth
  1686. o83.Color = Color3.new(1, 0, 0)
  1687. o83.Position = Vector3.new(-134.834457, 11.497468, -85.6712646)
  1688. o84.Parent = o83
  1689. o85.Name = "DoorScript"
  1690. o85.Parent = o73
  1691.  
  1692. runDummyScript(function()
  1693. local D1 = script.Parent.D1
  1694. local D2 = script.Parent.D2
  1695. local D3 = script.Parent.D3
  1696. local D4 = script.Parent.D4
  1697.  
  1698. function Open(opens)
  1699. D1.CanCollide = false
  1700. D2.CanCollide = false
  1701. D3.CanCollide = false
  1702. D4.CanCollide = false
  1703. end
  1704.  
  1705. script.Parent.Open.ClickDetector.MouseClick:connect(Open)
  1706.  
  1707. function Close(closes)
  1708. D1.CanCollide = true
  1709. D2.CanCollide = true
  1710. D3.CanCollide = true
  1711. D4.CanCollide = true
  1712. end
  1713.  
  1714. script.Parent.Close.ClickDetector.MouseClick:connect(Close)
  1715. end,o85)
  1716.  
  1717. o86.Parent = o5
  1718. o86.Material = Enum.Material.SmoothPlastic
  1719. o86.BrickColor = BrickColor.new("Black")
  1720. o86.Position = Vector3.new(-136.312637, 12.4150658, -91.9942627)
  1721. o86.Rotation = Vector3.new(-90, -0.219999999, 180)
  1722. o86.CanCollide = false
  1723. o86.Size = Vector3.new(1.34999979, 0.379999965, 2)
  1724. o86.CFrame = CFrame.new(-136.312637, 12.4150658, -91.9942627, -0.999992549, -3.08399422e-07, -0.00386700151, -0.00386700127, -1.30889932e-09, 0.999992609, -3.08402207e-07, 1, 1.16308664e-10)
  1725. o86.BottomSurface = Enum.SurfaceType.Weld
  1726. o86.TopSurface = Enum.SurfaceType.Smooth
  1727. o86.MaxSpeed = 18
  1728. o86.TurnSpeed = 50
  1729. o86.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1730. o86.Position = Vector3.new(-136.312637, 12.4150658, -91.9942627)
  1731. o87.Name = "BoosterSystem"
  1732. o87.Parent = o5
  1733. o88.Name = "BoosterButton"
  1734. o88.Parent = o87
  1735. o88.Material = Enum.Material.Neon
  1736. o88.BrickColor = BrickColor.new("New Yeller")
  1737. o88.Position = Vector3.new(-137.686157, 11.9248848, -85.6220093)
  1738. o88.Rotation = Vector3.new(-90, -0.219999999, 0)
  1739. o88.Size = Vector3.new(0.50000006, 0.100000009, 0.5)
  1740. o88.CFrame = CFrame.new(-137.686157, 11.9248848, -85.6220093, 0.999992549, 3.07300411e-07, -0.00385993393, 0.00385993393, 1.31626632e-09, 0.999992549, 3.07303196e-07, -1, 1.30095823e-10)
  1741. o88.BackSurface = Enum.SurfaceType.Weld
  1742. o88.BottomSurface = Enum.SurfaceType.Weld
  1743. o88.FrontSurface = Enum.SurfaceType.Weld
  1744. o88.LeftSurface = Enum.SurfaceType.Weld
  1745. o88.RightSurface = Enum.SurfaceType.Weld
  1746. o88.TopSurface = Enum.SurfaceType.Smooth
  1747. o88.Color = Color3.new(1, 1, 0)
  1748. o88.Position = Vector3.new(-137.686157, 11.9248848, -85.6220093)
  1749. o89.Name = "BoosterScript"
  1750. o89.Parent = o88
  1751.  
  1752. runDummyScript(function()
  1753. -- This Script activates "Booster Mode"--
  1754.  
  1755. local MainSeat = script.Parent.Parent.Parent.VehicleSeat
  1756. local Boost1 = script.Parent.Parent.Booster1.Fire
  1757. local Boost2 = script.Parent.Parent.Booster2.Fire2
  1758. local F1 = script.Parent.Parent.F1
  1759. local F2 = script.Parent.Parent.F2
  1760. local F3 = script.Parent.Parent.F3
  1761. local Sound = script.Parent.Parent.Sound
  1762. BoostersCanBeUsed = true
  1763. function Boosting(Boosts)
  1764. if BoostersCanBeUsed == true then
  1765. Sound:Play()
  1766. BoostersCanBeUsed = false
  1767. print(BoostersCanBeUsed)
  1768. MainSeat.MaxSpeed = 50
  1769. Boost1.Enabled = true
  1770. Boost2.Enabled = true
  1771. wait(4)
  1772. F1.BrickColor = BrickColor.Black()
  1773. wait(4)
  1774. F2.BrickColor = BrickColor.Black()
  1775. wait(4)
  1776. F3.BrickColor = BrickColor.Black()
  1777. MainSeat.MaxSpeed = 18
  1778. Boost1.Enabled = false
  1779. Boost2.Enabled = false
  1780. Sound:Stop()
  1781. wait(1)
  1782. F1.BrickColor = BrickColor.new("Forest green")
  1783. wait(1)
  1784. F2.BrickColor = BrickColor.new("Forest green")
  1785. wait(1)
  1786. F3.BrickColor = BrickColor.new("Forest green")
  1787. wait(3)
  1788. BoostersCanBeUsed = true
  1789. print(BoostersCanBeUsed)
  1790. end
  1791. end
  1792.  
  1793. script.Parent.ClickDetector.MouseClick:connect(Boosting)
  1794. end,o89)
  1795.  
  1796. o90.Parent = o88
  1797. o91.Name = "Booster1"
  1798. o91.Parent = o87
  1799. o91.Material = Enum.Material.SmoothPlastic
  1800. o91.BrickColor = BrickColor.new("Really black")
  1801. o91.Position = Vector3.new(-131.306717, 14.7583027, -92.8624191)
  1802. o91.Rotation = Vector3.new(90.0099945, -89.8099976, -179.98999)
  1803. o91.Size = Vector3.new(2, 0.200000003, 2)
  1804. o91.CFrame = CFrame.new(-131.306717, 14.7583027, -92.8624191, -0.0034064427, 3.15561152e-07, -0.999994695, 0.999995172, 1.34493883e-09, -0.003414704, 2.72373846e-10, -1, -3.16726016e-07)
  1805. o91.BackSurface = Enum.SurfaceType.Weld
  1806. o91.BottomSurface = Enum.SurfaceType.Weld
  1807. o91.FrontSurface = Enum.SurfaceType.Weld
  1808. o91.LeftSurface = Enum.SurfaceType.Weld
  1809. o91.RightSurface = Enum.SurfaceType.Weld
  1810. o91.TopSurface = Enum.SurfaceType.Smooth
  1811. o91.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1812. o91.Position = Vector3.new(-131.306717, 14.7583027, -92.8624191)
  1813. o92.Parent = o91
  1814. o92.Size = 6
  1815. o92.Color = Color3.new(0.666667, 1, 0)
  1816. o92.Enabled = false
  1817. o92.Heat = 25
  1818. o93.Name = "Booster2"
  1819. o93.Parent = o87
  1820. o93.Material = Enum.Material.SmoothPlastic
  1821. o93.BrickColor = BrickColor.new("Really black")
  1822. o93.Position = Vector3.new(-141.506607, 14.719121, -92.8624191)
  1823. o93.Rotation = Vector3.new(90.0099945, -89.8199997, -179.98999)
  1824. o93.Size = Vector3.new(2, 0.200000003, 2)
  1825. o93.CFrame = CFrame.new(-141.506607, 14.719121, -92.8624191, -0.00344607001, 3.19569352e-07, -0.999995291, 0.999996185, 1.35752398e-09, -0.00346259167, 2.60857808e-10, -1, -3.2189638e-07)
  1826. o93.BackSurface = Enum.SurfaceType.Weld
  1827. o93.BottomSurface = Enum.SurfaceType.Weld
  1828. o93.FrontSurface = Enum.SurfaceType.Weld
  1829. o93.LeftSurface = Enum.SurfaceType.Weld
  1830. o93.RightSurface = Enum.SurfaceType.Weld
  1831. o93.TopSurface = Enum.SurfaceType.Smooth
  1832. o93.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1833. o93.Position = Vector3.new(-141.506607, 14.719121, -92.8624191)
  1834. o94.Name = "Fire2"
  1835. o94.Parent = o93
  1836. o94.Size = 6
  1837. o94.Color = Color3.new(0.666667, 1, 0)
  1838. o94.Enabled = false
  1839. o94.Heat = 25
  1840. o95.Name = "F3"
  1841. o95.Parent = o87
  1842. o95.Material = Enum.Material.SmoothPlastic
  1843. o95.BrickColor = BrickColor.new("Forest green")
  1844. o95.Position = Vector3.new(-137.324097, 11.3746824, -85.5960693)
  1845. o95.Rotation = Vector3.new(-90, -0.219999999, 0)
  1846. o95.Size = Vector3.new(0.250000119, 0.0500000119, 0.250000119)
  1847. o95.CFrame = CFrame.new(-137.324097, 11.3746824, -85.5960693, 0.999992549, 3.07300411e-07, -0.00385993393, 0.00385993393, 1.31626632e-09, 0.999992549, 3.07303196e-07, -1, 1.30095823e-10)
  1848. o95.BackSurface = Enum.SurfaceType.Weld
  1849. o95.BottomSurface = Enum.SurfaceType.Weld
  1850. o95.FrontSurface = Enum.SurfaceType.Weld
  1851. o95.LeftSurface = Enum.SurfaceType.Weld
  1852. o95.RightSurface = Enum.SurfaceType.Weld
  1853. o95.TopSurface = Enum.SurfaceType.Smooth
  1854. o95.Color = Color3.new(0.121569, 0.501961, 0.113725)
  1855. o95.Position = Vector3.new(-137.324097, 11.3746824, -85.5960693)
  1856. o96.Name = "F2"
  1857. o96.Parent = o87
  1858. o96.Material = Enum.Material.SmoothPlastic
  1859. o96.BrickColor = BrickColor.new("Forest green")
  1860. o96.Position = Vector3.new(-137.684647, 11.373291, -85.5960693)
  1861. o96.Rotation = Vector3.new(-90, -0.219999999, 0)
  1862. o96.Size = Vector3.new(0.250000119, 0.0500000119, 0.250000119)
  1863. o96.CFrame = CFrame.new(-137.684647, 11.373291, -85.5960693, 0.999992549, 3.07300411e-07, -0.00385993393, 0.00385993393, 1.31626632e-09, 0.999992549, 3.07303196e-07, -1, 1.30095823e-10)
  1864. o96.BackSurface = Enum.SurfaceType.Weld
  1865. o96.BottomSurface = Enum.SurfaceType.Weld
  1866. o96.FrontSurface = Enum.SurfaceType.Weld
  1867. o96.LeftSurface = Enum.SurfaceType.Weld
  1868. o96.RightSurface = Enum.SurfaceType.Weld
  1869. o96.TopSurface = Enum.SurfaceType.Smooth
  1870. o96.Color = Color3.new(0.121569, 0.501961, 0.113725)
  1871. o96.Position = Vector3.new(-137.684647, 11.373291, -85.5960693)
  1872. o97.Name = "F1"
  1873. o97.Parent = o87
  1874. o97.Material = Enum.Material.SmoothPlastic
  1875. o97.BrickColor = BrickColor.new("Forest green")
  1876. o97.Position = Vector3.new(-138.03064, 11.3719559, -85.5960693)
  1877. o97.Rotation = Vector3.new(-90, -0.219999999, 0)
  1878. o97.Size = Vector3.new(0.250000119, 0.0500000119, 0.250000119)
  1879. o97.CFrame = CFrame.new(-138.03064, 11.3719559, -85.5960693, 0.999992549, 3.07300411e-07, -0.00385993393, 0.00385993393, 1.31626632e-09, 0.999992549, 3.07303196e-07, -1, 1.30095823e-10)
  1880. o97.BackSurface = Enum.SurfaceType.Weld
  1881. o97.BottomSurface = Enum.SurfaceType.Weld
  1882. o97.FrontSurface = Enum.SurfaceType.Weld
  1883. o97.LeftSurface = Enum.SurfaceType.Weld
  1884. o97.RightSurface = Enum.SurfaceType.Weld
  1885. o97.TopSurface = Enum.SurfaceType.Smooth
  1886. o97.Color = Color3.new(0.121569, 0.501961, 0.113725)
  1887. o97.Position = Vector3.new(-138.03064, 11.3719559, -85.5960693)
  1888. o98.Parent = o87
  1889. o98.SoundId = "rbxasset://sounds/Rocket whoosh 01.wav"
  1890. o98.Looped = true
  1891. o99.Parent = o5
  1892. o100.Name = "Self-Destruct System"
  1893. o100.Parent = o99
  1894. o101.Name = "ExplosionButton"
  1895. o101.Parent = o100
  1896. o101.Material = Enum.Material.Neon
  1897. o101.BrickColor = BrickColor.new("Really red")
  1898. o101.Position = Vector3.new(-138.542694, 11.9215803, -85.6213379)
  1899. o101.Rotation = Vector3.new(-90, -0.219999999, 0)
  1900. o101.Size = Vector3.new(0.50000006, 0.100000009, 0.5)
  1901. o101.CFrame = CFrame.new(-138.542694, 11.9215803, -85.6213379, 0.999992549, 3.07300411e-07, -0.00385993393, 0.00385993393, 1.31626632e-09, 0.999992549, 3.07303196e-07, -1, 1.30095823e-10)
  1902. o101.BackSurface = Enum.SurfaceType.Weld
  1903. o101.BottomSurface = Enum.SurfaceType.Weld
  1904. o101.FrontSurface = Enum.SurfaceType.Weld
  1905. o101.LeftSurface = Enum.SurfaceType.Weld
  1906. o101.RightSurface = Enum.SurfaceType.Weld
  1907. o101.TopSurface = Enum.SurfaceType.Smooth
  1908. o101.Color = Color3.new(1, 0, 0)
  1909. o101.Position = Vector3.new(-138.542694, 11.9215803, -85.6213379)
  1910. o102.Parent = o101
  1911. o103.Name = "Core"
  1912. o103.Parent = o100
  1913. o103.Material = Enum.Material.SmoothPlastic
  1914. o103.Transparency = 1
  1915. o103.Position = Vector3.new(-136.338455, 12.6336546, -92.5733643)
  1916. o103.Rotation = Vector3.new(0, 0, 0.219999999)
  1917. o103.CanCollide = false
  1918. o103.Size = Vector3.new(1.399997, 1.60000014, 0.780000091)
  1919. o103.CFrame = CFrame.new(-136.338455, 12.6336546, -92.5733643, 0.999992549, -0.00387441297, -3.09448865e-07, 0.00387441274, 0.999992609, -1.31453959e-09, 3.0945165e-07, 1.15597289e-10, 1)
  1920. o103.BackSurface = Enum.SurfaceType.Weld
  1921. o103.BottomSurface = Enum.SurfaceType.Weld
  1922. o103.FrontSurface = Enum.SurfaceType.Weld
  1923. o103.LeftSurface = Enum.SurfaceType.Weld
  1924. o103.RightSurface = Enum.SurfaceType.Weld
  1925. o103.TopSurface = Enum.SurfaceType.Smooth
  1926. o103.Position = Vector3.new(-136.338455, 12.6336546, -92.5733643)
  1927. o104.Name = "MechExplosionScript"
  1928. o104.Parent = o103
  1929.  
  1930. runDummyScript(function()
  1931. local x = 1
  1932. local ExplosionSound = script.Parent.Sound
  1933. local Alarm = script.Parent.Parent.Light.PointLight
  1934. function Explosion(Explodes)
  1935. Alarm.Enabled = true
  1936. wait(0.5)
  1937. Alarm.Enabled = false
  1938. wait(0.5)
  1939. Alarm.Enabled = true
  1940. wait(0.5)
  1941. Alarm.Enabled = false
  1942. wait(0.5)
  1943. Alarm.Enabled = true
  1944. wait(0.5)
  1945. Alarm.Enabled = false
  1946. wait(0.5)
  1947. Alarm.Enabled = true
  1948. wait(0.5)
  1949. Alarm.Enabled = false
  1950. wait(0.5)
  1951. Alarm.Enabled = true
  1952. wait(0.5)
  1953. Alarm.Enabled = false
  1954. wait(0.5)
  1955. Alarm.Enabled = true
  1956. wait(0.5)
  1957. Alarm.Enabled = false
  1958. wait(0.5)
  1959. wait(2)
  1960. ExplosionSound:Play()
  1961. local Boom = Instance.new("Explosion")
  1962. Boom.Parent = game.Workspace
  1963. Boom.Position = script.Parent.Parent.Core.Position
  1964. Boom.BlastRadius = 75
  1965. end
  1966.  
  1967. script.Parent.Parent.ExplosionButton.ClickDetector.MouseClick:connect(Explosion)
  1968. end,o104)
  1969.  
  1970. o105.Parent = o103
  1971. o105.SoundId = "rbxassetid://144699494"
  1972. o105.Volume = 1.5
  1973. o106.Name = "Light"
  1974. o106.Parent = o100
  1975. o106.Material = Enum.Material.Neon
  1976. o106.BrickColor = BrickColor.new("Really red")
  1977. o106.Position = Vector3.new(-136.398834, 15.3139372, -90.0123901)
  1978. o106.Rotation = Vector3.new(0, 0, 0.219999999)
  1979. o106.Size = Vector3.new(1, 0.0500000007, 1)
  1980. o106.CFrame = CFrame.new(-136.398834, 15.3139372, -90.0123901, 0.999993026, -0.00388078252, -3.13499214e-07, 0.00388904405, 0.999993443, -1.3262369e-09, 3.14664106e-07, 1.1145445e-10, 1)
  1981. o106.BackSurface = Enum.SurfaceType.Weld
  1982. o106.BottomSurface = Enum.SurfaceType.Weld
  1983. o106.FrontSurface = Enum.SurfaceType.Weld
  1984. o106.LeftSurface = Enum.SurfaceType.Weld
  1985. o106.RightSurface = Enum.SurfaceType.Weld
  1986. o106.TopSurface = Enum.SurfaceType.Smooth
  1987. o106.Color = Color3.new(1, 0, 0)
  1988. o106.Position = Vector3.new(-136.398834, 15.3139372, -90.0123901)
  1989. o107.Parent = o106
  1990. o107.Color = Color3.new(1, 0, 0)
  1991. o107.Enabled = false
  1992. o107.Brightness = 10
  1993. o108.Parent = o99
  1994. o108.Material = Enum.Material.SmoothPlastic
  1995. o108.Position = Vector3.new(-139.391022, 10.6272221, -93.6623535)
  1996. o108.Rotation = Vector3.new(0, 0, -179.779999)
  1997. o108.FormFactor = Enum.FormFactor.Symmetric
  1998. o108.Size = Vector3.new(1, 1.79999995, 1.39999986)
  1999. o108.CFrame = CFrame.new(-139.391022, 10.6272221, -93.6623535, -0.999992907, 0.00390883349, -3.16962655e-07, -0.00391709479, -0.999993324, -1.35288869e-09, -3.18127604e-07, -1.15712787e-10, 1)
  2000. o108.BackSurface = Enum.SurfaceType.Weld
  2001. o108.BottomSurface = Enum.SurfaceType.Weld
  2002. o108.TopSurface = Enum.SurfaceType.Weld
  2003. o108.Position = Vector3.new(-139.391022, 10.6272221, -93.6623535)
  2004. o109.Parent = o108
  2005. o109.MeshType = Enum.MeshType.Wedge
  2006. o110.Parent = o99
  2007. o110.Material = Enum.Material.SmoothPlastic
  2008. o110.Position = Vector3.new(-136.38559, 9.23888493, -89.062439)
  2009. o110.Rotation = Vector3.new(-180, 0, 179.769989)
  2010. o110.FormFactor = Enum.FormFactor.Symmetric
  2011. o110.Size = Vector3.new(7, 1, 3)
  2012. o110.CFrame = CFrame.new(-136.38559, 9.23888493, -89.062439, -0.999992788, -0.00394192152, 3.21631603e-07, -0.00395018281, 0.999993205, 1.35352307e-09, -3.22796524e-07, 8.73777509e-11, -1)
  2013. o110.BottomSurface = Enum.SurfaceType.Smooth
  2014. o110.TopSurface = Enum.SurfaceType.Weld
  2015. o110.Position = Vector3.new(-136.38559, 9.23888493, -89.062439)
  2016. o111.Parent = o99
  2017. o111.Material = Enum.Material.SmoothPlastic
  2018. o111.Position = Vector3.new(-134.295563, 11.8470898, -90.2623901)
  2019. o111.Rotation = Vector3.new(-90, 89.7900009, 90)
  2020. o111.FormFactor = Enum.FormFactor.Symmetric
  2021. o111.Size = Vector3.new(5.40000153, 2.20000005, 0.799999833)
  2022. o111.CFrame = CFrame.new(-134.295563, 11.8470898, -90.2623901, 2.96365215e-07, -0.00382916396, 0.999993205, 1.25075272e-09, 0.999993622, 0.00383742526, -1, 1.17963972e-10, 2.97529937e-07)
  2023. o111.BackSurface = Enum.SurfaceType.Weld
  2024. o111.BottomSurface = Enum.SurfaceType.Weld
  2025. o111.TopSurface = Enum.SurfaceType.Weld
  2026. o111.Position = Vector3.new(-134.295563, 11.8470898, -90.2623901)
  2027. o112.Parent = o111
  2028. o112.MeshType = Enum.MeshType.Wedge
  2029. o113.Parent = o99
  2030. o113.Material = Enum.Material.SmoothPlastic
  2031. o113.Position = Vector3.new(-139.411987, 16.1272125, -92.062439)
  2032. o113.Rotation = Vector3.new(0, 0, 0.219999999)
  2033. o113.FormFactor = Enum.FormFactor.Symmetric
  2034. o113.Size = Vector3.new(0.999999106, 1.5999999, 1.79999995)
  2035. o113.CFrame = CFrame.new(-139.411987, 16.1272125, -92.062439, 0.999992907, -0.00390964467, -3.17070402e-07, 0.00391790597, 0.999993324, -1.33432276e-09, 3.18235294e-07, 9.64668206e-11, 1)
  2036. o113.BackSurface = Enum.SurfaceType.Weld
  2037. o113.BottomSurface = Enum.SurfaceType.Weld
  2038. o113.TopSurface = Enum.SurfaceType.Weld
  2039. o113.Position = Vector3.new(-139.411987, 16.1272125, -92.062439)
  2040. o114.Parent = o113
  2041. o114.MeshType = Enum.MeshType.Wedge
  2042. o115.Parent = o99
  2043. o115.Material = Enum.Material.Neon
  2044. o115.BrickColor = BrickColor.new("Electric blue")
  2045. o115.Position = Vector3.new(-133.924484, 13.0484543, -90.2623901)
  2046. o115.Rotation = Vector3.new(0, 0, 0.219999999)
  2047. o115.Size = Vector3.new(0.0500000007, 0.200000003, 5.39999866)
  2048. o115.CFrame = CFrame.new(-133.924484, 13.0484543, -90.2623901, 0.999993086, -0.00385521143, -3.09167092e-07, 0.00386347272, 0.999993503, -1.30257616e-09, 3.10331899e-07, 1.12577392e-10, 1)
  2049. o115.BackSurface = Enum.SurfaceType.Weld
  2050. o115.BottomSurface = Enum.SurfaceType.Weld
  2051. o115.FrontSurface = Enum.SurfaceType.Weld
  2052. o115.LeftSurface = Enum.SurfaceType.Weld
  2053. o115.RightSurface = Enum.SurfaceType.Weld
  2054. o115.TopSurface = Enum.SurfaceType.Smooth
  2055. o115.Color = Color3.new(0.0352941, 0.537255, 0.811765)
  2056. o115.Position = Vector3.new(-133.924484, 13.0484543, -90.2623901)
  2057. o116.Parent = o99
  2058. o116.Material = Enum.Material.SmoothPlastic
  2059. o116.Position = Vector3.new(-133.400177, 13.0506907, -90.2623901)
  2060. o116.Rotation = Vector3.new(0, 0, 0.219999999)
  2061. o116.Size = Vector3.new(0.999997079, 4.5999999, 5.39999866)
  2062. o116.CFrame = CFrame.new(-133.400177, 13.0506907, -90.2623901, 0.999993026, -0.00386912725, -3.02358785e-07, 0.00387738855, 0.999993443, -1.26520761e-09, 3.03523507e-07, 9.72889616e-11, 1)
  2063. o116.BackSurface = Enum.SurfaceType.Weld
  2064. o116.BottomSurface = Enum.SurfaceType.Weld
  2065. o116.FrontSurface = Enum.SurfaceType.Weld
  2066. o116.LeftSurface = Enum.SurfaceType.Weld
  2067. o116.RightSurface = Enum.SurfaceType.Weld
  2068. o116.TopSurface = Enum.SurfaceType.Smooth
  2069. o116.Position = Vector3.new(-133.400177, 13.0506907, -90.2623901)
  2070. o117.Parent = o99
  2071. o117.Material = Enum.Material.SmoothPlastic
  2072. o117.Position = Vector3.new(-138.5047, 14.2307224, -90.2623901)
  2073. o117.Rotation = Vector3.new(90, -89.7900009, -90)
  2074. o117.FormFactor = Enum.FormFactor.Symmetric
  2075. o117.Size = Vector3.new(5.40000153, 2.20000005, 0.799999833)
  2076. o117.CFrame = CFrame.new(-138.5047, 14.2307224, -90.2623901, 2.92243811e-07, 0.00382190244, -0.999993265, 1.21178967e-09, -0.999993682, -0.00383016351, -1, -9.6947457e-11, -2.93408419e-07)
  2077. o117.BackSurface = Enum.SurfaceType.Weld
  2078. o117.BottomSurface = Enum.SurfaceType.Weld
  2079. o117.TopSurface = Enum.SurfaceType.Weld
  2080. o117.Position = Vector3.new(-138.5047, 14.2307224, -90.2623901)
  2081. o118.Parent = o117
  2082. o118.MeshType = Enum.MeshType.Wedge
  2083. o119.Parent = o99
  2084. o119.Material = Enum.Material.SmoothPlastic
  2085. o119.Position = Vector3.new(-134.304718, 14.2471066, -90.2623901)
  2086. o119.Rotation = Vector3.new(-90, 89.7900009, -90)
  2087. o119.FormFactor = Enum.FormFactor.Symmetric
  2088. o119.Size = Vector3.new(5.40000153, 2.20000005, 0.799999833)
  2089. o119.CFrame = CFrame.new(-134.304718, 14.2471066, -90.2623901, -3.10727444e-07, 0.00386843714, 0.999993026, -1.31857103e-09, -0.999993443, 0.00387669844, 1, -1.18418705e-10, 3.11892308e-07)
  2090. o119.BackSurface = Enum.SurfaceType.Weld
  2091. o119.BottomSurface = Enum.SurfaceType.Weld
  2092. o119.TopSurface = Enum.SurfaceType.Weld
  2093. o119.Position = Vector3.new(-134.304718, 14.2471066, -90.2623901)
  2094. o120.Parent = o119
  2095. o120.MeshType = Enum.MeshType.Wedge
  2096. o121.Parent = o99
  2097. o121.Material = Enum.Material.SmoothPlastic
  2098. o121.Position = Vector3.new(-139.400116, 13.0271254, -90.2623901)
  2099. o121.Rotation = Vector3.new(0, 0, 0.219999999)
  2100. o121.Size = Vector3.new(0.999997079, 4.5999999, 5.39999866)
  2101. o121.CFrame = CFrame.new(-139.400116, 13.0271254, -90.2623901, 0.999993026, -0.00387678109, -3.12344838e-07, 0.00388504239, 0.999993443, -1.31730349e-09, 3.13509702e-07, 1.08265084e-10, 1)
  2102. o121.BackSurface = Enum.SurfaceType.Weld
  2103. o121.BottomSurface = Enum.SurfaceType.Weld
  2104. o121.FrontSurface = Enum.SurfaceType.Weld
  2105. o121.LeftSurface = Enum.SurfaceType.Weld
  2106. o121.RightSurface = Enum.SurfaceType.Weld
  2107. o121.TopSurface = Enum.SurfaceType.Smooth
  2108. o121.Position = Vector3.new(-139.400116, 13.0271254, -90.2623901)
  2109. o122.Parent = o99
  2110. o122.Material = Enum.Material.Neon
  2111. o122.BrickColor = BrickColor.new("Electric blue")
  2112. o122.Position = Vector3.new(-138.875092, 13.0293636, -90.2623901)
  2113. o122.Rotation = Vector3.new(0, 0, 0.219999999)
  2114. o122.Size = Vector3.new(0.0500000007, 0.200000003, 5.39999866)
  2115. o122.CFrame = CFrame.new(-138.875092, 13.0293636, -90.2623901, 0.999992967, -0.00388980261, -3.14229197e-07, 0.00389806391, 0.999993384, -1.33473788e-09, 3.15394118e-07, 1.14271606e-10, 1)
  2116. o122.BackSurface = Enum.SurfaceType.Weld
  2117. o122.BottomSurface = Enum.SurfaceType.Weld
  2118. o122.FrontSurface = Enum.SurfaceType.Weld
  2119. o122.LeftSurface = Enum.SurfaceType.Weld
  2120. o122.RightSurface = Enum.SurfaceType.Weld
  2121. o122.TopSurface = Enum.SurfaceType.Smooth
  2122. o122.Color = Color3.new(0.0352941, 0.537255, 0.811765)
  2123. o122.Position = Vector3.new(-138.875092, 13.0293636, -90.2623901)
  2124. o123.Parent = o99
  2125. o123.Material = Enum.Material.SmoothPlastic
  2126. o123.Position = Vector3.new(-133.391006, 10.6505375, -93.6623535)
  2127. o123.Rotation = Vector3.new(0, 0, -179.779999)
  2128. o123.FormFactor = Enum.FormFactor.Symmetric
  2129. o123.Size = Vector3.new(1, 1.79999995, 1.39999986)
  2130. o123.CFrame = CFrame.new(-133.391006, 10.6505375, -93.6623535, -0.999993026, 0.00386983855, -3.11498411e-07, -0.00387809984, -0.999993443, -1.31491795e-09, -3.12663275e-07, -1.1133864e-10, 1)
  2131. o123.BackSurface = Enum.SurfaceType.Weld
  2132. o123.BottomSurface = Enum.SurfaceType.Weld
  2133. o123.TopSurface = Enum.SurfaceType.Weld
  2134. o123.Position = Vector3.new(-133.391006, 10.6505375, -93.6623535)
  2135. o124.Parent = o123
  2136. o124.MeshType = Enum.MeshType.Wedge
  2137. o125.Parent = o99
  2138. o125.Material = Enum.Material.SmoothPlastic
  2139. o125.Position = Vector3.new(-136.413895, 16.6389523, -88.4624023)
  2140. o125.Rotation = Vector3.new(-180, 0, 179.779999)
  2141. o125.FormFactor = Enum.FormFactor.Symmetric
  2142. o125.Size = Vector3.new(7.00000143, 0.599999845, 1.79999995)
  2143. o125.CFrame = CFrame.new(-136.413895, 16.6389523, -88.4624023, -0.999993086, -0.00386519334, 3.10375526e-07, -0.00387345464, 0.999993503, 1.32054589e-09, -3.11540418e-07, 1.22768462e-10, -1)
  2144. o125.BackSurface = Enum.SurfaceType.Weld
  2145. o125.BottomSurface = Enum.SurfaceType.Weld
  2146. o125.TopSurface = Enum.SurfaceType.Weld
  2147. o125.Position = Vector3.new(-136.413895, 16.6389523, -88.4624023)
  2148. o126.Parent = o125
  2149. o126.MeshType = Enum.MeshType.Wedge
  2150. o127.Parent = o99
  2151. o127.Material = Enum.Material.SmoothPlastic
  2152. o127.Position = Vector3.new(-136.411896, 16.1388988, -90.2623901)
  2153. o127.Rotation = Vector3.new(0, 0, 0.219999999)
  2154. o127.Size = Vector3.new(6.99999809, 1.60000014, 1.79999948)
  2155. o127.CFrame = CFrame.new(-136.411896, 16.1388988, -90.2623901, 0.999993324, -0.00380041846, -3.01489166e-07, 0.00380867976, 0.999993742, -1.27796096e-09, 3.02653973e-07, 1.3420913e-10, 1)
  2156. o127.BackSurface = Enum.SurfaceType.Weld
  2157. o127.BottomSurface = Enum.SurfaceType.Weld
  2158. o127.FrontSurface = Enum.SurfaceType.Weld
  2159. o127.LeftSurface = Enum.SurfaceType.Weld
  2160. o127.RightSurface = Enum.SurfaceType.Weld
  2161. o127.TopSurface = Enum.SurfaceType.Smooth
  2162. o127.Position = Vector3.new(-136.411896, 16.1388988, -90.2623901)
  2163. o128.Parent = o99
  2164. o128.Material = Enum.Material.SmoothPlastic
  2165. o128.Position = Vector3.new(-136.385925, 9.23890209, -91.7622681)
  2166. o128.Rotation = Vector3.new(0, 0, 0.219999999)
  2167. o128.Size = Vector3.new(6.99999475, 1, 2.39999962)
  2168. o128.CFrame = CFrame.new(-136.385925, 9.23890209, -91.7622681, 0.999993026, -0.00387544348, -3.1225099e-07, 0.00388370478, 0.999993443, -1.31166134e-09, 3.13415825e-07, 1.03406866e-10, 1)
  2169. o128.BackSurface = Enum.SurfaceType.Weld
  2170. o128.BottomSurface = Enum.SurfaceType.Weld
  2171. o128.FrontSurface = Enum.SurfaceType.Weld
  2172. o128.LeftSurface = Enum.SurfaceType.Weld
  2173. o128.RightSurface = Enum.SurfaceType.Weld
  2174. o128.TopSurface = Enum.SurfaceType.Smooth
  2175. o128.Position = Vector3.new(-136.385925, 9.23890209, -91.7622681)
  2176. o129.Parent = o99
  2177. o129.Material = Enum.Material.SmoothPlastic
  2178. o129.Position = Vector3.new(-138.495468, 11.8308277, -90.2623901)
  2179. o129.Rotation = Vector3.new(90, -89.7900009, 90)
  2180. o129.FormFactor = Enum.FormFactor.Symmetric
  2181. o129.Size = Vector3.new(5.40000153, 2.20000005, 0.799999833)
  2182. o129.CFrame = CFrame.new(-138.495468, 11.8308277, -90.2623901, -3.0446526e-07, -0.00383994402, -0.999993145, -1.29226485e-09, 0.999993563, -0.00384820532, 1, 1.25097793e-10, -3.05630067e-07)
  2183. o129.BackSurface = Enum.SurfaceType.Weld
  2184. o129.BottomSurface = Enum.SurfaceType.Weld
  2185. o129.TopSurface = Enum.SurfaceType.Weld
  2186. o129.Position = Vector3.new(-138.495468, 11.8308277, -90.2623901)
  2187. o130.Parent = o129
  2188. o130.MeshType = Enum.MeshType.Wedge
  2189. o131.Parent = o99
  2190. o131.Material = Enum.Material.SmoothPlastic
  2191. o131.Position = Vector3.new(-136.410919, 15.8387823, -88.4624023)
  2192. o131.Rotation = Vector3.new(0, 0, 0.219999999)
  2193. o131.Size = Vector3.new(6.99999714, 1, 1.79999948)
  2194. o131.CFrame = CFrame.new(-136.410919, 15.8387823, -88.4624023, 0.999993086, -0.00386062055, -3.09907676e-07, 0.00386888185, 0.999993503, -1.32185107e-09, 3.11072569e-07, 1.27308303e-10, 1)
  2195. o131.BackSurface = Enum.SurfaceType.Weld
  2196. o131.BottomSurface = Enum.SurfaceType.Weld
  2197. o131.FrontSurface = Enum.SurfaceType.Weld
  2198. o131.LeftSurface = Enum.SurfaceType.Weld
  2199. o131.RightSurface = Enum.SurfaceType.Weld
  2200. o131.TopSurface = Enum.SurfaceType.Smooth
  2201. o131.Position = Vector3.new(-136.410919, 15.8387823, -88.4624023)
  2202. o132.Parent = o99
  2203. o132.Material = Enum.Material.SmoothPlastic
  2204. o132.Position = Vector3.new(-133.405502, 14.450489, -93.6624146)
  2205. o132.Rotation = Vector3.new(0, 0, 0.219999999)
  2206. o132.FormFactor = Enum.FormFactor.Symmetric
  2207. o132.Size = Vector3.new(1, 1.79999995, 1.39999986)
  2208. o132.CFrame = CFrame.new(-133.405502, 14.450489, -93.6624146, 0.999993086, -0.00385521119, -3.09167092e-07, 0.00386347249, 0.999993503, -1.30241862e-09, 3.10331899e-07, 1.124199e-10, 1)
  2209. o132.BackSurface = Enum.SurfaceType.Weld
  2210. o132.BottomSurface = Enum.SurfaceType.Weld
  2211. o132.TopSurface = Enum.SurfaceType.Weld
  2212. o132.Position = Vector3.new(-133.405502, 14.450489, -93.6624146)
  2213. o133.Parent = o132
  2214. o133.MeshType = Enum.MeshType.Wedge
  2215. o134.Parent = o99
  2216. o134.Material = Enum.Material.SmoothPlastic
  2217. o134.Position = Vector3.new(-139.405502, 14.4273129, -93.6624146)
  2218. o134.Rotation = Vector3.new(0, 0, 0.219999999)
  2219. o134.FormFactor = Enum.FormFactor.Symmetric
  2220. o134.Size = Vector3.new(1, 1.79999995, 1.39999986)
  2221. o134.CFrame = CFrame.new(-139.405502, 14.4273129, -93.6624146, 0.999993026, -0.00386988674, -3.11471069e-07, 0.00387814804, 0.999993443, -1.32307132e-09, 3.12635962e-07, 1.19582927e-10, 1)
  2222. o134.BackSurface = Enum.SurfaceType.Weld
  2223. o134.BottomSurface = Enum.SurfaceType.Weld
  2224. o134.TopSurface = Enum.SurfaceType.Weld
  2225. o134.Position = Vector3.new(-139.405502, 14.4273129, -93.6624146)
  2226. o135.Parent = o134
  2227. o135.MeshType = Enum.MeshType.Wedge
  2228. o136.Parent = o99
  2229. o136.Material = Enum.Material.SmoothPlastic
  2230. o136.Position = Vector3.new(-133.412018, 16.1504898, -92.062439)
  2231. o136.Rotation = Vector3.new(0, 0, 0.219999999)
  2232. o136.FormFactor = Enum.FormFactor.Symmetric
  2233. o136.Size = Vector3.new(0.999999106, 1.5999999, 1.79999995)
  2234. o136.CFrame = CFrame.new(-133.412018, 16.1504898, -92.062439, 0.999993026, -0.00386218843, -3.10255103e-07, 0.00387044973, 0.999993443, -1.31351019e-09, 3.11419967e-07, 1.17134913e-10, 1)
  2235. o136.BackSurface = Enum.SurfaceType.Weld
  2236. o136.BottomSurface = Enum.SurfaceType.Weld
  2237. o136.TopSurface = Enum.SurfaceType.Weld
  2238. o136.Position = Vector3.new(-133.412018, 16.1504898, -92.062439)
  2239. o137.Parent = o136
  2240. o137.MeshType = Enum.MeshType.Wedge
  2241. o138.Parent = o99
  2242. o138.Material = Enum.Material.SmoothPlastic
  2243. o138.Position = Vector3.new(-139.398224, 12.5273781, -93.6623535)
  2244. o138.Rotation = Vector3.new(-180, 0, -0.219999999)
  2245. o138.Size = Vector3.new(0.99999696, 2.00000024, 1.39999938)
  2246. o138.CFrame = CFrame.new(-139.398224, 12.5273781, -93.6623535, 0.999993086, 0.00386747089, 3.11133306e-07, 0.00387573219, -0.999993503, 1.321103e-09, 3.12298198e-07, -1.1967892e-10, -1)
  2247. o138.BackSurface = Enum.SurfaceType.Weld
  2248. o138.BottomSurface = Enum.SurfaceType.Weld
  2249. o138.FrontSurface = Enum.SurfaceType.Weld
  2250. o138.LeftSurface = Enum.SurfaceType.Weld
  2251. o138.RightSurface = Enum.SurfaceType.Weld
  2252. o138.TopSurface = Enum.SurfaceType.Smooth
  2253. o138.Position = Vector3.new(-139.398224, 12.5273781, -93.6623535)
  2254. o139.Parent = o99
  2255. o139.Material = Enum.Material.SmoothPlastic
  2256. o139.Position = Vector3.new(-136.389435, 10.2388763, -90.2623901)
  2257. o139.Rotation = Vector3.new(0, 0, 0.219999999)
  2258. o139.Size = Vector3.new(6.99999714, 1, 5.39999914)
  2259. o139.CFrame = CFrame.new(-136.389435, 10.2388763, -90.2623901, 0.999993145, -0.00384431263, -3.07862365e-07, 0.00385257392, 0.999993563, -1.30337707e-09, 3.090272e-07, 1.21787094e-10, 1)
  2260. o139.BackSurface = Enum.SurfaceType.Weld
  2261. o139.BottomSurface = Enum.SurfaceType.Weld
  2262. o139.FrontSurface = Enum.SurfaceType.Weld
  2263. o139.LeftSurface = Enum.SurfaceType.Weld
  2264. o139.RightSurface = Enum.SurfaceType.Weld
  2265. o139.TopSurface = Enum.SurfaceType.Smooth
  2266. o139.Position = Vector3.new(-136.389435, 10.2388763, -90.2623901)
  2267. o140.Parent = o99
  2268. o140.Material = Enum.Material.SmoothPlastic
  2269. o140.Position = Vector3.new(-133.398224, 12.550457, -93.6623535)
  2270. o140.Rotation = Vector3.new(-180, 0, -0.219999999)
  2271. o140.Size = Vector3.new(0.99999696, 2.00000024, 1.39999938)
  2272. o140.CFrame = CFrame.new(-133.398224, 12.550457, -93.6623535, 0.999993145, 0.00384168327, 3.07266504e-07, 0.00384994457, -0.999993563, 1.29936928e-09, 3.08431339e-07, -1.20885815e-10, -1)
  2273. o140.BackSurface = Enum.SurfaceType.Weld
  2274. o140.BottomSurface = Enum.SurfaceType.Weld
  2275. o140.FrontSurface = Enum.SurfaceType.Weld
  2276. o140.LeftSurface = Enum.SurfaceType.Weld
  2277. o140.RightSurface = Enum.SurfaceType.Weld
  2278. o140.TopSurface = Enum.SurfaceType.Smooth
  2279. o140.Position = Vector3.new(-133.398224, 12.550457, -93.6623535)
  2280. o141.Name = "DO NOT USE"
  2281. o141.Parent = o99
  2282. o141.Material = Enum.Material.SmoothPlastic
  2283. o141.Position = Vector3.new(-144.803925, 14.0059633, -90.4624023)
  2284. o141.Rotation = Vector3.new(-90, 89.7900009, 90)
  2285. o141.FormFactor = Enum.FormFactor.Symmetric
  2286. o141.Size = Vector3.new(2.60000205, 0.999999821, 0.200000033)
  2287. o141.CFrame = CFrame.new(-144.803925, 14.0059633, -90.4624023, 2.83083523e-07, -0.00377638242, 0.999993443, 1.20261534e-09, 0.999993861, 0.00378464372, -1, 1.35797429e-10, 2.84248188e-07)
  2288. o141.BackSurface = Enum.SurfaceType.Weld
  2289. o141.BottomSurface = Enum.SurfaceType.Weld
  2290. o141.TopSurface = Enum.SurfaceType.Weld
  2291. o141.Position = Vector3.new(-144.803925, 14.0059633, -90.4624023)
  2292. o142.Parent = o141
  2293. o142.MeshType = Enum.MeshType.Wedge
  2294. o143.Parent = o99
  2295. o143.Material = Enum.Material.SmoothPlastic
  2296. o143.Position = Vector3.new(-142.303955, 14.0159149, -90.4624023)
  2297. o143.Rotation = Vector3.new(0, 0, 0.219999999)
  2298. o143.Size = Vector3.new(4.79999781, 1, 2.59999967)
  2299. o143.CFrame = CFrame.new(-142.303955, 14.0159149, -90.4624023, 0.999992907, -0.00391045352, -3.17577928e-07, 0.00391871482, 0.999993324, -1.34255496e-09, 3.18742849e-07, 1.0245263e-10, 1)
  2300. o143.BackSurface = Enum.SurfaceType.Weld
  2301. o143.BottomSurface = Enum.SurfaceType.Weld
  2302. o143.FrontSurface = Enum.SurfaceType.Weld
  2303. o143.LeftSurface = Enum.SurfaceType.Weld
  2304. o143.RightSurface = Enum.SurfaceType.Weld
  2305. o143.TopSurface = Enum.SurfaceType.Smooth
  2306. o143.Position = Vector3.new(-142.303955, 14.0159149, -90.4624023)
  2307. o144.Name = "DO NOT USE"
  2308. o144.Parent = o99
  2309. o144.Material = Enum.Material.SmoothPlastic
  2310. o144.Position = Vector3.new(-144.407684, 15.0075855, -90.4624023)
  2311. o144.Rotation = Vector3.new(-90, 89.7999954, 90)
  2312. o144.FormFactor = Enum.FormFactor.Symmetric
  2313. o144.Size = Vector3.new(2.60000205, 0.999999821, 0.600000024)
  2314. o144.CFrame = CFrame.new(-144.407684, 15.0075855, -90.4624023, 2.90487719e-07, -0.00380556798, 0.999993861, 1.23564725e-09, 0.999994695, 0.00382209057, -1, 1.34412495e-10, 2.92814576e-07)
  2315. o144.BackSurface = Enum.SurfaceType.Weld
  2316. o144.BottomSurface = Enum.SurfaceType.Weld
  2317. o144.TopSurface = Enum.SurfaceType.Weld
  2318. o144.Position = Vector3.new(-144.407684, 15.0075855, -90.4624023)
  2319. o145.Parent = o144
  2320. o145.MeshType = Enum.MeshType.Wedge
  2321. o146.Parent = o99
  2322. o146.Material = Enum.Material.SmoothPlastic
  2323. o146.Position = Vector3.new(-142.007721, 15.0170469, -90.4624023)
  2324. o146.Rotation = Vector3.new(0, 0, 0.219999999)
  2325. o146.Size = Vector3.new(4.19999838, 1, 2.59999967)
  2326. o146.CFrame = CFrame.new(-142.007721, 15.0170469, -90.4624023, 0.999992967, -0.00389168435, -3.14000346e-07, 0.00389994564, 0.999993384, -1.33123124e-09, 3.15165238e-07, 1.11064012e-10, 1)
  2327. o146.BackSurface = Enum.SurfaceType.Weld
  2328. o146.BottomSurface = Enum.SurfaceType.Weld
  2329. o146.FrontSurface = Enum.SurfaceType.Weld
  2330. o146.LeftSurface = Enum.SurfaceType.Weld
  2331. o146.RightSurface = Enum.SurfaceType.Weld
  2332. o146.TopSurface = Enum.SurfaceType.Smooth
  2333. o146.Position = Vector3.new(-142.007721, 15.0170469, -90.4624023)
  2334. o147.Name = "DO NOT USE"
  2335. o147.Parent = o99
  2336. o147.Material = Enum.Material.SmoothPlastic
  2337. o147.Position = Vector3.new(-142.011841, 16.1170216, -90.4624023)
  2338. o147.Rotation = Vector3.new(-90, 89.7900009, 90)
  2339. o147.FormFactor = Enum.FormFactor.Symmetric
  2340. o147.Size = Vector3.new(2.60000205, 1.19999981, 4.20000029)
  2341. o147.CFrame = CFrame.new(-142.011841, 16.1170216, -90.4624023, 3.05965557e-07, -0.00383760035, 0.999993205, 1.29385258e-09, 0.999993622, 0.00384586165, -1, 1.21631788e-10, 3.07130392e-07)
  2342. o147.BackSurface = Enum.SurfaceType.Weld
  2343. o147.BottomSurface = Enum.SurfaceType.Weld
  2344. o147.TopSurface = Enum.SurfaceType.Weld
  2345. o147.Position = Vector3.new(-142.011841, 16.1170216, -90.4624023)
  2346. o148.Parent = o147
  2347. o148.MeshType = Enum.MeshType.Wedge
  2348. o149.Name = "DO NOT USE"
  2349. o149.Parent = o99
  2350. o149.Material = Enum.Material.SmoothPlastic
  2351. o149.Position = Vector3.new(-128.004333, 14.0709505, -90.4624023)
  2352. o149.Rotation = Vector3.new(90, -89.7799988, 90)
  2353. o149.FormFactor = Enum.FormFactor.Symmetric
  2354. o149.Size = Vector3.new(2.60000205, 0.999999821, 0.200000033)
  2355. o149.CFrame = CFrame.new(-128.004333, 14.0709505, -90.4624023, -2.99518319e-07, -0.00391799491, -0.999992907, -1.26896382e-09, 0.999993324, -0.00392625621, 1, 9.73650258e-11, -3.0068307e-07)
  2356. o149.BackSurface = Enum.SurfaceType.Weld
  2357. o149.BottomSurface = Enum.SurfaceType.Weld
  2358. o149.TopSurface = Enum.SurfaceType.Weld
  2359. o149.Position = Vector3.new(-128.004333, 14.0709505, -90.4624023)
  2360. o150.Parent = o149
  2361. o150.MeshType = Enum.MeshType.Wedge
  2362. o151.Name = "DO NOT USE"
  2363. o151.Parent = o99
  2364. o151.Material = Enum.Material.SmoothPlastic
  2365. o151.Position = Vector3.new(-142.400482, 13.1153612, -90.4624023)
  2366. o151.Rotation = Vector3.new(-90, 89.7900009, -90)
  2367. o151.FormFactor = Enum.FormFactor.Symmetric
  2368. o151.Size = Vector3.new(2.60000205, 0.799999833, 4.99999952)
  2369. o151.CFrame = CFrame.new(-142.400482, 13.1153612, -90.4624023, -3.04496041e-07, 0.00386756659, 0.999993086, -1.27038935e-10, -0.999993503, 0.00387582788, 1, 1.04868003e-09, 3.05656357e-07)
  2370. o151.BackSurface = Enum.SurfaceType.Weld
  2371. o151.BottomSurface = Enum.SurfaceType.Weld
  2372. o151.TopSurface = Enum.SurfaceType.Weld
  2373. o151.Position = Vector3.new(-142.400482, 13.1153612, -90.4624023)
  2374. o152.Parent = o151
  2375. o152.MeshType = Enum.MeshType.Wedge
  2376. o153.Parent = o99
  2377. o153.Material = Enum.Material.SmoothPlastic
  2378. o153.Position = Vector3.new(-141.506607, 14.719121, -92.2623901)
  2379. o153.Rotation = Vector3.new(90.0099945, -89.8099976, -179.98999)
  2380. o153.Size = Vector3.new(2, 1, 2)
  2381. o153.CFrame = CFrame.new(-141.506607, 14.719121, -92.2623901, -0.00358736608, 3.19708022e-07, -0.999994755, 0.99999553, 1.3538386e-09, -0.00360388844, 2.11189677e-10, -1, -3.22035049e-07)
  2382. o153.BackSurface = Enum.SurfaceType.Weld
  2383. o153.BottomSurface = Enum.SurfaceType.Weld
  2384. o153.FrontSurface = Enum.SurfaceType.Weld
  2385. o153.LeftSurface = Enum.SurfaceType.Weld
  2386. o153.RightSurface = Enum.SurfaceType.Weld
  2387. o153.TopSurface = Enum.SurfaceType.Smooth
  2388. o153.Position = Vector3.new(-141.506607, 14.719121, -92.2623901)
  2389. o154.Parent = o99
  2390. o154.Material = Enum.Material.SmoothPlastic
  2391. o154.Position = Vector3.new(-130.503998, 14.0612335, -90.4624023)
  2392. o154.Rotation = Vector3.new(-180, 0, 179.779999)
  2393. o154.Size = Vector3.new(4.79999781, 1, 2.59999967)
  2394. o154.CFrame = CFrame.new(-130.503998, 14.0612335, -90.4624023, -0.999993205, -0.00381849753, 3.10876118e-07, -0.00382675882, 0.999993622, 1.31891498e-09, -3.12040981e-07, 1.33769565e-10, -1)
  2395. o154.BackSurface = Enum.SurfaceType.Weld
  2396. o154.BottomSurface = Enum.SurfaceType.Weld
  2397. o154.FrontSurface = Enum.SurfaceType.Weld
  2398. o154.LeftSurface = Enum.SurfaceType.Weld
  2399. o154.RightSurface = Enum.SurfaceType.Weld
  2400. o154.TopSurface = Enum.SurfaceType.Smooth
  2401. o154.Position = Vector3.new(-130.503998, 14.0612335, -90.4624023)
  2402. o155.Name = "DO NOT USE"
  2403. o155.Parent = o99
  2404. o155.Material = Enum.Material.SmoothPlastic
  2405. o155.Position = Vector3.new(-130.400864, 13.1614475, -90.4624023)
  2406. o155.Rotation = Vector3.new(90, -89.7999954, -90)
  2407. o155.FormFactor = Enum.FormFactor.Symmetric
  2408. o155.Size = Vector3.new(2.60000205, 0.799999833, 4.99999952)
  2409. o155.CFrame = CFrame.new(-130.400864, 13.1614475, -90.4624023, 2.90840177e-07, 0.00371806533, -0.999993622, 1.24092747e-09, -0.99999404, -0.00372632663, -1, -1.61782171e-10, -2.9200487e-07)
  2410. o155.BackSurface = Enum.SurfaceType.Weld
  2411. o155.BottomSurface = Enum.SurfaceType.Weld
  2412. o155.TopSurface = Enum.SurfaceType.Weld
  2413. o155.Position = Vector3.new(-130.400864, 13.1614475, -90.4624023)
  2414. o156.Parent = o155
  2415. o156.MeshType = Enum.MeshType.Wedge
  2416. o157.Name = "DO NOT USE"
  2417. o157.Parent = o99
  2418. o157.Material = Enum.Material.SmoothPlastic
  2419. o157.Position = Vector3.new(-130.812561, 16.1606331, -90.4624023)
  2420. o157.Rotation = Vector3.new(90, -89.7999954, 90)
  2421. o157.FormFactor = Enum.FormFactor.Symmetric
  2422. o157.Size = Vector3.new(2.60000205, 1.19999981, 4.20000029)
  2423. o157.CFrame = CFrame.new(-130.812561, 16.1606331, -90.4624023, -2.90960116e-07, -0.00377950794, -0.99999398, -1.23688126e-09, 0.999994814, -0.0037960303, 1, 1.41503434e-10, -2.93286973e-07)
  2424. o157.BackSurface = Enum.SurfaceType.Weld
  2425. o157.BottomSurface = Enum.SurfaceType.Weld
  2426. o157.TopSurface = Enum.SurfaceType.Weld
  2427. o157.Position = Vector3.new(-130.812561, 16.1606331, -90.4624023)
  2428. o158.Parent = o157
  2429. o158.MeshType = Enum.MeshType.Wedge
  2430. o159.Name = "DO NOT USE"
  2431. o159.Parent = o99
  2432. o159.Material = Enum.Material.SmoothPlastic
  2433. o159.Position = Vector3.new(-128.408279, 15.0694637, -90.4624023)
  2434. o159.Rotation = Vector3.new(90, -89.7900009, 90)
  2435. o159.FormFactor = Enum.FormFactor.Symmetric
  2436. o159.Size = Vector3.new(2.60000205, 0.999999821, 0.600000024)
  2437. o159.CFrame = CFrame.new(-128.408279, 15.0694637, -90.4624023, -3.00085901e-07, -0.00387570681, -0.999992967, -1.27756172e-09, 0.999993384, -0.00388396811, 1, 1.1647372e-10, -3.0125068e-07)
  2438. o159.BackSurface = Enum.SurfaceType.Weld
  2439. o159.BottomSurface = Enum.SurfaceType.Weld
  2440. o159.TopSurface = Enum.SurfaceType.Weld
  2441. o159.Position = Vector3.new(-128.408279, 15.0694637, -90.4624023)
  2442. o160.Parent = o159
  2443. o160.MeshType = Enum.MeshType.Wedge
  2444. o161.Parent = o99
  2445. o161.Material = Enum.Material.SmoothPlastic
  2446. o161.Position = Vector3.new(-131.306686, 14.758049, -92.2623901)
  2447. o161.Rotation = Vector3.new(90.0099945, -89.8099976, -179.98999)
  2448. o161.Size = Vector3.new(2, 1, 2)
  2449. o161.CFrame = CFrame.new(-131.306686, 14.758049, -92.2623901, -0.00349863991, 3.19982433e-07, -0.999994397, 0.999994874, 1.35548894e-09, -0.00350690121, 2.38217612e-10, -1, -3.21147326e-07)
  2450. o161.BackSurface = Enum.SurfaceType.Weld
  2451. o161.BottomSurface = Enum.SurfaceType.Weld
  2452. o161.FrontSurface = Enum.SurfaceType.Weld
  2453. o161.LeftSurface = Enum.SurfaceType.Weld
  2454. o161.RightSurface = Enum.SurfaceType.Weld
  2455. o161.TopSurface = Enum.SurfaceType.Smooth
  2456. o161.Position = Vector3.new(-131.306686, 14.758049, -92.2623901)
  2457. o162.Parent = o99
  2458. o162.Material = Enum.Material.SmoothPlastic
  2459. o162.Position = Vector3.new(-130.808151, 15.0603971, -90.4624023)
  2460. o162.Rotation = Vector3.new(-180, 0, 179.779999)
  2461. o162.Size = Vector3.new(4.19999838, 1, 2.59999967)
  2462. o162.CFrame = CFrame.new(-130.808151, 15.0603971, -90.4624023, -0.999992847, -0.0039136149, 3.15646645e-07, -0.0039218762, 0.999993265, 1.3318262e-09, -3.16811509e-07, 9.82906118e-11, -1)
  2463. o162.BackSurface = Enum.SurfaceType.Weld
  2464. o162.BottomSurface = Enum.SurfaceType.Weld
  2465. o162.FrontSurface = Enum.SurfaceType.Weld
  2466. o162.LeftSurface = Enum.SurfaceType.Weld
  2467. o162.RightSurface = Enum.SurfaceType.Weld
  2468. o162.TopSurface = Enum.SurfaceType.Smooth
  2469. o162.Position = Vector3.new(-130.808151, 15.0603971, -90.4624023)
  2470. o163.Name = "Moving System"
  2471. o163.Parent = o5
  2472. o164.Parent = o163
  2473. o164.Material = Enum.Material.SmoothPlastic
  2474. o164.Position = Vector3.new(-138.521545, 5.73096275, -90.2623901)
  2475. o164.Rotation = Vector3.new(-180, 0, -0.219999999)
  2476. o164.Size = Vector3.new(2.299999, 6, 3.39999914)
  2477. o164.CFrame = CFrame.new(-138.521545, 5.73096275, -90.2623901, 0.999992967, 0.0038911188, 3.14492894e-07, 0.0038993801, -0.999993384, 1.32939981e-09, 3.15657758e-07, -1.07490281e-10, -1)
  2478. o164.BackSurface = Enum.SurfaceType.Weld
  2479. o164.BottomSurface = Enum.SurfaceType.Weld
  2480. o164.FrontSurface = Enum.SurfaceType.Weld
  2481. o164.LeftSurface = Enum.SurfaceType.Weld
  2482. o164.RightSurface = Enum.SurfaceType.Weld
  2483. o164.TopSurface = Enum.SurfaceType.Smooth
  2484. o164.Position = Vector3.new(-138.521545, 5.73096275, -90.2623901)
  2485. o165.Parent = o163
  2486. o165.Material = Enum.Material.SmoothPlastic
  2487. o165.Position = Vector3.new(-134.214966, 4.04814529, -87.2636566)
  2488. o165.Rotation = Vector3.new(-180, 0, 179.779999)
  2489. o165.FormFactor = Enum.FormFactor.Symmetric
  2490. o165.Size = Vector3.new(2.3000021, 2.60000014, 2.60000038)
  2491. o165.CFrame = CFrame.new(-134.214966, 4.04814529, -87.2636566, -0.999992967, -0.00389078679, 3.12099758e-07, -0.00389904808, 0.999993384, 1.32453093e-09, -3.1326465e-07, 1.12057155e-10, -1)
  2492. o165.BackSurface = Enum.SurfaceType.Weld
  2493. o165.BottomSurface = Enum.SurfaceType.Weld
  2494. o165.TopSurface = Enum.SurfaceType.Weld
  2495. o165.Position = Vector3.new(-134.214966, 4.04814529, -87.2636566)
  2496. o166.Parent = o165
  2497. o166.MeshType = Enum.MeshType.Wedge
  2498. o167.Parent = o163
  2499. o167.Material = Enum.Material.SmoothPlastic
  2500. o167.BrickColor = BrickColor.new("Really black")
  2501. o167.Transparency = 1
  2502. o167.Position = Vector3.new(-142.647491, 4.07124376, -95.2306442)
  2503. o167.Rotation = Vector3.new(0, 0, -179.779999)
  2504. o167.Shape = Enum.PartType.Cylinder
  2505. o167.Size = Vector3.new(1.56522083, 4.10000181, 3.91304326)
  2506. o167.CFrame = CFrame.new(-142.647491, 4.07124376, -95.2306442, -0.999992549, 0.00385993393, -3.07300411e-07, -0.00385993393, -0.999992549, -1.31639344e-09, -3.07303196e-07, -1.30224317e-10, 1)
  2507. o167.BottomSurface = Enum.SurfaceType.Smooth
  2508. o167.LeftSurface = Enum.SurfaceType.Hinge
  2509. o167.TopSurface = Enum.SurfaceType.Smooth
  2510. o167.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  2511. o167.Position = Vector3.new(-142.647491, 4.07124376, -95.2306442)
  2512. o168.Parent = o163
  2513. o168.Material = Enum.Material.SmoothPlastic
  2514. o168.Transparency = 1
  2515. o168.Position = Vector3.new(-136.384689, 3.91467047, -84.7323685)
  2516. o168.Rotation = Vector3.new(-180, 0, -0.229999989)
  2517. o168.CanCollide = false
  2518. o168.Size = Vector3.new(10.96, 0.849999785, 1.97999585)
  2519. o168.CFrame = CFrame.new(-136.384689, 3.91467047, -84.7323685, 0.999992847, 0.00398938265, 3.25984956e-07, 0.00400315272, -0.999993384, 1.38233425e-09, 3.27924539e-07, -8.45658057e-11, -1)
  2520. o168.BackSurface = Enum.SurfaceType.Weld
  2521. o168.BottomSurface = Enum.SurfaceType.Weld
  2522. o168.FrontSurface = Enum.SurfaceType.Weld
  2523. o168.LeftSurface = Enum.SurfaceType.Weld
  2524. o168.RightSurface = Enum.SurfaceType.Weld
  2525. o168.TopSurface = Enum.SurfaceType.Smooth
  2526. o168.Position = Vector3.new(-136.384689, 3.91467047, -84.7323685)
  2527. o169.Parent = o163
  2528. o169.Material = Enum.Material.SmoothPlastic
  2529. o169.Transparency = 1
  2530. o169.Position = Vector3.new(-136.268646, 4.83975267, -88.1625443)
  2531. o169.Rotation = Vector3.new(0, 0, 0.229999989)
  2532. o169.CanCollide = false
  2533. o169.Size = Vector3.new(0.999996722, 1, 7.59999657)
  2534. o169.CFrame = CFrame.new(-136.268646, 4.83975267, -88.1625443, 0.999992728, -0.00396504533, -3.22563608e-07, 0.00397330662, 0.999993145, -1.3718785e-09, 3.23728614e-07, 9.45654111e-11, 1)
  2535. o169.BackSurface = Enum.SurfaceType.Weld
  2536. o169.BottomSurface = Enum.SurfaceType.Weld
  2537. o169.FrontSurface = Enum.SurfaceType.Weld
  2538. o169.LeftSurface = Enum.SurfaceType.Weld
  2539. o169.RightSurface = Enum.SurfaceType.Weld
  2540. o169.TopSurface = Enum.SurfaceType.Smooth
  2541. o169.Position = Vector3.new(-136.268646, 4.83975267, -88.1625443)
  2542. o170.Parent = o163
  2543. o170.Material = Enum.Material.SmoothPlastic
  2544. o170.Transparency = 1
  2545. o170.Position = Vector3.new(-136.168671, 4.84014845, -93.2624512)
  2546. o170.Rotation = Vector3.new(0, 0, 0.229999989)
  2547. o170.CanCollide = false
  2548. o170.Size = Vector3.new(4.39999723, 1, 2.59999967)
  2549. o170.CFrame = CFrame.new(-136.168671, 4.84014845, -93.2624512, 0.999992847, -0.00392923504, -3.17528446e-07, 0.00393749634, 0.999993265, -1.3420729e-09, 3.18693367e-07, 9.61788982e-11, 1)
  2550. o170.BackSurface = Enum.SurfaceType.Weld
  2551. o170.BottomSurface = Enum.SurfaceType.Weld
  2552. o170.FrontSurface = Enum.SurfaceType.Weld
  2553. o170.LeftSurface = Enum.SurfaceType.Weld
  2554. o170.RightSurface = Enum.SurfaceType.Weld
  2555. o170.TopSurface = Enum.SurfaceType.Smooth
  2556. o170.Position = Vector3.new(-136.168671, 4.84014845, -93.2624512)
  2557. o171.Parent = o163
  2558. o171.Material = Enum.Material.SmoothPlastic
  2559. o171.Position = Vector3.new(-134.222305, 5.74772453, -90.2624512)
  2560. o171.Rotation = Vector3.new(-180, 0, -0.219999999)
  2561. o171.Size = Vector3.new(2.299999, 6, 3.39999914)
  2562. o171.CFrame = CFrame.new(-134.222305, 5.74772453, -90.2624512, 0.999992967, 0.00389173534, 3.14567473e-07, 0.00389999663, -0.999993384, 1.33255895e-09, 3.15732365e-07, -1.10163899e-10, -1)
  2563. o171.BackSurface = Enum.SurfaceType.Weld
  2564. o171.BottomSurface = Enum.SurfaceType.Weld
  2565. o171.FrontSurface = Enum.SurfaceType.Weld
  2566. o171.LeftSurface = Enum.SurfaceType.Weld
  2567. o171.RightSurface = Enum.SurfaceType.Weld
  2568. o171.TopSurface = Enum.SurfaceType.Smooth
  2569. o171.Position = Vector3.new(-134.222305, 5.74772453, -90.2624512)
  2570. o172.Parent = o163
  2571. o172.Material = Enum.Material.SmoothPlastic
  2572. o172.BrickColor = BrickColor.new("Really black")
  2573. o172.Transparency = 1
  2574. o172.Position = Vector3.new(-142.648193, 4.07123184, -85.0601196)
  2575. o172.Rotation = Vector3.new(0, 0, -179.779999)
  2576. o172.Shape = Enum.PartType.Cylinder
  2577. o172.Size = Vector3.new(1.56522083, 4.10000181, 3.91304326)
  2578. o172.CFrame = CFrame.new(-142.648193, 4.07123184, -85.0601196, -0.999992549, 0.00385993393, -3.07300411e-07, -0.00385993393, -0.999992549, -1.31639344e-09, -3.07303196e-07, -1.30224317e-10, 1)
  2579. o172.BottomSurface = Enum.SurfaceType.Smooth
  2580. o172.LeftSurface = Enum.SurfaceType.Hinge
  2581. o172.TopSurface = Enum.SurfaceType.Smooth
  2582. o172.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  2583. o172.Position = Vector3.new(-142.648193, 4.07123184, -85.0601196)
  2584. o173.Parent = o163
  2585. o173.Material = Enum.Material.SmoothPlastic
  2586. o173.BrickColor = BrickColor.new("Really black")
  2587. o173.Transparency = 1
  2588. o173.Position = Vector3.new(-130.083282, 4.11973286, -85.0601196)
  2589. o173.Rotation = Vector3.new(0, 0, 0.219999999)
  2590. o173.Shape = Enum.PartType.Cylinder
  2591. o173.Size = Vector3.new(1.56522083, 4.10000181, 3.91304326)
  2592. o173.CFrame = CFrame.new(-130.083282, 4.11973286, -85.0601196, 0.999992549, -0.00385993393, -3.07300411e-07, 0.00385993393, 0.999992549, -1.31639344e-09, 3.07303196e-07, 1.30224317e-10, 1)
  2593. o173.BottomSurface = Enum.SurfaceType.Smooth
  2594. o173.LeftSurface = Enum.SurfaceType.Hinge
  2595. o173.TopSurface = Enum.SurfaceType.Smooth
  2596. o173.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  2597. o173.Position = Vector3.new(-130.083282, 4.11973286, -85.0601196)
  2598. o174.Parent = o163
  2599. o174.Material = Enum.Material.SmoothPlastic
  2600. o174.Transparency = 1
  2601. o174.Position = Vector3.new(-136.359726, 3.91479111, -95.1522827)
  2602. o174.Rotation = Vector3.new(-180, 0, -0.229999989)
  2603. o174.CanCollide = false
  2604. o174.Size = Vector3.new(11.0300007, 0.849999785, 2.81999588)
  2605. o174.CFrame = CFrame.new(-136.359726, 3.91479111, -95.1522827, 0.999992788, 0.00394393038, 3.19595671e-07, 0.00395219168, -0.999993205, 1.34944e-09, 3.20760591e-07, -9.06926895e-11, -1)
  2606. o174.BackSurface = Enum.SurfaceType.Weld
  2607. o174.BottomSurface = Enum.SurfaceType.Weld
  2608. o174.FrontSurface = Enum.SurfaceType.Weld
  2609. o174.LeftSurface = Enum.SurfaceType.Weld
  2610. o174.RightSurface = Enum.SurfaceType.Weld
  2611. o174.TopSurface = Enum.SurfaceType.Smooth
  2612. o174.Position = Vector3.new(-136.359726, 3.91479111, -95.1522827)
  2613. o175.Parent = o163
  2614. o175.Material = Enum.Material.SmoothPlastic
  2615. o175.BrickColor = BrickColor.new("Really black")
  2616. o175.Transparency = 1
  2617. o175.Position = Vector3.new(-130.083801, 4.11974192, -95.2306442)
  2618. o175.Rotation = Vector3.new(0, 0, 0.219999999)
  2619. o175.Shape = Enum.PartType.Cylinder
  2620. o175.Size = Vector3.new(1.56522083, 4.10000181, 3.91304326)
  2621. o175.CFrame = CFrame.new(-130.083801, 4.11974192, -95.2306442, 0.999992549, -0.00385993393, -3.07300411e-07, 0.00385993393, 0.999992549, -1.31639344e-09, 3.07303196e-07, 1.30224317e-10, 1)
  2622. o175.BottomSurface = Enum.SurfaceType.Smooth
  2623. o175.LeftSurface = Enum.SurfaceType.Hinge
  2624. o175.TopSurface = Enum.SurfaceType.Smooth
  2625. o175.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  2626. o175.Position = Vector3.new(-130.083801, 4.11974192, -95.2306442)
  2627. o176.Parent = o163
  2628. o176.Material = Enum.Material.SmoothPlastic
  2629. o176.Position = Vector3.new(-138.514114, 4.03173637, -87.2634277)
  2630. o176.Rotation = Vector3.new(-180, 0, 179.779999)
  2631. o176.FormFactor = Enum.FormFactor.Symmetric
  2632. o176.Size = Vector3.new(2.3000021, 2.60000014, 2.60000038)
  2633. o176.CFrame = CFrame.new(-138.514114, 4.03173637, -87.2634277, -0.999992847, -0.0039152652, 3.15564876e-07, -0.0039235265, 0.999993265, 1.33613254e-09, -3.16729768e-07, 1.02394863e-10, -1)
  2634. o176.BackSurface = Enum.SurfaceType.Weld
  2635. o176.BottomSurface = Enum.SurfaceType.Weld
  2636. o176.TopSurface = Enum.SurfaceType.Weld
  2637. o176.Position = Vector3.new(-138.514114, 4.03173637, -87.2634277)
  2638. o177.Parent = o176
  2639. o177.MeshType = Enum.MeshType.Wedge
  2640. o178.Parent = o4
  2641. o178.BrickColor = BrickColor.new("Bright violet")
  2642. o178.Position = Vector3.new(-136.279083, 0.105795003, -96.7843628)
  2643. o178.Rotation = Vector3.new(0, 0, 0.219999999)
  2644. o178.Anchored = true
  2645. o178.FormFactor = Enum.FormFactor.Custom
  2646. o178.Size = Vector3.new(3, 0.200000003, 3)
  2647. o178.CFrame = CFrame.new(-136.279083, 0.105795003, -96.7843628, 0.999992549, -0.00385993393, -3.07300411e-07, 0.00385993393, 0.999992549, -1.31626554e-09, 3.07303196e-07, 1.3009642e-10, 1)
  2648. o178.BottomSurface = Enum.SurfaceType.Smooth
  2649. o178.TopSurface = Enum.SurfaceType.Smooth
  2650. o178.Color = Color3.new(0.419608, 0.196078, 0.486275)
  2651. o178.Position = Vector3.new(-136.279083, 0.105795003, -96.7843628)
  2652. o179.Parent = o178
  2653. o179.MaxActivationDistance = 16
  2654. o180.Name = "Regen"
  2655. o180.Parent = o178
  2656.  
  2657. runDummyScript(function()
  2658. ------------------------------------------------------------------------------------
  2659. local WaitTime = 10 -- Change this to the amount of time it takes for the button to re-enable.
  2660. local modelname = "Model" -- If your model is not named this, then make the purple words the same name as the model!
  2661. ------------------------------------------------------------------------------------
  2662.  
  2663. -- To make this work, simply group it with the model you want!
  2664.  
  2665.  
  2666. local modelbackup = script.Parent.Parent:FindFirstChild(modelname):clone()
  2667. local trigger = script.Parent
  2668.  
  2669. enabled = true
  2670.  
  2671. function onClick()
  2672.  
  2673. if enabled == true then
  2674.  
  2675. enabled = false
  2676. trigger.BrickColor = BrickColor.new("Really black")
  2677.  
  2678. if script.Parent.Parent:FindFirstChild(modelname) ~= nil then
  2679.  
  2680. script.Parent.Parent:FindFirstChild(modelname):Destroy()
  2681.  
  2682. end
  2683.  
  2684. local modelclone = modelbackup:clone()
  2685. modelclone.Parent = script.Parent.Parent
  2686. modelclone:MakeJoints()
  2687.  
  2688.  
  2689.  
  2690. wait(WaitTime)
  2691.  
  2692. enabled = true
  2693. trigger.BrickColor = BrickColor.new("Bright violet")
  2694.  
  2695. end
  2696.  
  2697. end
  2698.  
  2699. script.Parent.ClickDetector.MouseClick:connect(onClick)
  2700.  
  2701.  
  2702. end,o180)
  2703.  
  2704. o181.Parent = o178
  2705. o181.Texture = "http://www.roblox.com/asset/?id=43556891"
  2706. o181.Face = Enum.NormalId.Top
  2707. o182.Parent = o4
  2708.  
  2709. runDummyScript(function()
  2710. --Przystosowany do terenu rownego--
  2711. --Uzywanie na terenie gorzystym nie wskazane--
  2712.  
  2713. --Autor Markill7890--
  2714. end,o182)
  2715.  
  2716. mas.Parent = workspace
  2717. mas:MakeJoints()
  2718. local mas1 = mas:GetChildren()
  2719. for i=1,#mas1 do
  2720. mas1[i].Parent = workspace
  2721. ypcall(function() mas1[i]:MakeJoints() end)
  2722. end
  2723. mas:Destroy()
  2724. for i=1,#cors do
  2725. coroutine.resume(cors[i])
  2726. end
  2727. mess_handle.Text = "Resetting"
  2728. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  2729. v:LoadCharacter()
  2730. end
  2731. wait(1)
  2732. mess_handle:Remove()
  2733.  
  2734. end,o5)
  2735.  
  2736. o6.Parent = mas
  2737. o7.Parent = o6
  2738. o8.Name = "Mech"
  2739. o8.Parent = o7
  2740. o9.Name = "Mech"
  2741. o9.Parent = o8
  2742. o10.Parent = o9
  2743. o11.Parent = o10
  2744. o11.Material = Enum.Material.Glass
  2745. o11.BrickColor = BrickColor.new("Baby blue")
  2746. o11.Transparency = 0.60000002384186
  2747. o11.Position = Vector3.new(-134.761093, 4.25621462, -79.7586746)
  2748. o11.Rotation = Vector3.new(-179.98999, 32.9199982, 180)
  2749. o11.RotVelocity = Vector3.new(3.90261303e-05, -3.95103916e-06, 3.25310684e-05)
  2750. o11.Velocity = Vector3.new(-0.000144835372, -0.000286154507, 0.000160360927)
  2751. o11.Locked = true
  2752. o11.FormFactor = Enum.FormFactor.Symmetric
  2753. o11.Size = Vector3.new(7.00000095, 0.999999583, 0.999999344)
  2754. o11.CFrame = CFrame.new(-134.761093, 4.25621462, -79.7586746, -0.839388669, -3.00633492e-05, 0.543531656, 4.12695117e-05, 1, 0.000119044598, -0.543531656, 0.000122355967, -0.839388669)
  2755. o11.BottomSurface = Enum.SurfaceType.Weld
  2756. o11.TopSurface = Enum.SurfaceType.Weld
  2757. o11.Color = Color3.new(0.596078, 0.760784, 0.858824)
  2758. o11.Position = Vector3.new(-134.761093, 4.25621462, -79.7586746)
  2759. o11.velocity = Vector3.new(-0.000144835372, -0.000286154507, 0.000160360927)
  2760. o12.Parent = o10
  2761. o12.Material = Enum.Material.Glass
  2762. o12.BrickColor = BrickColor.new("Baby blue")
  2763. o12.Transparency = 0.60000002384186
  2764. o12.Position = Vector3.new(-135.087189, 4.25618696, -79.254982)
  2765. o12.Rotation = Vector3.new(-179.98999, 32.9199982, 180)
  2766. o12.RotVelocity = Vector3.new(3.90261303e-05, -3.95103916e-06, 3.25310684e-05)
  2767. o12.Velocity = Vector3.new(-0.000146824575, -0.00031641993, 0.000159071438)
  2768. o12.Locked = true
  2769. o12.FormFactor = Enum.FormFactor.Symmetric
  2770. o12.Size = Vector3.new(7, 0.999999583, 0.200000033)
  2771. o12.CFrame = CFrame.new(-135.087189, 4.25618696, -79.254982, -0.839388669, -3.00633492e-05, 0.543531656, 4.12695117e-05, 1, 0.000119044598, -0.543531656, 0.000122355967, -0.839388669)
  2772. o12.BottomSurface = Enum.SurfaceType.Weld
  2773. o12.TopSurface = Enum.SurfaceType.Weld
  2774. o12.Color = Color3.new(0.596078, 0.760784, 0.858824)
  2775. o12.Position = Vector3.new(-135.087189, 4.25618696, -79.254982)
  2776. o12.velocity = Vector3.new(-0.000146824575, -0.00031641993, 0.000159071438)
  2777. o13.Parent = o12
  2778. o13.MeshType = Enum.MeshType.Wedge
  2779. o14.Name = "qCFrameWeldThingy"
  2780. o14.Parent = o12
  2781. o14.C1 = CFrame.new(4.57763672e-05, -4.38690186e-05, 0.600036621, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2782. o14.Part0 = o11
  2783. o14.Part1 = o12
  2784. o15.Name = "qRelativeCFrameWeldValue"
  2785. o15.Parent = o12
  2786. o15.Value = CFrame.new(4.57763672e-05, -4.38690186e-05, 0.600036621, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2787. o16.Parent = o10
  2788. o16.Material = Enum.Material.Glass
  2789. o16.BrickColor = BrickColor.new("Baby blue")
  2790. o16.Transparency = 0.60000002384186
  2791. o16.Position = Vector3.new(-133.901184, 6.45733404, -80.9770966)
  2792. o16.Rotation = Vector3.new(-179.98999, 32.9199982, 180)
  2793. o16.RotVelocity = Vector3.new(3.9044091e-05, -3.96620999e-06, 3.2492735e-05)
  2794. o16.Velocity = Vector3.new(-0.00021153994, -0.000210080587, 0.000249554927)
  2795. o16.Locked = true
  2796. o16.FormFactor = Enum.FormFactor.Symmetric
  2797. o16.Size = Vector3.new(7, 1, 2)
  2798. o16.CFrame = CFrame.new(-133.901184, 6.45733404, -80.9770966, -0.839388669, -3.01914642e-05, 0.543531656, 4.1191106e-05, 1, 0.000119159216, -0.543531656, 0.000122409561, -0.839388669)
  2799. o16.BottomSurface = Enum.SurfaceType.Weld
  2800. o16.TopSurface = Enum.SurfaceType.Weld
  2801. o16.Color = Color3.new(0.596078, 0.760784, 0.858824)
  2802. o16.Position = Vector3.new(-133.901184, 6.45733404, -80.9770966)
  2803. o16.velocity = Vector3.new(-0.00021153994, -0.000210080587, 0.000249554927)
  2804. o17.Parent = o16
  2805. o17.MeshType = Enum.MeshType.Wedge
  2806. o18.Name = "qCFrameWeldThingy"
  2807. o18.Parent = o16
  2808. o18.C1 = CFrame.new(0.059753418, -2.20100784, -1.49037933, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2809. o18.Part0 = o11
  2810. o18.Part1 = o16
  2811. o19.Name = "qRelativeCFrameWeldValue"
  2812. o19.Parent = o16
  2813. o19.Value = CFrame.new(0.059753418, -2.20100784, -1.49037933, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2814. o20.Parent = o10
  2815. o20.Material = Enum.Material.Glass
  2816. o20.BrickColor = BrickColor.new("Baby blue")
  2817. o20.Transparency = 0.60000002384186
  2818. o20.Position = Vector3.new(-131.383072, 4.85758924, -79.3467865)
  2819. o20.Rotation = Vector3.new(-179.98999, 32.9199982, 180)
  2820. o20.RotVelocity = Vector3.new(5.8111269e-05, -6.7687356e-06, 5.31719961e-05)
  2821. o20.Velocity = Vector3.new(-0.000234656472, -0.000265085197, 0.000286188093)
  2822. o20.Locked = true
  2823. o20.FormFactor = Enum.FormFactor.Symmetric
  2824. o20.Size = Vector3.new(1, 2.19999981, 1.99999952)
  2825. o20.CFrame = CFrame.new(-131.383072, 4.85758924, -79.3467865, -0.839388549, -3.06548063e-05, 0.543531895, 4.15992581e-05, 1, 0.000120641947, -0.543531895, 0.000123875987, -0.839388549)
  2826. o20.BottomSurface = Enum.SurfaceType.Weld
  2827. o20.TopSurface = Enum.SurfaceType.Weld
  2828. o20.Color = Color3.new(0.596078, 0.760784, 0.858824)
  2829. o20.Position = Vector3.new(-131.383072, 4.85758924, -79.3467865)
  2830. o20.velocity = Vector3.new(-0.000234656472, -0.000265085197, 0.000286188093)
  2831. o21.Name = "qCFrameWeldThingy"
  2832. o21.Parent = o20
  2833. o21.C1 = CFrame.new(3.05967712, -0.601211548, -1.49042511, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2834. o21.Part0 = o11
  2835. o21.Part1 = o20
  2836. o22.Name = "qRelativeCFrameWeldValue"
  2837. o22.Parent = o20
  2838. o22.Value = CFrame.new(3.05967712, -0.601211548, -1.49042511, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2839. o23.Parent = o10
  2840. o23.Material = Enum.Material.Glass
  2841. o23.BrickColor = BrickColor.new("Baby blue")
  2842. o23.Transparency = 0.60000002384186
  2843. o23.Position = Vector3.new(-136.419373, 4.85694885, -82.6080017)
  2844. o23.Rotation = Vector3.new(-179.98999, 32.9199982, 180)
  2845. o23.RotVelocity = Vector3.new(4.23351266e-05, 1.99952183e-06, 2.59429198e-05)
  2846. o23.Velocity = Vector3.new(-0.000156789043, -0.000225815587, 0.000192068401)
  2847. o23.Locked = true
  2848. o23.FormFactor = Enum.FormFactor.Symmetric
  2849. o23.Size = Vector3.new(1, 2.19999981, 1.99999952)
  2850. o23.CFrame = CFrame.new(-136.419373, 4.85694885, -82.6080017, -0.83938849, -3.07049304e-05, 0.543531954, 4.17399569e-05, 1, 0.00012095143, -0.543531954, 0.000124212238, -0.83938843)
  2851. o23.BottomSurface = Enum.SurfaceType.Weld
  2852. o23.TopSurface = Enum.SurfaceType.Weld
  2853. o23.Color = Color3.new(0.596078, 0.760784, 0.858824)
  2854. o23.Position = Vector3.new(-136.419373, 4.85694885, -82.6080017)
  2855. o23.velocity = Vector3.new(-0.000156789043, -0.000225815587, 0.000192068401)
  2856. o24.Name = "qCFrameWeldThingy"
  2857. o24.Parent = o23
  2858. o24.C1 = CFrame.new(-2.94032288, -0.600700378, -1.49046326, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2859. o24.Part0 = o11
  2860. o24.Part1 = o23
  2861. o25.Name = "qRelativeCFrameWeldValue"
  2862. o25.Parent = o23
  2863. o25.Value = CFrame.new(-2.94032288, -0.600700378, -1.49046326, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2864. o26.Parent = o10
  2865. o26.Material = Enum.Material.Glass
  2866. o26.BrickColor = BrickColor.new("Baby blue")
  2867. o26.Transparency = 0.60000002384186
  2868. o26.Position = Vector3.new(-134.7612, 5.35620213, -79.7585602)
  2869. o26.Rotation = Vector3.new(-179.98999, 32.9199982, 180)
  2870. o26.RotVelocity = Vector3.new(4.04571183e-05, -2.26218945e-05, 4.85484488e-05)
  2871. o26.Velocity = Vector3.new(-0.000301569729, -0.00031548331, 0.000141995959)
  2872. o26.Locked = true
  2873. o26.FormFactor = Enum.FormFactor.Symmetric
  2874. o26.Size = Vector3.new(7, 1.19999957, 1)
  2875. o26.CFrame = CFrame.new(-134.7612, 5.35620213, -79.7585602, -0.839388311, -3.12989869e-05, 0.543532193, 4.16081675e-05, 1, 0.0001218408, -0.543532193, 0.000124887127, -0.839388311)
  2876. o26.BottomSurface = Enum.SurfaceType.Weld
  2877. o26.TopSurface = Enum.SurfaceType.Weld
  2878. o26.Color = Color3.new(0.596078, 0.760784, 0.858824)
  2879. o26.Position = Vector3.new(-134.7612, 5.35620213, -79.7585602)
  2880. o26.velocity = Vector3.new(-0.000301569729, -0.00031548331, 0.000141995959)
  2881. o27.Parent = o26
  2882. o27.MeshType = Enum.MeshType.Wedge
  2883. o28.Name = "qCFrameWeldThingy"
  2884. o28.Parent = o26
  2885. o28.C1 = CFrame.new(-3.05175781e-05, -1.10000038, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2886. o28.Part0 = o11
  2887. o28.Part1 = o26
  2888. o29.Name = "qRelativeCFrameWeldValue"
  2889. o29.Parent = o26
  2890. o29.Value = CFrame.new(-3.05175781e-05, -1.10000038, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2891. o30.Parent = o10
  2892. o30.Material = Enum.Material.Glass
  2893. o30.BrickColor = BrickColor.new("Baby blue")
  2894. o30.Transparency = 0.60000002384186
  2895. o30.Position = Vector3.new(-133.901337, 1.05767488, -80.9779205)
  2896. o30.Rotation = Vector3.new(-179.98999, 32.9199982, 0)
  2897. o30.RotVelocity = Vector3.new(1.83541561e-05, 8.46071816e-06, 2.24203104e-05)
  2898. o30.Velocity = Vector3.new(1.46074062e-05, -9.82347919e-05, 6.95735143e-05)
  2899. o30.Locked = true
  2900. o30.FormFactor = Enum.FormFactor.Symmetric
  2901. o30.Size = Vector3.new(7, 1, 2)
  2902. o30.CFrame = CFrame.new(-133.901337, 1.05767488, -80.9779205, 0.839388251, 3.37418533e-05, 0.543532252, -4.09046152e-05, -1, 0.000125248698, 0.543532252, -0.00012736526, -0.839388251)
  2903. o30.BottomSurface = Enum.SurfaceType.Weld
  2904. o30.TopSurface = Enum.SurfaceType.Weld
  2905. o30.Color = Color3.new(0.596078, 0.760784, 0.858824)
  2906. o30.Position = Vector3.new(-133.901337, 1.05767488, -80.9779205)
  2907. o30.velocity = Vector3.new(1.46074062e-05, -9.82347919e-05, 6.95735143e-05)
  2908. o31.Parent = o30
  2909. o31.MeshType = Enum.MeshType.Wedge
  2910. o32.Name = "qCFrameWeldThingy"
  2911. o32.Parent = o30
  2912. o32.C1 = CFrame.new(-0.0591125488, -3.198699, -1.49035645, -1, 0, 0, 0, -1, 0, 0, 0, 1)
  2913. o32.Part0 = o11
  2914. o32.Part1 = o30
  2915. o33.Name = "qRelativeCFrameWeldValue"
  2916. o33.Parent = o30
  2917. o33.Value = CFrame.new(-0.0591125488, -3.198699, -1.49035645, -1, 0, 0, 0, -1, 0, 0, 0, 1)
  2918. o34.Parent = o10
  2919. o34.Material = Enum.Material.Glass
  2920. o34.BrickColor = BrickColor.new("Baby blue")
  2921. o34.Transparency = 0.60000002384186
  2922. o34.Position = Vector3.new(-134.761078, 2.1562767, -79.758934)
  2923. o34.Rotation = Vector3.new(-179.98999, 32.9199982, 0)
  2924. o34.RotVelocity = Vector3.new(7.89805708e-05, 1.16060055e-05, 9.71406625e-05)
  2925. o34.Velocity = Vector3.new(-0.000182544056, -0.000598396, 0.000337185134)
  2926. o34.Locked = true
  2927. o34.FormFactor = Enum.FormFactor.Symmetric
  2928. o34.Size = Vector3.new(7, 1.19999957, 1)
  2929. o34.CFrame = CFrame.new(-134.761078, 2.1562767, -79.758934, 0.839388251, 3.40997503e-05, 0.543532312, -4.07714797e-05, -1, 0.000125701554, 0.543532312, -0.000127673018, -0.839388251)
  2930. o34.BottomSurface = Enum.SurfaceType.Weld
  2931. o34.TopSurface = Enum.SurfaceType.Weld
  2932. o34.Color = Color3.new(0.596078, 0.760784, 0.858824)
  2933. o34.Position = Vector3.new(-134.761078, 2.1562767, -79.758934)
  2934. o34.velocity = Vector3.new(-0.000182544056, -0.000598396, 0.000337185134)
  2935. o35.Parent = o34
  2936. o35.MeshType = Enum.MeshType.Wedge
  2937. o36.Name = "qCFrameWeldThingy"
  2938. o36.Parent = o34
  2939. o36.C1 = CFrame.new(3.05175781e-05, -2.09991074, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1)
  2940. o36.Part0 = o11
  2941. o36.Part1 = o34
  2942. o37.Name = "qRelativeCFrameWeldValue"
  2943. o37.Parent = o34
  2944. o37.Value = CFrame.new(3.05175781e-05, -2.09991074, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1)
  2945. o38.Parent = o10
  2946. o38.Material = Enum.Material.Glass
  2947. o38.BrickColor = BrickColor.new("Baby blue")
  2948. o38.Transparency = 0.60000002384186
  2949. o38.Position = Vector3.new(-134.760483, 3.25620365, -79.7583923)
  2950. o38.Rotation = Vector3.new(-179.98999, 32.9199982, 0)
  2951. o38.RotVelocity = Vector3.new(4.37739072e-05, -5.04958734e-06, 4.34000976e-05)
  2952. o38.Velocity = Vector3.new(-0.000184756485, -0.000331445044, 0.000124789542)
  2953. o38.Locked = true
  2954. o38.FormFactor = Enum.FormFactor.Symmetric
  2955. o38.Size = Vector3.new(7.00000095, 0.999999583, 0.999999344)
  2956. o38.CFrame = CFrame.new(-134.760483, 3.25620365, -79.7583923, 0.839388907, 4.69470906e-05, 0.543531299, -2.64125865e-05, -1, 0.000127163832, 0.543531299, -0.000121095974, -0.839388907)
  2957. o38.BottomSurface = Enum.SurfaceType.Weld
  2958. o38.TopSurface = Enum.SurfaceType.Weld
  2959. o38.Color = Color3.new(0.596078, 0.760784, 0.858824)
  2960. o38.Position = Vector3.new(-134.760483, 3.25620365, -79.7583923)
  2961. o38.velocity = Vector3.new(-0.000184756485, -0.000331445044, 0.000124789542)
  2962. o39.Name = "qCFrameWeldThingy"
  2963. o39.Parent = o38
  2964. o39.C1 = CFrame.new(0.000106811523, -0.999958992, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1)
  2965. o39.Part0 = o11
  2966. o39.Part1 = o38
  2967. o40.Name = "qRelativeCFrameWeldValue"
  2968. o40.Parent = o38
  2969. o40.Value = CFrame.new(0.000106811523, -0.999958992, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1)
  2970. o41.Parent = o10
  2971. o41.Material = Enum.Material.Glass
  2972. o41.BrickColor = BrickColor.new("Baby blue")
  2973. o41.Transparency = 0.60000002384186
  2974. o41.Position = Vector3.new(-135.086578, 3.25617075, -79.2547073)
  2975. o41.Rotation = Vector3.new(-179.98999, 32.9199982, 0)
  2976. o41.RotVelocity = Vector3.new(4.68335347e-05, -1.95340317e-06, 5.06040524e-05)
  2977. o41.Velocity = Vector3.new(-0.000186856705, -0.00039435862, 0.000177572161)
  2978. o41.Locked = true
  2979. o41.FormFactor = Enum.FormFactor.Symmetric
  2980. o41.Size = Vector3.new(7, 0.999999583, 0.200000033)
  2981. o41.CFrame = CFrame.new(-135.086578, 3.25617075, -79.2547073, 0.839388907, 4.7143767e-05, 0.543531299, -2.6328511e-05, -1, 0.000127395833, 0.543531299, -0.000121245022, -0.839388907)
  2982. o41.BottomSurface = Enum.SurfaceType.Weld
  2983. o41.TopSurface = Enum.SurfaceType.Weld
  2984. o41.Color = Color3.new(0.596078, 0.760784, 0.858824)
  2985. o41.Position = Vector3.new(-135.086578, 3.25617075, -79.2547073)
  2986. o41.velocity = Vector3.new(-0.000186856705, -0.00039435862, 0.000177572161)
  2987. o42.Parent = o41
  2988. o42.MeshType = Enum.MeshType.Wedge
  2989. o43.Name = "qCFrameWeldThingy"
  2990. o43.Parent = o41
  2991. o43.C1 = CFrame.new(6.10351563e-05, -0.999916077, 0.600036621, -1, 0, 0, 0, -1, 0, 0, 0, 1)
  2992. o43.Part0 = o11
  2993. o43.Part1 = o41
  2994. o44.Name = "qRelativeCFrameWeldValue"
  2995. o44.Parent = o41
  2996. o44.Value = CFrame.new(6.10351563e-05, -0.999916077, 0.600036621, -1, 0, 0, 0, -1, 0, 0, 0, 1)
  2997. o45.Parent = o10
  2998. o45.Material = Enum.Material.Glass
  2999. o45.BrickColor = BrickColor.new("Baby blue")
  3000. o45.Transparency = 0.60000002384186
  3001. o45.Position = Vector3.new(-136.418793, 2.65689683, -82.6079407)
  3002. o45.Rotation = Vector3.new(-179.98999, 32.9199982, 0)
  3003. o45.RotVelocity = Vector3.new(6.42748782e-05, 4.59465781e-07, 6.68352004e-05)
  3004. o45.Velocity = Vector3.new(-0.000127623789, -0.00043633621, 0.000254629616)
  3005. o45.Locked = true
  3006. o45.FormFactor = Enum.FormFactor.Symmetric
  3007. o45.Size = Vector3.new(1, 2.19999981, 1.99999952)
  3008. o45.CFrame = CFrame.new(-136.418793, 2.65689683, -82.6079407, 0.839388907, 4.75843699e-05, 0.543531299, -2.6187101e-05, -1, 0.000127988096, 0.543531299, -0.000121665289, -0.839388907)
  3009. o45.BottomSurface = Enum.SurfaceType.Weld
  3010. o45.TopSurface = Enum.SurfaceType.Weld
  3011. o45.Color = Color3.new(0.596078, 0.760784, 0.858824)
  3012. o45.Position = Vector3.new(-136.418793, 2.65689683, -82.6079407)
  3013. o45.velocity = Vector3.new(-0.000127623789, -0.00043633621, 0.000254629616)
  3014. o46.Name = "qCFrameWeldThingy"
  3015. o46.Parent = o45
  3016. o46.C1 = CFrame.new(2.94075012, -1.59919357, -1.49047089, -1, 0, 0, 0, -1, 0, 0, 0, 1)
  3017. o46.Part0 = o11
  3018. o46.Part1 = o45
  3019. o47.Name = "qRelativeCFrameWeldValue"
  3020. o47.Parent = o45
  3021. o47.Value = CFrame.new(2.94075012, -1.59919357, -1.49047089, -1, 0, 0, 0, -1, 0, 0, 0, 1)
  3022. o48.Parent = o10
  3023. o48.Material = Enum.Material.Glass
  3024. o48.BrickColor = BrickColor.new("Baby blue")
  3025. o48.Transparency = 0.60000002384186
  3026. o48.Position = Vector3.new(-131.38237, 2.65789247, -79.3466492)
  3027. o48.Rotation = Vector3.new(-179.98999, 32.9199982, 0)
  3028. o48.RotVelocity = Vector3.new(4.1716994e-05, 3.71215197e-06, 4.59582661e-05)
  3029. o48.Velocity = Vector3.new(-9.79014876e-05, -0.000195126791, 0.000166350161)
  3030. o48.Locked = true
  3031. o48.FormFactor = Enum.FormFactor.Symmetric
  3032. o48.Size = Vector3.new(1, 2.19999981, 1.99999952)
  3033. o48.CFrame = CFrame.new(-131.38237, 2.65789247, -79.3466492, 0.839388907, 4.77782087e-05, 0.543531299, -2.61489258e-05, -1, 0.000128285756, 0.543531299, -0.000121894402, -0.839388907)
  3034. o48.BottomSurface = Enum.SurfaceType.Weld
  3035. o48.TopSurface = Enum.SurfaceType.Weld
  3036. o48.Color = Color3.new(0.596078, 0.760784, 0.858824)
  3037. o48.Position = Vector3.new(-131.38237, 2.65789247, -79.3466492)
  3038. o48.velocity = Vector3.new(-9.79014876e-05, -0.000195126791, 0.000166350161)
  3039. o49.Name = "qCFrameWeldThingy"
  3040. o49.Parent = o48
  3041. o49.C1 = CFrame.new(-3.05940247, -1.59862709, -1.49042511, -1, 0, 0, 0, -1, 0, 0, 0, 1)
  3042. o49.Part0 = o11
  3043. o49.Part1 = o48
  3044. o50.Name = "qRelativeCFrameWeldValue"
  3045. o50.Parent = o48
  3046. o50.Value = CFrame.new(-3.05940247, -1.59862709, -1.49042511, -1, 0, 0, 0, -1, 0, 0, 0, 1)
  3047. o51.Name = "qPerfectionWeld"
  3048. o51.Parent = o10
  3049.  
  3050. runDummyScript(function()
  3051. -- Created by Quenty (@Quenty, follow me on twitter).
  3052. -- Should work with only ONE copy, seamlessly with weapons, trains, et cetera.
  3053. -- Parts should be ANCHORED before use. It will, however, store relatives values and so when tools are reparented, it'll fix them.
  3054.  
  3055. --[[ INSTRUCTIONS
  3056. - Place in the model
  3057. - Make sure model is anchored
  3058. - That's it. It will weld the model and all children.
  3059.  
  3060. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  3061. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  3062. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  3063. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  3064. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  3065. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  3066. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  3067. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  3068.  
  3069. This script is designed to be used is a regular script. In a local script it will weld, but it will not attempt to handle ancestory changes.
  3070. ]]
  3071.  
  3072. --[[ DOCUMENTATION
  3073. - Will work in tools. If ran more than once it will not create more than one weld. This is especially useful for tools that are dropped and then picked up again.
  3074. - Will work in PBS servers
  3075. - Will work as long as it starts out with the part anchored
  3076. - Stores the relative CFrame as a CFrame value
  3077. - Takes careful measure to reduce lag by not having a joint set off or affected by the parts offset from origin
  3078. - Utilizes a recursive algorith to find all parts in the model
  3079. - Will reweld on script reparent if the script is initially parented to a tool.
  3080. - Welds as fast as possible
  3081. ]]
  3082.  
  3083. -- qPerfectionWeld.lua
  3084. -- Created 10/6/2014
  3085. -- Author: Quenty
  3086. -- Version 1.0.3
  3087.  
  3088. -- Updated 10/14/2014 - Updated to 1.0.1
  3089. --- Bug fix with existing ROBLOX welds ? Repro by asimo3089
  3090.  
  3091. -- Updated 10/14/2014 - Updated to 1.0.2
  3092. --- Fixed bug fix.
  3093.  
  3094. -- Updated 10/14/2014 - Updated to 1.0.3
  3095. --- Now handles joints semi-acceptably. May be rather hacky with some joints. :/
  3096.  
  3097. local NEVER_BREAK_JOINTS = false -- If you set this to true it will never break joints (this can create some welding issues, but can save stuff like hinges).
  3098.  
  3099.  
  3100. local function CallOnChildren(Instance, FunctionToCall)
  3101. -- Calls a function on each of the children of a certain object, using recursion.
  3102.  
  3103. FunctionToCall(Instance)
  3104.  
  3105. for _, Child in next, Instance:GetChildren() do
  3106. CallOnChildren(Child, FunctionToCall)
  3107. end
  3108. end
  3109.  
  3110. local function GetNearestParent(Instance, ClassName)
  3111. -- Returns the nearest parent of a certain class, or returns nil
  3112.  
  3113. local Ancestor = Instance
  3114. repeat
  3115. Ancestor = Ancestor.Parent
  3116. if Ancestor == nil then
  3117. return nil
  3118. end
  3119. until Ancestor:IsA(ClassName)
  3120.  
  3121. return Ancestor
  3122. end
  3123.  
  3124. local function GetBricks(StartInstance)
  3125. local List = {}
  3126.  
  3127. -- if StartInstance:IsA("BasePart") then
  3128. -- List[#List+1] = StartInstance
  3129. -- end
  3130.  
  3131. CallOnChildren(StartInstance, function(Item)
  3132. if Item:IsA("BasePart") then
  3133. List[#List+1] = Item;
  3134. end
  3135. end)
  3136.  
  3137. return List
  3138. end
  3139.  
  3140. local function Modify(Instance, Values)
  3141. -- Modifies an Instance by using a table.
  3142.  
  3143. assert(type(Values) == "table", "Values is not a table");
  3144.  
  3145. for Index, Value in next, Values do
  3146. if type(Index) == "number" then
  3147. Value.Parent = Instance
  3148. else
  3149. Instance[Index] = Value
  3150. end
  3151. end
  3152. return Instance
  3153. end
  3154.  
  3155. local function Make(ClassType, Properties)
  3156. -- Using a syntax hack to create a nice way to Make new items.
  3157.  
  3158. return Modify(Instance.new(ClassType), Properties)
  3159. end
  3160.  
  3161. local Surfaces = {"TopSurface", "BottomSurface", "LeftSurface", "RightSurface", "FrontSurface", "BackSurface"}
  3162. local HingSurfaces = {"Hinge", "Motor", "SteppingMotor"}
  3163.  
  3164. local function HasWheelJoint(Part)
  3165. for _, SurfaceName in pairs(Surfaces) do
  3166. for _, HingSurfaceName in pairs(HingSurfaces) do
  3167. if Part[SurfaceName].Name == HingSurfaceName then
  3168. return true
  3169. end
  3170. end
  3171. end
  3172.  
  3173. return false
  3174. end
  3175.  
  3176. local function ShouldBreakJoints(Part)
  3177. --- We do not want to break joints of wheels/hinges. This takes the utmost care to not do this. There are
  3178. -- definitely some edge cases.
  3179.  
  3180. if NEVER_BREAK_JOINTS then
  3181. return false
  3182. end
  3183.  
  3184. if HasWheelJoint(Part) then
  3185. return false
  3186. end
  3187.  
  3188. local Connected = Part:GetConnectedParts()
  3189.  
  3190. if #Connected == 1 then
  3191. return false
  3192. end
  3193.  
  3194. for _, Item in pairs(Connected) do
  3195. if HasWheelJoint(Item) then
  3196. return false
  3197. elseif not Item:IsDescendantOf(script.Parent) then
  3198. return false
  3199. end
  3200. end
  3201.  
  3202. return true
  3203. end
  3204.  
  3205. local function WeldTogether(Part0, Part1, JointType, WeldParent)
  3206. --- Weld's 2 parts together
  3207. -- @param Part0 The first part
  3208. -- @param Part1 The second part (Dependent part most of the time).
  3209. -- @param [JointType] The type of joint. Defaults to weld.
  3210. -- @param [WeldParent] Parent of the weld, Defaults to Part0 (so GC is better).
  3211. -- @return The weld created.
  3212.  
  3213. JointType = JointType or "Weld"
  3214. local RelativeValue = Part1:FindFirstChild("qRelativeCFrameWeldValue")
  3215.  
  3216. local NewWeld = Part1:FindFirstChild("qCFrameWeldThingy") or Instance.new(JointType)
  3217. Modify(NewWeld, {
  3218. Name = "qCFrameWeldThingy";
  3219. Part0 = Part0;
  3220. Part1 = Part1;
  3221. C0 = CFrame.new();--Part0.CFrame:inverse();
  3222. C1 = RelativeValue and RelativeValue.Value or Part1.CFrame:toObjectSpace(Part0.CFrame); --Part1.CFrame:inverse() * Part0.CFrame;-- Part1.CFrame:inverse();
  3223. Parent = Part1;
  3224. })
  3225.  
  3226. if not RelativeValue then
  3227. RelativeValue = Make("CFrameValue", {
  3228. Parent = Part1;
  3229. Name = "qRelativeCFrameWeldValue";
  3230. Archivable = true;
  3231. Value = NewWeld.C1;
  3232. })
  3233. end
  3234.  
  3235. return NewWeld
  3236. end
  3237.  
  3238. local function WeldParts(Parts, MainPart, JointType, DoNotUnanchor)
  3239. -- @param Parts The Parts to weld. Should be anchored to prevent really horrible results.
  3240. -- @param MainPart The part to weld the model to (can be in the model).
  3241. -- @param [JointType] The type of joint. Defaults to weld.
  3242. -- @parm DoNotUnanchor Boolean, if true, will not unachor the model after cmopletion.
  3243.  
  3244. for _, Part in pairs(Parts) do
  3245. if ShouldBreakJoints(Part) then
  3246. Part:BreakJoints()
  3247. end
  3248. end
  3249.  
  3250. for _, Part in pairs(Parts) do
  3251. if Part ~= MainPart then
  3252. WeldTogether(MainPart, Part, JointType, MainPart)
  3253. end
  3254. end
  3255.  
  3256. if not DoNotUnanchor then
  3257. for _, Part in pairs(Parts) do
  3258. Part.Anchored = false
  3259. end
  3260. MainPart.Anchored = false
  3261. end
  3262. end
  3263.  
  3264. local function PerfectionWeld()
  3265. local Tool = GetNearestParent(script, "Tool")
  3266.  
  3267. local Parts = GetBricks(script.Parent)
  3268. local PrimaryPart = Tool and Tool:FindFirstChild("Handle") and Tool.Handle:IsA("BasePart") and Tool.Handle or script.Parent:IsA("Model") and script.Parent.PrimaryPart or Parts[1]
  3269.  
  3270. if PrimaryPart then
  3271. WeldParts(Parts, PrimaryPart, "Weld", false)
  3272. else
  3273. warn("qWeld - Unable to weld part")
  3274. end
  3275.  
  3276. return Tool
  3277. end
  3278.  
  3279. local Tool = PerfectionWeld()
  3280.  
  3281.  
  3282. if Tool and script.ClassName == "Script" then
  3283. --- Don't bother with local scripts
  3284.  
  3285. script.Parent.AncestryChanged:connect(function()
  3286. PerfectionWeld()
  3287. end)
  3288. end
  3289.  
  3290. -- Created by Quenty (@Quenty, follow me on twitter).
  3291.  
  3292. end,o51)
  3293.  
  3294. o52.Parent = o9
  3295. o53.Parent = o52
  3296. o54.Parent = o53
  3297. o55.Name = "Switch"
  3298. o55.Parent = o54
  3299. o55.Material = Enum.Material.Neon
  3300. o55.BrickColor = BrickColor.new("Sea green")
  3301. o55.Position = Vector3.new(-134.747589, 5.37502146, -80.3742371)
  3302. o55.Rotation = Vector3.new(90.0099945, 0, 32.9099998)
  3303. o55.RotVelocity = Vector3.new(4.68434882e-05, 4.87918351e-06, 4.8134345e-05)
  3304. o55.Velocity = Vector3.new(-0.000229852987, -0.00033406858, 0.000370678754)
  3305. o55.CanCollide = false
  3306. o55.Locked = true
  3307. o55.FormFactor = Enum.FormFactor.Plate
  3308. o55.Size = Vector3.new(0.469999969, 0.0500000007, 0.489999861)
  3309. o55.CFrame = CFrame.new(-134.747589, 5.37502146, -80.3742371, 0.839496434, -0.54336518, -5.36396437e-05, -0.000151003653, -0.000134582384, -1, 0.54336518, 0.839496434, -0.000195031549)
  3310. o55.BottomSurface = Enum.SurfaceType.Weld
  3311. o55.TopSurface = Enum.SurfaceType.Weld
  3312. o55.Color = Color3.new(0.203922, 0.556863, 0.25098)
  3313. o55.Position = Vector3.new(-134.747589, 5.37502146, -80.3742371)
  3314. o55.velocity = Vector3.new(-0.000229852987, -0.00033406858, 0.000370678754)
  3315. o56.Parent = o55
  3316. o56.MaxActivationDistance = 10
  3317. o57.Name = "CannonBall"
  3318. o57.Parent = o55
  3319. o57.Disabled = true
  3320.  
  3321. runDummyScript(function()
  3322. ball = script.Parent
  3323. damage = 1000
  3324.  
  3325. function onTouched(hit)
  3326.  
  3327.  
  3328. local humanoid = hit.Parent:findFirstChild("Humanoid")
  3329. if humanoid~=nil then
  3330. tagHumanoid(humanoid)
  3331. humanoid.Health = humanoid.Health - damage
  3332. wait(0.01)
  3333. untagHumanoid(humanoid)
  3334. connection:disconnect()
  3335. else
  3336. damage = damage / 2
  3337. if damage < 2 then
  3338. connection:disconnect()
  3339. ball.Parent = nil
  3340. end
  3341. end
  3342.  
  3343. if math.random(1,1) == 1 then
  3344. explosion = Instance.new("Explosion")
  3345. explosion.BlastRadius = 10
  3346. explosion.BlastPressure = 50 -- these are really wussy units
  3347. explosion.Position = script.Parent.Position
  3348. explosion.Parent = game.Workspace
  3349. connection:disconnect()
  3350. ball.Parent = nil
  3351. cancollide = true
  3352. end
  3353.  
  3354. end
  3355.  
  3356. function tagHumanoid(humanoid)
  3357. -- todo: make tag expire
  3358. local tag = ball:findFirstChild("creator")
  3359. if tag ~= nil then
  3360. local new_tag = tag:clone()
  3361. new_tag.Parent = humanoid
  3362. end
  3363. end
  3364.  
  3365.  
  3366. function untagHumanoid(humanoid)
  3367. if humanoid ~= nil then
  3368. local tag = humanoid:findFirstChild("creator")
  3369. if tag ~= nil then
  3370. tag.Parent = nil
  3371. end
  3372. end
  3373. end
  3374.  
  3375. connection = ball.Touched:connect(onTouched)
  3376.  
  3377. r = game:service("RunService")
  3378. t, s = r.Stepped:wait()
  3379. d = t + 5.0 - s
  3380. while t < d do
  3381. t = r.Stepped:wait()
  3382. end
  3383.  
  3384. ball.Parent = nil
  3385. end,o57)
  3386.  
  3387. o58.Name = "FireGun"
  3388. o58.Parent = o55
  3389.  
  3390. runDummyScript(function()
  3391. local switch = script.Parent
  3392. local gunBarrelOne = script.Parent.Parent.GunBarrel.One
  3393.  
  3394. local debounce = false
  3395. local gunOne = true
  3396.  
  3397. local cannonBall = Instance.new("Part")
  3398. cannonBall.Size = Vector3.new(1,1,1)
  3399. cannonBall.BrickColor = BrickColor.new(26) -- Really black
  3400. cannonBall.Shape = 0
  3401. cannonBall.BottomSurface = 0
  3402. cannonBall.TopSurface = 0
  3403. cannonBall.Name = "Cannon Shot"
  3404. cannonBall.Elasticity = .1
  3405. cannonBall.Reflectance = 0
  3406. cannonBall.Friction = 0
  3407.  
  3408. function fire(player)
  3409.  
  3410. local sound = script.Parent:findFirstChild("GunSound")
  3411. if sound == nil then
  3412. sound = Instance.new("Sound")
  3413. sound.Name = "GunSound"
  3414. sound.SoundId = "http://www.roblox.com/asset?id=2101148"
  3415. sound.Volume = 1
  3416. sound.Parent = script.Parent
  3417. end
  3418. sound:play()
  3419.  
  3420.  
  3421.  
  3422.  
  3423. local missile = Instance.new("Part")
  3424.  
  3425.  
  3426. local barrel
  3427.  
  3428. if gunOne == true then
  3429. barrel = gunBarrelOne
  3430. gunOne = true
  3431.  
  3432. end
  3433.  
  3434. local spawnPos = barrel.CFrame * Vector3.new(6, 0, 0)
  3435.  
  3436. local dx = math.random(50,50)
  3437. local dy = math.random(0,0)
  3438. local dz = math.random(0,0)
  3439. local mag = math.random(300,300)
  3440.  
  3441. local v = barrel.CFrame:vectorToWorldSpace(Vector3.new(mag + dx,dy,dz))
  3442.  
  3443. local missile = cannonBall:clone()
  3444.  
  3445. missile.Position = spawnPos
  3446. missile.Velocity = v
  3447.  
  3448.  
  3449.  
  3450. local new_script = script.Parent.CannonBall:clone()
  3451. new_script.Disabled = false
  3452. new_script.Parent = missile
  3453.  
  3454. local creator_tag = Instance.new("ObjectValue")
  3455. creator_tag.Value = player
  3456. creator_tag.Name = "creator"
  3457. creator_tag.Parent = missile
  3458.  
  3459.  
  3460.  
  3461. missile.Parent = game.Workspace
  3462.  
  3463. end
  3464.  
  3465. function onClicked()
  3466. if debounce == false then
  3467. debounce = true
  3468. switch.BrickColor = BrickColor.new(21)
  3469. -- let slip the dogs of war
  3470. fire(player)
  3471. wait(.1)
  3472.  
  3473. wait(0.5)
  3474. debounce = false
  3475. switch.BrickColor = BrickColor.new(37)
  3476. end
  3477. end
  3478.  
  3479.  
  3480. script.Parent.ClickDetector.MouseClick:connect(onClicked)
  3481.  
  3482.  
  3483.  
  3484. end,o58)
  3485.  
  3486. o59.Name = "GunSound"
  3487. o59.Parent = o55
  3488. o59.SoundId = "rbxassetid://1486537732"
  3489. o60.Name = "GunBarrel"
  3490. o60.Parent = o54
  3491. o61.Name = "One"
  3492. o61.Parent = o60
  3493. o61.Material = Enum.Material.SmoothPlastic
  3494. o61.Position = Vector3.new(-138.769699, 6.19756079, -81.7459564)
  3495. o61.Rotation = Vector3.new(-89.9899979, 0, -122.909996)
  3496. o61.RotVelocity = Vector3.new(0.000176681351, -2.78354055e-05, 0.000105514657)
  3497. o61.Velocity = Vector3.new(-0.000943721097, -0.0010127686, 0.000806128199)
  3498. o61.Locked = true
  3499. o61.FormFactor = Enum.FormFactor.Symmetric
  3500. o61.Shape = Enum.PartType.Cylinder
  3501. o61.Size = Vector3.new(2, 2, 2)
  3502. o61.CFrame = CFrame.new(-138.769699, 6.19756079, -81.7459564, -0.54336524, 0.839496374, 5.29533027e-05, -0.000135818729, -0.000150986336, 1, 0.839496374, 0.54336524, 0.000196060064)
  3503. o61.BottomSurface = Enum.SurfaceType.Smooth
  3504. o61.LeftSurface = Enum.SurfaceType.Weld
  3505. o61.RightSurface = Enum.SurfaceType.Weld
  3506. o61.TopSurface = Enum.SurfaceType.Smooth
  3507. o61.Position = Vector3.new(-138.769699, 6.19756079, -81.7459564)
  3508. o61.velocity = Vector3.new(-0.000943721097, -0.0010127686, 0.000806128199)
  3509. o62.Parent = o54
  3510. o63.Parent = o62
  3511. o63.Material = Enum.Material.Neon
  3512. o63.BrickColor = BrickColor.new("Crimson")
  3513. o63.Position = Vector3.new(-136.532822, 6.198524, -87.0879211)
  3514. o63.Rotation = Vector3.new(0.00999999978, -32.9099998, 180)
  3515. o63.RotVelocity = Vector3.new(4.3072112e-05, 5.30277748e-06, 3.47937457e-05)
  3516. o63.Velocity = Vector3.new(-0.000230005055, -5.67220122e-05, 0.000283503003)
  3517. o63.Locked = true
  3518. o63.Size = Vector3.new(0.0500000007, 2.80000043, 2.59999967)
  3519. o63.CFrame = CFrame.new(-136.532822, 6.198524, -87.0879211, -0.839496315, -5.25036339e-05, -0.543365359, 0.000150931577, -1, -0.000136561634, -0.543365359, -0.000196653986, 0.839496315)
  3520. o63.BackSurface = Enum.SurfaceType.Weld
  3521. o63.BottomSurface = Enum.SurfaceType.Weld
  3522. o63.FrontSurface = Enum.SurfaceType.Weld
  3523. o63.LeftSurface = Enum.SurfaceType.Weld
  3524. o63.RightSurface = Enum.SurfaceType.Weld
  3525. o63.TopSurface = Enum.SurfaceType.Smooth
  3526. o63.Color = Color3.new(0.592157, 0, 0)
  3527. o63.Position = Vector3.new(-136.532822, 6.198524, -87.0879211)
  3528. o63.velocity = Vector3.new(-0.000230005055, -5.67220122e-05, 0.000283503003)
  3529. o64.Name = "DO NOT USE"
  3530. o64.Parent = o62
  3531. o64.Material = Enum.Material.SmoothPlastic
  3532. o64.Position = Vector3.new(-134.802933, 4.99836493, -87.8744125)
  3533. o64.Rotation = Vector3.new(-89.9899979, 0, -32.9099998)
  3534. o64.RotVelocity = Vector3.new(4.3072112e-05, 5.30277748e-06, 3.47937457e-05)
  3535. o64.Velocity = Vector3.new(-0.000192417618, 3.73431576e-05, 0.000222636401)
  3536. o64.Locked = true
  3537. o64.FormFactor = Enum.FormFactor.Symmetric
  3538. o64.Size = Vector3.new(2.00000191, 0.599999845, 0.399999857)
  3539. o64.CFrame = CFrame.new(-134.802933, 4.99836493, -87.8744125, 0.839496315, 0.543365359, 5.25036339e-05, -0.000150931577, 0.000136561634, 1, 0.543365359, -0.839496315, 0.000196653986)
  3540. o64.BackSurface = Enum.SurfaceType.Weld
  3541. o64.BottomSurface = Enum.SurfaceType.Weld
  3542. o64.TopSurface = Enum.SurfaceType.Weld
  3543. o64.Position = Vector3.new(-134.802933, 4.99836493, -87.8744125)
  3544. o64.velocity = Vector3.new(-0.000192417618, 3.73431576e-05, 0.000222636401)
  3545. o65.Parent = o64
  3546. o65.MeshType = Enum.MeshType.Wedge
  3547. o66.Parent = o62
  3548. o66.Material = Enum.Material.SmoothPlastic
  3549. o66.Position = Vector3.new(-135.780914, 6.19827843, -86.36306)
  3550. o66.Rotation = Vector3.new(0.00999999978, -32.9099998, 180)
  3551. o66.RotVelocity = Vector3.new(0.00023470851, -3.03909183e-05, 0.000225432508)
  3552. o66.Velocity = Vector3.new(-0.00132918626, 0.000129914406, 0.00142454414)
  3553. o66.Locked = true
  3554. o66.FormFactor = Enum.FormFactor.Symmetric
  3555. o66.Size = Vector3.new(2, 2.80000019, 3)
  3556. o66.CFrame = CFrame.new(-135.780914, 6.19827843, -86.36306, -0.839496195, -5.16029722e-05, -0.543365598, 0.000150717431, -1, -0.000137888259, -0.543365598, -0.00019765133, 0.839496195)
  3557. o66.BackSurface = Enum.SurfaceType.Weld
  3558. o66.BottomSurface = Enum.SurfaceType.Smooth
  3559. o66.TopSurface = Enum.SurfaceType.Smooth
  3560. o66.Position = Vector3.new(-135.780914, 6.19827843, -86.36306)
  3561. o66.velocity = Vector3.new(-0.00132918626, 0.000129914406, 0.00142454414)
  3562. o67.Parent = o62
  3563. o67.Material = Enum.Material.SmoothPlastic
  3564. o67.Position = Vector3.new(-137.411301, 6.19789553, -83.844696)
  3565. o67.Rotation = Vector3.new(0.00999999978, -32.9099998, 180)
  3566. o67.RotVelocity = Vector3.new(0.00023470851, -3.03909183e-05, 0.000225432508)
  3567. o67.Velocity = Vector3.new(-0.00140563527, -0.000828709104, 0.00137490535)
  3568. o67.Locked = true
  3569. o67.FormFactor = Enum.FormFactor.Symmetric
  3570. o67.Size = Vector3.new(2, 2, 3)
  3571. o67.CFrame = CFrame.new(-137.411301, 6.19789553, -83.844696, -0.839496195, -5.16029722e-05, -0.543365598, 0.000150717431, -1, -0.000137888259, -0.543365598, -0.00019765133, 0.839496195)
  3572. o67.BackSurface = Enum.SurfaceType.Weld
  3573. o67.BottomSurface = Enum.SurfaceType.Smooth
  3574. o67.TopSurface = Enum.SurfaceType.Smooth
  3575. o67.Position = Vector3.new(-137.411301, 6.19789553, -83.844696)
  3576. o67.velocity = Vector3.new(-0.00140563527, -0.000828709104, 0.00137490535)
  3577. o68.Parent = o62
  3578. o68.Material = Enum.Material.SmoothPlastic
  3579. o68.Position = Vector3.new(-136.574097, 6.19855595, -87.1146317)
  3580. o68.Rotation = Vector3.new(0.00999999978, -32.9099998, 180)
  3581. o68.RotVelocity = Vector3.new(0.000253090257, -7.43256351e-06, 0.00022682859)
  3582. o68.Velocity = Vector3.new(-0.00155005627, 0.000266091432, 0.0016028129)
  3583. o68.Locked = true
  3584. o68.Size = Vector3.new(0.0500000007, 2.40000033, 2.19999957)
  3585. o68.CFrame = CFrame.new(-136.574097, 6.19855595, -87.1146317, -0.839496136, -5.05635653e-05, -0.543365598, 0.000150427426, -1, -0.000139353113, -0.543365598, -0.000198723486, 0.839496136)
  3586. o68.BackSurface = Enum.SurfaceType.Weld
  3587. o68.BottomSurface = Enum.SurfaceType.Weld
  3588. o68.FrontSurface = Enum.SurfaceType.Weld
  3589. o68.LeftSurface = Enum.SurfaceType.Weld
  3590. o68.RightSurface = Enum.SurfaceType.Weld
  3591. o68.TopSurface = Enum.SurfaceType.Smooth
  3592. o68.Position = Vector3.new(-136.574097, 6.19855595, -87.1146317)
  3593. o68.velocity = Vector3.new(-0.00155005627, 0.000266091432, 0.0016028129)
  3594. o69.Parent = o62
  3595. o69.Material = Enum.Material.SmoothPlastic
  3596. o69.Position = Vector3.new(-134.802643, 6.19834709, -87.8739319)
  3597. o69.Rotation = Vector3.new(0.00999999978, -32.9099998, 180)
  3598. o69.RotVelocity = Vector3.new(0.000253090257, -7.43256351e-06, 0.00022682859)
  3599. o69.Velocity = Vector3.new(-0.00154436531, 0.000860079308, 0.00161592662)
  3600. o69.Locked = true
  3601. o69.FormFactor = Enum.FormFactor.Symmetric
  3602. o69.Size = Vector3.new(2, 2, 0.599999726)
  3603. o69.CFrame = CFrame.new(-134.802643, 6.19834709, -87.8739319, -0.839496136, -5.05635653e-05, -0.543365598, 0.000150427426, -1, -0.000139353113, -0.543365598, -0.000198723486, 0.839496136)
  3604. o69.BackSurface = Enum.SurfaceType.Weld
  3605. o69.BottomSurface = Enum.SurfaceType.Smooth
  3606. o69.TopSurface = Enum.SurfaceType.Smooth
  3607. o69.Position = Vector3.new(-134.802643, 6.19834709, -87.8739319)
  3608. o69.velocity = Vector3.new(-0.00154436531, 0.000860079308, 0.00161592662)
  3609. o70.Name = "DO NOT USE"
  3610. o70.Parent = o62
  3611. o70.Material = Enum.Material.SmoothPlastic
  3612. o70.Position = Vector3.new(-137.411392, 4.99786854, -83.8449402)
  3613. o70.Rotation = Vector3.new(-179.98999, 32.9099998, 0)
  3614. o70.RotVelocity = Vector3.new(0.000253090257, -7.43256351e-06, 0.00022682859)
  3615. o70.Velocity = Vector3.new(-0.00130200817, -0.000751358108, 0.00129270751)
  3616. o70.Locked = true
  3617. o70.FormFactor = Enum.FormFactor.Symmetric
  3618. o70.Size = Vector3.new(2.00000191, 0.399999857, 3.00000024)
  3619. o70.CFrame = CFrame.new(-137.411392, 4.99786854, -83.8449402, 0.839496136, -5.05635653e-05, 0.543365598, -0.000150427426, -1, 0.000139353113, 0.543365598, -0.000198723486, -0.839496136)
  3620. o70.BackSurface = Enum.SurfaceType.Weld
  3621. o70.BottomSurface = Enum.SurfaceType.Weld
  3622. o70.TopSurface = Enum.SurfaceType.Weld
  3623. o70.Position = Vector3.new(-137.411392, 4.99786854, -83.8449402)
  3624. o70.velocity = Vector3.new(-0.00130200817, -0.000751358108, 0.00129270751)
  3625. o71.Parent = o70
  3626. o71.MeshType = Enum.MeshType.Wedge
  3627. o72.Name = "DO NOT USE"
  3628. o72.Parent = o62
  3629. o72.Material = Enum.Material.SmoothPlastic
  3630. o72.Position = Vector3.new(-137.418991, 7.39900208, -83.8490753)
  3631. o72.Rotation = Vector3.new(-179.98999, 32.9099998, -179.98999)
  3632. o72.RotVelocity = Vector3.new(7.77078967e-05, -1.51620579e-05, 4.29849788e-05)
  3633. o72.Velocity = Vector3.new(-0.000357829325, -0.000151855042, 0.000459625851)
  3634. o72.Locked = true
  3635. o72.FormFactor = Enum.FormFactor.Symmetric
  3636. o72.Size = Vector3.new(2.00000191, 0.399999857, 3.00000024)
  3637. o72.CFrame = CFrame.new(-137.418991, 7.39900208, -83.8490753, -0.839526951, 0.000180549046, 0.543318033, 0.00030415511, 0.99999994, 0.000137667739, -0.543318033, 0.000280828739, -0.839526951)
  3638. o72.BackSurface = Enum.SurfaceType.Weld
  3639. o72.BottomSurface = Enum.SurfaceType.Weld
  3640. o72.TopSurface = Enum.SurfaceType.Weld
  3641. o72.Position = Vector3.new(-137.418991, 7.39900208, -83.8490753)
  3642. o72.velocity = Vector3.new(-0.000357829325, -0.000151855042, 0.000459625851)
  3643. o73.Parent = o72
  3644. o73.MeshType = Enum.MeshType.Wedge
  3645. o74.Name = "DO NOT USE"
  3646. o74.Parent = o62
  3647. o74.Material = Enum.Material.SmoothPlastic
  3648. o74.Position = Vector3.new(-134.810562, 7.39936543, -87.8785324)
  3649. o74.Rotation = Vector3.new(90.0199966, -0.00999999978, -147.089996)
  3650. o74.RotVelocity = Vector3.new(0.000111503665, -9.20676212e-06, 7.29097737e-05)
  3651. o74.Velocity = Vector3.new(-0.000516644155, 0.00033287509, 0.000744206132)
  3652. o74.Locked = true
  3653. o74.FormFactor = Enum.FormFactor.Symmetric
  3654. o74.Size = Vector3.new(2.00000191, 0.599999845, 0.399999857)
  3655. o74.CFrame = CFrame.new(-134.810562, 7.39936543, -87.8785324, -0.839526832, 0.543318152, -0.000180225616, 0.000304189627, 0.000138316303, -0.99999994, -0.543318093, -0.839526832, -0.000281392015)
  3656. o74.BackSurface = Enum.SurfaceType.Weld
  3657. o74.BottomSurface = Enum.SurfaceType.Weld
  3658. o74.TopSurface = Enum.SurfaceType.Weld
  3659. o74.Position = Vector3.new(-134.810562, 7.39936543, -87.8785324)
  3660. o74.velocity = Vector3.new(-0.000516644155, 0.00033287509, 0.000744206132)
  3661. o75.Parent = o74
  3662. o75.MeshType = Enum.MeshType.Wedge
  3663. o76.Parent = o53
  3664. o77.Name = "Switch"
  3665. o77.Parent = o76
  3666. o77.Material = Enum.Material.Neon
  3667. o77.BrickColor = BrickColor.new("Sea green")
  3668. o77.Position = Vector3.new(-134.12767, 5.37499142, -79.9729156)
  3669. o77.Rotation = Vector3.new(90.0199966, -0.00999999978, 32.9099998)
  3670. o77.RotVelocity = Vector3.new(6.4323991e-05, -1.52255034e-05, 3.63236832e-05)
  3671. o77.Velocity = Vector3.new(-0.000397734955, -0.000277286745, 0.000357224868)
  3672. o77.CanCollide = false
  3673. o77.Locked = true
  3674. o77.FormFactor = Enum.FormFactor.Plate
  3675. o77.Size = Vector3.new(0.469999969, 0.0500000007, 0.489999861)
  3676. o77.CFrame = CFrame.new(-134.12767, 5.37499142, -79.9729156, 0.839526832, -0.543318212, -0.00018005837, -0.000304217712, -0.000138667485, -0.99999994, 0.543318152, 0.839526832, -0.000281702087)
  3677. o77.BottomSurface = Enum.SurfaceType.Weld
  3678. o77.TopSurface = Enum.SurfaceType.Weld
  3679. o77.Color = Color3.new(0.203922, 0.556863, 0.25098)
  3680. o77.Position = Vector3.new(-134.12767, 5.37499142, -79.9729156)
  3681. o77.velocity = Vector3.new(-0.000397734955, -0.000277286745, 0.000357224868)
  3682. o78.Parent = o77
  3683. o78.MaxActivationDistance = 10
  3684. o79.Name = "CannonBall"
  3685. o79.Parent = o77
  3686. o79.Disabled = true
  3687.  
  3688. runDummyScript(function()
  3689. ball = script.Parent
  3690. damage = 1000
  3691.  
  3692. function onTouched(hit)
  3693.  
  3694.  
  3695. local humanoid = hit.Parent:findFirstChild("Humanoid")
  3696. if humanoid~=nil then
  3697. tagHumanoid(humanoid)
  3698. humanoid.Health = humanoid.Health - damage
  3699. wait(0.01)
  3700. untagHumanoid(humanoid)
  3701. connection:disconnect()
  3702. else
  3703. damage = damage / 2
  3704. if damage < 2 then
  3705. connection:disconnect()
  3706. ball.Parent = nil
  3707. end
  3708. end
  3709.  
  3710. if math.random(1,1) == 1 then
  3711. explosion = Instance.new("Explosion")
  3712. explosion.BlastRadius = 10
  3713. explosion.BlastPressure = 50 -- these are really wussy units
  3714. explosion.Position = script.Parent.Position
  3715. explosion.Parent = game.Workspace
  3716. connection:disconnect()
  3717. ball.Parent = nil
  3718. cancollide = true
  3719. end
  3720.  
  3721. end
  3722.  
  3723. function tagHumanoid(humanoid)
  3724. -- todo: make tag expire
  3725. local tag = ball:findFirstChild("creator")
  3726. if tag ~= nil then
  3727. local new_tag = tag:clone()
  3728. new_tag.Parent = humanoid
  3729. end
  3730. end
  3731.  
  3732.  
  3733. function untagHumanoid(humanoid)
  3734. if humanoid ~= nil then
  3735. local tag = humanoid:findFirstChild("creator")
  3736. if tag ~= nil then
  3737. tag.Parent = nil
  3738. end
  3739. end
  3740. end
  3741.  
  3742. connection = ball.Touched:connect(onTouched)
  3743.  
  3744. r = game:service("RunService")
  3745. t, s = r.Stepped:wait()
  3746. d = t + 5.0 - s
  3747. while t < d do
  3748. t = r.Stepped:wait()
  3749. end
  3750.  
  3751. ball.Parent = nil
  3752. end,o79)
  3753.  
  3754. o80.Name = "FireGun"
  3755. o80.Parent = o77
  3756.  
  3757. runDummyScript(function()
  3758. local switch = script.Parent
  3759. local gunBarrelOne = script.Parent.Parent.GunBarrel.One
  3760.  
  3761. local debounce = false
  3762. local gunOne = true
  3763.  
  3764. local cannonBall = Instance.new("Part")
  3765. cannonBall.Size = Vector3.new(1,1,1)
  3766. cannonBall.BrickColor = BrickColor.new(26) -- Really black
  3767. cannonBall.Shape = 0
  3768. cannonBall.BottomSurface = 0
  3769. cannonBall.TopSurface = 0
  3770. cannonBall.Name = "Cannon Shot"
  3771. cannonBall.Elasticity = .1
  3772. cannonBall.Reflectance = 0
  3773. cannonBall.Friction = 0
  3774.  
  3775. function fire(player)
  3776.  
  3777. local sound = script.Parent:findFirstChild("GunSound")
  3778. if sound == nil then
  3779. sound = Instance.new("Sound")
  3780. sound.Name = "GunSound"
  3781. sound.SoundId = "http://www.roblox.com/asset?id=2101148"
  3782. sound.Volume = 1
  3783. sound.Parent = script.Parent
  3784. end
  3785. sound:play()
  3786.  
  3787.  
  3788.  
  3789.  
  3790. local missile = Instance.new("Part")
  3791.  
  3792.  
  3793. local barrel
  3794.  
  3795. if gunOne == true then
  3796. barrel = gunBarrelOne
  3797. gunOne = true
  3798.  
  3799. end
  3800.  
  3801. local spawnPos = barrel.CFrame * Vector3.new(6, 0, 0)
  3802.  
  3803. local dx = math.random(50,50)
  3804. local dy = math.random(0,0)
  3805. local dz = math.random(0,0)
  3806. local mag = math.random(300,300)
  3807.  
  3808. local v = barrel.CFrame:vectorToWorldSpace(Vector3.new(mag + dx,dy,dz))
  3809.  
  3810. local missile = cannonBall:clone()
  3811.  
  3812. missile.Position = spawnPos
  3813. missile.Velocity = v
  3814.  
  3815.  
  3816.  
  3817. local new_script = script.Parent.CannonBall:clone()
  3818. new_script.Disabled = false
  3819. new_script.Parent = missile
  3820.  
  3821. local creator_tag = Instance.new("ObjectValue")
  3822. creator_tag.Value = player
  3823. creator_tag.Name = "creator"
  3824. creator_tag.Parent = missile
  3825.  
  3826.  
  3827.  
  3828. missile.Parent = game.Workspace
  3829.  
  3830. end
  3831.  
  3832. function onClicked()
  3833. if debounce == false then
  3834. debounce = true
  3835. switch.BrickColor = BrickColor.new(21)
  3836. -- let slip the dogs of war
  3837. fire(player)
  3838. wait(.1)
  3839.  
  3840. wait(0.5)
  3841. debounce = false
  3842. switch.BrickColor = BrickColor.new(37)
  3843. end
  3844. end
  3845.  
  3846.  
  3847. script.Parent.ClickDetector.MouseClick:connect(onClicked)
  3848.  
  3849.  
  3850.  
  3851. end,o80)
  3852.  
  3853. o81.Name = "GunSound"
  3854. o81.Parent = o77
  3855. o81.SoundId = "rbxassetid://1486537732"
  3856. o82.Name = "GunBarrel"
  3857. o82.Parent = o76
  3858. o83.Name = "One"
  3859. o83.Parent = o82
  3860. o83.Material = Enum.Material.SmoothPlastic
  3861. o83.Position = Vector3.new(-131.222809, 6.19571638, -76.8614578)
  3862. o83.Rotation = Vector3.new(90.0199966, -0.00999999978, 122.909996)
  3863. o83.RotVelocity = Vector3.new(6.36389668e-05, -5.95260644e-07, 4.39999349e-05)
  3864. o83.Velocity = Vector3.new(-0.000281260407, -0.000352448929, 0.000396464719)
  3865. o83.Locked = true
  3866. o83.FormFactor = Enum.FormFactor.Symmetric
  3867. o83.Shape = Enum.PartType.Cylinder
  3868. o83.Size = Vector3.new(2, 2, 2)
  3869. o83.CFrame = CFrame.new(-131.222809, 6.19571638, -76.8614578, -0.543318272, -0.839526772, -0.000179545503, -0.000139566066, 0.000304188376, -0.99999994, 0.839526772, -0.543318212, -0.000282440538)
  3870. o83.BottomSurface = Enum.SurfaceType.Smooth
  3871. o83.LeftSurface = Enum.SurfaceType.Weld
  3872. o83.RightSurface = Enum.SurfaceType.Weld
  3873. o83.TopSurface = Enum.SurfaceType.Smooth
  3874. o83.Position = Vector3.new(-131.222809, 6.19571638, -76.8614578)
  3875. o83.velocity = Vector3.new(-0.000281260407, -0.000352448929, 0.000396464719)
  3876. o84.Parent = o76
  3877. o85.Parent = o84
  3878. o85.Material = Enum.Material.Neon
  3879. o85.BrickColor = BrickColor.new("Crimson")
  3880. o85.Position = Vector3.new(-127.265427, 6.19620752, -81.0899048)
  3881. o85.Rotation = Vector3.new(0.00999999978, -32.9099998, -0.00999999978)
  3882. o85.RotVelocity = Vector3.new(6.5815635e-05, -1.32384743e-08, 4.54630353e-05)
  3883. o85.Velocity = Vector3.new(-0.000303327746, 9.12678952e-05, 0.000401923055)
  3884. o85.Locked = true
  3885. o85.Size = Vector3.new(0.0500000007, 2.80000043, 2.59999967)
  3886. o85.CFrame = CFrame.new(-127.265427, 6.19620752, -81.0899048, 0.839526713, 0.000179400187, -0.543318391, -0.000304231653, 0.99999994, -0.000139900323, 0.543318331, 0.000282744702, 0.839526713)
  3887. o85.BackSurface = Enum.SurfaceType.Weld
  3888. o85.BottomSurface = Enum.SurfaceType.Weld
  3889. o85.FrontSurface = Enum.SurfaceType.Weld
  3890. o85.LeftSurface = Enum.SurfaceType.Weld
  3891. o85.RightSurface = Enum.SurfaceType.Weld
  3892. o85.TopSurface = Enum.SurfaceType.Smooth
  3893. o85.Color = Color3.new(0.592157, 0, 0)
  3894. o85.Position = Vector3.new(-127.265427, 6.19620752, -81.0899048)
  3895. o85.velocity = Vector3.new(-0.000303327746, 9.12678952e-05, 0.000401923055)
  3896. o86.Name = "DO NOT USE"
  3897. o86.Parent = o84
  3898. o86.Material = Enum.Material.SmoothPlastic
  3899. o86.Position = Vector3.new(-127.256676, 7.39675236, -82.9898453)
  3900. o86.Rotation = Vector3.new(90.0199966, -0.00999999978, -147.089996)
  3901. o86.RotVelocity = Vector3.new(6.5815635e-05, -1.32384743e-08, 4.54630353e-05)
  3902. o86.Velocity = Vector3.new(-0.000357882993, 0.000216711516, 0.000480937771)
  3903. o86.Locked = true
  3904. o86.FormFactor = Enum.FormFactor.Symmetric
  3905. o86.Size = Vector3.new(2.00000191, 0.599999845, 0.399999857)
  3906. o86.CFrame = CFrame.new(-127.256676, 7.39675236, -82.9898453, -0.839526713, 0.543318391, -0.000179400187, 0.000304231653, 0.000139900323, -0.99999994, -0.543318331, -0.839526713, -0.000282744702)
  3907. o86.BackSurface = Enum.SurfaceType.Weld
  3908. o86.BottomSurface = Enum.SurfaceType.Weld
  3909. o86.TopSurface = Enum.SurfaceType.Weld
  3910. o86.Position = Vector3.new(-127.256676, 7.39675236, -82.9898453)
  3911. o86.velocity = Vector3.new(-0.000357882993, 0.000216711516, 0.000480937771)
  3912. o87.Parent = o86
  3913. o87.MeshType = Enum.MeshType.Wedge
  3914. o88.Parent = o84
  3915. o88.Material = Enum.Material.SmoothPlastic
  3916. o88.Position = Vector3.new(-128.234726, 6.19665432, -81.4789658)
  3917. o88.Rotation = Vector3.new(0.00999999978, -32.9099998, -0.00999999978)
  3918. o88.RotVelocity = Vector3.new(6.58062054e-05, 7.83107794e-07, 4.43295576e-05)
  3919. o88.Velocity = Vector3.new(-0.000298792089, 6.65106709e-05, 0.000390618428)
  3920. o88.Locked = true
  3921. o88.FormFactor = Enum.FormFactor.Symmetric
  3922. o88.Size = Vector3.new(2, 2.80000019, 3)
  3923. o88.CFrame = CFrame.new(-128.234726, 6.19665432, -81.4789658, 0.839526713, 0.000179035444, -0.543318391, -0.000304220681, 0.99999994, -0.000140554708, 0.543318331, 0.000283288129, 0.839526713)
  3924. o88.BackSurface = Enum.SurfaceType.Weld
  3925. o88.BottomSurface = Enum.SurfaceType.Smooth
  3926. o88.TopSurface = Enum.SurfaceType.Smooth
  3927. o88.Position = Vector3.new(-128.234726, 6.19665432, -81.4789658)
  3928. o88.velocity = Vector3.new(-0.000298792089, 6.65106709e-05, 0.000390618428)
  3929. o89.Parent = o84
  3930. o89.Material = Enum.Material.SmoothPlastic
  3931. o89.Position = Vector3.new(-129.864639, 6.19613409, -78.9603577)
  3932. o89.Rotation = Vector3.new(0.00999999978, -32.9099998, -0.00999999978)
  3933. o89.RotVelocity = Vector3.new(6.58062054e-05, 7.83107794e-07, 4.43295576e-05)
  3934. o89.Velocity = Vector3.new(-0.000296796701, -0.000171482738, 0.000391860609)
  3935. o89.Locked = true
  3936. o89.FormFactor = Enum.FormFactor.Symmetric
  3937. o89.Size = Vector3.new(2, 2, 3)
  3938. o89.CFrame = CFrame.new(-129.864639, 6.19613409, -78.9603577, 0.839526713, 0.000179035444, -0.543318391, -0.000304220681, 0.99999994, -0.000140554708, 0.543318331, 0.000283288129, 0.839526713)
  3939. o89.BackSurface = Enum.SurfaceType.Weld
  3940. o89.BottomSurface = Enum.SurfaceType.Smooth
  3941. o89.TopSurface = Enum.SurfaceType.Smooth
  3942. o89.Position = Vector3.new(-129.864639, 6.19613409, -78.9603577)
  3943. o89.velocity = Vector3.new(-0.000296796701, -0.000171482738, 0.000391860609)
  3944. o90.Parent = o84
  3945. o90.Material = Enum.Material.SmoothPlastic
  3946. o90.Position = Vector3.new(-127.224304, 6.19594479, -81.0632782)
  3947. o90.Rotation = Vector3.new(0.00999999978, -32.9099998, -0.00999999978)
  3948. o90.RotVelocity = Vector3.new(6.67982385e-05, -6.89868571e-08, 4.6183588e-05)
  3949. o90.Velocity = Vector3.new(-0.000295986392, 8.90148949e-05, 0.0004076474)
  3950. o90.Locked = true
  3951. o90.Size = Vector3.new(0.0500000007, 2.40000033, 2.19999957)
  3952. o90.CFrame = CFrame.new(-127.224304, 6.19594479, -81.0632782, 0.839526772, 0.000178883667, -0.543318331, -0.000304247107, 0.99999994, -0.000140874952, 0.543318272, 0.000283571339, 0.839526772)
  3953. o90.BackSurface = Enum.SurfaceType.Weld
  3954. o90.BottomSurface = Enum.SurfaceType.Weld
  3955. o90.FrontSurface = Enum.SurfaceType.Weld
  3956. o90.LeftSurface = Enum.SurfaceType.Weld
  3957. o90.RightSurface = Enum.SurfaceType.Weld
  3958. o90.TopSurface = Enum.SurfaceType.Smooth
  3959. o90.Position = Vector3.new(-127.224304, 6.19594479, -81.0632782)
  3960. o90.velocity = Vector3.new(-0.000295986392, 8.90148949e-05, 0.0004076474)
  3961. o91.Parent = o84
  3962. o91.Material = Enum.Material.SmoothPlastic
  3963. o91.Position = Vector3.new(-127.25705, 6.19698238, -82.9902115)
  3964. o91.Rotation = Vector3.new(0.00999999978, -32.9099998, -0.00999999978)
  3965. o91.RotVelocity = Vector3.new(6.67982385e-05, -6.89868571e-08, 4.6183588e-05)
  3966. o91.Velocity = Vector3.new(-0.00029590138, 0.000216218352, 0.000407714484)
  3967. o91.Locked = true
  3968. o91.FormFactor = Enum.FormFactor.Symmetric
  3969. o91.Size = Vector3.new(2, 2, 0.599999726)
  3970. o91.CFrame = CFrame.new(-127.25705, 6.19698238, -82.9902115, 0.839526772, 0.000178883667, -0.543318331, -0.000304247107, 0.99999994, -0.000140874952, 0.543318272, 0.000283571339, 0.839526772)
  3971. o91.BackSurface = Enum.SurfaceType.Weld
  3972. o91.BottomSurface = Enum.SurfaceType.Smooth
  3973. o91.TopSurface = Enum.SurfaceType.Smooth
  3974. o91.Position = Vector3.new(-127.25705, 6.19698238, -82.9902115)
  3975. o91.velocity = Vector3.new(-0.00029590138, 0.000216218352, 0.000407714484)
  3976. o92.Name = "DO NOT USE"
  3977. o92.Parent = o84
  3978. o92.Material = Enum.Material.SmoothPlastic
  3979. o92.Position = Vector3.new(-129.86412, 7.39586782, -78.9597397)
  3980. o92.Rotation = Vector3.new(-179.98999, 32.9099998, -179.98999)
  3981. o92.RotVelocity = Vector3.new(6.67982385e-05, -6.89868571e-08, 4.6183588e-05)
  3982. o92.Velocity = Vector3.new(-0.000351548253, -0.000173413951, 0.000487618061)
  3983. o92.Locked = true
  3984. o92.FormFactor = Enum.FormFactor.Symmetric
  3985. o92.Size = Vector3.new(2.00000191, 0.399999857, 3.00000024)
  3986. o92.CFrame = CFrame.new(-129.86412, 7.39586782, -78.9597397, -0.839526772, 0.000178883667, 0.543318331, 0.000304247107, 0.99999994, 0.000140874952, -0.543318272, 0.000283571339, -0.839526772)
  3987. o92.BackSurface = Enum.SurfaceType.Weld
  3988. o92.BottomSurface = Enum.SurfaceType.Weld
  3989. o92.TopSurface = Enum.SurfaceType.Weld
  3990. o92.Position = Vector3.new(-129.86412, 7.39586782, -78.9597397)
  3991. o92.velocity = Vector3.new(-0.000351548253, -0.000173413951, 0.000487618061)
  3992. o93.Parent = o92
  3993. o93.MeshType = Enum.MeshType.Wedge
  3994. o94.Name = "DO NOT USE"
  3995. o94.Parent = o84
  3996. o94.Material = Enum.Material.SmoothPlastic
  3997. o94.Position = Vector3.new(-129.864761, 4.99577713, -78.9606018)
  3998. o94.Rotation = Vector3.new(-179.98999, 32.9099998, 0.00999999978)
  3999. o94.RotVelocity = Vector3.new(6.34384924e-05, 8.13685006e-07, 4.27854829e-05)
  4000. o94.Velocity = Vector3.new(-0.000236398671, -0.000166608253, 0.00030058081)
  4001. o94.Locked = true
  4002. o94.FormFactor = Enum.FormFactor.Symmetric
  4003. o94.Size = Vector3.new(2.00000191, 0.399999857, 3.00000024)
  4004. o94.CFrame = CFrame.new(-129.864761, 4.99577713, -78.9606018, 0.839526713, -0.000178759699, 0.543318391, -0.00030428046, -0.99999994, 0.000141154611, 0.543318331, -0.000283824251, -0.839526713)
  4005. o94.BackSurface = Enum.SurfaceType.Weld
  4006. o94.BottomSurface = Enum.SurfaceType.Weld
  4007. o94.TopSurface = Enum.SurfaceType.Weld
  4008. o94.Position = Vector3.new(-129.864761, 4.99577713, -78.9606018)
  4009. o94.velocity = Vector3.new(-0.000236398671, -0.000166608253, 0.00030058081)
  4010. o95.Parent = o94
  4011. o95.MeshType = Enum.MeshType.Wedge
  4012. o96.Name = "DO NOT USE"
  4013. o96.Parent = o84
  4014. o96.Material = Enum.Material.SmoothPlastic
  4015. o96.Position = Vector3.new(-127.257317, 4.99676943, -82.9905853)
  4016. o96.Rotation = Vector3.new(-89.9799957, 0.00999999978, -32.9099998)
  4017. o96.RotVelocity = Vector3.new(7.00316159e-05, 4.55531563e-07, 5.11435792e-05)
  4018. o96.Velocity = Vector3.new(-0.000278955296, 0.00024227993, 0.00033147147)
  4019. o96.Locked = true
  4020. o96.FormFactor = Enum.FormFactor.Symmetric
  4021. o96.Size = Vector3.new(2.00000191, 0.599999845, 0.399999857)
  4022. o96.CFrame = CFrame.new(-127.257317, 4.99676943, -82.9905853, 0.839526772, 0.543318331, 0.000178277958, -0.000304155576, 0.000141848315, 0.99999994, 0.543318272, -0.839526772, 0.000284338748)
  4023. o96.BackSurface = Enum.SurfaceType.Weld
  4024. o96.BottomSurface = Enum.SurfaceType.Weld
  4025. o96.TopSurface = Enum.SurfaceType.Weld
  4026. o96.Position = Vector3.new(-127.257317, 4.99676943, -82.9905853)
  4027. o96.velocity = Vector3.new(-0.000278955296, 0.00024227993, 0.00033147147)
  4028. o97.Parent = o96
  4029. o97.MeshType = Enum.MeshType.Wedge
  4030. o98.Parent = o52
  4031. o99.Name = "Door"
  4032. o99.Parent = o9
  4033. o100.Name = "D3"
  4034. o100.Parent = o99
  4035. o100.Material = Enum.Material.SmoothPlastic
  4036. o100.BrickColor = BrickColor.new("Quill grey")
  4037. o100.Position = Vector3.new(-130.056168, 6.29858971, -86.9457626)
  4038. o100.Rotation = Vector3.new(0.00999999978, -32.9099998, -0.00999999978)
  4039. o100.RotVelocity = Vector3.new(7.842372e-05, -3.49509037e-07, 4.2656131e-05)
  4040. o100.Velocity = Vector3.new(-0.0003163605, 0.000268471456, 0.000490197039)
  4041. o100.CanCollide = false
  4042. o100.Locked = true
  4043. o100.FormFactor = Enum.FormFactor.Symmetric
  4044. o100.Size = Vector3.new(4.99999952, 1.79999995, 1.39999986)
  4045. o100.CFrame = CFrame.new(-130.056168, 6.29858971, -86.9457626, 0.839526713, 0.000178092872, -0.543318391, -0.000304223999, 0.99999994, -0.000142294695, 0.543318331, 0.000284750713, 0.839526713)
  4046. o100.BackSurface = Enum.SurfaceType.Weld
  4047. o100.BottomSurface = Enum.SurfaceType.Weld
  4048. o100.TopSurface = Enum.SurfaceType.Weld
  4049. o100.Color = Color3.new(0.87451, 0.87451, 0.870588)
  4050. o100.Position = Vector3.new(-130.056168, 6.29858971, -86.9457626)
  4051. o100.velocity = Vector3.new(-0.0003163605, 0.000268471456, 0.000490197039)
  4052. o101.Parent = o100
  4053. o101.MeshType = Enum.MeshType.Wedge
  4054. o102.Name = "D2"
  4055. o102.Parent = o99
  4056. o102.Material = Enum.Material.SmoothPlastic
  4057. o102.BrickColor = BrickColor.new("Quill grey")
  4058. o102.Position = Vector3.new(-130.056641, 4.39847565, -86.9464569)
  4059. o102.Rotation = Vector3.new(-179.98999, 32.9099998, -179.98999)
  4060. o102.RotVelocity = Vector3.new(4.65711855e-05, 1.20647428e-06, 2.28948611e-05)
  4061. o102.Velocity = Vector3.new(-0.000165928985, 0.000154269001, 0.000205332792)
  4062. o102.CanCollide = false
  4063. o102.Locked = true
  4064. o102.Size = Vector3.new(4.99999666, 2.00000024, 1.39999938)
  4065. o102.CFrame = CFrame.new(-130.056641, 4.39847565, -86.9464569, -0.839526713, 0.000177997616, 0.543318391, 0.000304242363, 0.99999994, 0.000142498378, -0.543318331, 0.000284931652, -0.839526713)
  4066. o102.BackSurface = Enum.SurfaceType.Weld
  4067. o102.BottomSurface = Enum.SurfaceType.Weld
  4068. o102.FrontSurface = Enum.SurfaceType.Weld
  4069. o102.LeftSurface = Enum.SurfaceType.Weld
  4070. o102.RightSurface = Enum.SurfaceType.Weld
  4071. o102.TopSurface = Enum.SurfaceType.Smooth
  4072. o102.Color = Color3.new(0.87451, 0.87451, 0.870588)
  4073. o102.Position = Vector3.new(-130.056641, 4.39847565, -86.9464569)
  4074. o102.velocity = Vector3.new(-0.000165928985, 0.000154269001, 0.000205332792)
  4075. o103.Name = "D4"
  4076. o103.Parent = o99
  4077. o103.Material = Enum.Material.SmoothPlastic
  4078. o103.BrickColor = BrickColor.new("Quill grey")
  4079. o103.Position = Vector3.new(-130.057053, 2.49848461, -86.9470444)
  4080. o103.Rotation = Vector3.new(0.00999999978, -32.9099998, 179.98999)
  4081. o103.RotVelocity = Vector3.new(4.65711855e-05, 1.20647428e-06, 2.28948611e-05)
  4082. o103.Velocity = Vector3.new(-0.000122429657, 0.000154286914, 0.00011684843)
  4083. o103.CanCollide = false
  4084. o103.Locked = true
  4085. o103.FormFactor = Enum.FormFactor.Symmetric
  4086. o103.Size = Vector3.new(4.99999952, 1.79999995, 1.39999986)
  4087. o103.CFrame = CFrame.new(-130.057053, 2.49848461, -86.9470444, -0.839526713, -0.000177997616, -0.543318391, 0.000304242363, -0.99999994, -0.000142498378, -0.543318331, -0.000284931652, 0.839526713)
  4088. o103.BackSurface = Enum.SurfaceType.Weld
  4089. o103.BottomSurface = Enum.SurfaceType.Weld
  4090. o103.TopSurface = Enum.SurfaceType.Weld
  4091. o103.Color = Color3.new(0.87451, 0.87451, 0.870588)
  4092. o103.Position = Vector3.new(-130.057053, 2.49848461, -86.9470444)
  4093. o103.velocity = Vector3.new(-0.000122429657, 0.000154286914, 0.00011684843)
  4094. o104.Parent = o103
  4095. o104.MeshType = Enum.MeshType.Wedge
  4096. o105.Name = "D1"
  4097. o105.Parent = o99
  4098. o105.Material = Enum.Material.SmoothPlastic
  4099. o105.BrickColor = BrickColor.new("Mid gray")
  4100. o105.Position = Vector3.new(-130.926834, 0.798098683, -85.6043549)
  4101. o105.Rotation = Vector3.new(0.00999999978, -32.9099998, 179.98999)
  4102. o105.RotVelocity = Vector3.new(7.62427226e-06, 8.19331035e-07, 1.93913002e-06)
  4103. o105.Velocity = Vector3.new(1.98668681e-06, 1.04402261e-06, -5.61885781e-06)
  4104. o105.CanCollide = false
  4105. o105.Locked = true
  4106. o105.FormFactor = Enum.FormFactor.Symmetric
  4107. o105.Size = Vector3.new(4.99999857, 1.5999999, 1.79999995)
  4108. o105.CFrame = CFrame.new(-130.926834, 0.798098683, -85.6043549, -0.839526713, -0.000177618524, -0.543318391, 0.000304265268, -0.99999994, -0.000143231518, -0.543318331, -0.000285559596, 0.839526713)
  4109. o105.BackSurface = Enum.SurfaceType.Weld
  4110. o105.BottomSurface = Enum.SurfaceType.Weld
  4111. o105.TopSurface = Enum.SurfaceType.Weld
  4112. o105.Color = Color3.new(0.803922, 0.803922, 0.803922)
  4113. o105.Position = Vector3.new(-130.926834, 0.798098683, -85.6043549)
  4114. o105.velocity = Vector3.new(1.98668681e-06, 1.04402261e-06, -5.61885781e-06)
  4115. o106.Parent = o105
  4116. o106.MeshType = Enum.MeshType.Wedge
  4117. o107.Name = "Open"
  4118. o107.Parent = o99
  4119. o107.Material = Enum.Material.Neon
  4120. o107.BrickColor = BrickColor.new("Lime green")
  4121. o107.Position = Vector3.new(-136.211014, 5.44555807, -81.4104233)
  4122. o107.Rotation = Vector3.new(0.00999999978, -32.9099998, 179.98999)
  4123. o107.RotVelocity = Vector3.new(4.82775213e-05, 6.05248658e-07, 3.781337e-05)
  4124. o107.Velocity = Vector3.new(-0.000223412149, -0.000331139105, 0.00027367947)
  4125. o107.Locked = true
  4126. o107.Size = Vector3.new(0.39999938, 0.400000036, 0.199999854)
  4127. o107.CFrame = CFrame.new(-136.211014, 5.44555807, -81.4104233, -0.839526653, -0.000177426846, -0.54331845, 0.000304212561, -0.99999994, -0.000143502795, -0.543318391, -0.000285758724, 0.839526653)
  4128. o107.BackSurface = Enum.SurfaceType.Weld
  4129. o107.BottomSurface = Enum.SurfaceType.Smooth
  4130. o107.TopSurface = Enum.SurfaceType.Smooth
  4131. o107.Color = Color3.new(0, 1, 0)
  4132. o107.Position = Vector3.new(-136.211014, 5.44555807, -81.4104233)
  4133. o107.velocity = Vector3.new(-0.000223412149, -0.000331139105, 0.00027367947)
  4134. o108.Parent = o107
  4135. o109.Name = "Close"
  4136. o109.Parent = o99
  4137. o109.Material = Enum.Material.Neon
  4138. o109.BrickColor = BrickColor.new("Really red")
  4139. o109.Position = Vector3.new(-135.707245, 5.44537306, -81.0845337)
  4140. o109.Rotation = Vector3.new(0.00999999978, -32.9099998, 179.98999)
  4141. o109.RotVelocity = Vector3.new(7.93370418e-05, -7.43454257e-06, 9.14918783e-05)
  4142. o109.Velocity = Vector3.new(-0.00051198795, -0.000648339046, 0.000594409707)
  4143. o109.Locked = true
  4144. o109.Size = Vector3.new(0.39999938, 0.400000036, 0.199999854)
  4145. o109.CFrame = CFrame.new(-135.707245, 5.44537306, -81.0845337, -0.839526713, -0.000177078255, -0.543318391, 0.000304103218, -0.99999994, -0.000143975456, -0.543318331, -0.000286096096, 0.839526713)
  4146. o109.BackSurface = Enum.SurfaceType.Weld
  4147. o109.BottomSurface = Enum.SurfaceType.Smooth
  4148. o109.TopSurface = Enum.SurfaceType.Smooth
  4149. o109.Color = Color3.new(1, 0, 0)
  4150. o109.Position = Vector3.new(-135.707245, 5.44537306, -81.0845337)
  4151. o109.velocity = Vector3.new(-0.00051198795, -0.000648339046, 0.000594409707)
  4152. o110.Parent = o109
  4153. o111.Name = "DoorScript"
  4154. o111.Parent = o99
  4155.  
  4156. runDummyScript(function()
  4157. local D1 = script.Parent.D1
  4158. local D2 = script.Parent.D2
  4159. local D3 = script.Parent.D3
  4160. local D4 = script.Parent.D4
  4161.  
  4162. function Open(opens)
  4163. D1.CanCollide = false
  4164. D2.CanCollide = false
  4165. D3.CanCollide = false
  4166. D4.CanCollide = false
  4167. end
  4168.  
  4169. script.Parent.Open.ClickDetector.MouseClick:connect(Open)
  4170.  
  4171. function Close(closes)
  4172. D1.CanCollide = true
  4173. D2.CanCollide = true
  4174. D3.CanCollide = true
  4175. D4.CanCollide = true
  4176. end
  4177.  
  4178. script.Parent.Close.ClickDetector.MouseClick:connect(Close)
  4179. end,o111)
  4180.  
  4181. o112.Parent = o9
  4182. o112.Material = Enum.Material.SmoothPlastic
  4183. o112.BrickColor = BrickColor.new("Black")
  4184. o112.Position = Vector3.new(-131.034271, 4.52256012, -85.5920944)
  4185. o112.Rotation = Vector3.new(90.0199966, -0.00999999978, 32.9099998)
  4186. o112.RotVelocity = Vector3.new(0.000224098578, -0.000102745602, 0.000182343341)
  4187. o112.Velocity = Vector3.new(-0.000784634787, 0.000739232521, 0.00139328232)
  4188. o112.CanCollide = false
  4189. o112.Locked = true
  4190. o112.Size = Vector3.new(1.34999979, 0.379999965, 2)
  4191. o112.CFrame = CFrame.new(-131.034271, 4.52256012, -85.5920944, 0.839526474, -0.543318748, -0.000176255257, -0.000303984649, -0.00014530684, -0.99999994, 0.543318689, 0.839526474, -0.000287149509)
  4192. o112.BottomSurface = Enum.SurfaceType.Weld
  4193. o112.TopSurface = Enum.SurfaceType.Smooth
  4194. o112.MaxSpeed = 18
  4195. o112.TurnSpeed = 50
  4196. o112.Color = Color3.new(0.105882, 0.164706, 0.207843)
  4197. o112.Position = Vector3.new(-131.034271, 4.52256012, -85.5920944)
  4198. o112.velocity = Vector3.new(-0.000784634787, 0.000739232521, 0.00139328232)
  4199. o113.Name = "SeatWeld"
  4200. o113.Archivable = false
  4201. o113.C0 = CFrame.new(0, 0.189999983, 0, 1, 0, -0, 0, 0, 1, 0, -1, 0)
  4202. o113.C1 = CFrame.new(0, -1.5, 0, 1, 0, -0, 0, 0, 1, 0, -1, 0)
  4203. o113.Part0 = o112
  4204. o113.Part1 = o264
  4205. o114.Name = "BoosterSystem"
  4206. o114.Parent = o9
  4207. o115.Name = "BoosterButton"
  4208. o115.Parent = o114
  4209. o115.Material = Enum.Material.Neon
  4210. o115.BrickColor = BrickColor.new("New Yeller")
  4211. o115.Position = Vector3.new(-133.341415, 5.006073, -79.4948273)
  4212. o115.Rotation = Vector3.new(90.0199966, -0.00999999978, -147.089996)
  4213. o115.RotVelocity = Vector3.new(-1.5480442e-05, 2.25517215e-05, -2.45845276e-05)
  4214. o115.Velocity = Vector3.new(0.000333778822, 0.000166822792, -4.98162844e-05)
  4215. o115.Locked = true
  4216. o115.Size = Vector3.new(0.50000006, 0.100000009, 0.5)
  4217. o115.CFrame = CFrame.new(-133.341415, 5.006073, -79.4948273, -0.839526474, 0.543318748, -0.000176335976, 0.000304058398, 0.000145272192, -0.99999994, -0.543318689, -0.839526474, -0.000287160481)
  4218. o115.BackSurface = Enum.SurfaceType.Weld
  4219. o115.BottomSurface = Enum.SurfaceType.Weld
  4220. o115.FrontSurface = Enum.SurfaceType.Weld
  4221. o115.LeftSurface = Enum.SurfaceType.Weld
  4222. o115.RightSurface = Enum.SurfaceType.Weld
  4223. o115.TopSurface = Enum.SurfaceType.Smooth
  4224. o115.Color = Color3.new(1, 1, 0)
  4225. o115.Position = Vector3.new(-133.341415, 5.006073, -79.4948273)
  4226. o115.velocity = Vector3.new(0.000333778822, 0.000166822792, -4.98162844e-05)
  4227. o116.Name = "BoosterScript"
  4228. o116.Parent = o115
  4229.  
  4230. runDummyScript(function()
  4231. -- This Script activates "Booster Mode"--
  4232.  
  4233. local MainSeat = script.Parent.Parent.Parent.VehicleSeat
  4234. local Boost1 = script.Parent.Parent.Booster1.Fire
  4235. local Boost2 = script.Parent.Parent.Booster2.Fire2
  4236. local F1 = script.Parent.Parent.F1
  4237. local F2 = script.Parent.Parent.F2
  4238. local F3 = script.Parent.Parent.F3
  4239. local Sound = script.Parent.Parent.Sound
  4240. BoostersCanBeUsed = true
  4241. function Boosting(Boosts)
  4242. if BoostersCanBeUsed == true then
  4243. Sound:Play()
  4244. BoostersCanBeUsed = false
  4245. print(BoostersCanBeUsed)
  4246. MainSeat.MaxSpeed = 50
  4247. Boost1.Enabled = true
  4248. Boost2.Enabled = true
  4249. wait(4)
  4250. F1.BrickColor = BrickColor.Black()
  4251. wait(4)
  4252. F2.BrickColor = BrickColor.Black()
  4253. wait(4)
  4254. F3.BrickColor = BrickColor.Black()
  4255. MainSeat.MaxSpeed = 18
  4256. Boost1.Enabled = false
  4257. Boost2.Enabled = false
  4258. Sound:Stop()
  4259. wait(1)
  4260. F1.BrickColor = BrickColor.new("Forest green")
  4261. wait(1)
  4262. F2.BrickColor = BrickColor.new("Forest green")
  4263. wait(1)
  4264. F3.BrickColor = BrickColor.new("Forest green")
  4265. wait(3)
  4266. BoostersCanBeUsed = true
  4267. print(BoostersCanBeUsed)
  4268. end
  4269. end
  4270.  
  4271. script.Parent.ClickDetector.MouseClick:connect(Boosting)
  4272. end,o116)
  4273.  
  4274. o117.Parent = o115
  4275. o118.Name = "Booster1"
  4276. o118.Parent = o114
  4277. o118.Material = Enum.Material.SmoothPlastic
  4278. o118.BrickColor = BrickColor.new("Really black")
  4279. o118.Position = Vector3.new(-134.772552, 2.20018554, -89.0456848)
  4280. o118.Rotation = Vector3.new(0.0299999993, 57.0900002, -90.0199966)
  4281. o118.RotVelocity = Vector3.new(-1.07288297e-05, 4.67086875e-06, -2.2177539e-05)
  4282. o118.Velocity = Vector3.new(5.94646699e-05, 2.62823887e-05, -4.45051592e-05)
  4283. o118.Locked = true
  4284. o118.Size = Vector3.new(2, 0.200000003, 2)
  4285. o118.CFrame = CFrame.new(-134.772552, 2.20018554, -89.0456848, -0.000171297928, 0.543313742, 0.839529693, -0.99999994, 0.000143080499, -0.000296636921, -0.000281287241, -0.839529753, 0.543313682)
  4286. o118.BackSurface = Enum.SurfaceType.Weld
  4287. o118.BottomSurface = Enum.SurfaceType.Weld
  4288. o118.FrontSurface = Enum.SurfaceType.Weld
  4289. o118.LeftSurface = Enum.SurfaceType.Weld
  4290. o118.RightSurface = Enum.SurfaceType.Weld
  4291. o118.TopSurface = Enum.SurfaceType.Smooth
  4292. o118.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  4293. o118.Position = Vector3.new(-134.772552, 2.20018554, -89.0456848)
  4294. o118.velocity = Vector3.new(5.94646699e-05, 2.62823887e-05, -4.45051592e-05)
  4295. o119.Parent = o118
  4296. o119.Size = 6
  4297. o119.Color = Color3.new(0.666667, 1, 0)
  4298. o119.Enabled = false
  4299. o119.Heat = 25
  4300. o120.Name = "Booster2"
  4301. o120.Parent = o114
  4302. o120.Material = Enum.Material.SmoothPlastic
  4303. o120.BrickColor = BrickColor.new("Really black")
  4304. o120.Position = Vector3.new(-126.209709, 2.19700527, -83.5041122)
  4305. o120.Rotation = Vector3.new(0.0599999987, 57.0900002, -90.0400009)
  4306. o120.RotVelocity = Vector3.new(2.76695882e-05, -5.70255054e-07, 1.13329161e-05)
  4307. o120.Velocity = Vector3.new(-3.30214607e-05, 5.52579513e-06, 4.31852895e-05)
  4308. o120.Locked = true
  4309. o120.Size = Vector3.new(2, 0.200000003, 2)
  4310. o120.CFrame = CFrame.new(-126.209709, 2.19700527, -83.5041122, -0.000390289613, 0.543309331, 0.839532495, -0.999999881, 0.000148512525, -0.000561020279, -0.000429514825, -0.839532614, 0.543309152)
  4311. o120.BackSurface = Enum.SurfaceType.Weld
  4312. o120.BottomSurface = Enum.SurfaceType.Weld
  4313. o120.FrontSurface = Enum.SurfaceType.Weld
  4314. o120.LeftSurface = Enum.SurfaceType.Weld
  4315. o120.RightSurface = Enum.SurfaceType.Weld
  4316. o120.TopSurface = Enum.SurfaceType.Smooth
  4317. o120.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  4318. o120.Position = Vector3.new(-126.209709, 2.19700527, -83.5041122)
  4319. o120.velocity = Vector3.new(-3.30214607e-05, 5.52579513e-06, 4.31852895e-05)
  4320. o121.Name = "Fire2"
  4321. o121.Parent = o120
  4322. o121.Size = 6
  4323. o121.Color = Color3.new(0.666667, 1, 0)
  4324. o121.Enabled = false
  4325. o121.Heat = 25
  4326. o122.Name = "F3"
  4327. o122.Parent = o114
  4328. o122.Material = Enum.Material.SmoothPlastic
  4329. o122.BrickColor = BrickColor.new("Forest green")
  4330. o122.Position = Vector3.new(-133.657227, 5.55779171, -79.668045)
  4331. o122.Rotation = Vector3.new(90.0199966, -0.00999999978, -147.089996)
  4332. o122.RotVelocity = Vector3.new(2.76695882e-05, -5.70255054e-07, 1.13329161e-05)
  4333. o122.Velocity = Vector3.new(-7.32965054e-05, -0.000185018696, 0.000131929904)
  4334. o122.Locked = true
  4335. o122.Size = Vector3.new(0.250000119, 0.0500000119, 0.250000119)
  4336. o122.CFrame = CFrame.new(-133.657227, 5.55779171, -79.668045, -0.839529693, 0.543313742, -0.000171278836, 0.00029673407, 0.000143265745, -0.99999994, -0.543313682, -0.839529753, -0.000281495566)
  4337. o122.BackSurface = Enum.SurfaceType.Weld
  4338. o122.BottomSurface = Enum.SurfaceType.Weld
  4339. o122.FrontSurface = Enum.SurfaceType.Weld
  4340. o122.LeftSurface = Enum.SurfaceType.Weld
  4341. o122.RightSurface = Enum.SurfaceType.Weld
  4342. o122.TopSurface = Enum.SurfaceType.Smooth
  4343. o122.Color = Color3.new(0.121569, 0.501961, 0.113725)
  4344. o122.Position = Vector3.new(-133.657227, 5.55779171, -79.668045)
  4345. o122.velocity = Vector3.new(-7.32965054e-05, -0.000185018696, 0.000131929904)
  4346. o123.Name = "F2"
  4347. o123.Parent = o114
  4348. o123.Material = Enum.Material.SmoothPlastic
  4349. o123.BrickColor = BrickColor.new("Forest green")
  4350. o123.Position = Vector3.new(-133.354538, 5.55768442, -79.4721527)
  4351. o123.Rotation = Vector3.new(90.0199966, -0.00999999978, -147.089996)
  4352. o123.RotVelocity = Vector3.new(1.83875654e-05, 1.89404807e-06, 4.29194142e-06)
  4353. o123.Velocity = Vector3.new(-4.06406571e-06, -0.00012475792, 8.57082705e-05)
  4354. o123.Locked = true
  4355. o123.Size = Vector3.new(0.250000119, 0.0500000119, 0.250000119)
  4356. o123.CFrame = CFrame.new(-133.354538, 5.55768442, -79.4721527, -0.839529753, 0.543313742, -0.000171255626, 0.000296754413, 0.000143339887, -0.99999994, -0.543313682, -0.839529753, -0.000281568849)
  4357. o123.BackSurface = Enum.SurfaceType.Weld
  4358. o123.BottomSurface = Enum.SurfaceType.Weld
  4359. o123.FrontSurface = Enum.SurfaceType.Weld
  4360. o123.LeftSurface = Enum.SurfaceType.Weld
  4361. o123.RightSurface = Enum.SurfaceType.Weld
  4362. o123.TopSurface = Enum.SurfaceType.Smooth
  4363. o123.Color = Color3.new(0.121569, 0.501961, 0.113725)
  4364. o123.Position = Vector3.new(-133.354538, 5.55768442, -79.4721527)
  4365. o123.velocity = Vector3.new(-4.06406571e-06, -0.00012475792, 8.57082705e-05)
  4366. o124.Name = "F1"
  4367. o124.Parent = o114
  4368. o124.Material = Enum.Material.SmoothPlastic
  4369. o124.BrickColor = BrickColor.new("Forest green")
  4370. o124.Position = Vector3.new(-133.064072, 5.55758095, -79.2841644)
  4371. o124.Rotation = Vector3.new(90.0199966, -0.00999999978, -147.089996)
  4372. o124.RotVelocity = Vector3.new(1.83875654e-05, 1.89404807e-06, 4.29194142e-06)
  4373. o124.Velocity = Vector3.new(-3.70756266e-06, -0.000126967905, 8.51562072e-05)
  4374. o124.Locked = true
  4375. o124.Size = Vector3.new(0.250000119, 0.0500000119, 0.250000119)
  4376. o124.CFrame = CFrame.new(-133.064072, 5.55758095, -79.2841644, -0.839529753, 0.543313742, -0.000171255626, 0.000296754413, 0.000143339887, -0.99999994, -0.543313682, -0.839529753, -0.000281568849)
  4377. o124.BackSurface = Enum.SurfaceType.Weld
  4378. o124.BottomSurface = Enum.SurfaceType.Weld
  4379. o124.FrontSurface = Enum.SurfaceType.Weld
  4380. o124.LeftSurface = Enum.SurfaceType.Weld
  4381. o124.RightSurface = Enum.SurfaceType.Weld
  4382. o124.TopSurface = Enum.SurfaceType.Smooth
  4383. o124.Color = Color3.new(0.121569, 0.501961, 0.113725)
  4384. o124.Position = Vector3.new(-133.064072, 5.55758095, -79.2841644)
  4385. o124.velocity = Vector3.new(-3.70756266e-06, -0.000126967905, 8.51562072e-05)
  4386. o125.Parent = o114
  4387. o125.SoundId = "rbxasset://sounds/Rocket whoosh 01.wav"
  4388. o125.Looped = true
  4389. o126.Parent = o9
  4390. o127.Name = "Self-Destruct System"
  4391. o127.Parent = o126
  4392. o128.Name = "ExplosionButton"
  4393. o128.Parent = o127
  4394. o128.Material = Enum.Material.Neon
  4395. o128.BrickColor = BrickColor.new("Really red")
  4396. o128.Position = Vector3.new(-132.622406, 5.00584555, -79.028389)
  4397. o128.Rotation = Vector3.new(90.0199966, -0.00999999978, -147.089996)
  4398. o128.RotVelocity = Vector3.new(1.83749708e-05, 1.10597794e-05, 2.17241927e-06)
  4399. o128.Velocity = Vector3.new(0.000107332657, -0.000117441115, 3.54802542e-05)
  4400. o128.Locked = true
  4401. o128.Size = Vector3.new(0.50000006, 0.100000009, 0.5)
  4402. o128.CFrame = CFrame.new(-132.622406, 5.00584555, -79.028389, -0.839529872, 0.543313503, -0.000172009444, 0.000296562619, 0.00014165623, -0.99999994, -0.543313444, -0.839529872, -0.000280051114)
  4403. o128.BackSurface = Enum.SurfaceType.Weld
  4404. o128.BottomSurface = Enum.SurfaceType.Weld
  4405. o128.FrontSurface = Enum.SurfaceType.Weld
  4406. o128.LeftSurface = Enum.SurfaceType.Weld
  4407. o128.RightSurface = Enum.SurfaceType.Weld
  4408. o128.TopSurface = Enum.SurfaceType.Smooth
  4409. o128.Color = Color3.new(1, 0, 0)
  4410. o128.Position = Vector3.new(-132.622406, 5.00584555, -79.028389)
  4411. o128.velocity = Vector3.new(0.000107332657, -0.000117441115, 3.54802542e-05)
  4412. o129.Parent = o128
  4413. o130.Name = "Core"
  4414. o130.Parent = o127
  4415. o130.Material = Enum.Material.SmoothPlastic
  4416. o130.Transparency = 1
  4417. o130.Position = Vector3.new(-130.698471, 4.30392122, -86.06427)
  4418. o130.Rotation = Vector3.new(0.00999999978, -32.9099998, 179.98999)
  4419. o130.RotVelocity = Vector3.new(3.54853801e-05, -1.66920756e-06, 1.65230322e-05)
  4420. o130.Velocity = Vector3.new(-8.38706692e-05, 2.84689468e-05, 0.000126656902)
  4421. o130.CanCollide = false
  4422. o130.Locked = true
  4423. o130.Size = Vector3.new(1.399997, 1.60000014, 0.780000091)
  4424. o130.CFrame = CFrame.new(-130.698471, 4.30392122, -86.06427, -0.839529812, -0.000171813081, -0.543313563, 0.000296469545, -0.99999994, -0.000141873781, -0.543313503, -0.000280183216, 0.839529812)
  4425. o130.BackSurface = Enum.SurfaceType.Weld
  4426. o130.BottomSurface = Enum.SurfaceType.Weld
  4427. o130.FrontSurface = Enum.SurfaceType.Weld
  4428. o130.LeftSurface = Enum.SurfaceType.Weld
  4429. o130.RightSurface = Enum.SurfaceType.Weld
  4430. o130.TopSurface = Enum.SurfaceType.Smooth
  4431. o130.Position = Vector3.new(-130.698471, 4.30392122, -86.06427)
  4432. o130.velocity = Vector3.new(-8.38706692e-05, 2.84689468e-05, 0.000126656902)
  4433. o131.Name = "MechExplosionScript"
  4434. o131.Parent = o130
  4435.  
  4436. runDummyScript(function()
  4437. local x = 1
  4438. local ExplosionSound = script.Parent.Sound
  4439. local Alarm = script.Parent.Parent.Light.PointLight
  4440. function Explosion(Explodes)
  4441. Alarm.Enabled = true
  4442. wait(0.5)
  4443. Alarm.Enabled = false
  4444. wait(0.5)
  4445. Alarm.Enabled = true
  4446. wait(0.5)
  4447. Alarm.Enabled = false
  4448. wait(0.5)
  4449. Alarm.Enabled = true
  4450. wait(0.5)
  4451. Alarm.Enabled = false
  4452. wait(0.5)
  4453. Alarm.Enabled = true
  4454. wait(0.5)
  4455. Alarm.Enabled = false
  4456. wait(0.5)
  4457. Alarm.Enabled = true
  4458. wait(0.5)
  4459. Alarm.Enabled = false
  4460. wait(0.5)
  4461. Alarm.Enabled = true
  4462. wait(0.5)
  4463. Alarm.Enabled = false
  4464. wait(0.5)
  4465. wait(2)
  4466. ExplosionSound:Play()
  4467. local Boom = Instance.new("Explosion")
  4468. Boom.Parent = game.Workspace
  4469. Boom.Position = script.Parent.Parent.Core.Position
  4470. Boom.BlastRadius = 75
  4471. end
  4472.  
  4473. script.Parent.Parent.ExplosionButton.ClickDetector.MouseClick:connect(Explosion)
  4474. end,o131)
  4475.  
  4476. o132.Parent = o130
  4477. o132.SoundId = "rbxassetid://144699494"
  4478. o132.Volume = 1.5
  4479. o133.Name = "Light"
  4480. o133.Parent = o127
  4481. o133.Material = Enum.Material.Neon
  4482. o133.BrickColor = BrickColor.new("Really red")
  4483. o133.Position = Vector3.new(-132.048386, 1.6227771, -83.887886)
  4484. o133.Rotation = Vector3.new(0.00999999978, -32.9099998, 179.98999)
  4485. o133.RotVelocity = Vector3.new(4.39295582e-05, -1.40282674e-08, 1.17879836e-05)
  4486. o133.Velocity = Vector3.new(-0.000126810191, -4.85857709e-05, -9.76269075e-06)
  4487. o133.Locked = true
  4488. o133.Size = Vector3.new(1, 0.0500000007, 1)
  4489. o133.CFrame = CFrame.new(-132.048386, 1.6227771, -83.887886, -0.839529872, -0.000171792519, -0.543313563, 0.000296656275, -0.99999994, -0.000142200166, -0.543313503, -0.000280558656, 0.839529872)
  4490. o133.BackSurface = Enum.SurfaceType.Weld
  4491. o133.BottomSurface = Enum.SurfaceType.Weld
  4492. o133.FrontSurface = Enum.SurfaceType.Weld
  4493. o133.LeftSurface = Enum.SurfaceType.Weld
  4494. o133.RightSurface = Enum.SurfaceType.Weld
  4495. o133.TopSurface = Enum.SurfaceType.Smooth
  4496. o133.Color = Color3.new(1, 0, 0)
  4497. o133.Position = Vector3.new(-132.048386, 1.6227771, -83.887886)
  4498. o133.velocity = Vector3.new(-0.000126810191, -4.85857709e-05, -9.76269075e-06)
  4499. o134.Parent = o133
  4500. o134.Color = Color3.new(1, 0, 0)
  4501. o134.Enabled = false
  4502. o134.Brightness = 10
  4503. o135.Parent = o126
  4504. o135.Material = Enum.Material.SmoothPlastic
  4505. o135.Position = Vector3.new(-127.537231, 6.29784203, -85.3152618)
  4506. o135.Rotation = Vector3.new(0.00999999978, -32.9099998, -0.00999999978)
  4507. o135.RotVelocity = Vector3.new(5.55385413e-05, -6.02450291e-06, 3.48735775e-05)
  4508. o135.Velocity = Vector3.new(-0.000230261925, 0.000164049707, 0.00041909868)
  4509. o135.Locked = true
  4510. o135.FormFactor = Enum.FormFactor.Symmetric
  4511. o135.Size = Vector3.new(1, 1.79999995, 1.39999986)
  4512. o135.CFrame = CFrame.new(-127.537231, 6.29784203, -85.3152618, 0.839529812, 0.000171646621, -0.543313563, -0.000296657498, 0.99999994, -0.000142470599, 0.543313503, 0.000280786364, 0.839529812)
  4513. o135.BackSurface = Enum.SurfaceType.Weld
  4514. o135.BottomSurface = Enum.SurfaceType.Weld
  4515. o135.TopSurface = Enum.SurfaceType.Weld
  4516. o135.Position = Vector3.new(-127.537231, 6.29784203, -85.3152618)
  4517. o135.velocity = Vector3.new(-0.000230261925, 0.000164049707, 0.00041909868)
  4518. o136.Parent = o135
  4519. o136.MeshType = Enum.MeshType.Wedge
  4520. o137.Parent = o126
  4521. o137.Material = Enum.Material.SmoothPlastic
  4522. o137.Position = Vector3.new(-132.55481, 7.69792414, -83.0830688)
  4523. o137.Rotation = Vector3.new(-179.98999, 32.9099998, 0.00999999978)
  4524. o137.RotVelocity = Vector3.new(1.56004407e-05, 5.03327868e-08, 2.07463768e-06)
  4525. o137.Velocity = Vector3.new(-1.39513759e-06, -4.79651535e-05, 0.000107509848)
  4526. o137.Locked = true
  4527. o137.FormFactor = Enum.FormFactor.Symmetric
  4528. o137.Size = Vector3.new(7, 1, 3)
  4529. o137.CFrame = CFrame.new(-132.55481, 7.69792414, -83.0830688, 0.839529753, -0.000171176885, 0.543313682, -0.0002966623, -0.99999994, 0.00014334255, 0.543313622, -0.000281521003, -0.839529753)
  4530. o137.BottomSurface = Enum.SurfaceType.Smooth
  4531. o137.TopSurface = Enum.SurfaceType.Weld
  4532. o137.Position = Vector3.new(-132.55481, 7.69792414, -83.0830688)
  4533. o137.velocity = Vector3.new(-1.39513759e-06, -4.79651535e-05, 0.000107509848)
  4534. o138.Parent = o126
  4535. o138.Material = Enum.Material.SmoothPlastic
  4536. o138.Position = Vector3.new(-133.666306, 5.09850407, -85.2321548)
  4537. o138.Rotation = Vector3.new(-179.970001, -57.0900002, 0.0199999996)
  4538. o138.RotVelocity = Vector3.new(1.56004407e-05, 5.03327868e-08, 2.07463768e-06)
  4539. o138.Velocity = Vector3.new(3.88954777e-06, -1.67444159e-05, 6.70136942e-05)
  4540. o138.Locked = true
  4541. o138.FormFactor = Enum.FormFactor.Symmetric
  4542. o138.Size = Vector3.new(5.40000153, 2.20000005, 0.799999833)
  4543. o138.CFrame = CFrame.new(-133.666306, 5.09850407, -85.2321548, 0.543313682, -0.000171176885, -0.839529753, 0.00014334255, -0.99999994, 0.0002966623, -0.839529753, -0.000281521003, -0.543313622)
  4544. o138.BackSurface = Enum.SurfaceType.Weld
  4545. o138.BottomSurface = Enum.SurfaceType.Weld
  4546. o138.TopSurface = Enum.SurfaceType.Weld
  4547. o138.Position = Vector3.new(-133.666306, 5.09850407, -85.2321548)
  4548. o138.velocity = Vector3.new(3.88954777e-06, -1.67444159e-05, 6.70136942e-05)
  4549. o139.Parent = o138
  4550. o139.MeshType = Enum.MeshType.Wedge
  4551. o140.Parent = o126
  4552. o140.Material = Enum.Material.SmoothPlastic
  4553. o140.Position = Vector3.new(-128.40773, 0.797608137, -83.9738083)
  4554. o140.Rotation = Vector3.new(0.00999999978, -32.9099998, 179.98999)
  4555. o140.RotVelocity = Vector3.new(4.96545545e-05, 1.06319851e-06, 2.3037057e-05)
  4556. o140.Velocity = Vector3.new(-9.43110135e-05, 5.20150206e-06, -1.91005529e-06)
  4557. o140.Locked = true
  4558. o140.FormFactor = Enum.FormFactor.Symmetric
  4559. o140.Size = Vector3.new(0.999999106, 1.5999999, 1.79999995)
  4560. o140.CFrame = CFrame.new(-128.40773, 0.797608137, -83.9738083, -0.839529753, -0.000171058986, -0.543313682, 0.000296672923, -0.99999994, -0.000143575962, -0.543313622, -0.000281722751, 0.839529753)
  4561. o140.BackSurface = Enum.SurfaceType.Weld
  4562. o140.BottomSurface = Enum.SurfaceType.Weld
  4563. o140.TopSurface = Enum.SurfaceType.Weld
  4564. o140.Position = Vector3.new(-128.40773, 0.797608137, -83.9738083)
  4565. o140.velocity = Vector3.new(-9.43110135e-05, 5.20150206e-06, -1.91005529e-06)
  4566. o141.Parent = o140
  4567. o141.MeshType = Enum.MeshType.Wedge
  4568. o142.Parent = o126
  4569. o142.Material = Enum.Material.Neon
  4570. o142.BrickColor = BrickColor.new("Electric blue")
  4571. o142.Position = Vector3.new(-133.98204, 3.8987205, -85.4366837)
  4572. o142.Rotation = Vector3.new(0.00999999978, -32.9099998, 179.98999)
  4573. o142.RotVelocity = Vector3.new(0.000174127985, 5.73546504e-06, 8.59596767e-05)
  4574. o142.Velocity = Vector3.new(-0.000596677361, 7.66799785e-05, 0.000470931293)
  4575. o142.Locked = true
  4576. o142.Size = Vector3.new(0.0500000007, 0.200000003, 5.39999866)
  4577. o142.CFrame = CFrame.new(-133.98204, 3.8987205, -85.4366837, -0.839529753, -0.000170715342, -0.543313682, 0.000296772254, -0.99999994, -0.000144361926, -0.543313622, -0.000282436551, 0.839529753)
  4578. o142.BackSurface = Enum.SurfaceType.Weld
  4579. o142.BottomSurface = Enum.SurfaceType.Weld
  4580. o142.FrontSurface = Enum.SurfaceType.Weld
  4581. o142.LeftSurface = Enum.SurfaceType.Weld
  4582. o142.RightSurface = Enum.SurfaceType.Weld
  4583. o142.TopSurface = Enum.SurfaceType.Smooth
  4584. o142.Color = Color3.new(0.0352941, 0.537255, 0.811765)
  4585. o142.Position = Vector3.new(-133.98204, 3.8987205, -85.4366837)
  4586. o142.velocity = Vector3.new(-0.000596677361, 7.66799785e-05, 0.000470931293)
  4587. o143.Parent = o126
  4588. o143.Material = Enum.Material.SmoothPlastic
  4589. o143.Position = Vector3.new(-134.422195, 3.8984623, -85.7215576)
  4590. o143.Rotation = Vector3.new(0.00999999978, -32.9099998, 179.98999)
  4591. o143.RotVelocity = Vector3.new(0.000174127985, 5.73546504e-06, 8.59596767e-05)
  4592. o143.Velocity = Vector3.new(-0.000598289073, 8.84489273e-05, 0.000473410822)
  4593. o143.Locked = true
  4594. o143.Size = Vector3.new(0.999997079, 4.5999999, 5.39999866)
  4595. o143.CFrame = CFrame.new(-134.422195, 3.8984623, -85.7215576, -0.839529753, -0.000170715342, -0.543313682, 0.000296772254, -0.99999994, -0.000144361926, -0.543313622, -0.000282436551, 0.839529753)
  4596. o143.BackSurface = Enum.SurfaceType.Weld
  4597. o143.BottomSurface = Enum.SurfaceType.Weld
  4598. o143.FrontSurface = Enum.SurfaceType.Weld
  4599. o143.LeftSurface = Enum.SurfaceType.Weld
  4600. o143.RightSurface = Enum.SurfaceType.Weld
  4601. o143.TopSurface = Enum.SurfaceType.Smooth
  4602. o143.Position = Vector3.new(-134.422195, 3.8984623, -85.7215576)
  4603. o143.velocity = Vector3.new(-0.000598289073, 8.84489273e-05, 0.000473410822)
  4604. o144.Parent = o126
  4605. o144.Material = Enum.Material.SmoothPlastic
  4606. o144.Position = Vector3.new(-130.1409, 2.69750142, -82.9510269)
  4607. o144.Rotation = Vector3.new(0.0299999993, 57.0900002, -0.0199999996)
  4608. o144.RotVelocity = Vector3.new(0.000174127985, 5.73546504e-06, 8.59596767e-05)
  4609. o144.Velocity = Vector3.new(-0.000479164592, -2.5959198e-05, 0.000239734683)
  4610. o144.Locked = true
  4611. o144.FormFactor = Enum.FormFactor.Symmetric
  4612. o144.Size = Vector3.new(5.40000153, 2.20000005, 0.799999833)
  4613. o144.CFrame = CFrame.new(-130.1409, 2.69750142, -82.9510269, 0.543313682, 0.000170715342, 0.839529753, 0.000144361926, 0.99999994, -0.000296772254, -0.839529753, 0.000282436551, 0.543313622)
  4614. o144.BackSurface = Enum.SurfaceType.Weld
  4615. o144.BottomSurface = Enum.SurfaceType.Weld
  4616. o144.TopSurface = Enum.SurfaceType.Weld
  4617. o144.Position = Vector3.new(-130.1409, 2.69750142, -82.9510269)
  4618. o144.velocity = Vector3.new(-0.000479164592, -2.5959198e-05, 0.000239734683)
  4619. o145.Parent = o144
  4620. o145.MeshType = Enum.MeshType.Wedge
  4621. o146.Parent = o126
  4622. o146.Material = Enum.Material.SmoothPlastic
  4623. o146.Position = Vector3.new(-133.666199, 2.69942713, -85.2326965)
  4624. o146.Rotation = Vector3.new(-179.970001, -57.0900002, -179.979996)
  4625. o146.Locked = true
  4626. o146.FormFactor = Enum.FormFactor.Symmetric
  4627. o146.Size = Vector3.new(5.40000153, 2.20000005, 0.799999833)
  4628. o146.CFrame = CFrame.new(-133.666199, 2.69942713, -85.2326965, -0.543354809, 0.000168354891, -0.839503169, -0.000153422297, 1, 0.000299841166, 0.839503169, 0.000291718636, -0.54335475)
  4629. o146.BackSurface = Enum.SurfaceType.Weld
  4630. o146.BottomSurface = Enum.SurfaceType.Weld
  4631. o146.TopSurface = Enum.SurfaceType.Weld
  4632. o146.Position = Vector3.new(-133.666199, 2.69942713, -85.2326965)
  4633. o147.Parent = o146
  4634. o147.MeshType = Enum.MeshType.Wedge
  4635. o148.Parent = o126
  4636. o148.Material = Enum.Material.SmoothPlastic
  4637. o148.Position = Vector3.new(-129.384491, 3.8985033, -82.4611893)
  4638. o148.Rotation = Vector3.new(0.00999999978, -32.9099998, 179.98999)
  4639. o148.Locked = true
  4640. o148.Size = Vector3.new(0.999997079, 4.5999999, 5.39999866)
  4641. o148.CFrame = CFrame.new(-129.384491, 3.8985033, -82.4611893, -0.839503169, -0.000168354891, -0.543354809, 0.000299841166, -1, -0.000153422297, -0.54335475, -0.000291718636, 0.839503169)
  4642. o148.BackSurface = Enum.SurfaceType.Weld
  4643. o148.BottomSurface = Enum.SurfaceType.Weld
  4644. o148.FrontSurface = Enum.SurfaceType.Weld
  4645. o148.LeftSurface = Enum.SurfaceType.Weld
  4646. o148.RightSurface = Enum.SurfaceType.Weld
  4647. o148.TopSurface = Enum.SurfaceType.Smooth
  4648. o148.Position = Vector3.new(-129.384491, 3.8985033, -82.4611893)
  4649. o149.Parent = o126
  4650. o149.Material = Enum.Material.Neon
  4651. o149.BrickColor = BrickColor.new("Electric blue")
  4652. o149.Position = Vector3.new(-129.825195, 3.89833355, -82.7464294)
  4653. o149.Rotation = Vector3.new(0.00999999978, -32.9099998, 179.98999)
  4654. o149.Locked = true
  4655. o149.Size = Vector3.new(0.0500000007, 0.200000003, 5.39999866)
  4656. o149.CFrame = CFrame.new(-129.825195, 3.89833355, -82.7464294, -0.839503169, -0.000168354891, -0.543354809, 0.000299841166, -1, -0.000153422297, -0.54335475, -0.000291718636, 0.839503169)
  4657. o149.BackSurface = Enum.SurfaceType.Weld
  4658. o149.BottomSurface = Enum.SurfaceType.Weld
  4659. o149.FrontSurface = Enum.SurfaceType.Weld
  4660. o149.LeftSurface = Enum.SurfaceType.Weld
  4661. o149.RightSurface = Enum.SurfaceType.Weld
  4662. o149.TopSurface = Enum.SurfaceType.Smooth
  4663. o149.Color = Color3.new(0.0352941, 0.537255, 0.811765)
  4664. o149.Position = Vector3.new(-129.825195, 3.89833355, -82.7464294)
  4665. o150.Parent = o126
  4666. o150.Material = Enum.Material.SmoothPlastic
  4667. o150.Position = Vector3.new(-132.573532, 6.30030155, -88.5747833)
  4668. o150.Rotation = Vector3.new(0.00999999978, -32.9099998, -0.00999999978)
  4669. o150.Locked = true
  4670. o150.FormFactor = Enum.FormFactor.Symmetric
  4671. o150.Size = Vector3.new(1, 1.79999995, 1.39999986)
  4672. o150.CFrame = CFrame.new(-132.573532, 6.30030155, -88.5747833, 0.839503169, 0.000168354891, -0.543354809, -0.000299841166, 1, -0.000153422297, 0.54335475, 0.000291718636, 0.839503169)
  4673. o150.BackSurface = Enum.SurfaceType.Weld
  4674. o150.BottomSurface = Enum.SurfaceType.Weld
  4675. o150.TopSurface = Enum.SurfaceType.Weld
  4676. o150.Position = Vector3.new(-132.573532, 6.30030155, -88.5747833)
  4677. o151.Parent = o150
  4678. o151.MeshType = Enum.MeshType.Wedge
  4679. o152.Parent = o126
  4680. o152.Material = Enum.Material.SmoothPlastic
  4681. o152.Position = Vector3.new(-132.881653, 0.298665285, -82.5812073)
  4682. o152.Rotation = Vector3.new(-179.98999, 32.9099998, 0.00999999978)
  4683. o152.Locked = true
  4684. o152.FormFactor = Enum.FormFactor.Symmetric
  4685. o152.Size = Vector3.new(7.00000143, 0.599999845, 1.79999995)
  4686. o152.CFrame = CFrame.new(-132.881653, 0.298665285, -82.5812073, 0.839503169, -0.000168354891, 0.543354809, -0.000299841166, -1, 0.000153422297, 0.54335475, -0.000291718636, -0.839503169)
  4687. o152.BackSurface = Enum.SurfaceType.Weld
  4688. o152.BottomSurface = Enum.SurfaceType.Weld
  4689. o152.TopSurface = Enum.SurfaceType.Weld
  4690. o152.Position = Vector3.new(-132.881653, 0.298665285, -82.5812073)
  4691. o153.Parent = o152
  4692. o153.MeshType = Enum.MeshType.Wedge
  4693. o154.Parent = o126
  4694. o154.Material = Enum.Material.SmoothPlastic
  4695. o154.Position = Vector3.new(-131.903671, 0.798732281, -84.0922623)
  4696. o154.Rotation = Vector3.new(0.00999999978, -32.9099998, 179.98999)
  4697. o154.Locked = true
  4698. o154.Size = Vector3.new(6.99999809, 1.60000014, 1.79999948)
  4699. o154.CFrame = CFrame.new(-131.903671, 0.798732281, -84.0922623, -0.839503169, -0.000168354891, -0.543354809, 0.000299841166, -1, -0.000153422297, -0.54335475, -0.000291718636, 0.839503169)
  4700. o154.BackSurface = Enum.SurfaceType.Weld
  4701. o154.BottomSurface = Enum.SurfaceType.Weld
  4702. o154.FrontSurface = Enum.SurfaceType.Weld
  4703. o154.LeftSurface = Enum.SurfaceType.Weld
  4704. o154.RightSurface = Enum.SurfaceType.Weld
  4705. o154.TopSurface = Enum.SurfaceType.Smooth
  4706. o154.Position = Vector3.new(-131.903671, 0.798732281, -84.0922623)
  4707. o155.Parent = o126
  4708. o155.Material = Enum.Material.SmoothPlastic
  4709. o155.Position = Vector3.new(-131.086929, 7.69924927, -85.348999)
  4710. o155.Rotation = Vector3.new(0.00999999978, -32.9099998, 179.98999)
  4711. o155.Locked = true
  4712. o155.Size = Vector3.new(6.99999475, 1, 2.39999962)
  4713. o155.CFrame = CFrame.new(-131.086929, 7.69924927, -85.348999, -0.839503169, -0.000168354891, -0.543354809, 0.000299841166, -1, -0.000153422297, -0.54335475, -0.000291718636, 0.839503169)
  4714. o155.BackSurface = Enum.SurfaceType.Weld
  4715. o155.BottomSurface = Enum.SurfaceType.Weld
  4716. o155.FrontSurface = Enum.SurfaceType.Weld
  4717. o155.LeftSurface = Enum.SurfaceType.Weld
  4718. o155.RightSurface = Enum.SurfaceType.Weld
  4719. o155.TopSurface = Enum.SurfaceType.Smooth
  4720. o155.Position = Vector3.new(-131.086929, 7.69924927, -85.348999)
  4721. o156.Parent = o126
  4722. o156.Material = Enum.Material.SmoothPlastic
  4723. o156.Position = Vector3.new(-130.139801, 5.09841585, -82.9498062)
  4724. o156.Rotation = Vector3.new(0.0299999993, 57.0900002, 179.979996)
  4725. o156.Locked = true
  4726. o156.FormFactor = Enum.FormFactor.Symmetric
  4727. o156.Size = Vector3.new(5.40000153, 2.20000005, 0.799999833)
  4728. o156.CFrame = CFrame.new(-130.139801, 5.09841585, -82.9498062, -0.543354809, -0.000168354891, 0.839503169, -0.000153422297, -1, -0.000299841166, 0.839503169, -0.000291718636, 0.54335475)
  4729. o156.BackSurface = Enum.SurfaceType.Weld
  4730. o156.BottomSurface = Enum.SurfaceType.Weld
  4731. o156.TopSurface = Enum.SurfaceType.Weld
  4732. o156.Position = Vector3.new(-130.139801, 5.09841585, -82.9498062)
  4733. o157.Parent = o156
  4734. o157.MeshType = Enum.MeshType.Wedge
  4735. o158.Parent = o126
  4736. o158.Material = Enum.Material.SmoothPlastic
  4737. o158.Position = Vector3.new(-132.881592, 1.09904718, -82.5810242)
  4738. o158.Rotation = Vector3.new(0.00999999978, -32.9099998, 179.98999)
  4739. o158.Locked = true
  4740. o158.Size = Vector3.new(6.99999714, 1, 1.79999948)
  4741. o158.CFrame = CFrame.new(-132.881592, 1.09904718, -82.5810242, -0.839503169, -0.000168354891, -0.543354809, 0.000299841166, -1, -0.000153422297, -0.54335475, -0.000291718636, 0.839503169)
  4742. o158.BackSurface = Enum.SurfaceType.Weld
  4743. o158.BottomSurface = Enum.SurfaceType.Weld
  4744. o158.FrontSurface = Enum.SurfaceType.Weld
  4745. o158.LeftSurface = Enum.SurfaceType.Weld
  4746. o158.RightSurface = Enum.SurfaceType.Weld
  4747. o158.TopSurface = Enum.SurfaceType.Smooth
  4748. o158.Position = Vector3.new(-132.881592, 1.09904718, -82.5810242)
  4749. o159.Parent = o126
  4750. o159.Material = Enum.Material.SmoothPlastic
  4751. o159.Position = Vector3.new(-132.574341, 2.50034523, -88.5760727)
  4752. o159.Rotation = Vector3.new(0.00999999978, -32.9099998, 179.98999)
  4753. o159.Locked = true
  4754. o159.FormFactor = Enum.FormFactor.Symmetric
  4755. o159.Size = Vector3.new(1, 1.79999995, 1.39999986)
  4756. o159.CFrame = CFrame.new(-132.574341, 2.50034523, -88.5760727, -0.839503169, -0.000168412924, -0.54335475, 0.000299841166, -1.00000012, -0.000153422356, -0.54335475, -0.000291824341, 0.839503348)
  4757. o159.BackSurface = Enum.SurfaceType.Weld
  4758. o159.BottomSurface = Enum.SurfaceType.Weld
  4759. o159.TopSurface = Enum.SurfaceType.Weld
  4760. o159.Position = Vector3.new(-132.574341, 2.50034523, -88.5760727)
  4761. o160.Parent = o159
  4762. o160.MeshType = Enum.MeshType.Wedge
  4763. o161.Parent = o126
  4764. o161.Material = Enum.Material.SmoothPlastic
  4765. o161.Position = Vector3.new(-127.537056, 2.49832463, -85.3162613)
  4766. o161.Rotation = Vector3.new(0.00999999978, -32.9099998, 179.98999)
  4767. o161.RotVelocity = Vector3.new(0.000229432975, -8.61115495e-06, 0.000212374391)
  4768. o161.Velocity = Vector3.new(-0.000680157158, 0.0016985843, 0.000683011953)
  4769. o161.Locked = true
  4770. o161.FormFactor = Enum.FormFactor.Symmetric
  4771. o161.Size = Vector3.new(1, 1.79999995, 1.39999986)
  4772. o161.CFrame = CFrame.new(-127.537056, 2.49832463, -85.3162613, -0.839507103, -0.000166108177, -0.54334867, 0.000291326316, -0.99999994, -0.00014440513, -0.54334861, -0.0002795209, 0.839507103)
  4773. o161.BackSurface = Enum.SurfaceType.Weld
  4774. o161.BottomSurface = Enum.SurfaceType.Weld
  4775. o161.TopSurface = Enum.SurfaceType.Weld
  4776. o161.Position = Vector3.new(-127.537056, 2.49832463, -85.3162613)
  4777. o161.velocity = Vector3.new(-0.000680157158, 0.0016985843, 0.000683011953)
  4778. o162.Parent = o161
  4779. o162.MeshType = Enum.MeshType.Wedge
  4780. o163.Parent = o126
  4781. o163.Material = Enum.Material.SmoothPlastic
  4782. o163.Position = Vector3.new(-133.443802, 0.799670219, -87.2337036)
  4783. o163.Rotation = Vector3.new(0.00999999978, -32.9099998, 179.98999)
  4784. o163.RotVelocity = Vector3.new(0.000229432975, -8.61115495e-06, 0.000212374391)
  4785. o163.Velocity = Vector3.new(-0.00030289503, 0.000884067267, 0.000242420647)
  4786. o163.Locked = true
  4787. o163.FormFactor = Enum.FormFactor.Symmetric
  4788. o163.Size = Vector3.new(0.999999106, 1.5999999, 1.79999995)
  4789. o163.CFrame = CFrame.new(-133.443802, 0.799670219, -87.2337036, -0.839507103, -0.000166108177, -0.54334867, 0.000291326316, -0.99999994, -0.00014440513, -0.54334861, -0.0002795209, 0.839507103)
  4790. o163.BackSurface = Enum.SurfaceType.Weld
  4791. o163.BottomSurface = Enum.SurfaceType.Weld
  4792. o163.TopSurface = Enum.SurfaceType.Weld
  4793. o163.Position = Vector3.new(-133.443802, 0.799670219, -87.2337036)
  4794. o163.velocity = Vector3.new(-0.00030289503, 0.000884067267, 0.000242420647)
  4795. o164.Parent = o163
  4796. o164.MeshType = Enum.MeshType.Wedge
  4797. o165.Parent = o126
  4798. o165.Material = Enum.Material.SmoothPlastic
  4799. o165.Position = Vector3.new(-127.536705, 4.39825821, -85.3156357)
  4800. o165.Rotation = Vector3.new(-179.98999, 32.9099998, -179.98999)
  4801. o165.RotVelocity = Vector3.new(7.80092087e-05, -8.8542638e-06, 6.3925283e-05)
  4802. o165.Velocity = Vector3.new(-0.000201919509, 0.000448492297, 0.00034243305)
  4803. o165.Locked = true
  4804. o165.Size = Vector3.new(0.99999696, 2.00000024, 1.39999938)
  4805. o165.CFrame = CFrame.new(-127.536705, 4.39825821, -85.3156357, -0.839506984, 0.000165653211, 0.543348908, 0.000291182077, 0.99999994, 0.000145019512, -0.543348849, 0.000279958331, -0.839506984)
  4806. o165.BackSurface = Enum.SurfaceType.Weld
  4807. o165.BottomSurface = Enum.SurfaceType.Weld
  4808. o165.FrontSurface = Enum.SurfaceType.Weld
  4809. o165.LeftSurface = Enum.SurfaceType.Weld
  4810. o165.RightSurface = Enum.SurfaceType.Weld
  4811. o165.TopSurface = Enum.SurfaceType.Smooth
  4812. o165.Position = Vector3.new(-127.536705, 4.39825821, -85.3156357)
  4813. o165.velocity = Vector3.new(-0.000201919509, 0.000448492297, 0.00034243305)
  4814. o166.Parent = o126
  4815. o166.Material = Enum.Material.SmoothPlastic
  4816. o166.Position = Vector3.new(-131.90213, 6.69865561, -84.0907059)
  4817. o166.Rotation = Vector3.new(0.00999999978, -32.9099998, 179.98999)
  4818. o166.RotVelocity = Vector3.new(7.80092087e-05, -8.8542638e-06, 6.3925283e-05)
  4819. o166.Velocity = Vector3.new(-0.000359818921, 7.38754461e-05, 0.000483232609)
  4820. o166.Locked = true
  4821. o166.Size = Vector3.new(6.99999714, 1, 5.39999914)
  4822. o166.CFrame = CFrame.new(-131.90213, 6.69865561, -84.0907059, -0.839506984, -0.000165653211, -0.543348908, 0.000291182077, -0.99999994, -0.000145019512, -0.543348849, -0.000279958331, 0.839506984)
  4823. o166.BackSurface = Enum.SurfaceType.Weld
  4824. o166.BottomSurface = Enum.SurfaceType.Weld
  4825. o166.FrontSurface = Enum.SurfaceType.Weld
  4826. o166.LeftSurface = Enum.SurfaceType.Weld
  4827. o166.RightSurface = Enum.SurfaceType.Weld
  4828. o166.TopSurface = Enum.SurfaceType.Smooth
  4829. o166.Position = Vector3.new(-131.90213, 6.69865561, -84.0907059)
  4830. o166.velocity = Vector3.new(-0.000359818921, 7.38754461e-05, 0.000483232609)
  4831. o167.Parent = o126
  4832. o167.Material = Enum.Material.SmoothPlastic
  4833. o167.Position = Vector3.new(-132.574005, 4.40036631, -88.5754471)
  4834. o167.Rotation = Vector3.new(-179.98999, 32.9099998, -179.98999)
  4835. o167.Locked = true
  4836. o167.Size = Vector3.new(0.99999696, 2.00000024, 1.39999938)
  4837. o167.CFrame = CFrame.new(-132.574005, 4.40036631, -88.5754471, -0.839503169, 0.000168354891, 0.543354809, 0.000299841166, 1, 0.000153422297, -0.54335475, 0.000291718636, -0.839503169)
  4838. o167.BackSurface = Enum.SurfaceType.Weld
  4839. o167.BottomSurface = Enum.SurfaceType.Weld
  4840. o167.FrontSurface = Enum.SurfaceType.Weld
  4841. o167.LeftSurface = Enum.SurfaceType.Weld
  4842. o167.RightSurface = Enum.SurfaceType.Weld
  4843. o167.TopSurface = Enum.SurfaceType.Smooth
  4844. o167.Position = Vector3.new(-132.574005, 4.40036631, -88.5754471)
  4845. o168.Name = "DO NOT USE"
  4846. o168.Parent = o126
  4847. o168.Material = Enum.Material.SmoothPlastic
  4848. o168.Position = Vector3.new(-124.742569, 2.89709711, -79.6951981)
  4849. o168.Rotation = Vector3.new(-179.970001, -57.0900002, 0.0199999996)
  4850. o168.Locked = true
  4851. o168.FormFactor = Enum.FormFactor.Symmetric
  4852. o168.Size = Vector3.new(2.60000205, 0.999999821, 0.200000033)
  4853. o168.CFrame = CFrame.new(-124.742569, 2.89709711, -79.6951981, 0.543354809, -0.000168354891, -0.839503169, 0.000153422297, -1, 0.000299841166, -0.839503169, -0.000291718636, -0.54335475)
  4854. o168.BackSurface = Enum.SurfaceType.Weld
  4855. o168.BottomSurface = Enum.SurfaceType.Weld
  4856. o168.TopSurface = Enum.SurfaceType.Weld
  4857. o168.Position = Vector3.new(-124.742569, 2.89709711, -79.6951981)
  4858. o169.Parent = o168
  4859. o169.MeshType = Enum.MeshType.Wedge
  4860. o170.Parent = o126
  4861. o170.Material = Enum.Material.SmoothPlastic
  4862. o170.Position = Vector3.new(-126.841431, 2.89742756, -81.0536575)
  4863. o170.Rotation = Vector3.new(0.00999999978, -32.9099998, 179.98999)
  4864. o170.Locked = true
  4865. o170.Size = Vector3.new(4.79999781, 1, 2.59999967)
  4866. o170.CFrame = CFrame.new(-126.841431, 2.89742756, -81.0536575, -0.839503169, -0.000168412924, -0.54335475, 0.000299841166, -1.00000012, -0.000153422356, -0.54335475, -0.000291824341, 0.839503348)
  4867. o170.BackSurface = Enum.SurfaceType.Weld
  4868. o170.BottomSurface = Enum.SurfaceType.Weld
  4869. o170.FrontSurface = Enum.SurfaceType.Weld
  4870. o170.LeftSurface = Enum.SurfaceType.Weld
  4871. o170.RightSurface = Enum.SurfaceType.Weld
  4872. o170.TopSurface = Enum.SurfaceType.Smooth
  4873. o170.Position = Vector3.new(-126.841431, 2.89742756, -81.0536575)
  4874. o171.Name = "DO NOT USE"
  4875. o171.Parent = o126
  4876. o171.Material = Enum.Material.SmoothPlastic
  4877. o171.Position = Vector3.new(-125.07869, 1.89716589, -79.9129257)
  4878. o171.Rotation = Vector3.new(-179.970001, -57.0900002, 0.0199999996)
  4879. o171.Locked = true
  4880. o171.FormFactor = Enum.FormFactor.Symmetric
  4881. o171.Size = Vector3.new(2.60000205, 0.999999821, 0.600000024)
  4882. o171.CFrame = CFrame.new(-125.07869, 1.89716589, -79.9129257, 0.54335475, -0.000168412924, -0.839503169, 0.000153422356, -1.00000012, 0.000299841166, -0.839503348, -0.000291824341, -0.54335475)
  4883. o171.BackSurface = Enum.SurfaceType.Weld
  4884. o171.BottomSurface = Enum.SurfaceType.Weld
  4885. o171.TopSurface = Enum.SurfaceType.Weld
  4886. o171.Position = Vector3.new(-125.07869, 1.89716589, -79.9129257)
  4887. o172.Parent = o171
  4888. o172.MeshType = Enum.MeshType.Wedge
  4889. o173.Parent = o126
  4890. o173.Material = Enum.Material.SmoothPlastic
  4891. o173.Position = Vector3.new(-127.093285, 1.89727068, -81.2173767)
  4892. o173.Rotation = Vector3.new(0.00999999978, -32.9099998, 179.98999)
  4893. o173.RotVelocity = Vector3.new(4.68351063e-05, -1.34809561e-05, 2.67140567e-05)
  4894. o173.Velocity = Vector3.new(-0.000207591918, 4.93132211e-05, 0.000137373412)
  4895. o173.Locked = true
  4896. o173.Size = Vector3.new(4.19999838, 1, 2.59999967)
  4897. o173.CFrame = CFrame.new(-127.093285, 1.89727068, -81.2173767, -0.839506984, -0.000166727914, -0.543348849, 0.00029164998, -0.99999994, -0.000143764541, -0.543348789, -0.000279159023, 0.839507043)
  4898. o173.BackSurface = Enum.SurfaceType.Weld
  4899. o173.BottomSurface = Enum.SurfaceType.Weld
  4900. o173.FrontSurface = Enum.SurfaceType.Weld
  4901. o173.LeftSurface = Enum.SurfaceType.Weld
  4902. o173.RightSurface = Enum.SurfaceType.Weld
  4903. o173.TopSurface = Enum.SurfaceType.Smooth
  4904. o173.Position = Vector3.new(-127.093285, 1.89727068, -81.2173767)
  4905. o173.velocity = Vector3.new(-0.000207591918, 4.93132211e-05, 0.000137373412)
  4906. o174.Name = "DO NOT USE"
  4907. o174.Parent = o126
  4908. o174.Material = Enum.Material.SmoothPlastic
  4909. o174.Position = Vector3.new(-127.093468, 0.797230721, -81.2176819)
  4910. o174.Rotation = Vector3.new(-179.970001, -57.0900002, 0.0199999996)
  4911. o174.RotVelocity = Vector3.new(4.68351063e-05, -1.34809561e-05, 2.67140567e-05)
  4912. o174.Velocity = Vector3.new(-0.000178201284, 4.93226216e-05, 8.585045e-05)
  4913. o174.Locked = true
  4914. o174.FormFactor = Enum.FormFactor.Symmetric
  4915. o174.Size = Vector3.new(2.60000205, 1.19999981, 4.20000029)
  4916. o174.CFrame = CFrame.new(-127.093468, 0.797230721, -81.2176819, 0.543348849, -0.000166727914, -0.839506984, 0.000143764541, -0.99999994, 0.00029164998, -0.839507043, -0.000279159023, -0.543348789)
  4917. o174.BackSurface = Enum.SurfaceType.Weld
  4918. o174.BottomSurface = Enum.SurfaceType.Weld
  4919. o174.TopSurface = Enum.SurfaceType.Weld
  4920. o174.Position = Vector3.new(-127.093468, 0.797230721, -81.2176819)
  4921. o174.velocity = Vector3.new(-0.000178201284, 4.93226216e-05, 8.585045e-05)
  4922. o175.Parent = o174
  4923. o175.MeshType = Enum.MeshType.Wedge
  4924. o176.Name = "DO NOT USE"
  4925. o176.Parent = o126
  4926. o176.Material = Enum.Material.SmoothPlastic
  4927. o176.Position = Vector3.new(-138.845718, 2.90050554, -88.8236465)
  4928. o176.Rotation = Vector3.new(0.0299999993, 57.0900002, 179.979996)
  4929. o176.RotVelocity = Vector3.new(9.32224357e-05, -6.20633864e-06, 6.29555434e-05)
  4930. o176.Velocity = Vector3.new(-0.000144318998, 9.06895002e-05, 0.000167499646)
  4931. o176.Locked = true
  4932. o176.FormFactor = Enum.FormFactor.Symmetric
  4933. o176.Size = Vector3.new(2.60000205, 0.999999821, 0.200000033)
  4934. o176.CFrame = CFrame.new(-138.845718, 2.90050554, -88.8236465, -0.543348789, -0.000166357873, 0.839507043, -0.000144287929, -0.99999994, -0.000291547942, 0.839507043, -0.000279542961, 0.54334873)
  4935. o176.BackSurface = Enum.SurfaceType.Weld
  4936. o176.BottomSurface = Enum.SurfaceType.Weld
  4937. o176.TopSurface = Enum.SurfaceType.Weld
  4938. o176.Position = Vector3.new(-138.845718, 2.90050554, -88.8236465)
  4939. o176.velocity = Vector3.new(-0.000144318998, 9.06895002e-05, 0.000167499646)
  4940. o177.Parent = o176
  4941. o177.MeshType = Enum.MeshType.Wedge
  4942. o178.Name = "DO NOT USE"
  4943. o178.Parent = o126
  4944. o178.Material = Enum.Material.SmoothPlastic
  4945. o178.Position = Vector3.new(-126.757019, 3.79734969, -80.9994125)
  4946. o178.Rotation = Vector3.new(-179.970001, -57.0900002, -179.979996)
  4947. o178.RotVelocity = Vector3.new(9.32224357e-05, -6.20633864e-06, 6.29555434e-05)
  4948. o178.Velocity = Vector3.new(-0.00024934017, 0.000122345984, 0.000326132198)
  4949. o178.Locked = true
  4950. o178.FormFactor = Enum.FormFactor.Symmetric
  4951. o178.Size = Vector3.new(2.60000205, 0.799999833, 4.99999952)
  4952. o178.CFrame = CFrame.new(-126.757019, 3.79734969, -80.9994125, -0.543348789, 0.000166357902, -0.839507043, -0.000144287944, 1, 0.000291547942, 0.839507043, 0.00027954299, -0.54334873)
  4953. o178.BackSurface = Enum.SurfaceType.Weld
  4954. o178.BottomSurface = Enum.SurfaceType.Weld
  4955. o178.TopSurface = Enum.SurfaceType.Weld
  4956. o178.Position = Vector3.new(-126.757019, 3.79734969, -80.9994125)
  4957. o178.velocity = Vector3.new(-0.00024934017, 0.000122345984, 0.000326132198)
  4958. o179.Parent = o178
  4959. o179.MeshType = Enum.MeshType.Wedge
  4960. o180.Parent = o126
  4961. o180.Material = Enum.Material.SmoothPlastic
  4962. o180.Position = Vector3.new(-126.534874, 2.19749713, -82.9999924)
  4963. o180.Rotation = Vector3.new(0.0599999987, 57.0900002, -90.0400009)
  4964. o180.RotVelocity = Vector3.new(9.32224357e-05, -6.20633864e-06, 6.29555434e-05)
  4965. o180.Velocity = Vector3.new(-0.000136204282, 0.000322830194, 0.000178368733)
  4966. o180.Locked = true
  4967. o180.Size = Vector3.new(2, 1, 2)
  4968. o180.CFrame = CFrame.new(-126.534874, 2.19749713, -82.9999924, -0.000385362509, 0.543344378, 0.839509845, -0.99999994, 0.000149534695, -0.000555834209, -0.000427571387, -0.839509904, 0.5433442)
  4969. o180.BackSurface = Enum.SurfaceType.Weld
  4970. o180.BottomSurface = Enum.SurfaceType.Weld
  4971. o180.FrontSurface = Enum.SurfaceType.Weld
  4972. o180.LeftSurface = Enum.SurfaceType.Weld
  4973. o180.RightSurface = Enum.SurfaceType.Weld
  4974. o180.TopSurface = Enum.SurfaceType.Smooth
  4975. o180.Position = Vector3.new(-126.534874, 2.19749713, -82.9999924)
  4976. o180.velocity = Vector3.new(-0.000136204282, 0.000322830194, 0.000178368733)
  4977. o181.Parent = o126
  4978. o181.Material = Enum.Material.SmoothPlastic
  4979. o181.Position = Vector3.new(-136.747498, 2.90108633, -87.4652176)
  4980. o181.Rotation = Vector3.new(-179.98999, 32.9099998, 0.00999999978)
  4981. o181.Locked = true
  4982. o181.Size = Vector3.new(4.79999781, 1, 2.59999967)
  4983. o181.CFrame = CFrame.new(-136.747498, 2.90108633, -87.4652176, 0.839503169, -0.000168354891, 0.543354809, -0.000299841166, -1, 0.000153422297, 0.54335475, -0.000291718636, -0.839503169)
  4984. o181.BackSurface = Enum.SurfaceType.Weld
  4985. o181.BottomSurface = Enum.SurfaceType.Weld
  4986. o181.FrontSurface = Enum.SurfaceType.Weld
  4987. o181.LeftSurface = Enum.SurfaceType.Weld
  4988. o181.RightSurface = Enum.SurfaceType.Weld
  4989. o181.TopSurface = Enum.SurfaceType.Smooth
  4990. o181.Position = Vector3.new(-136.747498, 2.90108633, -87.4652176)
  4991. o182.Name = "DO NOT USE"
  4992. o182.Parent = o126
  4993. o182.Material = Enum.Material.SmoothPlastic
  4994. o182.Position = Vector3.new(-136.831039, 3.80100989, -87.5191193)
  4995. o182.Rotation = Vector3.new(0.0299999993, 57.0900002, -0.0199999996)
  4996. o182.Locked = true
  4997. o182.FormFactor = Enum.FormFactor.Symmetric
  4998. o182.Size = Vector3.new(2.60000205, 0.799999833, 4.99999952)
  4999. o182.CFrame = CFrame.new(-136.831039, 3.80100989, -87.5191193, 0.543354809, 0.000168354891, 0.839503169, 0.000153422297, 1, -0.000299841166, -0.839503169, 0.000291718636, 0.54335475)
  5000. o182.BackSurface = Enum.SurfaceType.Weld
  5001. o182.BottomSurface = Enum.SurfaceType.Weld
  5002. o182.TopSurface = Enum.SurfaceType.Weld
  5003. o182.Position = Vector3.new(-136.831039, 3.80100989, -87.5191193)
  5004. o183.Parent = o182
  5005. o183.MeshType = Enum.MeshType.Wedge
  5006. o184.Name = "DO NOT USE"
  5007. o184.Parent = o126
  5008. o184.Material = Enum.Material.SmoothPlastic
  5009. o184.Position = Vector3.new(-136.49559, 0.800646842, -87.3025436)
  5010. o184.Rotation = Vector3.new(0.0399999991, 57.0900002, 179.970001)
  5011. o184.Locked = true
  5012. o184.FormFactor = Enum.FormFactor.Symmetric
  5013. o184.Size = Vector3.new(2.60000205, 1.19999981, 4.20000029)
  5014. o184.CFrame = CFrame.new(-136.49559, 0.800646842, -87.3025436, -0.543354809, -0.000240822497, 0.839503169, -0.000153422297, -1, -0.000386163185, 0.839503169, -0.000338622107, 0.54335475)
  5015. o184.BackSurface = Enum.SurfaceType.Weld
  5016. o184.BottomSurface = Enum.SurfaceType.Weld
  5017. o184.TopSurface = Enum.SurfaceType.Weld
  5018. o184.Position = Vector3.new(-136.49559, 0.800646842, -87.3025436)
  5019. o185.Parent = o184
  5020. o185.MeshType = Enum.MeshType.Wedge
  5021. o186.Name = "DO NOT USE"
  5022. o186.Parent = o126
  5023. o186.Material = Enum.Material.SmoothPlastic
  5024. o186.Position = Vector3.new(-138.510239, 1.90143979, -88.6062698)
  5025. o186.Rotation = Vector3.new(0.0299999993, 57.0900002, 179.979996)
  5026. o186.Locked = true
  5027. o186.FormFactor = Enum.FormFactor.Symmetric
  5028. o186.Size = Vector3.new(2.60000205, 0.999999821, 0.600000024)
  5029. o186.CFrame = CFrame.new(-138.510239, 1.90143979, -88.6062698, -0.543354809, -0.000168354891, 0.839503169, -0.000153422297, -1, -0.000299841166, 0.839503169, -0.000291718636, 0.54335475)
  5030. o186.BackSurface = Enum.SurfaceType.Weld
  5031. o186.BottomSurface = Enum.SurfaceType.Weld
  5032. o186.TopSurface = Enum.SurfaceType.Weld
  5033. o186.Position = Vector3.new(-138.510239, 1.90143979, -88.6062698)
  5034. o187.Parent = o186
  5035. o187.MeshType = Enum.MeshType.Wedge
  5036. o188.Parent = o126
  5037. o188.Material = Enum.Material.SmoothPlastic
  5038. o188.Position = Vector3.new(-135.097748, 2.20132542, -88.5416336)
  5039. o188.Rotation = Vector3.new(0.0299999993, 57.0900002, -90.0199966)
  5040. o188.Locked = true
  5041. o188.Size = Vector3.new(2, 1, 2)
  5042. o188.CFrame = CFrame.new(-135.097748, 2.20132542, -88.5416336, -0.000168354891, 0.543354809, 0.839503169, -1, 0.000153422297, -0.000299841166, -0.000291718636, -0.839503169, 0.54335475)
  5043. o188.BackSurface = Enum.SurfaceType.Weld
  5044. o188.BottomSurface = Enum.SurfaceType.Weld
  5045. o188.FrontSurface = Enum.SurfaceType.Weld
  5046. o188.LeftSurface = Enum.SurfaceType.Weld
  5047. o188.RightSurface = Enum.SurfaceType.Weld
  5048. o188.TopSurface = Enum.SurfaceType.Smooth
  5049. o188.Position = Vector3.new(-135.097748, 2.20132542, -88.5416336)
  5050. o189.Parent = o126
  5051. o189.Material = Enum.Material.SmoothPlastic
  5052. o189.Position = Vector3.new(-136.495712, 1.90087795, -87.3024292)
  5053. o189.Rotation = Vector3.new(-179.98999, 32.9099998, 0.00999999978)
  5054. o189.Locked = true
  5055. o189.Size = Vector3.new(4.19999838, 1, 2.59999967)
  5056. o189.CFrame = CFrame.new(-136.495712, 1.90087795, -87.3024292, 0.839503169, -0.000168354891, 0.543354809, -0.000299841166, -1, 0.000153422297, 0.54335475, -0.000291718636, -0.839503169)
  5057. o189.BackSurface = Enum.SurfaceType.Weld
  5058. o189.BottomSurface = Enum.SurfaceType.Weld
  5059. o189.FrontSurface = Enum.SurfaceType.Weld
  5060. o189.LeftSurface = Enum.SurfaceType.Weld
  5061. o189.RightSurface = Enum.SurfaceType.Weld
  5062. o189.TopSurface = Enum.SurfaceType.Smooth
  5063. o189.Position = Vector3.new(-136.495712, 1.90087795, -87.3024292)
  5064. o190.Name = "Moving System"
  5065. o190.Parent = o9
  5066. o191.Parent = o190
  5067. o191.Material = Enum.Material.SmoothPlastic
  5068. o191.Position = Vector3.new(-130.09697, 11.1979723, -82.9209976)
  5069. o191.Rotation = Vector3.new(-179.98999, 32.9099998, -179.98999)
  5070. o191.Locked = true
  5071. o191.Size = Vector3.new(2.299999, 6, 3.39999914)
  5072. o191.CFrame = CFrame.new(-130.09697, 11.1979723, -82.9209976, -0.839503169, 0.000168354891, 0.543354809, 0.000299841166, 1, 0.000153422297, -0.54335475, 0.000291718636, -0.839503169)
  5073. o191.BackSurface = Enum.SurfaceType.Weld
  5074. o191.BottomSurface = Enum.SurfaceType.Weld
  5075. o191.FrontSurface = Enum.SurfaceType.Weld
  5076. o191.LeftSurface = Enum.SurfaceType.Weld
  5077. o191.RightSurface = Enum.SurfaceType.Weld
  5078. o191.TopSurface = Enum.SurfaceType.Smooth
  5079. o191.Position = Vector3.new(-130.09697, 11.1979723, -82.9209976)
  5080. o192.Parent = o190
  5081. o192.Material = Enum.Material.SmoothPlastic
  5082. o192.Position = Vector3.new(-135.336105, 12.898284, -82.7395782)
  5083. o192.Rotation = Vector3.new(-179.98999, 32.9099998, 0.00999999978)
  5084. o192.Locked = true
  5085. o192.FormFactor = Enum.FormFactor.Symmetric
  5086. o192.Size = Vector3.new(2.3000021, 2.60000014, 2.60000038)
  5087. o192.CFrame = CFrame.new(-135.336105, 12.898284, -82.7395782, 0.839503169, -0.000168354891, 0.543354809, -0.000299841166, -1, 0.000153422297, 0.54335475, -0.000291718636, -0.839503169)
  5088. o192.BackSurface = Enum.SurfaceType.Weld
  5089. o192.BottomSurface = Enum.SurfaceType.Weld
  5090. o192.TopSurface = Enum.SurfaceType.Weld
  5091. o192.Position = Vector3.new(-135.336105, 12.898284, -82.7395782)
  5092. o193.Parent = o192
  5093. o193.MeshType = Enum.MeshType.Wedge
  5094. o194.Parent = o190
  5095. o194.Material = Enum.Material.SmoothPlastic
  5096. o194.BrickColor = BrickColor.new("Really black")
  5097. o194.Transparency = 1
  5098. o194.Position = Vector3.new(-123.931572, 12.8419943, -84.8508987)
  5099. o194.Rotation = Vector3.new(-112.629997, 14, -30.0999985)
  5100. o194.RotVelocity = Vector3.new(3.49417351e-05, 7.67568054e-06, 3.2254713e-05)
  5101. o194.Velocity = Vector3.new(-0.000353009644, 0.000291585922, 0.00039635913)
  5102. o194.Locked = true
  5103. o194.Shape = Enum.PartType.Cylinder
  5104. o194.Size = Vector3.new(1.56522083, 4.10000181, 3.91304326)
  5105. o194.CFrame = CFrame.new(-123.931572, 12.8419943, -84.8508987, 0.839493573, 0.486573607, 0.241860956, -0.000237090571, -0.444785088, 0.895637333, 0.543369591, -0.751939118, -0.373278826)
  5106. o194.BottomSurface = Enum.SurfaceType.Smooth
  5107. o194.LeftSurface = Enum.SurfaceType.Hinge
  5108. o194.TopSurface = Enum.SurfaceType.Smooth
  5109. o194.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  5110. o194.Position = Vector3.new(-123.931572, 12.8419943, -84.8508987)
  5111. o194.velocity = Vector3.new(-0.000353009644, 0.000291585922, 0.00039635913)
  5112. o195.Parent = o190
  5113. o195.Material = Enum.Material.SmoothPlastic
  5114. o195.Transparency = 1
  5115. o195.Position = Vector3.new(-134.889496, 13.0223255, -79.435257)
  5116. o195.Rotation = Vector3.new(-179.98999, 32.9099998, -179.98999)
  5117. o195.CanCollide = false
  5118. o195.Locked = true
  5119. o195.Size = Vector3.new(10.96, 0.849999785, 1.97999585)
  5120. o195.CFrame = CFrame.new(-134.889496, 13.0223255, -79.435257, -0.839503169, 0.000168354891, 0.543354809, 0.000299841166, 1, 0.000153422297, -0.54335475, 0.000291718636, -0.839503169)
  5121. o195.BackSurface = Enum.SurfaceType.Weld
  5122. o195.BottomSurface = Enum.SurfaceType.Weld
  5123. o195.FrontSurface = Enum.SurfaceType.Weld
  5124. o195.LeftSurface = Enum.SurfaceType.Weld
  5125. o195.RightSurface = Enum.SurfaceType.Weld
  5126. o195.TopSurface = Enum.SurfaceType.Smooth
  5127. o195.Position = Vector3.new(-134.889496, 13.0223255, -79.435257)
  5128. o196.Parent = o190
  5129. o196.Material = Enum.Material.SmoothPlastic
  5130. o196.Transparency = 1
  5131. o196.Position = Vector3.new(-133.126358, 12.0982723, -82.3802185)
  5132. o196.Rotation = Vector3.new(0.00999999978, -32.9099998, 179.98999)
  5133. o196.CanCollide = false
  5134. o196.Locked = true
  5135. o196.Size = Vector3.new(0.999996722, 1, 7.59999657)
  5136. o196.CFrame = CFrame.new(-133.126358, 12.0982723, -82.3802185, -0.839503169, -0.000168354891, -0.543354809, 0.000299841166, -1, -0.000153422297, -0.54335475, -0.000291718636, 0.839503169)
  5137. o196.BackSurface = Enum.SurfaceType.Weld
  5138. o196.BottomSurface = Enum.SurfaceType.Weld
  5139. o196.FrontSurface = Enum.SurfaceType.Weld
  5140. o196.LeftSurface = Enum.SurfaceType.Weld
  5141. o196.RightSurface = Enum.SurfaceType.Weld
  5142. o196.TopSurface = Enum.SurfaceType.Smooth
  5143. o196.Position = Vector3.new(-133.126358, 12.0982723, -82.3802185)
  5144. o197.Parent = o190
  5145. o197.Material = Enum.Material.SmoothPlastic
  5146. o197.Transparency = 1
  5147. o197.Position = Vector3.new(-130.439209, 12.0990849, -86.7159195)
  5148. o197.Rotation = Vector3.new(0.00999999978, -32.9099998, 179.98999)
  5149. o197.CanCollide = false
  5150. o197.Locked = true
  5151. o197.Size = Vector3.new(4.39999723, 1, 2.59999967)
  5152. o197.CFrame = CFrame.new(-130.439209, 12.0990849, -86.7159195, -0.839503169, -0.000168354891, -0.543354809, 0.000299841166, -1, -0.000153422297, -0.54335475, -0.000291718636, 0.839503169)
  5153. o197.BackSurface = Enum.SurfaceType.Weld
  5154. o197.BottomSurface = Enum.SurfaceType.Weld
  5155. o197.FrontSurface = Enum.SurfaceType.Weld
  5156. o197.LeftSurface = Enum.SurfaceType.Weld
  5157. o197.RightSurface = Enum.SurfaceType.Weld
  5158. o197.TopSurface = Enum.SurfaceType.Smooth
  5159. o197.Position = Vector3.new(-130.439209, 12.0990849, -86.7159195)
  5160. o198.Parent = o190
  5161. o198.Material = Enum.Material.SmoothPlastic
  5162. o198.Position = Vector3.new(-133.706161, 11.1992302, -85.2570648)
  5163. o198.Rotation = Vector3.new(-179.98999, 32.9099998, -179.98999)
  5164. o198.Locked = true
  5165. o198.Size = Vector3.new(2.299999, 6, 3.39999914)
  5166. o198.CFrame = CFrame.new(-133.706161, 11.1992302, -85.2570648, -0.839503169, 0.000168354891, 0.543354809, 0.000299841166, 1, 0.000153422297, -0.54335475, 0.000291718636, -0.839503169)
  5167. o198.BackSurface = Enum.SurfaceType.Weld
  5168. o198.BottomSurface = Enum.SurfaceType.Weld
  5169. o198.FrontSurface = Enum.SurfaceType.Weld
  5170. o198.LeftSurface = Enum.SurfaceType.Weld
  5171. o198.RightSurface = Enum.SurfaceType.Weld
  5172. o198.TopSurface = Enum.SurfaceType.Smooth
  5173. o198.Position = Vector3.new(-133.706161, 11.1992302, -85.2570648)
  5174. o199.Parent = o190
  5175. o199.Material = Enum.Material.SmoothPlastic
  5176. o199.BrickColor = BrickColor.new("Really black")
  5177. o199.Transparency = 1
  5178. o199.Position = Vector3.new(-129.451187, 12.8400421, -76.3097534)
  5179. o199.Rotation = Vector3.new(68.6500015, -13.2699995, 30.3999996)
  5180. o199.Locked = true
  5181. o199.Shape = Enum.PartType.Cylinder
  5182. o199.Size = Vector3.new(1.56522083, 4.10000181, 3.91304326)
  5183. o199.CFrame = CFrame.new(-129.451187, 12.8400421, -76.3097534, 0.83953619, -0.492457539, -0.229487568, -0.000160707234, 0.422167629, -0.906517863, 0.543303788, 0.761091352, 0.354345858)
  5184. o199.BottomSurface = Enum.SurfaceType.Smooth
  5185. o199.LeftSurface = Enum.SurfaceType.Hinge
  5186. o199.TopSurface = Enum.SurfaceType.Smooth
  5187. o199.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  5188. o199.Position = Vector3.new(-129.451187, 12.8400421, -76.3097534)
  5189. o200.Parent = o190
  5190. o200.Material = Enum.Material.SmoothPlastic
  5191. o200.BrickColor = BrickColor.new("Really black")
  5192. o200.Transparency = 1
  5193. o200.Position = Vector3.new(-124.540977, 0.753917873, -90.2416229)
  5194. o200.Rotation = Vector3.new(0.399999976, -62.0200005, -89.3199997)
  5195. o200.Locked = true
  5196. o200.Shape = Enum.PartType.Cylinder
  5197. o200.Size = Vector3.new(1.56522083, 4.10000181, 3.91304326)
  5198. o200.CFrame = CFrame.new(-124.540977, 0.753917873, -90.2416229, 0.00554412603, 0.469119459, -0.883117318, -0.9999789, 0.00560701918, -0.00329927448, 0.00340390205, 0.883116901, 0.469140619)
  5199. o200.BottomSurface = Enum.SurfaceType.Smooth
  5200. o200.LeftSurface = Enum.SurfaceType.Hinge
  5201. o200.TopSurface = Enum.SurfaceType.Smooth
  5202. o200.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  5203. o200.Position = Vector3.new(-124.540977, 0.753917873, -90.2416229)
  5204. o201.Parent = o190
  5205. o201.Material = Enum.Material.SmoothPlastic
  5206. o201.Transparency = 1
  5207. o201.Position = Vector3.new(-129.248779, 13.0238943, -88.1964035)
  5208. o201.Rotation = Vector3.new(-179.98999, 32.9099998, -179.98999)
  5209. o201.CanCollide = false
  5210. o201.Locked = true
  5211. o201.Size = Vector3.new(11.0300007, 0.849999785, 2.81999588)
  5212. o201.CFrame = CFrame.new(-129.248779, 13.0238943, -88.1964035, -0.839503169, 0.000168354891, 0.543354809, 0.000299841166, 1, 0.000153422297, -0.54335475, 0.000291718636, -0.839503169)
  5213. o201.BackSurface = Enum.SurfaceType.Weld
  5214. o201.BottomSurface = Enum.SurfaceType.Weld
  5215. o201.FrontSurface = Enum.SurfaceType.Weld
  5216. o201.LeftSurface = Enum.SurfaceType.Weld
  5217. o201.RightSurface = Enum.SurfaceType.Weld
  5218. o201.TopSurface = Enum.SurfaceType.Smooth
  5219. o201.Position = Vector3.new(-129.248779, 13.0238943, -88.1964035)
  5220. o202.Parent = o190
  5221. o202.Material = Enum.Material.SmoothPlastic
  5222. o202.BrickColor = BrickColor.new("Really black")
  5223. o202.Transparency = 1
  5224. o202.Position = Vector3.new(-134.470795, 12.8439465, -91.6732712)
  5225. o202.Rotation = Vector3.new(-68.9300003, -13.0799999, 149.529999)
  5226. o202.RotVelocity = Vector3.new(3.56056153e-05, -1.03823368e-05, 3.01497494e-05)
  5227. o202.Velocity = Vector3.new(-0.000253697392, 0.000205934048, 0.000430147047)
  5228. o202.Locked = true
  5229. o202.Shape = Enum.PartType.Cylinder
  5230. o202.Size = Vector3.new(1.56522083, 4.10000181, 3.91304326)
  5231. o202.CFrame = CFrame.new(-134.470795, 12.8439465, -91.6732712, -0.839503646, -0.493947357, -0.226383954, 0.000256849511, -0.417002439, 0.908905387, -0.543353975, 0.762971282, 0.350201905)
  5232. o202.BottomSurface = Enum.SurfaceType.Smooth
  5233. o202.LeftSurface = Enum.SurfaceType.Hinge
  5234. o202.TopSurface = Enum.SurfaceType.Smooth
  5235. o202.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  5236. o202.Position = Vector3.new(-134.470795, 12.8439465, -91.6732712)
  5237. o202.velocity = Vector3.new(-0.000253697392, 0.000205934048, 0.000430147047)
  5238. o203.Parent = o190
  5239. o203.Material = Enum.Material.SmoothPlastic
  5240. o203.Position = Vector3.new(-131.72702, 12.8967981, -80.4033737)
  5241. o203.Rotation = Vector3.new(-179.98999, 32.9099998, 0.00999999978)
  5242. o203.Locked = true
  5243. o203.FormFactor = Enum.FormFactor.Symmetric
  5244. o203.Size = Vector3.new(2.3000021, 2.60000014, 2.60000038)
  5245. o203.CFrame = CFrame.new(-131.72702, 12.8967981, -80.4033737, 0.839503169, -0.000168354891, 0.543354809, -0.000299841166, -1, 0.000153422297, 0.54335475, -0.000291718636, -0.839503169)
  5246. o203.BackSurface = Enum.SurfaceType.Weld
  5247. o203.BottomSurface = Enum.SurfaceType.Weld
  5248. o203.TopSurface = Enum.SurfaceType.Weld
  5249. o203.Position = Vector3.new(-131.72702, 12.8967981, -80.4033737)
  5250. o204.Parent = o203
  5251. o204.MeshType = Enum.MeshType.Wedge
  5252. o205.Parent = o8
  5253. o205.BrickColor = BrickColor.new("Bright violet")
  5254. o205.Position = Vector3.new(-136.279083, 0.105795003, -96.7843628)
  5255. o205.Rotation = Vector3.new(0, 0, 0.219999999)
  5256. o205.Anchored = true
  5257. o205.Locked = true
  5258. o205.FormFactor = Enum.FormFactor.Custom
  5259. o205.Size = Vector3.new(3, 0.200000003, 3)
  5260. o205.CFrame = CFrame.new(-136.279083, 0.105795003, -96.7843628, 0.99999243, -0.00388448406, 0, 0.00388448406, 0.99999243, 0, 0, 0, 1)
  5261. o205.BottomSurface = Enum.SurfaceType.Smooth
  5262. o205.TopSurface = Enum.SurfaceType.Smooth
  5263. o205.Color = Color3.new(0.419608, 0.196078, 0.486275)
  5264. o205.Position = Vector3.new(-136.279083, 0.105795003, -96.7843628)
  5265. o206.Parent = o205
  5266. o206.MaxActivationDistance = 16
  5267. o207.Name = "Regen"
  5268. o207.Parent = o205
  5269.  
  5270. runDummyScript(function()
  5271. ------------------------------------------------------------------------------------
  5272. local WaitTime = 10 -- Change this to the amount of time it takes for the button to re-enable.
  5273. local modelname = "Model" -- If your model is not named this, then make the purple words the same name as the model!
  5274. ------------------------------------------------------------------------------------
  5275.  
  5276. -- To make this work, simply group it with the model you want!
  5277.  
  5278.  
  5279. local modelbackup = script.Parent.Parent:FindFirstChild(modelname):clone()
  5280. local trigger = script.Parent
  5281.  
  5282. enabled = true
  5283.  
  5284. function onClick()
  5285.  
  5286. if enabled == true then
  5287.  
  5288. enabled = false
  5289. trigger.BrickColor = BrickColor.new("Really black")
  5290.  
  5291. if script.Parent.Parent:FindFirstChild(modelname) ~= nil then
  5292.  
  5293. script.Parent.Parent:FindFirstChild(modelname):Destroy()
  5294.  
  5295. end
  5296.  
  5297. local modelclone = modelbackup:clone()
  5298. modelclone.Parent = script.Parent.Parent
  5299. modelclone:MakeJoints()
  5300.  
  5301.  
  5302.  
  5303. wait(WaitTime)
  5304.  
  5305. enabled = true
  5306. trigger.BrickColor = BrickColor.new("Bright violet")
  5307.  
  5308. end
  5309.  
  5310. end
  5311.  
  5312. script.Parent.ClickDetector.MouseClick:connect(onClick)
  5313.  
  5314.  
  5315. end,o207)
  5316.  
  5317. o208.Parent = o205
  5318. o208.Texture = "http://www.roblox.com/asset/?id=43556891"
  5319. o208.Face = Enum.NormalId.Top
  5320. o209.Parent = o8
  5321.  
  5322. runDummyScript(function()
  5323. --Przystosowany do terenu rownego--
  5324. --Uzywanie na terenie gorzystym nie wskazane--
  5325.  
  5326. --Autor Markill7890--
  5327. end,o209)
  5328.  
  5329. o210.Name = "timetodie23232223"
  5330. o210.Parent = mas
  5331. o210.Archivable = false
  5332. o210.PrimaryPart = o211
  5333. o211.Name = "Head"
  5334. o211.Parent = o210
  5335. o211.BrickColor = BrickColor.new("Pastel brown")
  5336. o211.Position = Vector3.new(-134.708496, 5.45760536, -81.6200562)
  5337. o211.Rotation = Vector3.new(-1.52999997, 70.4799957, 1.44999993)
  5338. o211.RotVelocity = Vector3.new(-0.0142660849, 0.000513764971, -0.00504780654)
  5339. o211.Velocity = Vector3.new(0.0330019481, 0.0780156255, -0.0763950199)
  5340. o211.Locked = true
  5341. o211.FormFactor = Enum.FormFactor.Symmetric
  5342. o211.Size = Vector3.new(2, 1, 1)
  5343. o211.CFrame = CFrame.new(-134.708496, 5.45760536, -81.6200562, 0.334031224, -0.0084268041, 0.942524314, 0.000106555439, 0.999960363, 0.00890254602, -0.942561984, -0.00287327636, 0.334018886)
  5344. o211.TopSurface = Enum.SurfaceType.Smooth
  5345. o211.Color = Color3.new(1, 0.8, 0.6)
  5346. o211.Position = Vector3.new(-134.708496, 5.45760536, -81.6200562)
  5347. o211.velocity = Vector3.new(0.0330019481, 0.0780156255, -0.0763950199)
  5348. o212.Parent = o211
  5349. o212.Scale = Vector3.new(1.25, 1.25, 1.25)
  5350. o217.Name = "GettingUp"
  5351. o217.Parent = o211
  5352. o217.Archivable = false
  5353. o217.SoundId = "rbxasset://sounds/action_get_up.mp3"
  5354. o217.Volume = 0.64999997615814
  5355. o218.Name = "CharacterSoundEvent"
  5356. o218.Parent = o217
  5357. o219.Name = "Died"
  5358. o219.Parent = o211
  5359. o219.Archivable = false
  5360. o219.SoundId = "rbxasset://sounds/uuhhh.mp3"
  5361. o219.Volume = 0.64999997615814
  5362. o220.Name = "CharacterSoundEvent"
  5363. o220.Parent = o219
  5364. o221.Name = "FreeFalling"
  5365. o221.Parent = o211
  5366. o221.Archivable = false
  5367. o221.SoundId = "rbxasset://sounds/action_falling.mp3"
  5368. o221.TimePosition = 0.36257086044679
  5369. o221.Volume = 0
  5370. o221.Looped = true
  5371. o222.Name = "CharacterSoundEvent"
  5372. o222.Parent = o221
  5373. o223.Name = "Jumping"
  5374. o223.Parent = o211
  5375. o223.Archivable = false
  5376. o223.SoundId = "rbxasset://sounds/action_jump.mp3"
  5377. o223.Volume = 0.64999997615814
  5378. o224.Name = "CharacterSoundEvent"
  5379. o224.Parent = o223
  5380. o225.Name = "Landing"
  5381. o225.Parent = o211
  5382. o225.Archivable = false
  5383. o225.SoundId = "rbxasset://sounds/action_jump_land.mp3"
  5384. o225.Volume = 1
  5385. o226.Name = "CharacterSoundEvent"
  5386. o226.Parent = o225
  5387. o227.Name = "Splash"
  5388. o227.Parent = o211
  5389. o227.Archivable = false
  5390. o227.SoundId = "rbxasset://sounds/impact_water.mp3"
  5391. o227.Volume = 0.64999997615814
  5392. o228.Name = "CharacterSoundEvent"
  5393. o228.Parent = o227
  5394. o229.Name = "Running"
  5395. o229.Parent = o211
  5396. o229.Archivable = false
  5397. o229.Pitch = 1.8500000238419
  5398. o229.SoundId = "rbxasset://sounds/action_footsteps_plastic.mp3"
  5399. o229.TimePosition = 2.3937276261113
  5400. o229.Volume = 0.64999997615814
  5401. o229.Looped = true
  5402. o230.Name = "CharacterSoundEvent"
  5403. o230.Parent = o229
  5404. o231.Name = "Swimming"
  5405. o231.Parent = o211
  5406. o231.Archivable = false
  5407. o231.Pitch = 1.6000000238419
  5408. o231.SoundId = "rbxasset://sounds/action_swim.mp3"
  5409. o231.Volume = 0.64999997615814
  5410. o231.Looped = true
  5411. o232.Name = "CharacterSoundEvent"
  5412. o232.Parent = o231
  5413. o233.Name = "Climbing"
  5414. o233.Parent = o211
  5415. o233.Archivable = false
  5416. o233.SoundId = "rbxasset://sounds/action_footsteps_plastic.mp3"
  5417. o233.TimePosition = 0.24132753558115
  5418. o233.Volume = 0.64999997615814
  5419. o233.Looped = true
  5420. o234.Name = "CharacterSoundEvent"
  5421. o234.Parent = o233
  5422. o235.Name = "face"
  5423. o235.Parent = o211
  5424. o235.Texture = "http://www.roblox.com/asset/?id=13038247"
  5425. o236.Name = "Torso"
  5426. o236.Parent = o210
  5427. o236.BrickColor = BrickColor.new("Pastel brown")
  5428. o236.Position = Vector3.new(-134.774414, 3.90877676, -81.083374)
  5429. o236.Rotation = Vector3.new(178.580002, 39.5499992, -178.959991)
  5430. o236.RotVelocity = Vector3.new(-0.00200243201, -0.00275177089, 0.00201310473)
  5431. o236.Velocity = Vector3.new(-0.0281608012, -4.11867523, 0.012097585)
  5432. o236.CanCollide = false
  5433. o236.Locked = true
  5434. o236.FormFactor = Enum.FormFactor.Symmetric
  5435. o236.Size = Vector3.new(2, 2, 1)
  5436. o236.CFrame = CFrame.new(-134.774414, 3.90877676, -81.083374, -0.77090621, 0.014031739, 0.63679409, 0.00237763417, 0.999813735, -0.0191524904, -0.636944234, -0.0132507104, -0.770796001)
  5437. o236.LeftSurface = Enum.SurfaceType.Weld
  5438. o236.RightSurface = Enum.SurfaceType.Weld
  5439. o236.Color = Color3.new(1, 0.8, 0.6)
  5440. o236.Position = Vector3.new(-134.774414, 3.90877676, -81.083374)
  5441. o236.velocity = Vector3.new(-0.0281608012, -4.11867523, 0.012097585)
  5442. o237.Name = "roblox"
  5443. o237.Parent = o236
  5444. o246.Name = "Right Shoulder"
  5445. o246.Parent = o236
  5446. o246.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  5447. o246.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  5448. o246.Part0 = o236
  5449. o246.Part1 = o254
  5450. o246.CurrentAngle = 0.38380664587021
  5451. o246.MaxVelocity = 0.10000000149012
  5452. o247.Name = "Left Shoulder"
  5453. o247.Parent = o236
  5454. o247.C0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  5455. o247.C1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  5456. o247.Part0 = o236
  5457. o247.Part1 = o251
  5458. o247.CurrentAngle = -0.57920372486115
  5459. o247.MaxVelocity = 0.10000000149012
  5460. o248.Name = "Right Hip"
  5461. o248.Parent = o236
  5462. o248.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  5463. o248.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  5464. o248.Part0 = o236
  5465. o248.Part1 = o259
  5466. o248.CurrentAngle = 0.44040873646736
  5467. o248.MaxVelocity = 0.10000000149012
  5468. o249.Name = "Left Hip"
  5469. o249.Parent = o236
  5470. o249.C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  5471. o249.C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  5472. o249.Part0 = o236
  5473. o249.Part1 = o257
  5474. o249.CurrentAngle = 0.75340574979782
  5475. o249.MaxVelocity = 0.10000000149012
  5476. o250.Name = "Neck"
  5477. o250.Parent = o236
  5478. o250.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  5479. o250.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  5480. o250.Part0 = o236
  5481. o250.Part1 = o211
  5482. o250.CurrentAngle = 0.0087012434378266
  5483. o250.MaxVelocity = 0.10000000149012
  5484. o251.Name = "Left Arm"
  5485. o251.Parent = o210
  5486. o251.BrickColor = BrickColor.new("Pastel brown")
  5487. o251.Position = Vector3.new(-134.477386, 3.43139434, -80.1958389)
  5488. o251.Rotation = Vector3.new(140.270004, 43.8499985, -151.569992)
  5489. o251.RotVelocity = Vector3.new(0.0220086351, 2.61361146, 0.010123943)
  5490. o251.Velocity = Vector3.new(1.89497316, 3.0572834, -0.439359784)
  5491. o251.CanCollide = false
  5492. o251.Locked = true
  5493. o251.FormFactor = Enum.FormFactor.Symmetric
  5494. o251.Size = Vector3.new(1, 2, 1)
  5495. o251.CFrame = CFrame.new(-134.477386, 3.43139434, -80.1958389, -0.634130776, 0.343352139, 0.69281131, -0.0232825018, 0.887116194, -0.460958689, -0.772875071, -0.30843842, -0.554553449)
  5496. o251.Color = Color3.new(1, 0.8, 0.6)
  5497. o251.Position = Vector3.new(-134.477386, 3.43139434, -80.1958389)
  5498. o251.velocity = Vector3.new(1.89497316, 3.0572834, -0.439359784)
  5499. o254.Name = "Right Arm"
  5500. o254.Parent = o210
  5501. o254.BrickColor = BrickColor.new("Pastel brown")
  5502. o254.Position = Vector3.new(-136.331833, 3.45107508, -82.5887146)
  5503. o254.Rotation = Vector3.new(148.160004, 43.6100006, -155.089996)
  5504. o254.RotVelocity = Vector3.new(0.0220086351, 2.61361146, 0.010123943)
  5505. o254.Velocity = Vector3.new(-4.35927343, 3.09117293, 4.40787601)
  5506. o254.CanCollide = false
  5507. o254.Locked = true
  5508. o254.FormFactor = Enum.FormFactor.Symmetric
  5509. o254.Size = Vector3.new(1, 2, 1)
  5510. o254.CFrame = CFrame.new(-136.331833, 3.45107508, -82.5887146, -0.656700611, 0.305039018, 0.689706802, 0.0279389005, 0.92375952, -0.381952435, -0.753633499, -0.231558755, -0.615155876)
  5511. o254.Color = Color3.new(1, 0.8, 0.6)
  5512. o254.Position = Vector3.new(-136.331833, 3.45107508, -82.5887146)
  5513. o254.velocity = Vector3.new(-4.35927343, 3.09117293, 4.40787601)
  5514. o257.Name = "Left Leg"
  5515. o257.Parent = o210
  5516. o257.BrickColor = BrickColor.new("Pastel brown")
  5517. o257.Position = Vector3.new(-134.572861, 1.6627214, -81.6355438)
  5518. o257.Rotation = Vector3.new(-130.259995, 27.75, 151.149994)
  5519. o257.RotVelocity = Vector3.new(-0.380968004, 1.67426908, -0.313094229)
  5520. o257.Velocity = Vector3.new(-1.92168236, -3.07662797, -0.006249547)
  5521. o257.CanCollide = false
  5522. o257.Locked = true
  5523. o257.FormFactor = Enum.FormFactor.Symmetric
  5524. o257.Size = Vector3.new(1, 2, 1)
  5525. o257.CFrame = CFrame.new(-134.572861, 1.6627214, -81.6355438, -0.77518481, -0.426969975, 0.465601832, -0.000550748024, 0.737477899, 0.675370991, -0.631734192, 0.523280919, -0.571916878)
  5526. o257.BottomSurface = Enum.SurfaceType.Smooth
  5527. o257.Color = Color3.new(1, 0.8, 0.6)
  5528. o257.Position = Vector3.new(-134.572861, 1.6627214, -81.6355438)
  5529. o257.velocity = Vector3.new(-1.92168236, -3.07662797, -0.006249547)
  5530. o259.Name = "Right Leg"
  5531. o259.Parent = o210
  5532. o259.BrickColor = BrickColor.new("Pastel brown")
  5533. o259.Position = Vector3.new(-136.084061, 1.52391493, -81.3071671)
  5534. o259.Rotation = Vector3.new(139.209991, 30.1700001, -156.62999)
  5535. o259.RotVelocity = Vector3.new(-0.380968004, 1.67426908, -0.313094229)
  5536. o259.Velocity = Vector3.new(-1.41535079, -2.47837901, 2.57678676)
  5537. o259.CanCollide = false
  5538. o259.Locked = true
  5539. o259.FormFactor = Enum.FormFactor.Symmetric
  5540. o259.Size = Vector3.new(1, 2, 1)
  5541. o259.CFrame = CFrame.new(-136.084061, 1.52391493, -81.3071671, -0.793631971, 0.342981011, 0.502506018, -0.00095527654, 0.825245798, -0.564772964, -0.608397365, -0.448701859, -0.654613793)
  5542. o259.BottomSurface = Enum.SurfaceType.Smooth
  5543. o259.Color = Color3.new(1, 0.8, 0.6)
  5544. o259.Position = Vector3.new(-136.084061, 1.52391493, -81.3071671)
  5545. o259.velocity = Vector3.new(-1.41535079, -2.47837901, 2.57678676)
  5546. o261.Parent = o210
  5547. o261.RightLeg = o259
  5548. o261.LeftLeg = o257
  5549. o261.Torso = o264
  5550. o261.MoveDirection = Vector3.new(-0.789321065, 0, 0.61398077)
  5551. o264.Name = "HumanoidRootPart"
  5552. o264.Parent = o210
  5553. o264.Transparency = 1
  5554. o264.Position = Vector3.new(-135.200027, 2.9119339, -81.3349457)
  5555. o264.Rotation = Vector3.new(-179.649994, 32.6599998, 179.809998)
  5556. o264.RotVelocity = Vector3.new(0.0729566291, 10.394618, 0.331068307)
  5557. o264.Velocity = Vector3.new(8.7417984, 0.309015095, 11.3179569)
  5558. o264.CanCollide = false
  5559. o264.Locked = true
  5560. o264.FormFactor = Enum.FormFactor.Symmetric
  5561. o264.Size = Vector3.new(2, 2, 1)
  5562. o264.CFrame = CFrame.new(-135.200027, 2.9119339, -81.3349457, -0.841883421, -0.00273759221, 0.539652467, 5.11222352e-05, 0.999986649, 0.00515256496, -0.539659381, 0.00436544791, -0.841872156)
  5563. o264.BottomSurface = Enum.SurfaceType.Smooth
  5564. o264.TopSurface = Enum.SurfaceType.Smooth
  5565. o264.Position = Vector3.new(-135.200027, 2.9119339, -81.3349457)
  5566. o264.velocity = Vector3.new(8.7417984, 0.309015095, 11.3179569)
  5567. o266.Name = "RootJoint"
  5568. o266.Parent = o264
  5569. o266.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  5570. o266.C1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  5571. o266.Part0 = o264
  5572. o266.Part1 = o236
  5573. o266.MaxVelocity = 0.10000000149012
  5574. o267.Name = "Sound"
  5575. o267.Parent = o210
  5576.  
  5577. runDummyScript(function()
  5578. --[[
  5579. Author: @spotco
  5580. This script creates sounds which are placed under the character head.
  5581. These sounds are used by the "LocalSound" script.
  5582.  
  5583. To modify this script, copy it to your "StarterPlayer/StarterCharacterScripts" folder keeping the same script name ("Sound").
  5584. The default Sound script loaded for every character will then be replaced with your copy of the script.
  5585. ]]--
  5586. local ReplicatedStorage = game:GetService("ReplicatedStorage")
  5587. local Players = game:GetService("Players")
  5588.  
  5589. local SOUND_EVENT_FOLDER_NAME = "DefaultSoundEvents"
  5590. local DEFAULT_SERVER_SOUND_EVENT_NAME = "DefaultServerSoundEvent"
  5591.  
  5592. local SoundEventFolder = ReplicatedStorage:FindFirstChild(SOUND_EVENT_FOLDER_NAME)
  5593. local DefaultServerSoundEvent = nil
  5594.  
  5595. local useSoundDispatcher = UserSettings():IsUserFeatureEnabled("UserUseSoundDispatcher")
  5596. if useSoundDispatcher then
  5597. if not SoundEventFolder then
  5598. SoundEventFolder = Instance.new("Folder")
  5599. SoundEventFolder.Name = SOUND_EVENT_FOLDER_NAME
  5600. SoundEventFolder.Archivable = false
  5601. SoundEventFolder.Parent = ReplicatedStorage
  5602. end
  5603.  
  5604. DefaultServerSoundEvent = SoundEventFolder:FindFirstChild(DEFAULT_SERVER_SOUND_EVENT_NAME)
  5605. else
  5606. DefaultServerSoundEvent = ReplicatedStorage:FindFirstChild(DEFAULT_SERVER_SOUND_EVENT_NAME)
  5607. end
  5608.  
  5609. if not DefaultServerSoundEvent then
  5610. if useSoundDispatcher then
  5611. DefaultServerSoundEvent = Instance.new("RemoteEvent", SoundEventFolder)
  5612. else
  5613. DefaultServerSoundEvent = Instance.new("RemoteEvent", ReplicatedStorage)
  5614. end
  5615.  
  5616. DefaultServerSoundEvent.Name = DEFAULT_SERVER_SOUND_EVENT_NAME
  5617. DefaultServerSoundEvent.OnServerEvent:Connect(function() end)
  5618. end
  5619.  
  5620. local function CreateNewSound(name, id, looped, pitch, parent)
  5621. local sound = Instance.new("Sound")
  5622. sound.SoundId = id
  5623. sound.Name = name
  5624. sound.archivable = false
  5625. sound.Pitch = pitch
  5626. sound.Looped = looped
  5627. sound.MinDistance = 5
  5628. sound.MaxDistance = 150
  5629. sound.Volume = 0.65
  5630. sound.Parent = parent
  5631.  
  5632. if DefaultServerSoundEvent then
  5633. local CharacterSoundEvent = Instance.new("RemoteEvent", sound)
  5634. CharacterSoundEvent.Name = "CharacterSoundEvent"
  5635. CharacterSoundEvent.OnServerEvent:Connect(function(player, playing, resetPosition)
  5636. if type(playing) ~= "boolean" then
  5637. return
  5638. end
  5639. if type(resetPosition) ~= "boolean" then
  5640. return
  5641. end
  5642.  
  5643. if player.Character ~= script.Parent then
  5644. return
  5645. end
  5646. for _, p in pairs(Players:GetPlayers()) do
  5647. if p ~= player then
  5648. -- Connect to the dispatcher to check if the player has loaded.
  5649. if useSoundDispatcher then
  5650. SoundEventFolder:FindFirstChild("SoundDispatcher"):Fire(p, sound, playing, resetPosition)
  5651. else
  5652. DefaultServerSoundEvent:FireClient(p, sound, playing, resetPosition)
  5653. end
  5654. end
  5655. end
  5656. end)
  5657. end
  5658. return sound
  5659. end
  5660.  
  5661. local head = script.Parent:FindFirstChild("Head")
  5662. if not head then
  5663. error("Sound script parent has no child Head.")
  5664. return
  5665. end
  5666.  
  5667. CreateNewSound("GettingUp", "rbxasset://sounds/action_get_up.mp3", false, 1, head)
  5668. CreateNewSound("Died", "rbxasset://sounds/uuhhh.mp3", false, 1, head)
  5669. CreateNewSound("FreeFalling", "rbxasset://sounds/action_falling.mp3", true, 1, head)
  5670. CreateNewSound("Jumping", "rbxasset://sounds/action_jump.mp3", false, 1, head)
  5671. CreateNewSound("Landing", "rbxasset://sounds/action_jump_land.mp3", false, 1, head)
  5672. CreateNewSound("Splash", "rbxasset://sounds/impact_water.mp3", false, 1, head)
  5673. CreateNewSound("Running", "rbxasset://sounds/action_footsteps_plastic.mp3", true, 1.85, head)
  5674. CreateNewSound("Swimming", "rbxasset://sounds/action_swim.mp3", true, 1.6, head)
  5675. CreateNewSound("Climbing", "rbxasset://sounds/action_footsteps_plastic.mp3", true, 1, head)
  5676. end,o267)
  5677.  
  5678. o268.Name = "LocalSound"
  5679. o268.Parent = o267
  5680.  
  5681. runDummyScript(function()
  5682. --[[
  5683. Author: @spotco
  5684. This script runs locally for the player of the given humanoid.
  5685. This script triggers humanoid sound play/pause actions locally.
  5686.  
  5687. The Playing/TimePosition properties of Sound objects bypass FilteringEnabled, so this triggers the sound
  5688. immediately for the player and is replicated to all other players.
  5689.  
  5690. This script is optimized to reduce network traffic through minimizing the amount of property replication.
  5691. ]]--
  5692.  
  5693. --All sounds are referenced by this ID
  5694. local SFX = {
  5695. Died = 0;
  5696. Running = 1;
  5697. Swimming = 2;
  5698. Climbing = 3,
  5699. Jumping = 4;
  5700. GettingUp = 5;
  5701. FreeFalling = 6;
  5702. FallingDown = 7;
  5703. Landing = 8;
  5704. Splash = 9;
  5705. }
  5706.  
  5707. local useUpdatedLocalSoundFlag = UserSettings():IsUserFeatureEnabled("UserFixCharacterSoundIssues")
  5708.  
  5709. local Humanoid = nil
  5710. local Head = nil
  5711. --SFX ID to Sound object
  5712. local Sounds = {}
  5713. local SoundService = game:GetService("SoundService")
  5714. local soundEventFolderName = "DefaultSoundEvents"
  5715. local ReplicatedStorage = game:GetService("ReplicatedStorage")
  5716. local AddCharacterLoadedEvent = nil
  5717. local RemoveCharacterEvent = nil
  5718. local soundEventFolder = ReplicatedStorage:FindFirstChild(soundEventFolderName)
  5719. local useSoundDispatcher = UserSettings():IsUserFeatureEnabled("UserUseSoundDispatcher")
  5720.  
  5721. if useSoundDispatcher then
  5722. if not soundEventFolder then
  5723. soundEventFolder = Instance.new("Folder", ReplicatedStorage)
  5724. soundEventFolder.Name = soundEventFolderName
  5725. soundEventFolder.Archivable = false
  5726. end
  5727.  
  5728. -- Load the RemoveCharacterEvent
  5729. RemoveCharacterEvent = soundEventFolder:FindFirstChild("RemoveCharacterEvent")
  5730. if RemoveCharacterEvent == nil then
  5731. RemoveCharacterEvent = Instance.new("RemoteEvent", soundEventFolder)
  5732. RemoveCharacterEvent.Name = "RemoveCharacterEvent"
  5733. end
  5734.  
  5735. AddCharacterLoadedEvent = soundEventFolder:FindFirstChild("AddCharacterLoadedEvent")
  5736. if AddCharacterLoadedEvent == nil then
  5737. AddCharacterLoadedEvent = Instance.new("RemoteEvent", soundEventFolder)
  5738. AddCharacterLoadedEvent.Name = "AddCharacterLoadedEvent"
  5739. end
  5740.  
  5741. -- Notify the server a new character has been loaded
  5742. AddCharacterLoadedEvent:FireServer()
  5743.  
  5744. -- Notify the sound dispatcher this character has left.
  5745. game.Players.LocalPlayer.CharacterRemoving:connect(function(character)
  5746. RemoveCharacterEvent:FireServer(game.Players.LocalPlayer)
  5747. end)
  5748. end
  5749.  
  5750. do
  5751. local Figure = script.Parent.Parent
  5752. Head = Figure:WaitForChild("Head")
  5753. while not Humanoid do
  5754. for _,NewHumanoid in pairs(Figure:GetChildren()) do
  5755. if NewHumanoid:IsA("Humanoid") then
  5756. Humanoid = NewHumanoid
  5757. break
  5758. end
  5759. end
  5760. if Humanoid then break end
  5761. Figure.ChildAdded:wait()
  5762. end
  5763. Sounds[SFX.Died] = Head:WaitForChild("Died")
  5764. Sounds[SFX.Running] = Head:WaitForChild("Running")
  5765. Sounds[SFX.Swimming] = Head:WaitForChild("Swimming")
  5766. Sounds[SFX.Climbing] = Head:WaitForChild("Climbing")
  5767. Sounds[SFX.Jumping] = Head:WaitForChild("Jumping")
  5768. Sounds[SFX.GettingUp] = Head:WaitForChild("GettingUp")
  5769. Sounds[SFX.FreeFalling] = Head:WaitForChild("FreeFalling")
  5770. Sounds[SFX.Landing] = Head:WaitForChild("Landing")
  5771. Sounds[SFX.Splash] = Head:WaitForChild("Splash")
  5772.  
  5773. local DefaultServerSoundEvent = nil
  5774. if useSoundDispatcher then
  5775. DefaultServerSoundEvent = soundEventFolder:FindFirstChild("DefaultServerSoundEvent")
  5776. else
  5777. DefaultServerSoundEvent = game:GetService("ReplicatedStorage"):FindFirstChild("DefaultServerSoundEvent")
  5778. end
  5779.  
  5780. if DefaultServerSoundEvent then
  5781. DefaultServerSoundEvent.OnClientEvent:connect(function(sound, playing, resetPosition)
  5782. if resetPosition and sound.TimePosition ~= 0 then
  5783. sound.TimePosition = 0
  5784. end
  5785. if sound.IsPlaying ~= playing then
  5786. sound.Playing = playing
  5787. end
  5788. end)
  5789. end
  5790. end
  5791.  
  5792. local IsSoundFilteringEnabled = function()
  5793. return game.Workspace.FilteringEnabled and SoundService.RespectFilteringEnabled
  5794. end
  5795.  
  5796. local Util
  5797. Util = {
  5798.  
  5799. --Define linear relationship between (pt1x,pt2x) and (pt2x,pt2y). Evaluate this at x.
  5800. YForLineGivenXAndTwoPts = function(x,pt1x,pt1y,pt2x,pt2y)
  5801. --(y - y1)/(x - x1) = m
  5802. local m = (pt1y - pt2y) / (pt1x - pt2x)
  5803. --float b = pt1.y - m * pt1.x;
  5804. local b = (pt1y - m * pt1x)
  5805. return m * x + b
  5806. end;
  5807.  
  5808. --Clamps the value of "val" between the "min" and "max"
  5809. Clamp = function(val,min,max)
  5810. return math.min(max,math.max(min,val))
  5811. end;
  5812.  
  5813. --Gets the horizontal (x,z) velocity magnitude of the given part
  5814. HorizontalSpeed = function(Head)
  5815. local hVel = Head.Velocity + Vector3.new(0,-Head.Velocity.Y,0)
  5816. return hVel.magnitude
  5817. end;
  5818.  
  5819. --Gets the vertical (y) velocity magnitude of the given part
  5820. VerticalSpeed = function(Head)
  5821. return math.abs(Head.Velocity.Y)
  5822. end;
  5823.  
  5824. --Setting Playing/TimePosition values directly result in less network traffic than Play/Pause/Resume/Stop
  5825. --If these properties are enabled, use them.
  5826. Play = function(sound)
  5827. if IsSoundFilteringEnabled() then
  5828. sound.CharacterSoundEvent:FireServer(true, true)
  5829. end
  5830. if sound.TimePosition ~= 0 then
  5831. sound.TimePosition = 0
  5832. end
  5833. if not sound.IsPlaying then
  5834. sound.Playing = true
  5835. end
  5836. end;
  5837.  
  5838. Pause = function(sound)
  5839. if IsSoundFilteringEnabled() then
  5840. sound.CharacterSoundEvent:FireServer(false, false)
  5841. end
  5842. if sound.IsPlaying then
  5843. sound.Playing = false
  5844. end
  5845. end;
  5846.  
  5847. Resume = function(sound)
  5848. if IsSoundFilteringEnabled() then
  5849. sound.CharacterSoundEvent:FireServer(true, false)
  5850. end
  5851. if not sound.IsPlaying then
  5852. sound.Playing = true
  5853. end
  5854. end;
  5855.  
  5856. Stop = function(sound)
  5857. if IsSoundFilteringEnabled() then
  5858. sound.CharacterSoundEvent:FireServer(false, true)
  5859. end
  5860. if sound.IsPlaying then
  5861. sound.Playing = false
  5862. end
  5863. if sound.TimePosition ~= 0 then
  5864. sound.TimePosition = 0
  5865. end
  5866. end;
  5867. }
  5868.  
  5869. do
  5870. -- List of all active Looped sounds
  5871. local playingLoopedSounds = {}
  5872.  
  5873. -- Last seen Enum.HumanoidStateType
  5874. local activeState = nil
  5875.  
  5876. local fallSpeed = 0
  5877.  
  5878. -- Verify and set that "sound" is in "playingLoopedSounds".
  5879. function setSoundInPlayingLoopedSounds(sound)
  5880. for i=1, #playingLoopedSounds do
  5881. if playingLoopedSounds[i] == sound then
  5882. return
  5883. end
  5884. end
  5885. table.insert(playingLoopedSounds,sound)
  5886. end
  5887.  
  5888. -- Stop all active looped sounds except parameter "except". If "except" is not passed, all looped sounds will be stopped.
  5889. function stopPlayingLoopedSoundsExcept(except)
  5890. for i=#playingLoopedSounds,1,-1 do
  5891. if playingLoopedSounds[i] ~= except then
  5892. Util.Pause(playingLoopedSounds[i])
  5893. table.remove(playingLoopedSounds,i)
  5894. end
  5895. end
  5896. end
  5897.  
  5898. -- Table of Enum.HumanoidStateType to handling function
  5899. local stateUpdateHandler = {
  5900. [Enum.HumanoidStateType.Dead] = function()
  5901. stopPlayingLoopedSoundsExcept()
  5902. local sound = Sounds[SFX.Died]
  5903. Util.Play(sound)
  5904. end;
  5905.  
  5906. [Enum.HumanoidStateType.RunningNoPhysics] = function(speed)
  5907. stateUpdated(Enum.HumanoidStateType.Running, speed)
  5908. end;
  5909.  
  5910. [Enum.HumanoidStateType.Running] = function(speed)
  5911. local sound = Sounds[SFX.Running]
  5912. stopPlayingLoopedSoundsExcept(sound)
  5913.  
  5914. if(useUpdatedLocalSoundFlag and activeState == Enum.HumanoidStateType.Freefall and fallSpeed > 0.1) then
  5915. -- Play a landing sound if the character dropped from a large distance
  5916. local vol = math.min(1.0, math.max(0.0, (fallSpeed - 50) / 110))
  5917. local freeFallSound = Sounds[SFX.FreeFalling]
  5918. freeFallSound.Volume = vol
  5919. Util.Play(freeFallSound)
  5920. fallSpeed = 0
  5921. end
  5922. if useUpdatedLocalSoundFlag then
  5923. if speed ~= nil and speed > 0.5 then
  5924. Util.Resume(sound)
  5925. setSoundInPlayingLoopedSounds(sound)
  5926. elseif speed ~= nil then
  5927. stopPlayingLoopedSoundsExcept()
  5928. end
  5929. else
  5930. if Util.HorizontalSpeed(Head) > 0.5 then
  5931. Util.Resume(sound)
  5932. setSoundInPlayingLoopedSounds(sound)
  5933. else
  5934. stopPlayingLoopedSoundsExcept()
  5935. end
  5936. end
  5937. end;
  5938.  
  5939. [Enum.HumanoidStateType.Swimming] = function(speed)
  5940. local threshold
  5941. if useUpdatedLocalSoundFlag then threshold = speed else threshold = Util.VerticalSpeed(Head) end
  5942. if activeState ~= Enum.HumanoidStateType.Swimming and threshold > 0.1 then
  5943. local splashSound = Sounds[SFX.Splash]
  5944. splashSound.Volume = Util.Clamp(
  5945. Util.YForLineGivenXAndTwoPts(
  5946. Util.VerticalSpeed(Head),
  5947. 100, 0.28,
  5948. 350, 1),
  5949. 0,1)
  5950. Util.Play(splashSound)
  5951. end
  5952.  
  5953. do
  5954. local sound = Sounds[SFX.Swimming]
  5955. stopPlayingLoopedSoundsExcept(sound)
  5956. Util.Resume(sound)
  5957. setSoundInPlayingLoopedSounds(sound)
  5958. end
  5959. end;
  5960.  
  5961. [Enum.HumanoidStateType.Climbing] = function(speed)
  5962. local sound = Sounds[SFX.Climbing]
  5963. if useUpdatedLocalSoundFlag then
  5964. if speed ~= nil and math.abs(speed) > 0.1 then
  5965. Util.Resume(sound)
  5966. stopPlayingLoopedSoundsExcept(sound)
  5967. else
  5968. Util.Pause(sound)
  5969. stopPlayingLoopedSoundsExcept(sound)
  5970. end
  5971. else
  5972. if Util.VerticalSpeed(Head) > 0.1 then
  5973. Util.Resume(sound)
  5974. stopPlayingLoopedSoundsExcept(sound)
  5975. else
  5976. stopPlayingLoopedSoundsExcept()
  5977. end
  5978. end
  5979.  
  5980. setSoundInPlayingLoopedSounds(sound)
  5981. end;
  5982.  
  5983. [Enum.HumanoidStateType.Jumping] = function()
  5984. if activeState == Enum.HumanoidStateType.Jumping then
  5985. return
  5986. end
  5987. stopPlayingLoopedSoundsExcept()
  5988. local sound = Sounds[SFX.Jumping]
  5989. Util.Play(sound)
  5990. end;
  5991.  
  5992. [Enum.HumanoidStateType.GettingUp] = function()
  5993. stopPlayingLoopedSoundsExcept()
  5994. local sound = Sounds[SFX.GettingUp]
  5995. Util.Play(sound)
  5996. end;
  5997.  
  5998. [Enum.HumanoidStateType.Freefall] = function()
  5999. if activeState == Enum.HumanoidStateType.Freefall then
  6000. return
  6001. end
  6002. local sound = Sounds[SFX.FreeFalling]
  6003. sound.Volume = 0
  6004. stopPlayingLoopedSoundsExcept()
  6005.  
  6006. fallSpeed = math.max(fallSpeed, math.abs(Head.Velocity.y))
  6007. end;
  6008.  
  6009. [Enum.HumanoidStateType.FallingDown] = function()
  6010. stopPlayingLoopedSoundsExcept()
  6011. end;
  6012.  
  6013. [Enum.HumanoidStateType.Landed] = function()
  6014. stopPlayingLoopedSoundsExcept()
  6015. if Util.VerticalSpeed(Head) > 75 then
  6016. local landingSound = Sounds[SFX.Landing]
  6017. landingSound.Volume = Util.Clamp(
  6018. Util.YForLineGivenXAndTwoPts(
  6019. Util.VerticalSpeed(Head),
  6020. 50, 0,
  6021. 100, 1),
  6022. 0,1)
  6023. Util.Play(landingSound)
  6024. end
  6025. end;
  6026.  
  6027. [Enum.HumanoidStateType.Seated] = function()
  6028. stopPlayingLoopedSoundsExcept()
  6029. end;
  6030. }
  6031.  
  6032.  
  6033.  
  6034. -- Handle state event fired or OnChange fired
  6035. function stateUpdated(state, speed)
  6036. if stateUpdateHandler[state] ~= nil then
  6037. if useUpdatedLocalSoundFlag and (state == Enum.HumanoidStateType.Running
  6038. or state == Enum.HumanoidStateType.Climbing
  6039. or state == Enum.HumanoidStateType.Swimming
  6040. or state == Enum.HumanoidStateType.RunningNoPhysics) then
  6041. stateUpdateHandler[state](speed)
  6042. else
  6043. stateUpdateHandler[state]()
  6044. end
  6045. end
  6046. activeState = state
  6047. end
  6048.  
  6049. Humanoid.Died:connect( function() stateUpdated(Enum.HumanoidStateType.Dead) end)
  6050. Humanoid.Running:connect( function(speed) stateUpdated(Enum.HumanoidStateType.Running, speed) end)
  6051. Humanoid.Swimming:connect( function(speed) stateUpdated(Enum.HumanoidStateType.Swimming, speed) end)
  6052. Humanoid.Climbing:connect( function(speed) stateUpdated(Enum.HumanoidStateType.Climbing, speed) end)
  6053. Humanoid.Jumping:connect( function() stateUpdated(Enum.HumanoidStateType.Jumping) end)
  6054. Humanoid.GettingUp:connect( function() stateUpdated(Enum.HumanoidStateType.GettingUp) end)
  6055. Humanoid.FreeFalling:connect( function() stateUpdated(Enum.HumanoidStateType.Freefall) end)
  6056. Humanoid.FallingDown:connect( function() stateUpdated(Enum.HumanoidStateType.FallingDown) end)
  6057.  
  6058.  
  6059.  
  6060. -- required for proper handling of Landed event
  6061.  
  6062. Humanoid.StateChanged:connect(function(old, new)
  6063. stateUpdated(new)
  6064. end)
  6065.  
  6066.  
  6067.  
  6068. function onUpdate(stepDeltaSeconds, tickSpeedSeconds)
  6069. local stepScale = stepDeltaSeconds / tickSpeedSeconds
  6070. do
  6071. local sound = Sounds[SFX.FreeFalling]
  6072. if activeState == Enum.HumanoidStateType.Freefall then
  6073. if Head.Velocity.Y < 0 and Util.VerticalSpeed(Head) > 75 then
  6074. Util.Resume(sound)
  6075.  
  6076. --Volume takes 1.1 seconds to go from volume 0 to 1
  6077. local ANIMATION_LENGTH_SECONDS = 1.1
  6078.  
  6079. local normalizedIncrement = tickSpeedSeconds / ANIMATION_LENGTH_SECONDS
  6080. sound.Volume = Util.Clamp(sound.Volume + normalizedIncrement * stepScale, 0, 1)
  6081. else
  6082. sound.Volume = 0
  6083. end
  6084. else
  6085. Util.Pause(sound)
  6086. end
  6087. end
  6088.  
  6089. do
  6090. local sound = Sounds[SFX.Running]
  6091. if activeState == Enum.HumanoidStateType.Running then
  6092. if Util.HorizontalSpeed(Head) < 0.5 then
  6093. Util.Pause(sound)
  6094. end
  6095. end
  6096. end
  6097. end
  6098.  
  6099.  
  6100. local lastTick = tick()
  6101. local TICK_SPEED_SECONDS = 0.25
  6102. while true do
  6103. onUpdate(tick() - lastTick,TICK_SPEED_SECONDS)
  6104. lastTick = tick()
  6105. wait(TICK_SPEED_SECONDS)
  6106. end
  6107.  
  6108. end
  6109.  
  6110. end,o268)
  6111.  
  6112. o269.Name = "Health"
  6113. o269.Parent = o210
  6114.  
  6115. runDummyScript(function()
  6116. -- Gradually regenerates the Humanoid's Health over time.
  6117.  
  6118. local REGEN_RATE = 1/100 -- Regenerate this fraction of MaxHealth per second.
  6119. local REGEN_STEP = 1 -- Wait this long between each regeneration step.
  6120.  
  6121. --------------------------------------------------------------------------------
  6122.  
  6123. local Character = script.Parent
  6124. local Humanoid = Character:WaitForChild'Humanoid'
  6125.  
  6126. --------------------------------------------------------------------------------
  6127.  
  6128. while true do
  6129. while Humanoid.Health < Humanoid.MaxHealth do
  6130. local dt = wait(REGEN_STEP)
  6131. local dh = dt*REGEN_RATE*Humanoid.MaxHealth
  6132. Humanoid.Health = math.min(Humanoid.Health + dh, Humanoid.MaxHealth)
  6133. end
  6134. Humanoid.HealthChanged:Wait()
  6135. end
  6136. end,o269)
  6137.  
  6138. o270.Name = "Animate"
  6139. o270.Parent = o210
  6140.  
  6141. runDummyScript(function()
  6142. local Figure = script.Parent
  6143. local Torso = Figure:WaitForChild("Torso")
  6144. local RightShoulder = Torso:WaitForChild("Right Shoulder")
  6145. local LeftShoulder = Torso:WaitForChild("Left Shoulder")
  6146. local RightHip = Torso:WaitForChild("Right Hip")
  6147. local LeftHip = Torso:WaitForChild("Left Hip")
  6148. local Neck = Torso:WaitForChild("Neck")
  6149. local Humanoid = Figure:WaitForChild("Humanoid")
  6150. local pose = "Standing"
  6151.  
  6152. local currentAnim = ""
  6153. local currentAnimInstance = nil
  6154. local currentAnimTrack = nil
  6155. local currentAnimKeyframeHandler = nil
  6156. local currentAnimSpeed = 1.0
  6157. local animTable = {}
  6158. local animNames = {
  6159. idle = {
  6160. { id = "http://www.roblox.com/asset/?id=180435571", weight = 9 },
  6161. { id = "http://www.roblox.com/asset/?id=180435792", weight = 1 }
  6162. },
  6163. walk = {
  6164. { id = "http://www.roblox.com/asset/?id=180426354", weight = 10 }
  6165. },
  6166. run = {
  6167. { id = "run.xml", weight = 10 }
  6168. },
  6169. jump = {
  6170. { id = "http://www.roblox.com/asset/?id=125750702", weight = 10 }
  6171. },
  6172. fall = {
  6173. { id = "http://www.roblox.com/asset/?id=180436148", weight = 10 }
  6174. },
  6175. climb = {
  6176. { id = "http://www.roblox.com/asset/?id=180436334", weight = 10 }
  6177. },
  6178. sit = {
  6179. { id = "http://www.roblox.com/asset/?id=178130996", weight = 10 }
  6180. },
  6181. toolnone = {
  6182. { id = "http://www.roblox.com/asset/?id=182393478", weight = 10 }
  6183. },
  6184. toolslash = {
  6185. { id = "http://www.roblox.com/asset/?id=129967390", weight = 10 }
  6186. -- { id = "slash.xml", weight = 10 }
  6187. },
  6188. toollunge = {
  6189. { id = "http://www.roblox.com/asset/?id=129967478", weight = 10 }
  6190. },
  6191. wave = {
  6192. { id = "http://www.roblox.com/asset/?id=128777973", weight = 10 }
  6193. },
  6194. point = {
  6195. { id = "http://www.roblox.com/asset/?id=128853357", weight = 10 }
  6196. },
  6197. dance1 = {
  6198. { id = "http://www.roblox.com/asset/?id=182435998", weight = 10 },
  6199. { id = "http://www.roblox.com/asset/?id=182491037", weight = 10 },
  6200. { id = "http://www.roblox.com/asset/?id=182491065", weight = 10 }
  6201. },
  6202. dance2 = {
  6203. { id = "http://www.roblox.com/asset/?id=182436842", weight = 10 },
  6204. { id = "http://www.roblox.com/asset/?id=182491248", weight = 10 },
  6205. { id = "http://www.roblox.com/asset/?id=182491277", weight = 10 }
  6206. },
  6207. dance3 = {
  6208. { id = "http://www.roblox.com/asset/?id=182436935", weight = 10 },
  6209. { id = "http://www.roblox.com/asset/?id=182491368", weight = 10 },
  6210. { id = "http://www.roblox.com/asset/?id=182491423", weight = 10 }
  6211. },
  6212. laugh = {
  6213. { id = "http://www.roblox.com/asset/?id=129423131", weight = 10 }
  6214. },
  6215. cheer = {
  6216. { id = "http://www.roblox.com/asset/?id=129423030", weight = 10 }
  6217. },
  6218. }
  6219. local dances = {"dance1", "dance2", "dance3"}
  6220.  
  6221. -- Existance in this list signifies that it is an emote, the value indicates if it is a looping emote
  6222. local emoteNames = { wave = false, point = false, dance1 = true, dance2 = true, dance3 = true, laugh = false, cheer = false}
  6223.  
  6224. function configureAnimationSet(name, fileList)
  6225. if (animTable[name] ~= nil) then
  6226. for _, connection in pairs(animTable[name].connections) do
  6227. connection:disconnect()
  6228. end
  6229. end
  6230. animTable[name] = {}
  6231. animTable[name].count = 0
  6232. animTable[name].totalWeight = 0
  6233. animTable[name].connections = {}
  6234.  
  6235. -- check for config values
  6236. local config = script:FindFirstChild(name)
  6237. if (config ~= nil) then
  6238. -- print("Loading anims " .. name)
  6239. table.insert(animTable[name].connections, config.ChildAdded:connect(function(child) configureAnimationSet(name, fileList) end))
  6240. table.insert(animTable[name].connections, config.ChildRemoved:connect(function(child) configureAnimationSet(name, fileList) end))
  6241. local idx = 1
  6242. for _, childPart in pairs(config:GetChildren()) do
  6243. if (childPart:IsA("Animation")) then
  6244. table.insert(animTable[name].connections, childPart.Changed:connect(function(property) configureAnimationSet(name, fileList) end))
  6245. animTable[name][idx] = {}
  6246. animTable[name][idx].anim = childPart
  6247. local weightObject = childPart:FindFirstChild("Weight")
  6248. if (weightObject == nil) then
  6249. animTable[name][idx].weight = 1
  6250. else
  6251. animTable[name][idx].weight = weightObject.Value
  6252. end
  6253. animTable[name].count = animTable[name].count + 1
  6254. animTable[name].totalWeight = animTable[name].totalWeight + animTable[name][idx].weight
  6255. -- print(name .. " [" .. idx .. "] " .. animTable[name][idx].anim.AnimationId .. " (" .. animTable[name][idx].weight .. ")")
  6256. idx = idx + 1
  6257. end
  6258. end
  6259. end
  6260.  
  6261. -- fallback to defaults
  6262. if (animTable[name].count <= 0) then
  6263. for idx, anim in pairs(fileList) do
  6264. animTable[name][idx] = {}
  6265. animTable[name][idx].anim = Instance.new("Animation")
  6266. animTable[name][idx].anim.Name = name
  6267. animTable[name][idx].anim.AnimationId = anim.id
  6268. animTable[name][idx].weight = anim.weight
  6269. animTable[name].count = animTable[name].count + 1
  6270. animTable[name].totalWeight = animTable[name].totalWeight + anim.weight
  6271. -- print(name .. " [" .. idx .. "] " .. anim.id .. " (" .. anim.weight .. ")")
  6272. end
  6273. end
  6274. end
  6275.  
  6276. -- Setup animation objects
  6277. function scriptChildModified(child)
  6278. local fileList = animNames[child.Name]
  6279. if (fileList ~= nil) then
  6280. configureAnimationSet(child.Name, fileList)
  6281. end
  6282. end
  6283.  
  6284. script.ChildAdded:connect(scriptChildModified)
  6285. script.ChildRemoved:connect(scriptChildModified)
  6286.  
  6287.  
  6288. for name, fileList in pairs(animNames) do
  6289. configureAnimationSet(name, fileList)
  6290. end
  6291.  
  6292. -- ANIMATION
  6293.  
  6294. -- declarations
  6295. local toolAnim = "None"
  6296. local toolAnimTime = 0
  6297.  
  6298. local jumpAnimTime = 0
  6299. local jumpAnimDuration = 0.3
  6300.  
  6301. local toolTransitionTime = 0.1
  6302. local fallTransitionTime = 0.3
  6303. local jumpMaxLimbVelocity = 0.75
  6304.  
  6305. -- functions
  6306.  
  6307. function stopAllAnimations()
  6308. local oldAnim = currentAnim
  6309.  
  6310. -- return to idle if finishing an emote
  6311. if (emoteNames[oldAnim] ~= nil and emoteNames[oldAnim] == false) then
  6312. oldAnim = "idle"
  6313. end
  6314.  
  6315. currentAnim = ""
  6316. currentAnimInstance = nil
  6317. if (currentAnimKeyframeHandler ~= nil) then
  6318. currentAnimKeyframeHandler:disconnect()
  6319. end
  6320.  
  6321. if (currentAnimTrack ~= nil) then
  6322. currentAnimTrack:Stop()
  6323. currentAnimTrack:Destroy()
  6324. currentAnimTrack = nil
  6325. end
  6326. return oldAnim
  6327. end
  6328.  
  6329. function setAnimationSpeed(speed)
  6330. if speed ~= currentAnimSpeed then
  6331. currentAnimSpeed = speed
  6332. currentAnimTrack:AdjustSpeed(currentAnimSpeed)
  6333. end
  6334. end
  6335.  
  6336. function keyFrameReachedFunc(frameName)
  6337. if (frameName == "End") then
  6338.  
  6339. local repeatAnim = currentAnim
  6340. -- return to idle if finishing an emote
  6341. if (emoteNames[repeatAnim] ~= nil and emoteNames[repeatAnim] == false) then
  6342. repeatAnim = "idle"
  6343. end
  6344.  
  6345. local animSpeed = currentAnimSpeed
  6346. playAnimation(repeatAnim, 0.0, Humanoid)
  6347. setAnimationSpeed(animSpeed)
  6348. end
  6349. end
  6350.  
  6351. -- Preload animations
  6352. function playAnimation(animName, transitionTime, humanoid)
  6353.  
  6354. local roll = math.random(1, animTable[animName].totalWeight)
  6355. local origRoll = roll
  6356. local idx = 1
  6357. while (roll > animTable[animName][idx].weight) do
  6358. roll = roll - animTable[animName][idx].weight
  6359. idx = idx + 1
  6360. end
  6361. -- print(animName .. " " .. idx .. " [" .. origRoll .. "]")
  6362. local anim = animTable[animName][idx].anim
  6363.  
  6364. -- switch animation
  6365. if (anim ~= currentAnimInstance) then
  6366.  
  6367. if (currentAnimTrack ~= nil) then
  6368. currentAnimTrack:Stop(transitionTime)
  6369. currentAnimTrack:Destroy()
  6370. end
  6371.  
  6372. currentAnimSpeed = 1.0
  6373.  
  6374. -- load it to the humanoid; get AnimationTrack
  6375. currentAnimTrack = humanoid:LoadAnimation(anim)
  6376. currentAnimTrack.Priority = Enum.AnimationPriority.Core
  6377.  
  6378. -- play the animation
  6379. currentAnimTrack:Play(transitionTime)
  6380. currentAnim = animName
  6381. currentAnimInstance = anim
  6382.  
  6383. -- set up keyframe name triggers
  6384. if (currentAnimKeyframeHandler ~= nil) then
  6385. currentAnimKeyframeHandler:disconnect()
  6386. end
  6387. currentAnimKeyframeHandler = currentAnimTrack.KeyframeReached:connect(keyFrameReachedFunc)
  6388.  
  6389. end
  6390.  
  6391. end
  6392.  
  6393. -------------------------------------------------------------------------------------------
  6394. -------------------------------------------------------------------------------------------
  6395.  
  6396. local toolAnimName = ""
  6397. local toolAnimTrack = nil
  6398. local toolAnimInstance = nil
  6399. local currentToolAnimKeyframeHandler = nil
  6400.  
  6401. function toolKeyFrameReachedFunc(frameName)
  6402. if (frameName == "End") then
  6403. -- print("Keyframe : ".. frameName)
  6404. playToolAnimation(toolAnimName, 0.0, Humanoid)
  6405. end
  6406. end
  6407.  
  6408.  
  6409. function playToolAnimation(animName, transitionTime, humanoid, priority)
  6410.  
  6411. local roll = math.random(1, animTable[animName].totalWeight)
  6412. local origRoll = roll
  6413. local idx = 1
  6414. while (roll > animTable[animName][idx].weight) do
  6415. roll = roll - animTable[animName][idx].weight
  6416. idx = idx + 1
  6417. end
  6418. -- print(animName .. " * " .. idx .. " [" .. origRoll .. "]")
  6419. local anim = animTable[animName][idx].anim
  6420.  
  6421. if (toolAnimInstance ~= anim) then
  6422.  
  6423. if (toolAnimTrack ~= nil) then
  6424. toolAnimTrack:Stop()
  6425. toolAnimTrack:Destroy()
  6426. transitionTime = 0
  6427. end
  6428.  
  6429. -- load it to the humanoid; get AnimationTrack
  6430. toolAnimTrack = humanoid:LoadAnimation(anim)
  6431. if priority then
  6432. toolAnimTrack.Priority = priority
  6433. end
  6434.  
  6435. -- play the animation
  6436. toolAnimTrack:Play(transitionTime)
  6437. toolAnimName = animName
  6438. toolAnimInstance = anim
  6439.  
  6440. currentToolAnimKeyframeHandler = toolAnimTrack.KeyframeReached:connect(toolKeyFrameReachedFunc)
  6441. end
  6442. end
  6443.  
  6444. function stopToolAnimations()
  6445. local oldAnim = toolAnimName
  6446.  
  6447. if (currentToolAnimKeyframeHandler ~= nil) then
  6448. currentToolAnimKeyframeHandler:disconnect()
  6449. end
  6450.  
  6451. toolAnimName = ""
  6452. toolAnimInstance = nil
  6453. if (toolAnimTrack ~= nil) then
  6454. toolAnimTrack:Stop()
  6455. toolAnimTrack:Destroy()
  6456. toolAnimTrack = nil
  6457. end
  6458.  
  6459.  
  6460. return oldAnim
  6461. end
  6462.  
  6463. -------------------------------------------------------------------------------------------
  6464. -------------------------------------------------------------------------------------------
  6465.  
  6466.  
  6467. function onRunning(speed)
  6468. if speed > 0.01 then
  6469. playAnimation("walk", 0.1, Humanoid)
  6470. if currentAnimInstance and currentAnimInstance.AnimationId == "http://www.roblox.com/asset/?id=180426354" then
  6471. setAnimationSpeed(speed / 14.5)
  6472. end
  6473. pose = "Running"
  6474. else
  6475. if emoteNames[currentAnim] == nil then
  6476. playAnimation("idle", 0.1, Humanoid)
  6477. pose = "Standing"
  6478. end
  6479. end
  6480. end
  6481.  
  6482. function onDied()
  6483. pose = "Dead"
  6484. end
  6485.  
  6486. function onJumping()
  6487. playAnimation("jump", 0.1, Humanoid)
  6488. jumpAnimTime = jumpAnimDuration
  6489. pose = "Jumping"
  6490. end
  6491.  
  6492. function onClimbing(speed)
  6493. playAnimation("climb", 0.1, Humanoid)
  6494. setAnimationSpeed(speed / 12.0)
  6495. pose = "Climbing"
  6496. end
  6497.  
  6498. function onGettingUp()
  6499. pose = "GettingUp"
  6500. end
  6501.  
  6502. function onFreeFall()
  6503. if (jumpAnimTime <= 0) then
  6504. playAnimation("fall", fallTransitionTime, Humanoid)
  6505. end
  6506. pose = "FreeFall"
  6507. end
  6508.  
  6509. function onFallingDown()
  6510. pose = "FallingDown"
  6511. end
  6512.  
  6513. function onSeated()
  6514. pose = "Seated"
  6515. end
  6516.  
  6517. function onPlatformStanding()
  6518. pose = "PlatformStanding"
  6519. end
  6520.  
  6521. function onSwimming(speed)
  6522. if speed > 0 then
  6523. pose = "Running"
  6524. else
  6525. pose = "Standing"
  6526. end
  6527. end
  6528.  
  6529. function getTool()
  6530. for _, kid in ipairs(Figure:GetChildren()) do
  6531. if kid.className == "Tool" then return kid end
  6532. end
  6533. return nil
  6534. end
  6535.  
  6536. function getToolAnim(tool)
  6537. for _, c in ipairs(tool:GetChildren()) do
  6538. if c.Name == "toolanim" and c.className == "StringValue" then
  6539. return c
  6540. end
  6541. end
  6542. return nil
  6543. end
  6544.  
  6545. function animateTool()
  6546.  
  6547. if (toolAnim == "None") then
  6548. playToolAnimation("toolnone", toolTransitionTime, Humanoid, Enum.AnimationPriority.Idle)
  6549. return
  6550. end
  6551.  
  6552. if (toolAnim == "Slash") then
  6553. playToolAnimation("toolslash", 0, Humanoid, Enum.AnimationPriority.Action)
  6554. return
  6555. end
  6556.  
  6557. if (toolAnim == "Lunge") then
  6558. playToolAnimation("toollunge", 0, Humanoid, Enum.AnimationPriority.Action)
  6559. return
  6560. end
  6561. end
  6562.  
  6563. function moveSit()
  6564. RightShoulder.MaxVelocity = 0.15
  6565. LeftShoulder.MaxVelocity = 0.15
  6566. RightShoulder:SetDesiredAngle(3.14 /2)
  6567. LeftShoulder:SetDesiredAngle(-3.14 /2)
  6568. RightHip:SetDesiredAngle(3.14 /2)
  6569. LeftHip:SetDesiredAngle(-3.14 /2)
  6570. end
  6571.  
  6572. local lastTick = 0
  6573.  
  6574. function move(time)
  6575. local amplitude = 1
  6576. local frequency = 1
  6577. local deltaTime = time - lastTick
  6578. lastTick = time
  6579.  
  6580. local climbFudge = 0
  6581. local setAngles = false
  6582.  
  6583. if (jumpAnimTime > 0) then
  6584. jumpAnimTime = jumpAnimTime - deltaTime
  6585. end
  6586.  
  6587. if (pose == "FreeFall" and jumpAnimTime <= 0) then
  6588. playAnimation("fall", fallTransitionTime, Humanoid)
  6589. elseif (pose == "Seated") then
  6590. playAnimation("sit", 0.5, Humanoid)
  6591. return
  6592. elseif (pose == "Running") then
  6593. playAnimation("walk", 0.1, Humanoid)
  6594. elseif (pose == "Dead" or pose == "GettingUp" or pose == "FallingDown" or pose == "Seated" or pose == "PlatformStanding") then
  6595. -- print("Wha " .. pose)
  6596. stopAllAnimations()
  6597. amplitude = 0.1
  6598. frequency = 1
  6599. setAngles = true
  6600. end
  6601.  
  6602. if (setAngles) then
  6603. local desiredAngle = amplitude * math.sin(time * frequency)
  6604.  
  6605. RightShoulder:SetDesiredAngle(desiredAngle + climbFudge)
  6606. LeftShoulder:SetDesiredAngle(desiredAngle - climbFudge)
  6607. RightHip:SetDesiredAngle(-desiredAngle)
  6608. LeftHip:SetDesiredAngle(-desiredAngle)
  6609. end
  6610.  
  6611. -- Tool Animation handling
  6612. local tool = getTool()
  6613. if tool and tool:FindFirstChild("Handle") then
  6614.  
  6615. local animStringValueObject = getToolAnim(tool)
  6616.  
  6617. if animStringValueObject then
  6618. toolAnim = animStringValueObject.Value
  6619. -- message recieved, delete StringValue
  6620. animStringValueObject.Parent = nil
  6621. toolAnimTime = time + .3
  6622. end
  6623.  
  6624. if time > toolAnimTime then
  6625. toolAnimTime = 0
  6626. toolAnim = "None"
  6627. end
  6628.  
  6629. animateTool()
  6630. else
  6631. stopToolAnimations()
  6632. toolAnim = "None"
  6633. toolAnimInstance = nil
  6634. toolAnimTime = 0
  6635. end
  6636. end
  6637.  
  6638. -- connect events
  6639. Humanoid.Died:connect(onDied)
  6640. Humanoid.Running:connect(onRunning)
  6641. Humanoid.Jumping:connect(onJumping)
  6642. Humanoid.Climbing:connect(onClimbing)
  6643. Humanoid.GettingUp:connect(onGettingUp)
  6644. Humanoid.FreeFalling:connect(onFreeFall)
  6645. Humanoid.FallingDown:connect(onFallingDown)
  6646. Humanoid.Seated:connect(onSeated)
  6647. Humanoid.PlatformStanding:connect(onPlatformStanding)
  6648. Humanoid.Swimming:connect(onSwimming)
  6649.  
  6650. -- setup emote chat hook
  6651. game:GetService("Players").LocalPlayer.Chatted:connect(function(msg)
  6652. local emote = ""
  6653. if msg == "/e dance" then
  6654. emote = dances[math.random(1, #dances)]
  6655. elseif (string.sub(msg, 1, 3) == "/e ") then
  6656. emote = string.sub(msg, 4)
  6657. elseif (string.sub(msg, 1, 7) == "/emote ") then
  6658. emote = string.sub(msg, 8)
  6659. end
  6660.  
  6661. if (pose == "Standing" and emoteNames[emote] ~= nil) then
  6662. playAnimation(emote, 0.1, Humanoid)
  6663. end
  6664.  
  6665. end)
  6666.  
  6667.  
  6668. -- main program
  6669.  
  6670. -- initialize to idle
  6671. playAnimation("idle", 0.1, Humanoid)
  6672. pose = "Standing"
  6673.  
  6674. while Figure.Parent ~= nil do
  6675. local _, time = wait(0.1)
  6676. move(time)
  6677. end
  6678.  
  6679.  
  6680.  
  6681. end,o270)
  6682.  
  6683. o271.Name = "idle"
  6684. o271.Parent = o270
  6685. o272.Name = "Animation1"
  6686. o272.Parent = o271
  6687. o272.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  6688. o273.Name = "Weight"
  6689. o273.Parent = o272
  6690. o273.Value = 9
  6691. o274.Name = "Animation2"
  6692. o274.Parent = o271
  6693. o274.AnimationId = "http://www.roblox.com/asset/?id=180435792"
  6694. o275.Name = "Weight"
  6695. o275.Parent = o274
  6696. o275.Value = 1
  6697. o276.Name = "walk"
  6698. o276.Parent = o270
  6699. o277.Name = "WalkAnim"
  6700. o277.Parent = o276
  6701. o277.AnimationId = "http://www.roblox.com/asset/?id=180426354"
  6702. o278.Name = "run"
  6703. o278.Parent = o270
  6704. o279.Name = "RunAnim"
  6705. o279.Parent = o278
  6706. o279.AnimationId = "http://www.roblox.com/asset/?id=180426354"
  6707. o280.Name = "jump"
  6708. o280.Parent = o270
  6709. o281.Name = "JumpAnim"
  6710. o281.Parent = o280
  6711. o281.AnimationId = "http://www.roblox.com/asset/?id=125750702"
  6712. o282.Name = "climb"
  6713. o282.Parent = o270
  6714. o283.Name = "ClimbAnim"
  6715. o283.Parent = o282
  6716. o283.AnimationId = "http://www.roblox.com/asset/?id=180436334"
  6717. o284.Name = "toolnone"
  6718. o284.Parent = o270
  6719. o285.Name = "ToolNoneAnim"
  6720. o285.Parent = o284
  6721. o285.AnimationId = "http://www.roblox.com/asset/?id=182393478"
  6722. o286.Name = "fall"
  6723. o286.Parent = o270
  6724. o287.Name = "FallAnim"
  6725. o287.Parent = o286
  6726. o287.AnimationId = "http://www.roblox.com/asset/?id=180436148"
  6727. o288.Name = "sit"
  6728. o288.Parent = o270
  6729. o289.Name = "SitAnim"
  6730. o289.Parent = o288
  6731. o289.AnimationId = "http://www.roblox.com/asset/?id=178130996"
  6732. o290.Name = "ScaleDampeningPercent"
  6733. o290.Parent = o270
  6734. o290.Value = 0.39999997615814
  6735. o291.Parent = o210
  6736. o291.HeadColor = BrickColor.new("Pastel brown")
  6737. o291.LeftArmColor = BrickColor.new("Pastel brown")
  6738. o291.LeftLegColor = BrickColor.new("Pastel brown")
  6739. o291.RightArmColor = BrickColor.new("Pastel brown")
  6740. o291.RightLegColor = BrickColor.new("Pastel brown")
  6741. o291.TorsoColor = BrickColor.new("Pastel brown")
  6742. o292.Name = "Pants"
  6743. o292.Parent = o210
  6744. o292.PantsTemplate = "http://www.roblox.com/asset/?id=1439542143"
  6745. o293.Name = "Shirt"
  6746. o293.Parent = o210
  6747. o293.ShirtTemplate = "http://www.roblox.com/asset/?id=1439532842"
  6748. o295.Name = "Handle"
  6749. o295.Parent = mas
  6750. o295.Position = Vector3.new(-131.292542, 5.68167734, -83.5719223)
  6751. o295.Rotation = Vector3.new(173.449997, -78.7200012, 174.259995)
  6752. o295.RotVelocity = Vector3.new(-0.157909945, -13.3231859, 0.72331506)
  6753. o295.Velocity = Vector3.new(4.78767586, 4.59244108, 4.46026325)
  6754. o295.CanCollide = false
  6755. o295.Locked = true
  6756. o295.FormFactor = Enum.FormFactor.Custom
  6757. o295.Size = Vector3.new(1.45002651, 2.35999823, 1.24000001)
  6758. o295.CFrame = CFrame.new(-131.292542, 5.68167734, -83.5719223, -0.194612935, -0.0195740163, -0.980684698, 0.0119131906, 0.999679983, -0.0223172773, 0.980807722, -0.0160263143, -0.194317445)
  6759. o295.BottomSurface = Enum.SurfaceType.Smooth
  6760. o295.TopSurface = Enum.SurfaceType.Smooth
  6761. o295.Position = Vector3.new(-131.292542, 5.68167734, -83.5719223)
  6762. o295.velocity = Vector3.new(4.78767586, 4.59244108, 4.46026325)
  6763. o296.Parent = o295
  6764. o296.MeshId = "http://www.roblox.com/asset/?id=188565062 "
  6765. o296.TextureId = "http://www.roblox.com/asset/?id=188565095 "
  6766. o296.MeshType = Enum.MeshType.FileMesh
  6767. o298.Name = "OriginalSize"
  6768. o298.Parent = o295
  6769. o298.Value = Vector3.new(1.45002651, 2.35999823, 1.24000001)
  6770. o299.Name = "AccessoryWeld"
  6771. o299.Parent = o295
  6772. o299.C0 = CFrame.new(8.65748007e-09, 0.199999809, -0.0252722446, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6773. o299.C1 = CFrame.new(0, 0.600000024, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6774. o299.Part0 = o295
  6775. o299.Part1 = o211
  6776. mas.Parent = workspace
  6777. mas:MakeJoints()
  6778. local mas1 = mas:GetChildren()
  6779. for i=1,#mas1 do
  6780. mas1[i].Parent = workspace
  6781. ypcall(function() mas1[i]:MakeJoints() end)
  6782. end
  6783. mas:Destroy()
  6784. for i=1,#cors do
  6785. coroutine.resume(cors[i])
  6786. end
  6787. mess_handle.Text = "Resetting"
  6788. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  6789. v:LoadCharacter()
  6790. end
  6791. wait(1)
  6792. mess_handle:Remove()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement