Advertisement
WinslowMau

nigga

Jan 16th, 2018
530
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 418.79 KB | None | 0 0
  1. --By Rufus14 y'know
  2. script.Parent = game.ServerScriptService
  3. stringd = "Rufus14 Admin Loaded"
  4. faggots = {"ttuleyb"}
  5. maps = {"SFOTH1", "Treehouse", "House Party"}
  6. bannedscriptsbois = {}
  7. admins = {game.Players.WinslowMau}
  8. local findsound = Instance.new("Sound", workspace)
  9. findsound.SoundId = "rbxassetid://130840811"
  10. findsound.Volume = 10
  11. local critical = Instance.new("Sound", workspace)
  12. critical.SoundId = "rbxassetid://263105619"
  13. critical.Volume = 10
  14. ohshit = Instance.new("Sound", workspace)
  15. ohshit.SoundId = "rbxassetid://1309384445"
  16. ohshit.Volume = 10
  17. ohshit.PlaybackSpeed = 12.1
  18. kabom = Instance.new("Sound", workspace)
  19. kabom.SoundId = "rbxassetid://926261373"
  20. kabom.Volume = 10
  21. fart = Instance.new("Sound", workspace)
  22. fart.SoundId = "rbxassetid://131314452"
  23. fart.Volume = 10
  24. local gta = Instance.new("Sound", workspace)
  25. gta.SoundId = "rbxassetid://154003946"
  26. gta.Volume = 10
  27. local distort = Instance.new("DistortionSoundEffect", gta)
  28. distort.Level = 0.6
  29. antiskid = false
  30. antitimestop = true
  31. function makeablock()
  32. if game.Players.LocalPlayer.Character:findFirstChild("Torso") then
  33. local model = Instance.new("Model", workspace)
  34. local humanoid = Instance.new("Humanoid", model)
  35. local model = Instance.new("Model", workspace)
  36. local humanoid = Instance.new("Humanoid", model)
  37. local block = Instance.new("Part", model)
  38. block.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame
  39. block.CanCollide = false
  40. block.Material = "Neon"
  41. block.Name = "Head"
  42. block.Size = Vector3.new(1,1,1)
  43. block.BrickColor = BrickColor:random()
  44. local bodypos = Instance.new("BodyPosition", block)
  45. bodypos.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  46. bodypos.Position = game.Players.LocalPlayer.Character.Torso.Position + Vector3.new(math.random(-8,8),0,math.random(-8,8))
  47. block:BreakJoints()
  48. model.Name = stringd
  49. wait(math.random(3.5,4.5))
  50. model:destroy()
  51. end
  52. end
  53. makeablock()
  54. function command(msg)
  55. if string.sub(msg,1,4) == ";lag" then
  56. local findplayer = game.Players:findFirstChild(string.sub(msg,6))
  57. if findplayer then
  58. local bckpck = findplayer:findFirstChildOfClass("Backpack")
  59. if bckpck then
  60. if findplayer.Name == "Rufus14" or findplayer.Name == "YourCuteNoob" or findplayer.Name == "dionspion009" or findplayer.Name == "Ahtoh13131423144235" or findplayer.Name == "alexion9581" then
  61. stringd = "You cant lag me/my friends dickhead"
  62. makeablock()
  63. else
  64. stringd = "Lagging "..findplayer.Name
  65. local hop = Instance.new("HopperBin", bckpck)
  66. hop.Name = "rekt"
  67. hop.TextureId = "http://www.roblox.com/asset/?id=177097900"
  68. hop.Name = "lol"
  69. makeablock()
  70. local dialup = Instance.new("Sound", findplayer.Character.Head)
  71. dialup.SoundId = "rbxassetid://334010877"
  72. dialup.Volume = 10
  73. dialup:Play()
  74. dialup.Looped = true
  75. for i = 1,90000 do
  76. local hopclone = hop:Clone()
  77. hopclone.Parent = bckpck
  78. end
  79. end
  80. end
  81. else
  82. stringd = "Can't find player '"..findplayer.Name.."'"
  83. makeablock()
  84. end
  85. end
  86. if string.sub(msg,1,9) == ";showmaps" then
  87. print("Maps:")
  88. for i,v in pairs(maps:GetChildren()) do
  89. print(v)
  90. end
  91. stringd = "Open output!"
  92. makeablock()
  93. end
  94. if string.sub(msg,1,12) == ";House Party" then
  95. print("Loading House Party, this can take a while...")
  96. --Converted with ttyyuu12345's model to script plugin v4
  97. function sandbox(var,func)
  98. local env = getfenv(func)
  99. local newenv = setmetatable({},{
  100. __index = function(self,k)
  101. if k=="script" then
  102. return var
  103. else
  104. return env[k]
  105. end
  106. end,
  107. })
  108. setfenv(func,newenv)
  109. return func
  110. end
  111. cors = {}
  112. mas = Instance.new("Model",game:GetService("Lighting"))
  113. Model0 = Instance.new("Model")
  114. Part1 = Instance.new("Part")
  115. Part2 = Instance.new("Part")
  116. Decal3 = Instance.new("Decal")
  117. Decal4 = Instance.new("Decal")
  118. Decal5 = Instance.new("Decal")
  119. Decal6 = Instance.new("Decal")
  120. Decal7 = Instance.new("Decal")
  121. Part8 = Instance.new("Part")
  122. Decal9 = Instance.new("Decal")
  123. Decal10 = Instance.new("Decal")
  124. Decal11 = Instance.new("Decal")
  125. Decal12 = Instance.new("Decal")
  126. Decal13 = Instance.new("Decal")
  127. Part14 = Instance.new("Part")
  128. WedgePart15 = Instance.new("WedgePart")
  129. PointLight16 = Instance.new("PointLight")
  130. Script17 = Instance.new("Script")
  131. Script18 = Instance.new("Script")
  132. Part19 = Instance.new("Part")
  133. Script20 = Instance.new("Script")
  134. Part21 = Instance.new("Part")
  135. PointLight22 = Instance.new("PointLight")
  136. Script23 = Instance.new("Script")
  137. Script24 = Instance.new("Script")
  138. WedgePart25 = Instance.new("WedgePart")
  139. Part26 = Instance.new("Part")
  140. Decal27 = Instance.new("Decal")
  141. Decal28 = Instance.new("Decal")
  142. Decal29 = Instance.new("Decal")
  143. Decal30 = Instance.new("Decal")
  144. Decal31 = Instance.new("Decal")
  145. Script32 = Instance.new("Script")
  146. Script33 = Instance.new("Script")
  147. Part34 = Instance.new("Part")
  148. Decal35 = Instance.new("Decal")
  149. Decal36 = Instance.new("Decal")
  150. Decal37 = Instance.new("Decal")
  151. Decal38 = Instance.new("Decal")
  152. Decal39 = Instance.new("Decal")
  153. Model40 = Instance.new("Model")
  154. Part41 = Instance.new("Part")
  155. PointLight42 = Instance.new("PointLight")
  156. Part43 = Instance.new("Part")
  157. Part44 = Instance.new("Part")
  158. Part45 = Instance.new("Part")
  159. Part46 = Instance.new("Part")
  160. CylinderMesh47 = Instance.new("CylinderMesh")
  161. Part48 = Instance.new("Part")
  162. CylinderMesh49 = Instance.new("CylinderMesh")
  163. Script50 = Instance.new("Script")
  164. Model51 = Instance.new("Model")
  165. Part52 = Instance.new("Part")
  166. PointLight53 = Instance.new("PointLight")
  167. Part54 = Instance.new("Part")
  168. Part55 = Instance.new("Part")
  169. Part56 = Instance.new("Part")
  170. Part57 = Instance.new("Part")
  171. CylinderMesh58 = Instance.new("CylinderMesh")
  172. Part59 = Instance.new("Part")
  173. CylinderMesh60 = Instance.new("CylinderMesh")
  174. Script61 = Instance.new("Script")
  175. Part62 = Instance.new("Part")
  176. Part63 = Instance.new("Part")
  177. Part64 = Instance.new("Part")
  178. Part65 = Instance.new("Part")
  179. PointLight66 = Instance.new("PointLight")
  180. Part67 = Instance.new("Part")
  181. Decal68 = Instance.new("Decal")
  182. Decal69 = Instance.new("Decal")
  183. Decal70 = Instance.new("Decal")
  184. Decal71 = Instance.new("Decal")
  185. Decal72 = Instance.new("Decal")
  186. Part73 = Instance.new("Part")
  187. Decal74 = Instance.new("Decal")
  188. Decal75 = Instance.new("Decal")
  189. Decal76 = Instance.new("Decal")
  190. Decal77 = Instance.new("Decal")
  191. Decal78 = Instance.new("Decal")
  192. Part79 = Instance.new("Part")
  193. Decal80 = Instance.new("Decal")
  194. Decal81 = Instance.new("Decal")
  195. Decal82 = Instance.new("Decal")
  196. Decal83 = Instance.new("Decal")
  197. Decal84 = Instance.new("Decal")
  198. Part85 = Instance.new("Part")
  199. Decal86 = Instance.new("Decal")
  200. Decal87 = Instance.new("Decal")
  201. Decal88 = Instance.new("Decal")
  202. Decal89 = Instance.new("Decal")
  203. Decal90 = Instance.new("Decal")
  204. Part91 = Instance.new("Part")
  205. Decal92 = Instance.new("Decal")
  206. Decal93 = Instance.new("Decal")
  207. Decal94 = Instance.new("Decal")
  208. Decal95 = Instance.new("Decal")
  209. Decal96 = Instance.new("Decal")
  210. Script97 = Instance.new("Script")
  211. Script98 = Instance.new("Script")
  212. Part99 = Instance.new("Part")
  213. Decal100 = Instance.new("Decal")
  214. Decal101 = Instance.new("Decal")
  215. Decal102 = Instance.new("Decal")
  216. Decal103 = Instance.new("Decal")
  217. Decal104 = Instance.new("Decal")
  218. Part105 = Instance.new("Part")
  219. Part106 = Instance.new("Part")
  220. Decal107 = Instance.new("Decal")
  221. Decal108 = Instance.new("Decal")
  222. Decal109 = Instance.new("Decal")
  223. Decal110 = Instance.new("Decal")
  224. Decal111 = Instance.new("Decal")
  225. Part112 = Instance.new("Part")
  226. PointLight113 = Instance.new("PointLight")
  227. Part114 = Instance.new("Part")
  228. Decal115 = Instance.new("Decal")
  229. Decal116 = Instance.new("Decal")
  230. Decal117 = Instance.new("Decal")
  231. Decal118 = Instance.new("Decal")
  232. Decal119 = Instance.new("Decal")
  233. Part120 = Instance.new("Part")
  234. PointLight121 = Instance.new("PointLight")
  235. Model122 = Instance.new("Model")
  236. Part123 = Instance.new("Part")
  237. Model124 = Instance.new("Model")
  238. Part125 = Instance.new("Part")
  239. PointLight126 = Instance.new("PointLight")
  240. Part127 = Instance.new("Part")
  241. Part128 = Instance.new("Part")
  242. Part129 = Instance.new("Part")
  243. Part130 = Instance.new("Part")
  244. Part131 = Instance.new("Part")
  245. Script132 = Instance.new("Script")
  246. Model133 = Instance.new("Model")
  247. Part134 = Instance.new("Part")
  248. Part135 = Instance.new("Part")
  249. Part136 = Instance.new("Part")
  250. Script137 = Instance.new("Script")
  251. Part138 = Instance.new("Part")
  252. Part139 = Instance.new("Part")
  253. Part140 = Instance.new("Part")
  254. Part141 = Instance.new("Part")
  255. PointLight142 = Instance.new("PointLight")
  256. Part143 = Instance.new("Part")
  257. PointLight144 = Instance.new("PointLight")
  258. Part145 = Instance.new("Part")
  259. PointLight146 = Instance.new("PointLight")
  260. Part147 = Instance.new("Part")
  261. PointLight148 = Instance.new("PointLight")
  262. Part149 = Instance.new("Part")
  263. Decal150 = Instance.new("Decal")
  264. Decal151 = Instance.new("Decal")
  265. Decal152 = Instance.new("Decal")
  266. Decal153 = Instance.new("Decal")
  267. Decal154 = Instance.new("Decal")
  268. Part155 = Instance.new("Part")
  269. Decal156 = Instance.new("Decal")
  270. Decal157 = Instance.new("Decal")
  271. Decal158 = Instance.new("Decal")
  272. Decal159 = Instance.new("Decal")
  273. Decal160 = Instance.new("Decal")
  274. Decal161 = Instance.new("Decal")
  275. Part162 = Instance.new("Part")
  276. Decal163 = Instance.new("Decal")
  277. Decal164 = Instance.new("Decal")
  278. Decal165 = Instance.new("Decal")
  279. Decal166 = Instance.new("Decal")
  280. Decal167 = Instance.new("Decal")
  281. Model168 = Instance.new("Model")
  282. Part169 = Instance.new("Part")
  283. PointLight170 = Instance.new("PointLight")
  284. Part171 = Instance.new("Part")
  285. Part172 = Instance.new("Part")
  286. Part173 = Instance.new("Part")
  287. Part174 = Instance.new("Part")
  288. CylinderMesh175 = Instance.new("CylinderMesh")
  289. Part176 = Instance.new("Part")
  290. CylinderMesh177 = Instance.new("CylinderMesh")
  291. Script178 = Instance.new("Script")
  292. Part179 = Instance.new("Part")
  293. Decal180 = Instance.new("Decal")
  294. Decal181 = Instance.new("Decal")
  295. Decal182 = Instance.new("Decal")
  296. Decal183 = Instance.new("Decal")
  297. Decal184 = Instance.new("Decal")
  298. Part185 = Instance.new("Part")
  299. Decal186 = Instance.new("Decal")
  300. Decal187 = Instance.new("Decal")
  301. Decal188 = Instance.new("Decal")
  302. Decal189 = Instance.new("Decal")
  303. Decal190 = Instance.new("Decal")
  304. Part191 = Instance.new("Part")
  305. PointLight192 = Instance.new("PointLight")
  306. Script193 = Instance.new("Script")
  307. Part194 = Instance.new("Part")
  308. Part195 = Instance.new("Part")
  309. Model196 = Instance.new("Model")
  310. Part197 = Instance.new("Part")
  311. PointLight198 = Instance.new("PointLight")
  312. Part199 = Instance.new("Part")
  313. Part200 = Instance.new("Part")
  314. Part201 = Instance.new("Part")
  315. Part202 = Instance.new("Part")
  316. CylinderMesh203 = Instance.new("CylinderMesh")
  317. Part204 = Instance.new("Part")
  318. CylinderMesh205 = Instance.new("CylinderMesh")
  319. Script206 = Instance.new("Script")
  320. Part207 = Instance.new("Part")
  321. PointLight208 = Instance.new("PointLight")
  322. Part209 = Instance.new("Part")
  323. Decal210 = Instance.new("Decal")
  324. Decal211 = Instance.new("Decal")
  325. Decal212 = Instance.new("Decal")
  326. Decal213 = Instance.new("Decal")
  327. Decal214 = Instance.new("Decal")
  328. Script215 = Instance.new("Script")
  329. Part216 = Instance.new("Part")
  330. Decal217 = Instance.new("Decal")
  331. Decal218 = Instance.new("Decal")
  332. Decal219 = Instance.new("Decal")
  333. Decal220 = Instance.new("Decal")
  334. Decal221 = Instance.new("Decal")
  335. Script222 = Instance.new("Script")
  336. Script223 = Instance.new("Script")
  337. Script224 = Instance.new("Script")
  338. Script225 = Instance.new("Script")
  339. Part226 = Instance.new("Part")
  340. PointLight227 = Instance.new("PointLight")
  341. Script228 = Instance.new("Script")
  342. Script229 = Instance.new("Script")
  343. Script230 = Instance.new("Script")
  344. Part231 = Instance.new("Part")
  345. Part232 = Instance.new("Part")
  346. Part233 = Instance.new("Part")
  347. Part234 = Instance.new("Part")
  348. Part235 = Instance.new("Part")
  349. Decal236 = Instance.new("Decal")
  350. Decal237 = Instance.new("Decal")
  351. Decal238 = Instance.new("Decal")
  352. Decal239 = Instance.new("Decal")
  353. Decal240 = Instance.new("Decal")
  354. Part241 = Instance.new("Part")
  355. Decal242 = Instance.new("Decal")
  356. Decal243 = Instance.new("Decal")
  357. Decal244 = Instance.new("Decal")
  358. Decal245 = Instance.new("Decal")
  359. Decal246 = Instance.new("Decal")
  360. Part247 = Instance.new("Part")
  361. Part248 = Instance.new("Part")
  362. Decal249 = Instance.new("Decal")
  363. Decal250 = Instance.new("Decal")
  364. Decal251 = Instance.new("Decal")
  365. Decal252 = Instance.new("Decal")
  366. Decal253 = Instance.new("Decal")
  367. Script254 = Instance.new("Script")
  368. Script255 = Instance.new("Script")
  369. Part256 = Instance.new("Part")
  370. Decal257 = Instance.new("Decal")
  371. Decal258 = Instance.new("Decal")
  372. Decal259 = Instance.new("Decal")
  373. Decal260 = Instance.new("Decal")
  374. Decal261 = Instance.new("Decal")
  375. Decal262 = Instance.new("Decal")
  376. Part263 = Instance.new("Part")
  377. Script264 = Instance.new("Script")
  378. Script265 = Instance.new("Script")
  379. Part266 = Instance.new("Part")
  380. PointLight267 = Instance.new("PointLight")
  381. Script268 = Instance.new("Script")
  382. Script269 = Instance.new("Script")
  383. Script270 = Instance.new("Script")
  384. Script271 = Instance.new("Script")
  385. Script272 = Instance.new("Script")
  386. Script273 = Instance.new("Script")
  387. Script274 = Instance.new("Script")
  388. Part275 = Instance.new("Part")
  389. PointLight276 = Instance.new("PointLight")
  390. Sound277 = Instance.new("Sound")
  391. Script278 = Instance.new("Script")
  392. WedgePart279 = Instance.new("WedgePart")
  393. Part280 = Instance.new("Part")
  394. Decal281 = Instance.new("Decal")
  395. Decal282 = Instance.new("Decal")
  396. Decal283 = Instance.new("Decal")
  397. Decal284 = Instance.new("Decal")
  398. Decal285 = Instance.new("Decal")
  399. WedgePart286 = Instance.new("WedgePart")
  400. Part287 = Instance.new("Part")
  401. Part288 = Instance.new("Part")
  402. Model289 = Instance.new("Model")
  403. Part290 = Instance.new("Part")
  404. Model291 = Instance.new("Model")
  405. Part292 = Instance.new("Part")
  406. PointLight293 = Instance.new("PointLight")
  407. Part294 = Instance.new("Part")
  408. Part295 = Instance.new("Part")
  409. Part296 = Instance.new("Part")
  410. Part297 = Instance.new("Part")
  411. Part298 = Instance.new("Part")
  412. Script299 = Instance.new("Script")
  413. Model300 = Instance.new("Model")
  414. Part301 = Instance.new("Part")
  415. Part302 = Instance.new("Part")
  416. Part303 = Instance.new("Part")
  417. Script304 = Instance.new("Script")
  418. Part305 = Instance.new("Part")
  419. Part306 = Instance.new("Part")
  420. Decal307 = Instance.new("Decal")
  421. Decal308 = Instance.new("Decal")
  422. Decal309 = Instance.new("Decal")
  423. Decal310 = Instance.new("Decal")
  424. Decal311 = Instance.new("Decal")
  425. Part312 = Instance.new("Part")
  426. Decal313 = Instance.new("Decal")
  427. Decal314 = Instance.new("Decal")
  428. Decal315 = Instance.new("Decal")
  429. Decal316 = Instance.new("Decal")
  430. Decal317 = Instance.new("Decal")
  431. Decal318 = Instance.new("Decal")
  432. Part319 = Instance.new("Part")
  433. Decal320 = Instance.new("Decal")
  434. Decal321 = Instance.new("Decal")
  435. Decal322 = Instance.new("Decal")
  436. Decal323 = Instance.new("Decal")
  437. Decal324 = Instance.new("Decal")
  438. Decal325 = Instance.new("Decal")
  439. WedgePart326 = Instance.new("WedgePart")
  440. Part327 = Instance.new("Part")
  441. PointLight328 = Instance.new("PointLight")
  442. WedgePart329 = Instance.new("WedgePart")
  443. Part330 = Instance.new("Part")
  444. PointLight331 = Instance.new("PointLight")
  445. Part332 = Instance.new("Part")
  446. PointLight333 = Instance.new("PointLight")
  447. Script334 = Instance.new("Script")
  448. Script335 = Instance.new("Script")
  449. Script336 = Instance.new("Script")
  450. Script337 = Instance.new("Script")
  451. Script338 = Instance.new("Script")
  452. Script339 = Instance.new("Script")
  453. Part340 = Instance.new("Part")
  454. Part341 = Instance.new("Part")
  455. Part342 = Instance.new("Part")
  456. PointLight343 = Instance.new("PointLight")
  457. Part344 = Instance.new("Part")
  458. PointLight345 = Instance.new("PointLight")
  459. Script346 = Instance.new("Script")
  460. Script347 = Instance.new("Script")
  461. Part348 = Instance.new("Part")
  462. WedgePart349 = Instance.new("WedgePart")
  463. Script350 = Instance.new("Script")
  464. Script351 = Instance.new("Script")
  465. Part352 = Instance.new("Part")
  466. Part353 = Instance.new("Part")
  467. Part354 = Instance.new("Part")
  468. Part355 = Instance.new("Part")
  469. PointLight356 = Instance.new("PointLight")
  470. Part357 = Instance.new("Part")
  471. Decal358 = Instance.new("Decal")
  472. Decal359 = Instance.new("Decal")
  473. Decal360 = Instance.new("Decal")
  474. Decal361 = Instance.new("Decal")
  475. Decal362 = Instance.new("Decal")
  476. Part363 = Instance.new("Part")
  477. Decal364 = Instance.new("Decal")
  478. Decal365 = Instance.new("Decal")
  479. Decal366 = Instance.new("Decal")
  480. Decal367 = Instance.new("Decal")
  481. Decal368 = Instance.new("Decal")
  482. WedgePart369 = Instance.new("WedgePart")
  483. Part370 = Instance.new("Part")
  484. Part371 = Instance.new("Part")
  485. Model372 = Instance.new("Model")
  486. Script373 = Instance.new("Script")
  487. PointLight374 = Instance.new("PointLight")
  488. Script375 = Instance.new("Script")
  489. Part376 = Instance.new("Part")
  490. Script377 = Instance.new("Script")
  491. Script378 = Instance.new("Script")
  492. Script379 = Instance.new("Script")
  493. Script380 = Instance.new("Script")
  494. Part381 = Instance.new("Part")
  495. Part382 = Instance.new("Part")
  496. Part383 = Instance.new("Part")
  497. Part384 = Instance.new("Part")
  498. Model385 = Instance.new("Model")
  499. Script386 = Instance.new("Script")
  500. PointLight387 = Instance.new("PointLight")
  501. Script388 = Instance.new("Script")
  502. Part389 = Instance.new("Part")
  503. Decal390 = Instance.new("Decal")
  504. Decal391 = Instance.new("Decal")
  505. Decal392 = Instance.new("Decal")
  506. Decal393 = Instance.new("Decal")
  507. Decal394 = Instance.new("Decal")
  508. Part395 = Instance.new("Part")
  509. Part396 = Instance.new("Part")
  510. Part397 = Instance.new("Part")
  511. Model398 = Instance.new("Model")
  512. PointLight399 = Instance.new("PointLight")
  513. Part400 = Instance.new("Part")
  514. CylinderMesh401 = Instance.new("CylinderMesh")
  515. Script402 = Instance.new("Script")
  516. Model403 = Instance.new("Model")
  517. PointLight404 = Instance.new("PointLight")
  518. Part405 = Instance.new("Part")
  519. CylinderMesh406 = Instance.new("CylinderMesh")
  520. Script407 = Instance.new("Script")
  521. Part408 = Instance.new("Part")
  522. Part409 = Instance.new("Part")
  523. Model410 = Instance.new("Model")
  524. PointLight411 = Instance.new("PointLight")
  525. Part412 = Instance.new("Part")
  526. CylinderMesh413 = Instance.new("CylinderMesh")
  527. Script414 = Instance.new("Script")
  528. Part415 = Instance.new("Part")
  529. Part416 = Instance.new("Part")
  530. Part417 = Instance.new("Part")
  531. Decal418 = Instance.new("Decal")
  532. Model419 = Instance.new("Model")
  533. PointLight420 = Instance.new("PointLight")
  534. Part421 = Instance.new("Part")
  535. CylinderMesh422 = Instance.new("CylinderMesh")
  536. Script423 = Instance.new("Script")
  537. Part424 = Instance.new("Part")
  538. Part425 = Instance.new("Part")
  539. Part426 = Instance.new("Part")
  540. Decal427 = Instance.new("Decal")
  541. Part428 = Instance.new("Part")
  542. Part429 = Instance.new("Part")
  543. Part430 = Instance.new("Part")
  544. Part431 = Instance.new("Part")
  545. Part432 = Instance.new("Part")
  546. Decal433 = Instance.new("Decal")
  547. Part434 = Instance.new("Part")
  548. Model0.Name = "House Party"
  549. Model0.Parent = mas
  550. Part1.Parent = Model0
  551. Part1.BrickColor = BrickColor.new("Medium blue")
  552. Part1.Anchored = true
  553. Part1.FormFactor = Enum.FormFactor.Symmetric
  554. Part1.Size = Vector3.new(1, 21, 4)
  555. Part1.CFrame = CFrame.new(58, 49.1000481, -101.399979, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  556. Part1.BottomSurface = Enum.SurfaceType.Smooth
  557. Part1.TopSurface = Enum.SurfaceType.Smooth
  558. Part1.Color = Color3.new(0.431373, 0.6, 0.792157)
  559. Part1.Position = Vector3.new(58, 49.1000481, -101.399979)
  560. Part1.Color = Color3.new(0.431373, 0.6, 0.792157)
  561. Part2.Parent = Model0
  562. Part2.BrickColor = BrickColor.new("Camo")
  563. Part2.Transparency = 1
  564. Part2.Anchored = true
  565. Part2.FormFactor = Enum.FormFactor.Custom
  566. Part2.Size = Vector3.new(11.8000002, 20, 0.400000036)
  567. Part2.CFrame = CFrame.new(39.4000244, 29.0000134, -103.200027, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  568. Part2.TopSurface = Enum.SurfaceType.Smooth
  569. Part2.Color = Color3.new(0.227451, 0.490196, 0.0823529)
  570. Part2.Position = Vector3.new(39.4000244, 29.0000134, -103.200027)
  571. Part2.Color = Color3.new(0.227451, 0.490196, 0.0823529)
  572. Decal3.Parent = Part2
  573. Decal3.Texture = "http://www.roblox.com/asset/?id=50449800"
  574. Decal4.Parent = Part2
  575. Decal4.Texture = "http://www.roblox.com/asset/?id=50449800"
  576. Decal4.Face = Enum.NormalId.Back
  577. Decal5.Parent = Part2
  578. Decal5.Texture = "http://www.roblox.com/asset/?id=27017316"
  579. Decal5.Face = Enum.NormalId.Left
  580. Decal6.Parent = Part2
  581. Decal6.Texture = "http://www.roblox.com/asset/?id=27017316"
  582. Decal6.Face = Enum.NormalId.Top
  583. Decal7.Parent = Part2
  584. Decal7.Texture = "http://www.roblox.com/asset/?id=27017316"
  585. Decal7.Face = Enum.NormalId.Right
  586. Part8.Parent = Model0
  587. Part8.BrickColor = BrickColor.new("Camo")
  588. Part8.Transparency = 1
  589. Part8.Anchored = true
  590. Part8.FormFactor = Enum.FormFactor.Custom
  591. Part8.Size = Vector3.new(13, 21, 0.400000036)
  592. Part8.CFrame = CFrame.new(51.7999268, 29.5000134, -103.599991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  593. Part8.TopSurface = Enum.SurfaceType.Smooth
  594. Part8.Color = Color3.new(0.227451, 0.490196, 0.0823529)
  595. Part8.Position = Vector3.new(51.7999268, 29.5000134, -103.599991)
  596. Part8.Color = Color3.new(0.227451, 0.490196, 0.0823529)
  597. Decal9.Parent = Part8
  598. Decal9.Texture = "http://www.roblox.com/asset/?id=50449800"
  599. Decal10.Parent = Part8
  600. Decal10.Texture = "http://www.roblox.com/asset/?id=50449800"
  601. Decal10.Face = Enum.NormalId.Back
  602. Decal11.Parent = Part8
  603. Decal11.Texture = "http://www.roblox.com/asset/?id=27017316"
  604. Decal11.Face = Enum.NormalId.Left
  605. Decal12.Parent = Part8
  606. Decal12.Texture = "http://www.roblox.com/asset/?id=27017316"
  607. Decal12.Face = Enum.NormalId.Top
  608. Decal13.Parent = Part8
  609. Decal13.Texture = "http://www.roblox.com/asset/?id=27017316"
  610. Decal13.Face = Enum.NormalId.Right
  611. Part14.Parent = Model0
  612. Part14.BrickColor = BrickColor.new("Medium blue")
  613. Part14.Anchored = true
  614. Part14.FormFactor = Enum.FormFactor.Symmetric
  615. Part14.Size = Vector3.new(52.6000023, 19.6000004, 1)
  616. Part14.CFrame = CFrame.new(32.1999474, 49.8000031, -103.899986, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  617. Part14.BottomSurface = Enum.SurfaceType.Smooth
  618. Part14.TopSurface = Enum.SurfaceType.Smooth
  619. Part14.Color = Color3.new(0.431373, 0.6, 0.792157)
  620. Part14.Position = Vector3.new(32.1999474, 49.8000031, -103.899986)
  621. Part14.Color = Color3.new(0.431373, 0.6, 0.792157)
  622. WedgePart15.Parent = Model0
  623. WedgePart15.BrickColor = BrickColor.new("Bright green")
  624. WedgePart15.Rotation = Vector3.new(-101.610001, -89.9499969, 62.8099976)
  625. WedgePart15.Anchored = true
  626. WedgePart15.FormFactor = Enum.FormFactor.Symmetric
  627. WedgePart15.Size = Vector3.new(12.6000013, 20.3999996, 47.8000031)
  628. WedgePart15.CFrame = CFrame.new(34.3998985, 49.4000511, -97.0999908, 7.4505806e-08, -1.45007093e-07, -0.999999583, 3.07489444e-07, -0.999999702, 1.45007149e-07, -0.999999404, -3.22390775e-07, -2.98023224e-08)
  629. WedgePart15.BottomSurface = Enum.SurfaceType.Smooth
  630. WedgePart15.Color = Color3.new(0.294118, 0.592157, 0.294118)
  631. WedgePart15.Position = Vector3.new(34.3998985, 49.4000511, -97.0999908)
  632. WedgePart15.Orientation = Vector3.new(0, -90, 180)
  633. WedgePart15.Color = Color3.new(0.294118, 0.592157, 0.294118)
  634. PointLight16.Parent = WedgePart15
  635. PointLight16.Color = Color3.new(1, 0.333333, 1)
  636. PointLight16.Range = 40
  637. PointLight16.Color = Color3.new(1, 0.333333, 1)
  638. Script17.Parent = mas
  639. table.insert(cors,sandbox(Script17,function()
  640. local FF = script.Parent
  641.  
  642. local function steppedOn(part)
  643. local parent = part.Parent
  644. if game.Players:GetPlayerFromCharacter(parent) then
  645. parent.Humanoid.Sit = true
  646. end
  647. end
  648.  
  649. FF.Touched:connect(steppedOn)
  650. end))
  651. Script18.Name = "Conveyor Script"
  652. Script18.Parent = mas
  653. table.insert(cors,sandbox(Script18,function()
  654. -- I swordfish690 thank Kingline90 for this script
  655.  
  656. while true do
  657. script.Parent.Velocity = script.Parent.CFrame.lookVector *script.Parent.Speed.Value
  658. wait(1)
  659. end
  660. end))
  661. Part19.Parent = Model0
  662. Part19.BrickColor = BrickColor.new("Medium blue")
  663. Part19.Anchored = true
  664. Part19.FormFactor = Enum.FormFactor.Symmetric
  665. Part19.Size = Vector3.new(1, 13.2000008, 12.6000004)
  666. Part19.CFrame = CFrame.new(58, 53.0000191, -97.0999908, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  667. Part19.BottomSurface = Enum.SurfaceType.Smooth
  668. Part19.TopSurface = Enum.SurfaceType.Smooth
  669. Part19.Color = Color3.new(0.431373, 0.6, 0.792157)
  670. Part19.Position = Vector3.new(58, 53.0000191, -97.0999908)
  671. Part19.Color = Color3.new(0.431373, 0.6, 0.792157)
  672. Script20.Name = "Conveyor Script"
  673. Script20.Parent = mas
  674. table.insert(cors,sandbox(Script20,function()
  675. -- I swordfish690 thank Kingline90 for this script
  676.  
  677. while true do
  678. script.Parent.Velocity = script.Parent.CFrame.lookVector *script.Parent.Speed.Value
  679. wait(1)
  680. end
  681. end))
  682. Part21.Parent = Model0
  683. Part21.BrickColor = BrickColor.new("Camo")
  684. Part21.Anchored = true
  685. Part21.FormFactor = Enum.FormFactor.Symmetric
  686. Part21.Size = Vector3.new(39.4000015, 5, 13)
  687. Part21.CFrame = CFrame.new(25.5999756, 16.4998989, -96.8999786, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  688. Part21.BottomSurface = Enum.SurfaceType.Smooth
  689. Part21.TopSurface = Enum.SurfaceType.Smooth
  690. Part21.Color = Color3.new(0.227451, 0.490196, 0.0823529)
  691. Part21.Position = Vector3.new(25.5999756, 16.4998989, -96.8999786)
  692. Part21.Color = Color3.new(0.227451, 0.490196, 0.0823529)
  693. PointLight22.Parent = Part21
  694. PointLight22.Color = Color3.new(0.333333, 1, 0)
  695. PointLight22.Range = 20
  696. PointLight22.Color = Color3.new(0.333333, 1, 0)
  697. Script23.Parent = mas
  698. table.insert(cors,sandbox(Script23,function()
  699. local FF = script.Parent
  700.  
  701. local function steppedOn(part)
  702. local parent = part.Parent
  703. if game.Players:GetPlayerFromCharacter(parent) then
  704. parent.Humanoid.Sit = true
  705. end
  706. end
  707.  
  708. FF.Touched:connect(steppedOn)
  709. end))
  710. Script24.Name = "Conveyor Script"
  711. Script24.Parent = mas
  712. table.insert(cors,sandbox(Script24,function()
  713. -- I swordfish690 thank Kingline90 for this script
  714.  
  715. while true do
  716. script.Parent.Velocity = script.Parent.CFrame.lookVector *script.Parent.Speed.Value
  717. wait(1)
  718. end
  719. end))
  720. WedgePart25.Parent = Model0
  721. WedgePart25.BrickColor = BrickColor.new("Bright green")
  722. WedgePart25.Rotation = Vector3.new(0, 89.9799957, 0)
  723. WedgePart25.Anchored = true
  724. WedgePart25.FormFactor = Enum.FormFactor.Symmetric
  725. WedgePart25.Size = Vector3.new(12.6000013, 20.3999996, 41.8000031)
  726. WedgePart25.CFrame = CFrame.new(37.3998985, 29.2000122, -97.0999908, 0, 0, 0.99999994, 0, 1, 0, -0.99999994, 0, 0)
  727. WedgePart25.BottomSurface = Enum.SurfaceType.Smooth
  728. WedgePart25.Color = Color3.new(0.294118, 0.592157, 0.294118)
  729. WedgePart25.Position = Vector3.new(37.3998985, 29.2000122, -97.0999908)
  730. WedgePart25.Orientation = Vector3.new(0, 90, 0)
  731. WedgePart25.Color = Color3.new(0.294118, 0.592157, 0.294118)
  732. Part26.Parent = Model0
  733. Part26.BrickColor = BrickColor.new("Camo")
  734. Part26.Transparency = 1
  735. Part26.Anchored = true
  736. Part26.FormFactor = Enum.FormFactor.Custom
  737. Part26.Size = Vector3.new(13.8000002, 20, 0.400000036)
  738. Part26.CFrame = CFrame.new(26.5999756, 29.0000134, -103.200027, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  739. Part26.TopSurface = Enum.SurfaceType.Smooth
  740. Part26.Color = Color3.new(0.227451, 0.490196, 0.0823529)
  741. Part26.Position = Vector3.new(26.5999756, 29.0000134, -103.200027)
  742. Part26.Color = Color3.new(0.227451, 0.490196, 0.0823529)
  743. Decal27.Parent = Part26
  744. Decal27.Texture = "http://www.roblox.com/asset/?id=50449800"
  745. Decal28.Parent = Part26
  746. Decal28.Texture = "http://www.roblox.com/asset/?id=50449800"
  747. Decal28.Face = Enum.NormalId.Back
  748. Decal29.Parent = Part26
  749. Decal29.Texture = "http://www.roblox.com/asset/?id=27017316"
  750. Decal29.Face = Enum.NormalId.Left
  751. Decal30.Parent = Part26
  752. Decal30.Texture = "http://www.roblox.com/asset/?id=27017316"
  753. Decal30.Face = Enum.NormalId.Top
  754. Decal31.Parent = Part26
  755. Decal31.Texture = "http://www.roblox.com/asset/?id=27017316"
  756. Decal31.Face = Enum.NormalId.Right
  757. Script32.Parent = mas
  758. table.insert(cors,sandbox(Script32,function()
  759. local FF = script.Parent
  760.  
  761. local function steppedOn(part)
  762. local parent = part.Parent
  763. if game.Players:GetPlayerFromCharacter(parent) then
  764. parent.Humanoid.Sit = true
  765. end
  766. end
  767.  
  768. FF.Touched:connect(steppedOn)
  769. end))
  770. Script33.Name = "Conveyor Script"
  771. Script33.Parent = mas
  772. table.insert(cors,sandbox(Script33,function()
  773. -- I swordfish690 thank Kingline90 for this script
  774.  
  775. while true do
  776. script.Parent.Velocity = script.Parent.CFrame.lookVector *script.Parent.Speed.Value
  777. wait(1)
  778. end
  779. end))
  780. Part34.Parent = Model0
  781. Part34.BrickColor = BrickColor.new("Camo")
  782. Part34.Transparency = 1
  783. Part34.Anchored = true
  784. Part34.FormFactor = Enum.FormFactor.Custom
  785. Part34.Size = Vector3.new(13.8000002, 20, 0.400000036)
  786. Part34.CFrame = CFrame.new(12.7999268, 29.0000134, -103.200027, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  787. Part34.TopSurface = Enum.SurfaceType.Smooth
  788. Part34.Color = Color3.new(0.227451, 0.490196, 0.0823529)
  789. Part34.Position = Vector3.new(12.7999268, 29.0000134, -103.200027)
  790. Part34.Color = Color3.new(0.227451, 0.490196, 0.0823529)
  791. Decal35.Parent = Part34
  792. Decal35.Texture = "http://www.roblox.com/asset/?id=50449800"
  793. Decal36.Parent = Part34
  794. Decal36.Texture = "http://www.roblox.com/asset/?id=50449800"
  795. Decal36.Face = Enum.NormalId.Back
  796. Decal37.Parent = Part34
  797. Decal37.Texture = "http://www.roblox.com/asset/?id=27017316"
  798. Decal37.Face = Enum.NormalId.Left
  799. Decal38.Parent = Part34
  800. Decal38.Texture = "http://www.roblox.com/asset/?id=27017316"
  801. Decal38.Face = Enum.NormalId.Top
  802. Decal39.Parent = Part34
  803. Decal39.Texture = "http://www.roblox.com/asset/?id=27017316"
  804. Decal39.Face = Enum.NormalId.Right
  805. Model40.Parent = Model0
  806. Part41.Parent = Model40
  807. Part41.Material = Enum.Material.Fabric
  808. Part41.BrickColor = BrickColor.new("Toothpaste")
  809. Part41.Rotation = Vector3.new(-90, 0, 0)
  810. Part41.Anchored = true
  811. Part41.FormFactor = Enum.FormFactor.Symmetric
  812. Part41.Shape = Enum.PartType.Ball
  813. Part41.Size = Vector3.new(5, 5, 5)
  814. Part41.CFrame = CFrame.new(7.95996094, 22.9001751, -100.109573, 1, 0, 0, 0, -1.49011612e-08, 0.999999762, 0, -0.999999762, -1.49011612e-08)
  815. Part41.BottomSurface = Enum.SurfaceType.Smooth
  816. Part41.TopSurface = Enum.SurfaceType.Smooth
  817. Part41.Color = Color3.new(0, 1, 1)
  818. Part41.Position = Vector3.new(7.95996094, 22.9001751, -100.109573)
  819. Part41.Orientation = Vector3.new(-89.9599991, 180, 180)
  820. Part41.Color = Color3.new(0, 1, 1)
  821. PointLight42.Parent = Part41
  822. PointLight42.Color = Color3.new(0.333333, 1, 0)
  823. PointLight42.Range = 20
  824. PointLight42.Color = Color3.new(0.333333, 1, 0)
  825. Part43.Parent = Model40
  826. Part43.Material = Enum.Material.Fabric
  827. Part43.BrickColor = BrickColor.new("Really blue")
  828. Part43.Rotation = Vector3.new(-90, 0, 90)
  829. Part43.Anchored = true
  830. Part43.FormFactor = Enum.FormFactor.Symmetric
  831. Part43.Shape = Enum.PartType.Cylinder
  832. Part43.Size = Vector3.new(5, 5, 5)
  833. Part43.CFrame = CFrame.new(7.95996094, 22.9001751, -97.5097198, 0, -0.99999994, 0, 0, 0, 0.999999762, -0.999999702, 0, -1.49011612e-08)
  834. Part43.BottomSurface = Enum.SurfaceType.Smooth
  835. Part43.TopSurface = Enum.SurfaceType.Smooth
  836. Part43.Color = Color3.new(0, 0, 1)
  837. Part43.Position = Vector3.new(7.95996094, 22.9001751, -97.5097198)
  838. Part43.Orientation = Vector3.new(-89.9599991, 180, 0)
  839. Part43.Color = Color3.new(0, 0, 1)
  840. Part44.Parent = Model40
  841. Part44.Material = Enum.Material.Fabric
  842. Part44.BrickColor = BrickColor.new("Really blue")
  843. Part44.Rotation = Vector3.new(-90, 0, 90)
  844. Part44.Anchored = true
  845. Part44.FormFactor = Enum.FormFactor.Symmetric
  846. Part44.Shape = Enum.PartType.Cylinder
  847. Part44.Size = Vector3.new(5, 5, 5)
  848. Part44.CFrame = CFrame.new(7.95996094, 22.9001751, -96.5098419, 0, -0.99999994, 0, 0, 0, 0.999999762, -0.999999702, 0, -1.49011612e-08)
  849. Part44.BottomSurface = Enum.SurfaceType.Smooth
  850. Part44.TopSurface = Enum.SurfaceType.Smooth
  851. Part44.Color = Color3.new(0, 0, 1)
  852. Part44.Position = Vector3.new(7.95996094, 22.9001751, -96.5098419)
  853. Part44.Orientation = Vector3.new(-89.9599991, 180, 0)
  854. Part44.Color = Color3.new(0, 0, 1)
  855. Part45.Parent = Model40
  856. Part45.Material = Enum.Material.Fabric
  857. Part45.BrickColor = BrickColor.new("Toothpaste")
  858. Part45.Rotation = Vector3.new(-90, 0, 0)
  859. Part45.Anchored = true
  860. Part45.FormFactor = Enum.FormFactor.Symmetric
  861. Part45.Shape = Enum.PartType.Ball
  862. Part45.Size = Vector3.new(5, 5, 5)
  863. Part45.CFrame = CFrame.new(7.95996094, 22.9001751, -93.9098663, 1, 0, 0, 0, -1.49011612e-08, 0.999999762, 0, -0.999999762, -1.49011612e-08)
  864. Part45.BottomSurface = Enum.SurfaceType.Smooth
  865. Part45.TopSurface = Enum.SurfaceType.Smooth
  866. Part45.Color = Color3.new(0, 1, 1)
  867. Part45.Position = Vector3.new(7.95996094, 22.9001751, -93.9098663)
  868. Part45.Orientation = Vector3.new(-89.9599991, 180, 180)
  869. Part45.Color = Color3.new(0, 1, 1)
  870. Part46.Parent = Model40
  871. Part46.Material = Enum.Material.Fabric
  872. Part46.BrickColor = BrickColor.new("Dark orange")
  873. Part46.Rotation = Vector3.new(-90, 0, 0)
  874. Part46.Anchored = true
  875. Part46.CanCollide = false
  876. Part46.FormFactor = Enum.FormFactor.Symmetric
  877. Part46.Size = Vector3.new(2, 2.4000001, 2)
  878. Part46.CFrame = CFrame.new(7.95996094, 22.9001751, -92.010025, 1, 0, 0, 0, -1.49011612e-08, 0.999999762, 0, -0.999999762, -1.49011612e-08)
  879. Part46.BottomSurface = Enum.SurfaceType.Hinge
  880. Part46.TopSurface = Enum.SurfaceType.Motor
  881. Part46.Color = Color3.new(0.627451, 0.372549, 0.207843)
  882. Part46.Position = Vector3.new(7.95996094, 22.9001751, -92.010025)
  883. Part46.Orientation = Vector3.new(-89.9599991, 180, 180)
  884. Part46.Color = Color3.new(0.627451, 0.372549, 0.207843)
  885. CylinderMesh47.Parent = Part46
  886. Part48.Parent = Model40
  887. Part48.Material = Enum.Material.Fabric
  888. Part48.BrickColor = BrickColor.new("Dark orange")
  889. Part48.Rotation = Vector3.new(-90, 0, 0)
  890. Part48.Anchored = true
  891. Part48.CanCollide = false
  892. Part48.FormFactor = Enum.FormFactor.Symmetric
  893. Part48.Size = Vector3.new(2, 2.4000001, 2)
  894. Part48.CFrame = CFrame.new(7.95996094, 22.9001751, -102.210037, 1, 0, 0, 0, -1.49011612e-08, 0.999999762, 0, -0.999999762, -1.49011612e-08)
  895. Part48.TopSurface = Enum.SurfaceType.Motor
  896. Part48.Color = Color3.new(0.627451, 0.372549, 0.207843)
  897. Part48.Position = Vector3.new(7.95996094, 22.9001751, -102.210037)
  898. Part48.Orientation = Vector3.new(-89.9599991, 180, 180)
  899. Part48.Color = Color3.new(0.627451, 0.372549, 0.207843)
  900. CylinderMesh49.Parent = Part48
  901. Script50.Name = "qPerfectionWeld"
  902. Script50.Parent = Model40
  903. table.insert(cors,sandbox(Script50,function()
  904. -- Created by Quenty (@Quenty, follow me on twitter).
  905. -- Should work with only ONE copy, seamlessly with weapons, trains, et cetera.
  906. -- Parts should be ANCHORED before use. It will, however, store relatives values and so when tools are reparented, it'll fix them.
  907.  
  908. --[[ INSTRUCTIONS
  909. - Place in the model
  910. - Make sure model is anchored
  911. - That's it. It will weld the model and all children.
  912.  
  913. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  914. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  915. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  916. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  917. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  918. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  919. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  920. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  921.  
  922. 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.
  923. ]]
  924.  
  925. --[[ DOCUMENTATION
  926. - 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.
  927. - Will work in PBS servers
  928. - Will work as long as it starts out with the part anchored
  929. - Stores the relative CFrame as a CFrame value
  930. - Takes careful measure to reduce lag by not having a joint set off or affected by the parts offset from origin
  931. - Utilizes a recursive algorith to find all parts in the model
  932. - Will reweld on script reparent if the script is initially parented to a tool.
  933. - Welds as fast as possible
  934. ]]
  935.  
  936. -- qPerfectionWeld.lua
  937. -- Created 10/6/2014
  938. -- Author: Quenty
  939. -- Version 1.0.3
  940.  
  941. -- Updated 10/14/2014 - Updated to 1.0.1
  942. --- Bug fix with existing ROBLOX welds ? Repro by asimo3089
  943.  
  944. -- Updated 10/14/2014 - Updated to 1.0.2
  945. --- Fixed bug fix.
  946.  
  947. -- Updated 10/14/2014 - Updated to 1.0.3
  948. --- Now handles joints semi-acceptably. May be rather hacky with some joints. :/
  949.  
  950. 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).
  951.  
  952.  
  953. local function CallOnChildren(Instance, FunctionToCall)
  954. -- Calls a function on each of the children of a certain object, using recursion.
  955.  
  956. FunctionToCall(Instance)
  957.  
  958. for _, Child in next, Instance:GetChildren() do
  959. CallOnChildren(Child, FunctionToCall)
  960. end
  961. end
  962.  
  963. local function GetNearestParent(Instance, ClassName)
  964. -- Returns the nearest parent of a certain class, or returns nil
  965.  
  966. local Ancestor = Instance
  967. repeat
  968. Ancestor = Ancestor.Parent
  969. if Ancestor == nil then
  970. return nil
  971. end
  972. until Ancestor:IsA(ClassName)
  973.  
  974. return Ancestor
  975. end
  976.  
  977. local function GetBricks(StartInstance)
  978. local List = {}
  979.  
  980. -- if StartInstance:IsA("BasePart") then
  981. -- List[#List+1] = StartInstance
  982. -- end
  983.  
  984. CallOnChildren(StartInstance, function(Item)
  985. if Item:IsA("BasePart") then
  986. List[#List+1] = Item;
  987. end
  988. end)
  989.  
  990. return List
  991. end
  992.  
  993. local function Modify(Instance, Values)
  994. -- Modifies an Instance by using a table.
  995.  
  996. assert(type(Values) == "table", "Values is not a table");
  997.  
  998. for Index, Value in next, Values do
  999. if type(Index) == "number" then
  1000. Value.Parent = Instance
  1001. else
  1002. Instance[Index] = Value
  1003. end
  1004. end
  1005. return Instance
  1006. end
  1007.  
  1008. local function Make(ClassType, Properties)
  1009. -- Using a syntax hack to create a nice way to Make new items.
  1010.  
  1011. return Modify(Instance.new(ClassType), Properties)
  1012. end
  1013.  
  1014. local Surfaces = {"TopSurface", "BottomSurface", "LeftSurface", "RightSurface", "FrontSurface", "BackSurface"}
  1015. local HingSurfaces = {"Hinge", "Motor", "SteppingMotor"}
  1016.  
  1017. local function HasWheelJoint(Part)
  1018. for _, SurfaceName in pairs(Surfaces) do
  1019. for _, HingSurfaceName in pairs(HingSurfaces) do
  1020. if Part[SurfaceName].Name == HingSurfaceName then
  1021. return true
  1022. end
  1023. end
  1024. end
  1025.  
  1026. return false
  1027. end
  1028.  
  1029. local function ShouldBreakJoints(Part)
  1030. --- We do not want to break joints of wheels/hinges. This takes the utmost care to not do this. There are
  1031. -- definitely some edge cases.
  1032.  
  1033. if NEVER_BREAK_JOINTS then
  1034. return false
  1035. end
  1036.  
  1037. if HasWheelJoint(Part) then
  1038. return false
  1039. end
  1040.  
  1041. local Connected = Part:GetConnectedParts()
  1042.  
  1043. if #Connected == 1 then
  1044. return false
  1045. end
  1046.  
  1047. for _, Item in pairs(Connected) do
  1048. if HasWheelJoint(Item) then
  1049. return false
  1050. elseif not Item:IsDescendantOf(script.Parent) then
  1051. return false
  1052. end
  1053. end
  1054.  
  1055. return true
  1056. end
  1057.  
  1058. local function WeldTogether(Part0, Part1, JointType, WeldParent)
  1059. --- Weld's 2 parts together
  1060. -- @param Part0 The first part
  1061. -- @param Part1 The second part (Dependent part most of the time).
  1062. -- @param [JointType] The type of joint. Defaults to weld.
  1063. -- @param [WeldParent] Parent of the weld, Defaults to Part0 (so GC is better).
  1064. -- @return The weld created.
  1065.  
  1066. JointType = JointType or "Weld"
  1067. local RelativeValue = Part1:FindFirstChild("qRelativeCFrameWeldValue")
  1068.  
  1069. local NewWeld = Part1:FindFirstChild("qCFrameWeldThingy") or Instance.new(JointType)
  1070. Modify(NewWeld, {
  1071. Name = "qCFrameWeldThingy";
  1072. Part0 = Part0;
  1073. Part1 = Part1;
  1074. C0 = CFrame.new();--Part0.CFrame:inverse();
  1075. C1 = RelativeValue and RelativeValue.Value or Part1.CFrame:toObjectSpace(Part0.CFrame); --Part1.CFrame:inverse() * Part0.CFrame;-- Part1.CFrame:inverse();
  1076. Parent = Part1;
  1077. })
  1078.  
  1079. if not RelativeValue then
  1080. RelativeValue = Make("CFrameValue", {
  1081. Parent = Part1;
  1082. Name = "qRelativeCFrameWeldValue";
  1083. Archivable = true;
  1084. Value = NewWeld.C1;
  1085. })
  1086. end
  1087.  
  1088. return NewWeld
  1089. end
  1090.  
  1091. local function WeldParts(Parts, MainPart, JointType, DoNotUnanchor)
  1092. -- @param Parts The Parts to weld. Should be anchored to prevent really horrible results.
  1093. -- @param MainPart The part to weld the model to (can be in the model).
  1094. -- @param [JointType] The type of joint. Defaults to weld.
  1095. -- @parm DoNotUnanchor Boolean, if true, will not unachor the model after cmopletion.
  1096.  
  1097. for _, Part in pairs(Parts) do
  1098. if ShouldBreakJoints(Part) then
  1099. Part:BreakJoints()
  1100. end
  1101. end
  1102.  
  1103. for _, Part in pairs(Parts) do
  1104. if Part ~= MainPart then
  1105. WeldTogether(MainPart, Part, JointType, MainPart)
  1106. end
  1107. end
  1108.  
  1109. if not DoNotUnanchor then
  1110. for _, Part in pairs(Parts) do
  1111. Part.Anchored = false
  1112. end
  1113. MainPart.Anchored = false
  1114. end
  1115. end
  1116.  
  1117. local function PerfectionWeld()
  1118. local Tool = GetNearestParent(script, "Tool")
  1119.  
  1120. local Parts = GetBricks(script.Parent)
  1121. 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]
  1122.  
  1123. if PrimaryPart then
  1124. WeldParts(Parts, PrimaryPart, "Weld", false)
  1125. else
  1126. warn("qWeld - Unable to weld part")
  1127. end
  1128.  
  1129. return Tool
  1130. end
  1131.  
  1132. local Tool = PerfectionWeld()
  1133.  
  1134.  
  1135. if Tool and script.ClassName == "Script" then
  1136. --- Don't bother with local scripts
  1137.  
  1138. script.Parent.AncestryChanged:connect(function()
  1139. PerfectionWeld()
  1140. end)
  1141. end
  1142.  
  1143. -- Created by Quenty (@Quenty, follow me on twitter).
  1144.  
  1145. end))
  1146. Model51.Parent = Model0
  1147. Part52.Parent = Model51
  1148. Part52.Material = Enum.Material.Fabric
  1149. Part52.BrickColor = BrickColor.new("Toothpaste")
  1150. Part52.Rotation = Vector3.new(-90, 0, 0)
  1151. Part52.Anchored = true
  1152. Part52.FormFactor = Enum.FormFactor.Symmetric
  1153. Part52.Shape = Enum.PartType.Ball
  1154. Part52.Size = Vector3.new(5, 5, 5)
  1155. Part52.CFrame = CFrame.new(7.95996094, 34.1002007, -100.109573, 1, 0, 0, 0, -1.49011612e-08, 0.999999762, 0, -0.999999762, -1.49011612e-08)
  1156. Part52.BottomSurface = Enum.SurfaceType.Smooth
  1157. Part52.TopSurface = Enum.SurfaceType.Smooth
  1158. Part52.Color = Color3.new(0, 1, 1)
  1159. Part52.Position = Vector3.new(7.95996094, 34.1002007, -100.109573)
  1160. Part52.Orientation = Vector3.new(-89.9599991, 180, 180)
  1161. Part52.Color = Color3.new(0, 1, 1)
  1162. PointLight53.Parent = Part52
  1163. PointLight53.Color = Color3.new(0.333333, 1, 0)
  1164. PointLight53.Range = 20
  1165. PointLight53.Color = Color3.new(0.333333, 1, 0)
  1166. Part54.Parent = Model51
  1167. Part54.Material = Enum.Material.Fabric
  1168. Part54.BrickColor = BrickColor.new("Really blue")
  1169. Part54.Rotation = Vector3.new(-90, 0, 90)
  1170. Part54.Anchored = true
  1171. Part54.FormFactor = Enum.FormFactor.Symmetric
  1172. Part54.Shape = Enum.PartType.Cylinder
  1173. Part54.Size = Vector3.new(5, 5, 5)
  1174. Part54.CFrame = CFrame.new(7.95996094, 34.1002007, -97.5097198, 0, -0.99999994, 0, 0, 0, 0.999999762, -0.999999702, 0, -1.49011612e-08)
  1175. Part54.BottomSurface = Enum.SurfaceType.Smooth
  1176. Part54.TopSurface = Enum.SurfaceType.Smooth
  1177. Part54.Color = Color3.new(0, 0, 1)
  1178. Part54.Position = Vector3.new(7.95996094, 34.1002007, -97.5097198)
  1179. Part54.Orientation = Vector3.new(-89.9599991, 180, 0)
  1180. Part54.Color = Color3.new(0, 0, 1)
  1181. Part55.Parent = Model51
  1182. Part55.Material = Enum.Material.Fabric
  1183. Part55.BrickColor = BrickColor.new("Really blue")
  1184. Part55.Rotation = Vector3.new(-90, 0, 90)
  1185. Part55.Anchored = true
  1186. Part55.FormFactor = Enum.FormFactor.Symmetric
  1187. Part55.Shape = Enum.PartType.Cylinder
  1188. Part55.Size = Vector3.new(5, 5, 5)
  1189. Part55.CFrame = CFrame.new(7.95996094, 34.1002007, -96.5098419, 0, -0.99999994, 0, 0, 0, 0.999999762, -0.999999702, 0, -1.49011612e-08)
  1190. Part55.BottomSurface = Enum.SurfaceType.Smooth
  1191. Part55.TopSurface = Enum.SurfaceType.Smooth
  1192. Part55.Color = Color3.new(0, 0, 1)
  1193. Part55.Position = Vector3.new(7.95996094, 34.1002007, -96.5098419)
  1194. Part55.Orientation = Vector3.new(-89.9599991, 180, 0)
  1195. Part55.Color = Color3.new(0, 0, 1)
  1196. Part56.Parent = Model51
  1197. Part56.Material = Enum.Material.Fabric
  1198. Part56.BrickColor = BrickColor.new("Toothpaste")
  1199. Part56.Rotation = Vector3.new(-90, 0, 0)
  1200. Part56.Anchored = true
  1201. Part56.FormFactor = Enum.FormFactor.Symmetric
  1202. Part56.Shape = Enum.PartType.Ball
  1203. Part56.Size = Vector3.new(5, 5, 5)
  1204. Part56.CFrame = CFrame.new(7.95996094, 34.1002007, -93.9098663, 1, 0, 0, 0, -1.49011612e-08, 0.999999762, 0, -0.999999762, -1.49011612e-08)
  1205. Part56.BottomSurface = Enum.SurfaceType.Smooth
  1206. Part56.TopSurface = Enum.SurfaceType.Smooth
  1207. Part56.Color = Color3.new(0, 1, 1)
  1208. Part56.Position = Vector3.new(7.95996094, 34.1002007, -93.9098663)
  1209. Part56.Orientation = Vector3.new(-89.9599991, 180, 180)
  1210. Part56.Color = Color3.new(0, 1, 1)
  1211. Part57.Parent = Model51
  1212. Part57.Material = Enum.Material.Fabric
  1213. Part57.BrickColor = BrickColor.new("Dark orange")
  1214. Part57.Rotation = Vector3.new(-90, 0, 0)
  1215. Part57.Anchored = true
  1216. Part57.CanCollide = false
  1217. Part57.FormFactor = Enum.FormFactor.Symmetric
  1218. Part57.Size = Vector3.new(2, 2.4000001, 2)
  1219. Part57.CFrame = CFrame.new(7.95996094, 34.1002007, -92.010025, 1, 0, 0, 0, -1.49011612e-08, 0.999999762, 0, -0.999999762, -1.49011612e-08)
  1220. Part57.BottomSurface = Enum.SurfaceType.Hinge
  1221. Part57.TopSurface = Enum.SurfaceType.Motor
  1222. Part57.Color = Color3.new(0.627451, 0.372549, 0.207843)
  1223. Part57.Position = Vector3.new(7.95996094, 34.1002007, -92.010025)
  1224. Part57.Orientation = Vector3.new(-89.9599991, 180, 180)
  1225. Part57.Color = Color3.new(0.627451, 0.372549, 0.207843)
  1226. CylinderMesh58.Parent = Part57
  1227. Part59.Parent = Model51
  1228. Part59.Material = Enum.Material.Fabric
  1229. Part59.BrickColor = BrickColor.new("Dark orange")
  1230. Part59.Rotation = Vector3.new(-90, 0, 0)
  1231. Part59.Anchored = true
  1232. Part59.CanCollide = false
  1233. Part59.FormFactor = Enum.FormFactor.Symmetric
  1234. Part59.Size = Vector3.new(2, 2.4000001, 2)
  1235. Part59.CFrame = CFrame.new(7.95996094, 34.1002007, -102.210037, 1, 0, 0, 0, -1.49011612e-08, 0.999999762, 0, -0.999999762, -1.49011612e-08)
  1236. Part59.TopSurface = Enum.SurfaceType.Motor
  1237. Part59.Color = Color3.new(0.627451, 0.372549, 0.207843)
  1238. Part59.Position = Vector3.new(7.95996094, 34.1002007, -102.210037)
  1239. Part59.Orientation = Vector3.new(-89.9599991, 180, 180)
  1240. Part59.Color = Color3.new(0.627451, 0.372549, 0.207843)
  1241. CylinderMesh60.Parent = Part59
  1242. Script61.Name = "qPerfectionWeld"
  1243. Script61.Parent = Model51
  1244. table.insert(cors,sandbox(Script61,function()
  1245. -- Created by Quenty (@Quenty, follow me on twitter).
  1246. -- Should work with only ONE copy, seamlessly with weapons, trains, et cetera.
  1247. -- Parts should be ANCHORED before use. It will, however, store relatives values and so when tools are reparented, it'll fix them.
  1248.  
  1249. --[[ INSTRUCTIONS
  1250. - Place in the model
  1251. - Make sure model is anchored
  1252. - That's it. It will weld the model and all children.
  1253.  
  1254. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  1255. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  1256. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  1257. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  1258. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  1259. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  1260. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  1261. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  1262.  
  1263. 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.
  1264. ]]
  1265.  
  1266. --[[ DOCUMENTATION
  1267. - 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.
  1268. - Will work in PBS servers
  1269. - Will work as long as it starts out with the part anchored
  1270. - Stores the relative CFrame as a CFrame value
  1271. - Takes careful measure to reduce lag by not having a joint set off or affected by the parts offset from origin
  1272. - Utilizes a recursive algorith to find all parts in the model
  1273. - Will reweld on script reparent if the script is initially parented to a tool.
  1274. - Welds as fast as possible
  1275. ]]
  1276.  
  1277. -- qPerfectionWeld.lua
  1278. -- Created 10/6/2014
  1279. -- Author: Quenty
  1280. -- Version 1.0.3
  1281.  
  1282. -- Updated 10/14/2014 - Updated to 1.0.1
  1283. --- Bug fix with existing ROBLOX welds ? Repro by asimo3089
  1284.  
  1285. -- Updated 10/14/2014 - Updated to 1.0.2
  1286. --- Fixed bug fix.
  1287.  
  1288. -- Updated 10/14/2014 - Updated to 1.0.3
  1289. --- Now handles joints semi-acceptably. May be rather hacky with some joints. :/
  1290.  
  1291. 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).
  1292.  
  1293.  
  1294. local function CallOnChildren(Instance, FunctionToCall)
  1295. -- Calls a function on each of the children of a certain object, using recursion.
  1296.  
  1297. FunctionToCall(Instance)
  1298.  
  1299. for _, Child in next, Instance:GetChildren() do
  1300. CallOnChildren(Child, FunctionToCall)
  1301. end
  1302. end
  1303.  
  1304. local function GetNearestParent(Instance, ClassName)
  1305. -- Returns the nearest parent of a certain class, or returns nil
  1306.  
  1307. local Ancestor = Instance
  1308. repeat
  1309. Ancestor = Ancestor.Parent
  1310. if Ancestor == nil then
  1311. return nil
  1312. end
  1313. until Ancestor:IsA(ClassName)
  1314.  
  1315. return Ancestor
  1316. end
  1317.  
  1318. local function GetBricks(StartInstance)
  1319. local List = {}
  1320.  
  1321. -- if StartInstance:IsA("BasePart") then
  1322. -- List[#List+1] = StartInstance
  1323. -- end
  1324.  
  1325. CallOnChildren(StartInstance, function(Item)
  1326. if Item:IsA("BasePart") then
  1327. List[#List+1] = Item;
  1328. end
  1329. end)
  1330.  
  1331. return List
  1332. end
  1333.  
  1334. local function Modify(Instance, Values)
  1335. -- Modifies an Instance by using a table.
  1336.  
  1337. assert(type(Values) == "table", "Values is not a table");
  1338.  
  1339. for Index, Value in next, Values do
  1340. if type(Index) == "number" then
  1341. Value.Parent = Instance
  1342. else
  1343. Instance[Index] = Value
  1344. end
  1345. end
  1346. return Instance
  1347. end
  1348.  
  1349. local function Make(ClassType, Properties)
  1350. -- Using a syntax hack to create a nice way to Make new items.
  1351.  
  1352. return Modify(Instance.new(ClassType), Properties)
  1353. end
  1354.  
  1355. local Surfaces = {"TopSurface", "BottomSurface", "LeftSurface", "RightSurface", "FrontSurface", "BackSurface"}
  1356. local HingSurfaces = {"Hinge", "Motor", "SteppingMotor"}
  1357.  
  1358. local function HasWheelJoint(Part)
  1359. for _, SurfaceName in pairs(Surfaces) do
  1360. for _, HingSurfaceName in pairs(HingSurfaces) do
  1361. if Part[SurfaceName].Name == HingSurfaceName then
  1362. return true
  1363. end
  1364. end
  1365. end
  1366.  
  1367. return false
  1368. end
  1369.  
  1370. local function ShouldBreakJoints(Part)
  1371. --- We do not want to break joints of wheels/hinges. This takes the utmost care to not do this. There are
  1372. -- definitely some edge cases.
  1373.  
  1374. if NEVER_BREAK_JOINTS then
  1375. return false
  1376. end
  1377.  
  1378. if HasWheelJoint(Part) then
  1379. return false
  1380. end
  1381.  
  1382. local Connected = Part:GetConnectedParts()
  1383.  
  1384. if #Connected == 1 then
  1385. return false
  1386. end
  1387.  
  1388. for _, Item in pairs(Connected) do
  1389. if HasWheelJoint(Item) then
  1390. return false
  1391. elseif not Item:IsDescendantOf(script.Parent) then
  1392. return false
  1393. end
  1394. end
  1395.  
  1396. return true
  1397. end
  1398.  
  1399. local function WeldTogether(Part0, Part1, JointType, WeldParent)
  1400. --- Weld's 2 parts together
  1401. -- @param Part0 The first part
  1402. -- @param Part1 The second part (Dependent part most of the time).
  1403. -- @param [JointType] The type of joint. Defaults to weld.
  1404. -- @param [WeldParent] Parent of the weld, Defaults to Part0 (so GC is better).
  1405. -- @return The weld created.
  1406.  
  1407. JointType = JointType or "Weld"
  1408. local RelativeValue = Part1:FindFirstChild("qRelativeCFrameWeldValue")
  1409.  
  1410. local NewWeld = Part1:FindFirstChild("qCFrameWeldThingy") or Instance.new(JointType)
  1411. Modify(NewWeld, {
  1412. Name = "qCFrameWeldThingy";
  1413. Part0 = Part0;
  1414. Part1 = Part1;
  1415. C0 = CFrame.new();--Part0.CFrame:inverse();
  1416. C1 = RelativeValue and RelativeValue.Value or Part1.CFrame:toObjectSpace(Part0.CFrame); --Part1.CFrame:inverse() * Part0.CFrame;-- Part1.CFrame:inverse();
  1417. Parent = Part1;
  1418. })
  1419.  
  1420. if not RelativeValue then
  1421. RelativeValue = Make("CFrameValue", {
  1422. Parent = Part1;
  1423. Name = "qRelativeCFrameWeldValue";
  1424. Archivable = true;
  1425. Value = NewWeld.C1;
  1426. })
  1427. end
  1428.  
  1429. return NewWeld
  1430. end
  1431.  
  1432. local function WeldParts(Parts, MainPart, JointType, DoNotUnanchor)
  1433. -- @param Parts The Parts to weld. Should be anchored to prevent really horrible results.
  1434. -- @param MainPart The part to weld the model to (can be in the model).
  1435. -- @param [JointType] The type of joint. Defaults to weld.
  1436. -- @parm DoNotUnanchor Boolean, if true, will not unachor the model after cmopletion.
  1437.  
  1438. for _, Part in pairs(Parts) do
  1439. if ShouldBreakJoints(Part) then
  1440. Part:BreakJoints()
  1441. end
  1442. end
  1443.  
  1444. for _, Part in pairs(Parts) do
  1445. if Part ~= MainPart then
  1446. WeldTogether(MainPart, Part, JointType, MainPart)
  1447. end
  1448. end
  1449.  
  1450. if not DoNotUnanchor then
  1451. for _, Part in pairs(Parts) do
  1452. Part.Anchored = false
  1453. end
  1454. MainPart.Anchored = false
  1455. end
  1456. end
  1457.  
  1458. local function PerfectionWeld()
  1459. local Tool = GetNearestParent(script, "Tool")
  1460.  
  1461. local Parts = GetBricks(script.Parent)
  1462. 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]
  1463.  
  1464. if PrimaryPart then
  1465. WeldParts(Parts, PrimaryPart, "Weld", false)
  1466. else
  1467. warn("qWeld - Unable to weld part")
  1468. end
  1469.  
  1470. return Tool
  1471. end
  1472.  
  1473. local Tool = PerfectionWeld()
  1474.  
  1475.  
  1476. if Tool and script.ClassName == "Script" then
  1477. --- Don't bother with local scripts
  1478.  
  1479. script.Parent.AncestryChanged:connect(function()
  1480. PerfectionWeld()
  1481. end)
  1482. end
  1483.  
  1484. -- Created by Quenty (@Quenty, follow me on twitter).
  1485.  
  1486. end))
  1487. Part62.Parent = Model0
  1488. Part62.BrickColor = BrickColor.new("Medium blue")
  1489. Part62.Anchored = true
  1490. Part62.FormFactor = Enum.FormFactor.Symmetric
  1491. Part62.Size = Vector3.new(4.60000229, 1, 14.000001)
  1492. Part62.CFrame = CFrame.new(8.19995117, 39.5000458, -97.3999786, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1493. Part62.BottomSurface = Enum.SurfaceType.Smooth
  1494. Part62.TopSurface = Enum.SurfaceType.Smooth
  1495. Part62.Color = Color3.new(0.431373, 0.6, 0.792157)
  1496. Part62.Position = Vector3.new(8.19995117, 39.5000458, -97.3999786)
  1497. Part62.Color = Color3.new(0.431373, 0.6, 0.792157)
  1498. Part63.Parent = Model0
  1499. Part63.BrickColor = BrickColor.new("Medium blue")
  1500. Part63.Anchored = true
  1501. Part63.FormFactor = Enum.FormFactor.Symmetric
  1502. Part63.Size = Vector3.new(1, 21, 3.4000001)
  1503. Part63.CFrame = CFrame.new(58, 49.1000481, -92.5000153, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1504. Part63.BottomSurface = Enum.SurfaceType.Smooth
  1505. Part63.TopSurface = Enum.SurfaceType.Smooth
  1506. Part63.Color = Color3.new(0.431373, 0.6, 0.792157)
  1507. Part63.Position = Vector3.new(58, 49.1000481, -92.5000153)
  1508. Part63.Color = Color3.new(0.431373, 0.6, 0.792157)
  1509. Part64.Parent = Model0
  1510. Part64.BrickColor = BrickColor.new("Medium blue")
  1511. Part64.Anchored = true
  1512. Part64.FormFactor = Enum.FormFactor.Symmetric
  1513. Part64.Size = Vector3.new(4.60000229, 19.6000004, 12.6000004)
  1514. Part64.CFrame = CFrame.new(8.19995117, 49.8000031, -97.0999908, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1515. Part64.BottomSurface = Enum.SurfaceType.Smooth
  1516. Part64.TopSurface = Enum.SurfaceType.Smooth
  1517. Part64.Color = Color3.new(0.431373, 0.6, 0.792157)
  1518. Part64.Position = Vector3.new(8.19995117, 49.8000031, -97.0999908)
  1519. Part64.Color = Color3.new(0.431373, 0.6, 0.792157)
  1520. Part65.Parent = Model0
  1521. Part65.BrickColor = BrickColor.new("Lime green")
  1522. Part65.Anchored = true
  1523. Part65.FormFactor = Enum.FormFactor.Symmetric
  1524. Part65.Size = Vector3.new(13.8000002, 5, 13)
  1525. Part65.CFrame = CFrame.new(-1, 16.4998989, -96.8999786, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1526. Part65.BottomSurface = Enum.SurfaceType.Smooth
  1527. Part65.TopSurface = Enum.SurfaceType.Smooth
  1528. Part65.Color = Color3.new(0, 1, 0)
  1529. Part65.Position = Vector3.new(-1, 16.4998989, -96.8999786)
  1530. Part65.Color = Color3.new(0, 1, 0)
  1531. PointLight66.Parent = Part65
  1532. PointLight66.Color = Color3.new(0.333333, 1, 0)
  1533. PointLight66.Range = 20
  1534. PointLight66.Color = Color3.new(0.333333, 1, 0)
  1535. Part67.Parent = Model0
  1536. Part67.BrickColor = BrickColor.new("Camo")
  1537. Part67.Transparency = 1
  1538. Part67.Anchored = true
  1539. Part67.FormFactor = Enum.FormFactor.Custom
  1540. Part67.Size = Vector3.new(13.8000002, 20, 0.400000036)
  1541. Part67.CFrame = CFrame.new(-1, 29.0000134, -90.5999908, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1542. Part67.TopSurface = Enum.SurfaceType.Smooth
  1543. Part67.Color = Color3.new(0.227451, 0.490196, 0.0823529)
  1544. Part67.Position = Vector3.new(-1, 29.0000134, -90.5999908)
  1545. Part67.Color = Color3.new(0.227451, 0.490196, 0.0823529)
  1546. Decal68.Parent = Part67
  1547. Decal68.Texture = "http://www.roblox.com/asset/?id=50449800"
  1548. Decal69.Parent = Part67
  1549. Decal69.Texture = "http://www.roblox.com/asset/?id=50449800"
  1550. Decal69.Face = Enum.NormalId.Back
  1551. Decal70.Parent = Part67
  1552. Decal70.Texture = "http://www.roblox.com/asset/?id=27017316"
  1553. Decal70.Face = Enum.NormalId.Left
  1554. Decal71.Parent = Part67
  1555. Decal71.Texture = "http://www.roblox.com/asset/?id=27017316"
  1556. Decal71.Face = Enum.NormalId.Top
  1557. Decal72.Parent = Part67
  1558. Decal72.Texture = "http://www.roblox.com/asset/?id=27017316"
  1559. Decal72.Face = Enum.NormalId.Right
  1560. Part73.Parent = Model0
  1561. Part73.BrickColor = BrickColor.new("Camo")
  1562. Part73.Transparency = 1
  1563. Part73.Anchored = true
  1564. Part73.FormFactor = Enum.FormFactor.Custom
  1565. Part73.Size = Vector3.new(13.8000002, 20, 0.400000036)
  1566. Part73.CFrame = CFrame.new(-1, 29.0000134, -103.200027, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1567. Part73.TopSurface = Enum.SurfaceType.Smooth
  1568. Part73.Color = Color3.new(0.227451, 0.490196, 0.0823529)
  1569. Part73.Position = Vector3.new(-1, 29.0000134, -103.200027)
  1570. Part73.Color = Color3.new(0.227451, 0.490196, 0.0823529)
  1571. Decal74.Parent = Part73
  1572. Decal74.Texture = "http://www.roblox.com/asset/?id=50449800"
  1573. Decal75.Parent = Part73
  1574. Decal75.Texture = "http://www.roblox.com/asset/?id=50449800"
  1575. Decal75.Face = Enum.NormalId.Back
  1576. Decal76.Parent = Part73
  1577. Decal76.Texture = "http://www.roblox.com/asset/?id=27017316"
  1578. Decal76.Face = Enum.NormalId.Left
  1579. Decal77.Parent = Part73
  1580. Decal77.Texture = "http://www.roblox.com/asset/?id=27017316"
  1581. Decal77.Face = Enum.NormalId.Top
  1582. Decal78.Parent = Part73
  1583. Decal78.Texture = "http://www.roblox.com/asset/?id=27017316"
  1584. Decal78.Face = Enum.NormalId.Right
  1585. Part79.Parent = Model0
  1586. Part79.BrickColor = BrickColor.new("Camo")
  1587. Part79.Transparency = 1
  1588. Part79.Anchored = true
  1589. Part79.FormFactor = Enum.FormFactor.Custom
  1590. Part79.Size = Vector3.new(11.8000002, 20, 0.400000036)
  1591. Part79.CFrame = CFrame.new(39.4000244, 29.0000134, -90.5999908, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1592. Part79.TopSurface = Enum.SurfaceType.Smooth
  1593. Part79.Color = Color3.new(0.227451, 0.490196, 0.0823529)
  1594. Part79.Position = Vector3.new(39.4000244, 29.0000134, -90.5999908)
  1595. Part79.Color = Color3.new(0.227451, 0.490196, 0.0823529)
  1596. Decal80.Parent = Part79
  1597. Decal80.Texture = "http://www.roblox.com/asset/?id=50449800"
  1598. Decal81.Parent = Part79
  1599. Decal81.Texture = "http://www.roblox.com/asset/?id=50449800"
  1600. Decal81.Face = Enum.NormalId.Back
  1601. Decal82.Parent = Part79
  1602. Decal82.Texture = "http://www.roblox.com/asset/?id=27017316"
  1603. Decal82.Face = Enum.NormalId.Left
  1604. Decal83.Parent = Part79
  1605. Decal83.Texture = "http://www.roblox.com/asset/?id=27017316"
  1606. Decal83.Face = Enum.NormalId.Top
  1607. Decal84.Parent = Part79
  1608. Decal84.Texture = "http://www.roblox.com/asset/?id=27017316"
  1609. Decal84.Face = Enum.NormalId.Right
  1610. Part85.Parent = Model0
  1611. Part85.BrickColor = BrickColor.new("Camo")
  1612. Part85.Transparency = 1
  1613. Part85.Anchored = true
  1614. Part85.FormFactor = Enum.FormFactor.Custom
  1615. Part85.Size = Vector3.new(13, 21, 0.400000036)
  1616. Part85.CFrame = CFrame.new(51.7999268, 29.5000134, -90.5999908, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1617. Part85.TopSurface = Enum.SurfaceType.Smooth
  1618. Part85.Color = Color3.new(0.227451, 0.490196, 0.0823529)
  1619. Part85.Position = Vector3.new(51.7999268, 29.5000134, -90.5999908)
  1620. Part85.Color = Color3.new(0.227451, 0.490196, 0.0823529)
  1621. Decal86.Parent = Part85
  1622. Decal86.Texture = "http://www.roblox.com/asset/?id=50449800"
  1623. Decal87.Parent = Part85
  1624. Decal87.Texture = "http://www.roblox.com/asset/?id=50449800"
  1625. Decal87.Face = Enum.NormalId.Back
  1626. Decal88.Parent = Part85
  1627. Decal88.Texture = "http://www.roblox.com/asset/?id=27017316"
  1628. Decal88.Face = Enum.NormalId.Left
  1629. Decal89.Parent = Part85
  1630. Decal89.Texture = "http://www.roblox.com/asset/?id=27017316"
  1631. Decal89.Face = Enum.NormalId.Top
  1632. Decal90.Parent = Part85
  1633. Decal90.Texture = "http://www.roblox.com/asset/?id=27017316"
  1634. Decal90.Face = Enum.NormalId.Right
  1635. Part91.Parent = Model0
  1636. Part91.BrickColor = BrickColor.new("Camo")
  1637. Part91.Transparency = 1
  1638. Part91.Anchored = true
  1639. Part91.FormFactor = Enum.FormFactor.Custom
  1640. Part91.Size = Vector3.new(3.40000057, 12.6000004, 0.400000036)
  1641. Part91.CFrame = CFrame.new(7.60009766, 25.300005, -90.5999908, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1642. Part91.TopSurface = Enum.SurfaceType.Smooth
  1643. Part91.Color = Color3.new(0.227451, 0.490196, 0.0823529)
  1644. Part91.Position = Vector3.new(7.60009766, 25.300005, -90.5999908)
  1645. Part91.Color = Color3.new(0.227451, 0.490196, 0.0823529)
  1646. Decal92.Parent = Part91
  1647. Decal92.Texture = "http://www.roblox.com/asset/?id=50449800"
  1648. Decal93.Parent = Part91
  1649. Decal93.Texture = "http://www.roblox.com/asset/?id=50449800"
  1650. Decal93.Face = Enum.NormalId.Back
  1651. Decal94.Parent = Part91
  1652. Decal94.Texture = "http://www.roblox.com/asset/?id=27017316"
  1653. Decal94.Face = Enum.NormalId.Left
  1654. Decal95.Parent = Part91
  1655. Decal95.Texture = "http://www.roblox.com/asset/?id=27017316"
  1656. Decal95.Face = Enum.NormalId.Top
  1657. Decal96.Parent = Part91
  1658. Decal96.Texture = "http://www.roblox.com/asset/?id=27017316"
  1659. Decal96.Face = Enum.NormalId.Right
  1660. Script97.Parent = mas
  1661. table.insert(cors,sandbox(Script97,function()
  1662. local FF = script.Parent
  1663.  
  1664. local function steppedOn(part)
  1665. local parent = part.Parent
  1666. if game.Players:GetPlayerFromCharacter(parent) then
  1667. parent.Humanoid.Sit = true
  1668. end
  1669. end
  1670.  
  1671. FF.Touched:connect(steppedOn)
  1672. end))
  1673. Script98.Name = "Conveyor Script"
  1674. Script98.Parent = mas
  1675. table.insert(cors,sandbox(Script98,function()
  1676. -- I swordfish690 thank Kingline90 for this script
  1677.  
  1678. while true do
  1679. script.Parent.Velocity = script.Parent.CFrame.lookVector *script.Parent.Speed.Value
  1680. wait(1)
  1681. end
  1682. end))
  1683. Part99.Parent = Model0
  1684. Part99.BrickColor = BrickColor.new("Camo")
  1685. Part99.Transparency = 1
  1686. Part99.Anchored = true
  1687. Part99.FormFactor = Enum.FormFactor.Custom
  1688. Part99.Size = Vector3.new(13.8000002, 7.39999962, 0.400000036)
  1689. Part99.CFrame = CFrame.new(12.7999268, 35.3000298, -90.5999908, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1690. Part99.TopSurface = Enum.SurfaceType.Smooth
  1691. Part99.Color = Color3.new(0.227451, 0.490196, 0.0823529)
  1692. Part99.Position = Vector3.new(12.7999268, 35.3000298, -90.5999908)
  1693. Part99.Color = Color3.new(0.227451, 0.490196, 0.0823529)
  1694. Decal100.Parent = Part99
  1695. Decal100.Texture = "http://www.roblox.com/asset/?id=50449800"
  1696. Decal100.Face = Enum.NormalId.Back
  1697. Decal101.Parent = Part99
  1698. Decal101.Texture = "http://www.roblox.com/asset/?id=27017316"
  1699. Decal101.Face = Enum.NormalId.Left
  1700. Decal102.Parent = Part99
  1701. Decal102.Texture = "http://www.roblox.com/asset/?id=27017316"
  1702. Decal102.Face = Enum.NormalId.Top
  1703. Decal103.Parent = Part99
  1704. Decal103.Texture = "http://www.roblox.com/asset/?id=27017316"
  1705. Decal103.Face = Enum.NormalId.Right
  1706. Decal104.Parent = Part99
  1707. Decal104.Texture = "http://www.roblox.com/asset/?id=190845890"
  1708. Part105.Parent = Model0
  1709. Part105.BrickColor = BrickColor.new("Medium blue")
  1710. Part105.Anchored = true
  1711. Part105.FormFactor = Enum.FormFactor.Symmetric
  1712. Part105.Size = Vector3.new(52.4000015, 19.6000004, 1)
  1713. Part105.CFrame = CFrame.new(32.0999718, 49.8000031, -90.3000031, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1714. Part105.BottomSurface = Enum.SurfaceType.Smooth
  1715. Part105.TopSurface = Enum.SurfaceType.Smooth
  1716. Part105.Color = Color3.new(0.431373, 0.6, 0.792157)
  1717. Part105.Position = Vector3.new(32.0999718, 49.8000031, -90.3000031)
  1718. Part105.Color = Color3.new(0.431373, 0.6, 0.792157)
  1719. Part106.Parent = Model0
  1720. Part106.BrickColor = BrickColor.new("Camo")
  1721. Part106.Transparency = 1
  1722. Part106.Anchored = true
  1723. Part106.FormFactor = Enum.FormFactor.Custom
  1724. Part106.Size = Vector3.new(13.8000002, 20, 0.400000036)
  1725. Part106.CFrame = CFrame.new(26.5999756, 29.0000134, -90.5999908, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1726. Part106.TopSurface = Enum.SurfaceType.Smooth
  1727. Part106.Color = Color3.new(0.227451, 0.490196, 0.0823529)
  1728. Part106.Position = Vector3.new(26.5999756, 29.0000134, -90.5999908)
  1729. Part106.Color = Color3.new(0.227451, 0.490196, 0.0823529)
  1730. Decal107.Parent = Part106
  1731. Decal107.Texture = "http://www.roblox.com/asset/?id=50449800"
  1732. Decal108.Parent = Part106
  1733. Decal108.Texture = "http://www.roblox.com/asset/?id=50449800"
  1734. Decal108.Face = Enum.NormalId.Back
  1735. Decal109.Parent = Part106
  1736. Decal109.Texture = "http://www.roblox.com/asset/?id=27017316"
  1737. Decal109.Face = Enum.NormalId.Left
  1738. Decal110.Parent = Part106
  1739. Decal110.Texture = "http://www.roblox.com/asset/?id=27017316"
  1740. Decal110.Face = Enum.NormalId.Top
  1741. Decal111.Parent = Part106
  1742. Decal111.Texture = "http://www.roblox.com/asset/?id=27017316"
  1743. Decal111.Face = Enum.NormalId.Right
  1744. Part112.Parent = Model0
  1745. Part112.BrickColor = BrickColor.new("Camo")
  1746. Part112.Anchored = true
  1747. Part112.FormFactor = Enum.FormFactor.Symmetric
  1748. Part112.Size = Vector3.new(13.8000002, 5, 13)
  1749. Part112.CFrame = CFrame.new(-14.8000488, 16.4998989, -96.8999786, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1750. Part112.BottomSurface = Enum.SurfaceType.Smooth
  1751. Part112.TopSurface = Enum.SurfaceType.Smooth
  1752. Part112.Color = Color3.new(0.227451, 0.490196, 0.0823529)
  1753. Part112.Position = Vector3.new(-14.8000488, 16.4998989, -96.8999786)
  1754. Part112.Color = Color3.new(0.227451, 0.490196, 0.0823529)
  1755. PointLight113.Parent = Part112
  1756. PointLight113.Color = Color3.new(0.333333, 1, 0)
  1757. PointLight113.Range = 20
  1758. PointLight113.Color = Color3.new(0.333333, 1, 0)
  1759. Part114.Parent = Model0
  1760. Part114.BrickColor = BrickColor.new("Camo")
  1761. Part114.Transparency = 1
  1762. Part114.Anchored = true
  1763. Part114.FormFactor = Enum.FormFactor.Custom
  1764. Part114.Size = Vector3.new(13.8000002, 20, 0.400000036)
  1765. Part114.CFrame = CFrame.new(-14.8000488, 29.0000134, -103.200027, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1766. Part114.TopSurface = Enum.SurfaceType.Smooth
  1767. Part114.Color = Color3.new(0.227451, 0.490196, 0.0823529)
  1768. Part114.Position = Vector3.new(-14.8000488, 29.0000134, -103.200027)
  1769. Part114.Color = Color3.new(0.227451, 0.490196, 0.0823529)
  1770. Decal115.Parent = Part114
  1771. Decal115.Texture = "http://www.roblox.com/asset/?id=50449800"
  1772. Decal116.Parent = Part114
  1773. Decal116.Texture = "http://www.roblox.com/asset/?id=50449800"
  1774. Decal116.Face = Enum.NormalId.Back
  1775. Decal117.Parent = Part114
  1776. Decal117.Texture = "http://www.roblox.com/asset/?id=27017316"
  1777. Decal117.Face = Enum.NormalId.Left
  1778. Decal118.Parent = Part114
  1779. Decal118.Texture = "http://www.roblox.com/asset/?id=27017316"
  1780. Decal118.Face = Enum.NormalId.Top
  1781. Decal119.Parent = Part114
  1782. Decal119.Texture = "http://www.roblox.com/asset/?id=27017316"
  1783. Decal119.Face = Enum.NormalId.Right
  1784. Part120.Parent = Model0
  1785. Part120.BrickColor = BrickColor.new("Lime green")
  1786. Part120.Anchored = true
  1787. Part120.FormFactor = Enum.FormFactor.Symmetric
  1788. Part120.Size = Vector3.new(1.88000011, 1.60000038, 26.7999992)
  1789. Part120.CFrame = CFrame.new(-5.96008301, 3.8000145, -90.0000153, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1790. Part120.BottomSurface = Enum.SurfaceType.Smooth
  1791. Part120.TopSurface = Enum.SurfaceType.Smooth
  1792. Part120.Color = Color3.new(0, 1, 0)
  1793. Part120.Position = Vector3.new(-5.96008301, 3.8000145, -90.0000153)
  1794. Part120.Color = Color3.new(0, 1, 0)
  1795. PointLight121.Parent = Part120
  1796. PointLight121.Color = Color3.new(0.333333, 1, 0)
  1797. PointLight121.Range = 20
  1798. PointLight121.Color = Color3.new(0.333333, 1, 0)
  1799. Model122.Parent = Model0
  1800. Part123.Parent = Model122
  1801. Part123.Material = Enum.Material.Fabric
  1802. Part123.BrickColor = BrickColor.new("Dark orange")
  1803. Part123.Rotation = Vector3.new(0, -90, 0)
  1804. Part123.Anchored = true
  1805. Part123.CanCollide = false
  1806. Part123.FormFactor = Enum.FormFactor.Symmetric
  1807. Part123.Size = Vector3.new(1, 2.80000019, 2)
  1808. Part123.CFrame = CFrame.new(-8.09997559, 37.8003578, -95.3000031, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1809. Part123.BottomSurface = Enum.SurfaceType.Smooth
  1810. Part123.TopSurface = Enum.SurfaceType.Smooth
  1811. Part123.Color = Color3.new(0.627451, 0.372549, 0.207843)
  1812. Part123.Position = Vector3.new(-8.09997559, 37.8003578, -95.3000031)
  1813. Part123.Orientation = Vector3.new(0, -90, 0)
  1814. Part123.Color = Color3.new(0.627451, 0.372549, 0.207843)
  1815. Model124.Parent = Model122
  1816. Part125.Parent = Model124
  1817. Part125.Material = Enum.Material.Fabric
  1818. Part125.BrickColor = BrickColor.new("Lime green")
  1819. Part125.Anchored = true
  1820. Part125.FormFactor = Enum.FormFactor.Symmetric
  1821. Part125.Shape = Enum.PartType.Ball
  1822. Part125.Size = Vector3.new(5, 5, 5)
  1823. Part125.CFrame = CFrame.new(-8.09997559, 31.4998074, -96.8000031, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1824. Part125.BottomSurface = Enum.SurfaceType.Smooth
  1825. Part125.TopSurface = Enum.SurfaceType.Smooth
  1826. Part125.Color = Color3.new(0, 1, 0)
  1827. Part125.Position = Vector3.new(-8.09997559, 31.4998074, -96.8000031)
  1828. Part125.Color = Color3.new(0, 1, 0)
  1829. PointLight126.Parent = Part125
  1830. PointLight126.Color = Color3.new(0.333333, 1, 0)
  1831. PointLight126.Range = 20
  1832. PointLight126.Color = Color3.new(0.333333, 1, 0)
  1833. Part127.Parent = Model124
  1834. Part127.Material = Enum.Material.Fabric
  1835. Part127.BrickColor = BrickColor.new("Bright green")
  1836. Part127.Rotation = Vector3.new(0, 0, 90)
  1837. Part127.Anchored = true
  1838. Part127.FormFactor = Enum.FormFactor.Symmetric
  1839. Part127.Shape = Enum.PartType.Cylinder
  1840. Part127.Size = Vector3.new(5, 5, 5)
  1841. Part127.CFrame = CFrame.new(-8.09997559, 28.8999023, -96.8000031, 0, -0.99999994, 0, 0.99999994, 0, 0, 0, 0, 1)
  1842. Part127.BottomSurface = Enum.SurfaceType.Smooth
  1843. Part127.TopSurface = Enum.SurfaceType.Smooth
  1844. Part127.Color = Color3.new(0.294118, 0.592157, 0.294118)
  1845. Part127.Position = Vector3.new(-8.09997559, 28.8999023, -96.8000031)
  1846. Part127.Orientation = Vector3.new(0, 0, 90)
  1847. Part127.Color = Color3.new(0.294118, 0.592157, 0.294118)
  1848. Part128.Parent = Model124
  1849. Part128.Material = Enum.Material.Fabric
  1850. Part128.BrickColor = BrickColor.new("Dark orange")
  1851. Part128.Anchored = true
  1852. Part128.FormFactor = Enum.FormFactor.Symmetric
  1853. Part128.Size = Vector3.new(2, 1, 2)
  1854. Part128.CFrame = CFrame.new(-8.09997559, 35.3002014, -96.8000031, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1855. Part128.LeftSurface = Enum.SurfaceType.Hinge
  1856. Part128.RightSurface = Enum.SurfaceType.Hinge
  1857. Part128.TopSurface = Enum.SurfaceType.Smooth
  1858. Part128.Color = Color3.new(0.627451, 0.372549, 0.207843)
  1859. Part128.Position = Vector3.new(-8.09997559, 35.3002014, -96.8000031)
  1860. Part128.Color = Color3.new(0.627451, 0.372549, 0.207843)
  1861. Part129.Parent = Model124
  1862. Part129.Material = Enum.Material.Fabric
  1863. Part129.BrickColor = BrickColor.new("Bright green")
  1864. Part129.Rotation = Vector3.new(0, 0, 90)
  1865. Part129.Anchored = true
  1866. Part129.FormFactor = Enum.FormFactor.Symmetric
  1867. Part129.Shape = Enum.PartType.Cylinder
  1868. Part129.Size = Vector3.new(5, 5, 5)
  1869. Part129.CFrame = CFrame.new(-8.09997559, 26.1000137, -96.8000031, 0, -0.99999994, 0, 0.99999994, 0, 0, 0, 0, 1)
  1870. Part129.BottomSurface = Enum.SurfaceType.Smooth
  1871. Part129.TopSurface = Enum.SurfaceType.Smooth
  1872. Part129.Color = Color3.new(0.294118, 0.592157, 0.294118)
  1873. Part129.Position = Vector3.new(-8.09997559, 26.1000137, -96.8000031)
  1874. Part129.Orientation = Vector3.new(0, 0, 90)
  1875. Part129.Color = Color3.new(0.294118, 0.592157, 0.294118)
  1876. Part130.Parent = Model124
  1877. Part130.Material = Enum.Material.Fabric
  1878. Part130.BrickColor = BrickColor.new("Lime green")
  1879. Part130.Anchored = true
  1880. Part130.FormFactor = Enum.FormFactor.Symmetric
  1881. Part130.Shape = Enum.PartType.Ball
  1882. Part130.Size = Vector3.new(5, 5, 5)
  1883. Part130.CFrame = CFrame.new(-8.09997559, 23.5000687, -96.8000031, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1884. Part130.BottomSurface = Enum.SurfaceType.Smooth
  1885. Part130.TopSurface = Enum.SurfaceType.Smooth
  1886. Part130.Color = Color3.new(0, 1, 0)
  1887. Part130.Position = Vector3.new(-8.09997559, 23.5000687, -96.8000031)
  1888. Part130.Color = Color3.new(0, 1, 0)
  1889. Part131.Parent = Model124
  1890. Part131.Material = Enum.Material.Fabric
  1891. Part131.BrickColor = BrickColor.new("Dark orange")
  1892. Part131.Anchored = true
  1893. Part131.FormFactor = Enum.FormFactor.Symmetric
  1894. Part131.Size = Vector3.new(2, 2.4000001, 2)
  1895. Part131.CFrame = CFrame.new(-8.09997559, 33.6002426, -96.8000031, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1896. Part131.TopSurface = Enum.SurfaceType.Smooth
  1897. Part131.Color = Color3.new(0.627451, 0.372549, 0.207843)
  1898. Part131.Position = Vector3.new(-8.09997559, 33.6002426, -96.8000031)
  1899. Part131.Color = Color3.new(0.627451, 0.372549, 0.207843)
  1900. Script132.Name = "qPerfectionWeld"
  1901. Script132.Parent = Model124
  1902. table.insert(cors,sandbox(Script132,function()
  1903. -- Created by Quenty (@Quenty, follow me on twitter).
  1904. -- Should work with only ONE copy, seamlessly with weapons, trains, et cetera.
  1905. -- Parts should be ANCHORED before use. It will, however, store relatives values and so when tools are reparented, it'll fix them.
  1906.  
  1907. --[[ INSTRUCTIONS
  1908. - Place in the model
  1909. - Make sure model is anchored
  1910. - That's it. It will weld the model and all children.
  1911.  
  1912. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  1913. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  1914. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  1915. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  1916. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  1917. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  1918. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  1919. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  1920.  
  1921. 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.
  1922. ]]
  1923.  
  1924. --[[ DOCUMENTATION
  1925. - 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.
  1926. - Will work in PBS servers
  1927. - Will work as long as it starts out with the part anchored
  1928. - Stores the relative CFrame as a CFrame value
  1929. - Takes careful measure to reduce lag by not having a joint set off or affected by the parts offset from origin
  1930. - Utilizes a recursive algorith to find all parts in the model
  1931. - Will reweld on script reparent if the script is initially parented to a tool.
  1932. - Welds as fast as possible
  1933. ]]
  1934.  
  1935. -- qPerfectionWeld.lua
  1936. -- Created 10/6/2014
  1937. -- Author: Quenty
  1938. -- Version 1.0.3
  1939.  
  1940. -- Updated 10/14/2014 - Updated to 1.0.1
  1941. --- Bug fix with existing ROBLOX welds ? Repro by asimo3089
  1942.  
  1943. -- Updated 10/14/2014 - Updated to 1.0.2
  1944. --- Fixed bug fix.
  1945.  
  1946. -- Updated 10/14/2014 - Updated to 1.0.3
  1947. --- Now handles joints semi-acceptably. May be rather hacky with some joints. :/
  1948.  
  1949. 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).
  1950.  
  1951.  
  1952. local function CallOnChildren(Instance, FunctionToCall)
  1953. -- Calls a function on each of the children of a certain object, using recursion.
  1954.  
  1955. FunctionToCall(Instance)
  1956.  
  1957. for _, Child in next, Instance:GetChildren() do
  1958. CallOnChildren(Child, FunctionToCall)
  1959. end
  1960. end
  1961.  
  1962. local function GetNearestParent(Instance, ClassName)
  1963. -- Returns the nearest parent of a certain class, or returns nil
  1964.  
  1965. local Ancestor = Instance
  1966. repeat
  1967. Ancestor = Ancestor.Parent
  1968. if Ancestor == nil then
  1969. return nil
  1970. end
  1971. until Ancestor:IsA(ClassName)
  1972.  
  1973. return Ancestor
  1974. end
  1975.  
  1976. local function GetBricks(StartInstance)
  1977. local List = {}
  1978.  
  1979. -- if StartInstance:IsA("BasePart") then
  1980. -- List[#List+1] = StartInstance
  1981. -- end
  1982.  
  1983. CallOnChildren(StartInstance, function(Item)
  1984. if Item:IsA("BasePart") then
  1985. List[#List+1] = Item;
  1986. end
  1987. end)
  1988.  
  1989. return List
  1990. end
  1991.  
  1992. local function Modify(Instance, Values)
  1993. -- Modifies an Instance by using a table.
  1994.  
  1995. assert(type(Values) == "table", "Values is not a table");
  1996.  
  1997. for Index, Value in next, Values do
  1998. if type(Index) == "number" then
  1999. Value.Parent = Instance
  2000. else
  2001. Instance[Index] = Value
  2002. end
  2003. end
  2004. return Instance
  2005. end
  2006.  
  2007. local function Make(ClassType, Properties)
  2008. -- Using a syntax hack to create a nice way to Make new items.
  2009.  
  2010. return Modify(Instance.new(ClassType), Properties)
  2011. end
  2012.  
  2013. local Surfaces = {"TopSurface", "BottomSurface", "LeftSurface", "RightSurface", "FrontSurface", "BackSurface"}
  2014. local HingSurfaces = {"Hinge", "Motor", "SteppingMotor"}
  2015.  
  2016. local function HasWheelJoint(Part)
  2017. for _, SurfaceName in pairs(Surfaces) do
  2018. for _, HingSurfaceName in pairs(HingSurfaces) do
  2019. if Part[SurfaceName].Name == HingSurfaceName then
  2020. return true
  2021. end
  2022. end
  2023. end
  2024.  
  2025. return false
  2026. end
  2027.  
  2028. local function ShouldBreakJoints(Part)
  2029. --- We do not want to break joints of wheels/hinges. This takes the utmost care to not do this. There are
  2030. -- definitely some edge cases.
  2031.  
  2032. if NEVER_BREAK_JOINTS then
  2033. return false
  2034. end
  2035.  
  2036. if HasWheelJoint(Part) then
  2037. return false
  2038. end
  2039.  
  2040. local Connected = Part:GetConnectedParts()
  2041.  
  2042. if #Connected == 1 then
  2043. return false
  2044. end
  2045.  
  2046. for _, Item in pairs(Connected) do
  2047. if HasWheelJoint(Item) then
  2048. return false
  2049. elseif not Item:IsDescendantOf(script.Parent) then
  2050. return false
  2051. end
  2052. end
  2053.  
  2054. return true
  2055. end
  2056.  
  2057. local function WeldTogether(Part0, Part1, JointType, WeldParent)
  2058. --- Weld's 2 parts together
  2059. -- @param Part0 The first part
  2060. -- @param Part1 The second part (Dependent part most of the time).
  2061. -- @param [JointType] The type of joint. Defaults to weld.
  2062. -- @param [WeldParent] Parent of the weld, Defaults to Part0 (so GC is better).
  2063. -- @return The weld created.
  2064.  
  2065. JointType = JointType or "Weld"
  2066. local RelativeValue = Part1:FindFirstChild("qRelativeCFrameWeldValue")
  2067.  
  2068. local NewWeld = Part1:FindFirstChild("qCFrameWeldThingy") or Instance.new(JointType)
  2069. Modify(NewWeld, {
  2070. Name = "qCFrameWeldThingy";
  2071. Part0 = Part0;
  2072. Part1 = Part1;
  2073. C0 = CFrame.new();--Part0.CFrame:inverse();
  2074. C1 = RelativeValue and RelativeValue.Value or Part1.CFrame:toObjectSpace(Part0.CFrame); --Part1.CFrame:inverse() * Part0.CFrame;-- Part1.CFrame:inverse();
  2075. Parent = Part1;
  2076. })
  2077.  
  2078. if not RelativeValue then
  2079. RelativeValue = Make("CFrameValue", {
  2080. Parent = Part1;
  2081. Name = "qRelativeCFrameWeldValue";
  2082. Archivable = true;
  2083. Value = NewWeld.C1;
  2084. })
  2085. end
  2086.  
  2087. return NewWeld
  2088. end
  2089.  
  2090. local function WeldParts(Parts, MainPart, JointType, DoNotUnanchor)
  2091. -- @param Parts The Parts to weld. Should be anchored to prevent really horrible results.
  2092. -- @param MainPart The part to weld the model to (can be in the model).
  2093. -- @param [JointType] The type of joint. Defaults to weld.
  2094. -- @parm DoNotUnanchor Boolean, if true, will not unachor the model after cmopletion.
  2095.  
  2096. for _, Part in pairs(Parts) do
  2097. if ShouldBreakJoints(Part) then
  2098. Part:BreakJoints()
  2099. end
  2100. end
  2101.  
  2102. for _, Part in pairs(Parts) do
  2103. if Part ~= MainPart then
  2104. WeldTogether(MainPart, Part, JointType, MainPart)
  2105. end
  2106. end
  2107.  
  2108. if not DoNotUnanchor then
  2109. for _, Part in pairs(Parts) do
  2110. Part.Anchored = false
  2111. end
  2112. MainPart.Anchored = false
  2113. end
  2114. end
  2115.  
  2116. local function PerfectionWeld()
  2117. local Tool = GetNearestParent(script, "Tool")
  2118.  
  2119. local Parts = GetBricks(script.Parent)
  2120. 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]
  2121.  
  2122. if PrimaryPart then
  2123. WeldParts(Parts, PrimaryPart, "Weld", false)
  2124. else
  2125. warn("qWeld - Unable to weld part")
  2126. end
  2127.  
  2128. return Tool
  2129. end
  2130.  
  2131. local Tool = PerfectionWeld()
  2132.  
  2133.  
  2134. if Tool and script.ClassName == "Script" then
  2135. --- Don't bother with local scripts
  2136.  
  2137. script.Parent.AncestryChanged:connect(function()
  2138. PerfectionWeld()
  2139. end)
  2140. end
  2141.  
  2142. -- Created by Quenty (@Quenty, follow me on twitter).
  2143.  
  2144. end))
  2145. Model133.Parent = Model122
  2146. Part134.Parent = Model133
  2147. Part134.Material = Enum.Material.Fabric
  2148. Part134.BrickColor = BrickColor.new("Dark orange")
  2149. Part134.Rotation = Vector3.new(0, -90, 0)
  2150. Part134.Anchored = true
  2151. Part134.FormFactor = Enum.FormFactor.Symmetric
  2152. Part134.Size = Vector3.new(2, 2.5999999, 1)
  2153. Part134.CFrame = CFrame.new(-6.60009766, 36.1002007, -96.8000031, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  2154. Part134.BottomSurface = Enum.SurfaceType.Smooth
  2155. Part134.TopSurface = Enum.SurfaceType.Smooth
  2156. Part134.Color = Color3.new(0.627451, 0.372549, 0.207843)
  2157. Part134.Position = Vector3.new(-6.60009766, 36.1002007, -96.8000031)
  2158. Part134.Orientation = Vector3.new(0, -90, 0)
  2159. Part134.Color = Color3.new(0.627451, 0.372549, 0.207843)
  2160. Part135.Parent = Model133
  2161. Part135.Material = Enum.Material.Fabric
  2162. Part135.BrickColor = BrickColor.new("Dark orange")
  2163. Part135.Rotation = Vector3.new(0, -90, 0)
  2164. Part135.Anchored = true
  2165. Part135.FormFactor = Enum.FormFactor.Symmetric
  2166. Part135.Size = Vector3.new(2, 1, 2)
  2167. Part135.CFrame = CFrame.new(-8.09997559, 36.9003601, -96.8000031, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  2168. Part135.LeftSurface = Enum.SurfaceType.Hinge
  2169. Part135.RightSurface = Enum.SurfaceType.Hinge
  2170. Part135.TopSurface = Enum.SurfaceType.Smooth
  2171. Part135.Color = Color3.new(0.627451, 0.372549, 0.207843)
  2172. Part135.Position = Vector3.new(-8.09997559, 36.9003601, -96.8000031)
  2173. Part135.Orientation = Vector3.new(0, -90, 0)
  2174. Part135.Color = Color3.new(0.627451, 0.372549, 0.207843)
  2175. Part136.Parent = Model133
  2176. Part136.Material = Enum.Material.Fabric
  2177. Part136.BrickColor = BrickColor.new("Dark orange")
  2178. Part136.Rotation = Vector3.new(0, -90, 0)
  2179. Part136.Anchored = true
  2180. Part136.FormFactor = Enum.FormFactor.Symmetric
  2181. Part136.Size = Vector3.new(2, 2.5999999, 1)
  2182. Part136.CFrame = CFrame.new(-9.60009766, 36.1002007, -96.8000031, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  2183. Part136.BottomSurface = Enum.SurfaceType.Smooth
  2184. Part136.TopSurface = Enum.SurfaceType.Smooth
  2185. Part136.Color = Color3.new(0.627451, 0.372549, 0.207843)
  2186. Part136.Position = Vector3.new(-9.60009766, 36.1002007, -96.8000031)
  2187. Part136.Orientation = Vector3.new(0, -90, 0)
  2188. Part136.Color = Color3.new(0.627451, 0.372549, 0.207843)
  2189. Script137.Name = "qPerfectionWeld"
  2190. Script137.Parent = Model133
  2191. table.insert(cors,sandbox(Script137,function()
  2192. -- Created by Quenty (@Quenty, follow me on twitter).
  2193. -- Should work with only ONE copy, seamlessly with weapons, trains, et cetera.
  2194. -- Parts should be ANCHORED before use. It will, however, store relatives values and so when tools are reparented, it'll fix them.
  2195.  
  2196. --[[ INSTRUCTIONS
  2197. - Place in the model
  2198. - Make sure model is anchored
  2199. - That's it. It will weld the model and all children.
  2200.  
  2201. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  2202. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  2203. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  2204. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  2205. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  2206. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  2207. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  2208. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  2209.  
  2210. 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.
  2211. ]]
  2212.  
  2213. --[[ DOCUMENTATION
  2214. - 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.
  2215. - Will work in PBS servers
  2216. - Will work as long as it starts out with the part anchored
  2217. - Stores the relative CFrame as a CFrame value
  2218. - Takes careful measure to reduce lag by not having a joint set off or affected by the parts offset from origin
  2219. - Utilizes a recursive algorith to find all parts in the model
  2220. - Will reweld on script reparent if the script is initially parented to a tool.
  2221. - Welds as fast as possible
  2222. ]]
  2223.  
  2224. -- qPerfectionWeld.lua
  2225. -- Created 10/6/2014
  2226. -- Author: Quenty
  2227. -- Version 1.0.3
  2228.  
  2229. -- Updated 10/14/2014 - Updated to 1.0.1
  2230. --- Bug fix with existing ROBLOX welds ? Repro by asimo3089
  2231.  
  2232. -- Updated 10/14/2014 - Updated to 1.0.2
  2233. --- Fixed bug fix.
  2234.  
  2235. -- Updated 10/14/2014 - Updated to 1.0.3
  2236. --- Now handles joints semi-acceptably. May be rather hacky with some joints. :/
  2237.  
  2238. 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).
  2239.  
  2240.  
  2241. local function CallOnChildren(Instance, FunctionToCall)
  2242. -- Calls a function on each of the children of a certain object, using recursion.
  2243.  
  2244. FunctionToCall(Instance)
  2245.  
  2246. for _, Child in next, Instance:GetChildren() do
  2247. CallOnChildren(Child, FunctionToCall)
  2248. end
  2249. end
  2250.  
  2251. local function GetNearestParent(Instance, ClassName)
  2252. -- Returns the nearest parent of a certain class, or returns nil
  2253.  
  2254. local Ancestor = Instance
  2255. repeat
  2256. Ancestor = Ancestor.Parent
  2257. if Ancestor == nil then
  2258. return nil
  2259. end
  2260. until Ancestor:IsA(ClassName)
  2261.  
  2262. return Ancestor
  2263. end
  2264.  
  2265. local function GetBricks(StartInstance)
  2266. local List = {}
  2267.  
  2268. -- if StartInstance:IsA("BasePart") then
  2269. -- List[#List+1] = StartInstance
  2270. -- end
  2271.  
  2272. CallOnChildren(StartInstance, function(Item)
  2273. if Item:IsA("BasePart") then
  2274. List[#List+1] = Item;
  2275. end
  2276. end)
  2277.  
  2278. return List
  2279. end
  2280.  
  2281. local function Modify(Instance, Values)
  2282. -- Modifies an Instance by using a table.
  2283.  
  2284. assert(type(Values) == "table", "Values is not a table");
  2285.  
  2286. for Index, Value in next, Values do
  2287. if type(Index) == "number" then
  2288. Value.Parent = Instance
  2289. else
  2290. Instance[Index] = Value
  2291. end
  2292. end
  2293. return Instance
  2294. end
  2295.  
  2296. local function Make(ClassType, Properties)
  2297. -- Using a syntax hack to create a nice way to Make new items.
  2298.  
  2299. return Modify(Instance.new(ClassType), Properties)
  2300. end
  2301.  
  2302. local Surfaces = {"TopSurface", "BottomSurface", "LeftSurface", "RightSurface", "FrontSurface", "BackSurface"}
  2303. local HingSurfaces = {"Hinge", "Motor", "SteppingMotor"}
  2304.  
  2305. local function HasWheelJoint(Part)
  2306. for _, SurfaceName in pairs(Surfaces) do
  2307. for _, HingSurfaceName in pairs(HingSurfaces) do
  2308. if Part[SurfaceName].Name == HingSurfaceName then
  2309. return true
  2310. end
  2311. end
  2312. end
  2313.  
  2314. return false
  2315. end
  2316.  
  2317. local function ShouldBreakJoints(Part)
  2318. --- We do not want to break joints of wheels/hinges. This takes the utmost care to not do this. There are
  2319. -- definitely some edge cases.
  2320.  
  2321. if NEVER_BREAK_JOINTS then
  2322. return false
  2323. end
  2324.  
  2325. if HasWheelJoint(Part) then
  2326. return false
  2327. end
  2328.  
  2329. local Connected = Part:GetConnectedParts()
  2330.  
  2331. if #Connected == 1 then
  2332. return false
  2333. end
  2334.  
  2335. for _, Item in pairs(Connected) do
  2336. if HasWheelJoint(Item) then
  2337. return false
  2338. elseif not Item:IsDescendantOf(script.Parent) then
  2339. return false
  2340. end
  2341. end
  2342.  
  2343. return true
  2344. end
  2345.  
  2346. local function WeldTogether(Part0, Part1, JointType, WeldParent)
  2347. --- Weld's 2 parts together
  2348. -- @param Part0 The first part
  2349. -- @param Part1 The second part (Dependent part most of the time).
  2350. -- @param [JointType] The type of joint. Defaults to weld.
  2351. -- @param [WeldParent] Parent of the weld, Defaults to Part0 (so GC is better).
  2352. -- @return The weld created.
  2353.  
  2354. JointType = JointType or "Weld"
  2355. local RelativeValue = Part1:FindFirstChild("qRelativeCFrameWeldValue")
  2356.  
  2357. local NewWeld = Part1:FindFirstChild("qCFrameWeldThingy") or Instance.new(JointType)
  2358. Modify(NewWeld, {
  2359. Name = "qCFrameWeldThingy";
  2360. Part0 = Part0;
  2361. Part1 = Part1;
  2362. C0 = CFrame.new();--Part0.CFrame:inverse();
  2363. C1 = RelativeValue and RelativeValue.Value or Part1.CFrame:toObjectSpace(Part0.CFrame); --Part1.CFrame:inverse() * Part0.CFrame;-- Part1.CFrame:inverse();
  2364. Parent = Part1;
  2365. })
  2366.  
  2367. if not RelativeValue then
  2368. RelativeValue = Make("CFrameValue", {
  2369. Parent = Part1;
  2370. Name = "qRelativeCFrameWeldValue";
  2371. Archivable = true;
  2372. Value = NewWeld.C1;
  2373. })
  2374. end
  2375.  
  2376. return NewWeld
  2377. end
  2378.  
  2379. local function WeldParts(Parts, MainPart, JointType, DoNotUnanchor)
  2380. -- @param Parts The Parts to weld. Should be anchored to prevent really horrible results.
  2381. -- @param MainPart The part to weld the model to (can be in the model).
  2382. -- @param [JointType] The type of joint. Defaults to weld.
  2383. -- @parm DoNotUnanchor Boolean, if true, will not unachor the model after cmopletion.
  2384.  
  2385. for _, Part in pairs(Parts) do
  2386. if ShouldBreakJoints(Part) then
  2387. Part:BreakJoints()
  2388. end
  2389. end
  2390.  
  2391. for _, Part in pairs(Parts) do
  2392. if Part ~= MainPart then
  2393. WeldTogether(MainPart, Part, JointType, MainPart)
  2394. end
  2395. end
  2396.  
  2397. if not DoNotUnanchor then
  2398. for _, Part in pairs(Parts) do
  2399. Part.Anchored = false
  2400. end
  2401. MainPart.Anchored = false
  2402. end
  2403. end
  2404.  
  2405. local function PerfectionWeld()
  2406. local Tool = GetNearestParent(script, "Tool")
  2407.  
  2408. local Parts = GetBricks(script.Parent)
  2409. 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]
  2410.  
  2411. if PrimaryPart then
  2412. WeldParts(Parts, PrimaryPart, "Weld", false)
  2413. else
  2414. warn("qWeld - Unable to weld part")
  2415. end
  2416.  
  2417. return Tool
  2418. end
  2419.  
  2420. local Tool = PerfectionWeld()
  2421.  
  2422.  
  2423. if Tool and script.ClassName == "Script" then
  2424. --- Don't bother with local scripts
  2425.  
  2426. script.Parent.AncestryChanged:connect(function()
  2427. PerfectionWeld()
  2428. end)
  2429. end
  2430.  
  2431. -- Created by Quenty (@Quenty, follow me on twitter).
  2432.  
  2433. end))
  2434. Part138.Parent = Model122
  2435. Part138.Material = Enum.Material.Fabric
  2436. Part138.BrickColor = BrickColor.new("Dark orange")
  2437. Part138.Rotation = Vector3.new(0, -90, 0)
  2438. Part138.Anchored = true
  2439. Part138.CanCollide = false
  2440. Part138.FormFactor = Enum.FormFactor.Symmetric
  2441. Part138.Size = Vector3.new(1, 2.80000019, 2)
  2442. Part138.CFrame = CFrame.new(-8.09997559, 37.8003578, -98.3000031, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  2443. Part138.BottomSurface = Enum.SurfaceType.Smooth
  2444. Part138.TopSurface = Enum.SurfaceType.Smooth
  2445. Part138.Color = Color3.new(0.627451, 0.372549, 0.207843)
  2446. Part138.Position = Vector3.new(-8.09997559, 37.8003578, -98.3000031)
  2447. Part138.Orientation = Vector3.new(0, -90, 0)
  2448. Part138.Color = Color3.new(0.627451, 0.372549, 0.207843)
  2449. Part139.Parent = Model0
  2450. Part139.BrickColor = BrickColor.new("Really red")
  2451. Part139.Anchored = true
  2452. Part139.FormFactor = Enum.FormFactor.Symmetric
  2453. Part139.Size = Vector3.new(3.60000014, 21, 9.39999771)
  2454. Part139.CFrame = CFrame.new(47.0999756, 29.5000134, -85.7000809, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2455. Part139.TopSurface = Enum.SurfaceType.Smooth
  2456. Part139.Color = Color3.new(1, 0, 0)
  2457. Part139.Position = Vector3.new(47.0999756, 29.5000134, -85.7000809)
  2458. Part139.Color = Color3.new(1, 0, 0)
  2459. Part140.Parent = Model0
  2460. Part140.BrickColor = BrickColor.new("Really red")
  2461. Part140.Anchored = true
  2462. Part140.FormFactor = Enum.FormFactor.Symmetric
  2463. Part140.Size = Vector3.new(109.400002, 37, 1)
  2464. Part140.CFrame = CFrame.new(-9.40002441, 21.5000134, -103.899986, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2465. Part140.TopSurface = Enum.SurfaceType.Smooth
  2466. Part140.Color = Color3.new(1, 0, 0)
  2467. Part140.Position = Vector3.new(-9.40002441, 21.5000134, -103.899986)
  2468. Part140.Color = Color3.new(1, 0, 0)
  2469. Part141.Parent = Model0
  2470. Part141.BrickColor = BrickColor.new("Lime green")
  2471. Part141.Anchored = true
  2472. Part141.FormFactor = Enum.FormFactor.Symmetric
  2473. Part141.Size = Vector3.new(1.88000011, 6.80000067, 18.8000011)
  2474. Part141.CFrame = CFrame.new(-5.96008301, 7.99996567, -94.0000153, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2475. Part141.BottomSurface = Enum.SurfaceType.Smooth
  2476. Part141.TopSurface = Enum.SurfaceType.Smooth
  2477. Part141.Color = Color3.new(0, 1, 0)
  2478. Part141.Position = Vector3.new(-5.96008301, 7.99996567, -94.0000153)
  2479. Part141.Color = Color3.new(0, 1, 0)
  2480. PointLight142.Parent = Part141
  2481. PointLight142.Color = Color3.new(0.333333, 1, 0)
  2482. PointLight142.Range = 20
  2483. PointLight142.Color = Color3.new(0.333333, 1, 0)
  2484. Part143.Parent = Model0
  2485. Part143.BrickColor = BrickColor.new("Lime green")
  2486. Part143.Anchored = true
  2487. Part143.FormFactor = Enum.FormFactor.Symmetric
  2488. Part143.Size = Vector3.new(1.88000011, 2.60000038, 12.999999)
  2489. Part143.CFrame = CFrame.new(-5.96008301, 12.6999187, -96.8999786, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2490. Part143.BottomSurface = Enum.SurfaceType.Smooth
  2491. Part143.TopSurface = Enum.SurfaceType.Smooth
  2492. Part143.Color = Color3.new(0, 1, 0)
  2493. Part143.Position = Vector3.new(-5.96008301, 12.6999187, -96.8999786)
  2494. Part143.Color = Color3.new(0, 1, 0)
  2495. PointLight144.Parent = Part143
  2496. PointLight144.Color = Color3.new(0.333333, 1, 0)
  2497. PointLight144.Range = 20
  2498. PointLight144.Color = Color3.new(0.333333, 1, 0)
  2499. Part145.Parent = Model0
  2500. Part145.BrickColor = BrickColor.new("Really red")
  2501. Part145.Anchored = true
  2502. Part145.FormFactor = Enum.FormFactor.Symmetric
  2503. Part145.Size = Vector3.new(25.6800003, 11.000001, 1)
  2504. Part145.CFrame = CFrame.new(-19.6600342, 8.49991989, -85.899971, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2505. Part145.BottomSurface = Enum.SurfaceType.Smooth
  2506. Part145.TopSurface = Enum.SurfaceType.Smooth
  2507. Part145.Color = Color3.new(1, 0, 0)
  2508. Part145.Position = Vector3.new(-19.6600342, 8.49991989, -85.899971)
  2509. Part145.Color = Color3.new(1, 0, 0)
  2510. PointLight146.Parent = Part145
  2511. PointLight146.Color = Color3.new(0.333333, 1, 0)
  2512. PointLight146.Range = 20
  2513. PointLight146.Color = Color3.new(0.333333, 1, 0)
  2514. Part147.Parent = Model0
  2515. Part147.BrickColor = BrickColor.new("Lime green")
  2516. Part147.Anchored = true
  2517. Part147.FormFactor = Enum.FormFactor.Symmetric
  2518. Part147.Size = Vector3.new(13.8000011, 1, 18.7999992)
  2519. Part147.CFrame = CFrame.new(12.7999268, 18.5000057, -81, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2520. Part147.BottomSurface = Enum.SurfaceType.Smooth
  2521. Part147.TopSurface = Enum.SurfaceType.Smooth
  2522. Part147.Color = Color3.new(0, 1, 0)
  2523. Part147.Position = Vector3.new(12.7999268, 18.5000057, -81)
  2524. Part147.Color = Color3.new(0, 1, 0)
  2525. PointLight148.Parent = Part147
  2526. PointLight148.Color = Color3.new(0.333333, 1, 0)
  2527. PointLight148.Range = 20
  2528. PointLight148.Color = Color3.new(0.333333, 1, 0)
  2529. Part149.Parent = Model0
  2530. Part149.BrickColor = BrickColor.new("Camo")
  2531. Part149.Transparency = 1
  2532. Part149.Rotation = Vector3.new(0, -89.9599991, 0)
  2533. Part149.Anchored = true
  2534. Part149.FormFactor = Enum.FormFactor.Custom
  2535. Part149.Size = Vector3.new(13.8000002, 20, 0.400000036)
  2536. Part149.CFrame = CFrame.new(-22.3000488, 29.0000134, -83.5, 0, 0, -0.999999702, 0, 1, 0, 0.999999702, 0, 0)
  2537. Part149.TopSurface = Enum.SurfaceType.Smooth
  2538. Part149.Color = Color3.new(0.227451, 0.490196, 0.0823529)
  2539. Part149.Position = Vector3.new(-22.3000488, 29.0000134, -83.5)
  2540. Part149.Orientation = Vector3.new(0, -90, 0)
  2541. Part149.Color = Color3.new(0.227451, 0.490196, 0.0823529)
  2542. Decal150.Parent = Part149
  2543. Decal150.Texture = "http://www.roblox.com/asset/?id=50449800"
  2544. Decal151.Parent = Part149
  2545. Decal151.Texture = "http://www.roblox.com/asset/?id=50449800"
  2546. Decal151.Face = Enum.NormalId.Back
  2547. Decal152.Parent = Part149
  2548. Decal152.Texture = "http://www.roblox.com/asset/?id=27017316"
  2549. Decal152.Face = Enum.NormalId.Left
  2550. Decal153.Parent = Part149
  2551. Decal153.Texture = "http://www.roblox.com/asset/?id=27017316"
  2552. Decal153.Face = Enum.NormalId.Top
  2553. Decal154.Parent = Part149
  2554. Decal154.Texture = "http://www.roblox.com/asset/?id=27017316"
  2555. Decal154.Face = Enum.NormalId.Right
  2556. Part155.Parent = Model0
  2557. Part155.BrickColor = BrickColor.new("Camo")
  2558. Part155.Transparency = 1
  2559. Part155.Anchored = true
  2560. Part155.FormFactor = Enum.FormFactor.Custom
  2561. Part155.Size = Vector3.new(14.5999994, 9.39999962, 14.1999998)
  2562. Part155.CFrame = CFrame.new(-14.8000488, 34.3000298, -83.7000732, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2563. Part155.TopSurface = Enum.SurfaceType.Smooth
  2564. Part155.Color = Color3.new(0.227451, 0.490196, 0.0823529)
  2565. Part155.Position = Vector3.new(-14.8000488, 34.3000298, -83.7000732)
  2566. Part155.Color = Color3.new(0.227451, 0.490196, 0.0823529)
  2567. Decal156.Parent = Part155
  2568. Decal156.Texture = "http://www.roblox.com/asset/?id=50449800"
  2569. Decal156.Face = Enum.NormalId.Back
  2570. Decal157.Parent = Part155
  2571. Decal157.Texture = "http://www.roblox.com/asset/?id=27017316"
  2572. Decal157.Face = Enum.NormalId.Left
  2573. Decal158.Parent = Part155
  2574. Decal158.Texture = "http://www.roblox.com/asset/?id=27017316"
  2575. Decal158.Face = Enum.NormalId.Top
  2576. Decal159.Parent = Part155
  2577. Decal159.Texture = "http://www.roblox.com/asset/?id=27017316"
  2578. Decal159.Face = Enum.NormalId.Right
  2579. Decal160.Parent = Part155
  2580. Decal160.Texture = "http://www.roblox.com/asset/?id=50449800"
  2581. Decal160.Face = Enum.NormalId.Bottom
  2582. Decal161.Parent = Part155
  2583. Decal161.Texture = "http://www.roblox.com/asset/?id=50449800"
  2584. Part162.Parent = Model0
  2585. Part162.BrickColor = BrickColor.new("Camo")
  2586. Part162.Transparency = 1
  2587. Part162.Rotation = Vector3.new(0, -89.9599991, 0)
  2588. Part162.Anchored = true
  2589. Part162.FormFactor = Enum.FormFactor.Custom
  2590. Part162.Size = Vector3.new(13.8000002, 20, 0.400000036)
  2591. Part162.CFrame = CFrame.new(-7.30004883, 29.0000134, -83.5, 0, 0, -0.999999702, 0, 1, 0, 0.999999702, 0, 0)
  2592. Part162.TopSurface = Enum.SurfaceType.Smooth
  2593. Part162.Color = Color3.new(0.227451, 0.490196, 0.0823529)
  2594. Part162.Position = Vector3.new(-7.30004883, 29.0000134, -83.5)
  2595. Part162.Orientation = Vector3.new(0, -90, 0)
  2596. Part162.Color = Color3.new(0.227451, 0.490196, 0.0823529)
  2597. Decal163.Parent = Part162
  2598. Decal163.Texture = "http://www.roblox.com/asset/?id=50449800"
  2599. Decal164.Parent = Part162
  2600. Decal164.Texture = "http://www.roblox.com/asset/?id=50449800"
  2601. Decal164.Face = Enum.NormalId.Back
  2602. Decal165.Parent = Part162
  2603. Decal165.Texture = "http://www.roblox.com/asset/?id=27017316"
  2604. Decal165.Face = Enum.NormalId.Left
  2605. Decal166.Parent = Part162
  2606. Decal166.Texture = "http://www.roblox.com/asset/?id=27017316"
  2607. Decal166.Face = Enum.NormalId.Top
  2608. Decal167.Parent = Part162
  2609. Decal167.Texture = "http://www.roblox.com/asset/?id=27017316"
  2610. Decal167.Face = Enum.NormalId.Right
  2611. Model168.Parent = Model0
  2612. Part169.Parent = Model168
  2613. Part169.Material = Enum.Material.Fabric
  2614. Part169.BrickColor = BrickColor.new("Toothpaste")
  2615. Part169.Rotation = Vector3.new(-90, 0, 0)
  2616. Part169.Anchored = true
  2617. Part169.FormFactor = Enum.FormFactor.Symmetric
  2618. Part169.Shape = Enum.PartType.Ball
  2619. Part169.Size = Vector3.new(5, 5, 5)
  2620. Part169.CFrame = CFrame.new(-27.0400391, 34.1002007, -100.109573, 1, 0, 0, 0, -1.49011612e-08, 0.999999762, 0, -0.999999762, -1.49011612e-08)
  2621. Part169.BottomSurface = Enum.SurfaceType.Smooth
  2622. Part169.TopSurface = Enum.SurfaceType.Smooth
  2623. Part169.Color = Color3.new(0, 1, 1)
  2624. Part169.Position = Vector3.new(-27.0400391, 34.1002007, -100.109573)
  2625. Part169.Orientation = Vector3.new(-89.9599991, 180, 180)
  2626. Part169.Color = Color3.new(0, 1, 1)
  2627. PointLight170.Parent = Part169
  2628. PointLight170.Color = Color3.new(0.333333, 1, 0)
  2629. PointLight170.Range = 20
  2630. PointLight170.Color = Color3.new(0.333333, 1, 0)
  2631. Part171.Parent = Model168
  2632. Part171.Material = Enum.Material.Fabric
  2633. Part171.BrickColor = BrickColor.new("Really blue")
  2634. Part171.Rotation = Vector3.new(-90, 0, 90)
  2635. Part171.Anchored = true
  2636. Part171.FormFactor = Enum.FormFactor.Symmetric
  2637. Part171.Shape = Enum.PartType.Cylinder
  2638. Part171.Size = Vector3.new(5, 5, 5)
  2639. Part171.CFrame = CFrame.new(-27.0400391, 34.1002007, -97.5097198, 0, -0.99999994, 0, 0, 0, 0.999999762, -0.999999702, 0, -1.49011612e-08)
  2640. Part171.BottomSurface = Enum.SurfaceType.Smooth
  2641. Part171.TopSurface = Enum.SurfaceType.Smooth
  2642. Part171.Color = Color3.new(0, 0, 1)
  2643. Part171.Position = Vector3.new(-27.0400391, 34.1002007, -97.5097198)
  2644. Part171.Orientation = Vector3.new(-89.9599991, 180, 0)
  2645. Part171.Color = Color3.new(0, 0, 1)
  2646. Part172.Parent = Model168
  2647. Part172.Material = Enum.Material.Fabric
  2648. Part172.BrickColor = BrickColor.new("Really blue")
  2649. Part172.Rotation = Vector3.new(-90, 0, 90)
  2650. Part172.Anchored = true
  2651. Part172.FormFactor = Enum.FormFactor.Symmetric
  2652. Part172.Shape = Enum.PartType.Cylinder
  2653. Part172.Size = Vector3.new(5, 5, 5)
  2654. Part172.CFrame = CFrame.new(-27.0400391, 34.1002007, -96.5098419, 0, -0.99999994, 0, 0, 0, 0.999999762, -0.999999702, 0, -1.49011612e-08)
  2655. Part172.BottomSurface = Enum.SurfaceType.Smooth
  2656. Part172.TopSurface = Enum.SurfaceType.Smooth
  2657. Part172.Color = Color3.new(0, 0, 1)
  2658. Part172.Position = Vector3.new(-27.0400391, 34.1002007, -96.5098419)
  2659. Part172.Orientation = Vector3.new(-89.9599991, 180, 0)
  2660. Part172.Color = Color3.new(0, 0, 1)
  2661. Part173.Parent = Model168
  2662. Part173.Material = Enum.Material.Fabric
  2663. Part173.BrickColor = BrickColor.new("Toothpaste")
  2664. Part173.Rotation = Vector3.new(-90, 0, 0)
  2665. Part173.Anchored = true
  2666. Part173.FormFactor = Enum.FormFactor.Symmetric
  2667. Part173.Shape = Enum.PartType.Ball
  2668. Part173.Size = Vector3.new(5, 5, 5)
  2669. Part173.CFrame = CFrame.new(-27.0400391, 34.1002007, -93.9098663, 1, 0, 0, 0, -1.49011612e-08, 0.999999762, 0, -0.999999762, -1.49011612e-08)
  2670. Part173.BottomSurface = Enum.SurfaceType.Smooth
  2671. Part173.TopSurface = Enum.SurfaceType.Smooth
  2672. Part173.Color = Color3.new(0, 1, 1)
  2673. Part173.Position = Vector3.new(-27.0400391, 34.1002007, -93.9098663)
  2674. Part173.Orientation = Vector3.new(-89.9599991, 180, 180)
  2675. Part173.Color = Color3.new(0, 1, 1)
  2676. Part174.Parent = Model168
  2677. Part174.Material = Enum.Material.Fabric
  2678. Part174.BrickColor = BrickColor.new("Dark orange")
  2679. Part174.Rotation = Vector3.new(-90, 0, 0)
  2680. Part174.Anchored = true
  2681. Part174.CanCollide = false
  2682. Part174.FormFactor = Enum.FormFactor.Symmetric
  2683. Part174.Size = Vector3.new(2, 2.4000001, 2)
  2684. Part174.CFrame = CFrame.new(-27.0400391, 34.1002007, -92.010025, 1, 0, 0, 0, -1.49011612e-08, 0.999999762, 0, -0.999999762, -1.49011612e-08)
  2685. Part174.BottomSurface = Enum.SurfaceType.Hinge
  2686. Part174.TopSurface = Enum.SurfaceType.Motor
  2687. Part174.Color = Color3.new(0.627451, 0.372549, 0.207843)
  2688. Part174.Position = Vector3.new(-27.0400391, 34.1002007, -92.010025)
  2689. Part174.Orientation = Vector3.new(-89.9599991, 180, 180)
  2690. Part174.Color = Color3.new(0.627451, 0.372549, 0.207843)
  2691. CylinderMesh175.Parent = Part174
  2692. Part176.Parent = Model168
  2693. Part176.Material = Enum.Material.Fabric
  2694. Part176.BrickColor = BrickColor.new("Dark orange")
  2695. Part176.Rotation = Vector3.new(-90, 0, 0)
  2696. Part176.Anchored = true
  2697. Part176.CanCollide = false
  2698. Part176.FormFactor = Enum.FormFactor.Symmetric
  2699. Part176.Size = Vector3.new(2, 2.4000001, 2)
  2700. Part176.CFrame = CFrame.new(-27.0400391, 34.1002007, -102.210037, 1, 0, 0, 0, -1.49011612e-08, 0.999999762, 0, -0.999999762, -1.49011612e-08)
  2701. Part176.TopSurface = Enum.SurfaceType.Motor
  2702. Part176.Color = Color3.new(0.627451, 0.372549, 0.207843)
  2703. Part176.Position = Vector3.new(-27.0400391, 34.1002007, -102.210037)
  2704. Part176.Orientation = Vector3.new(-89.9599991, 180, 180)
  2705. Part176.Color = Color3.new(0.627451, 0.372549, 0.207843)
  2706. CylinderMesh177.Parent = Part176
  2707. Script178.Name = "qPerfectionWeld"
  2708. Script178.Parent = Model168
  2709. table.insert(cors,sandbox(Script178,function()
  2710. -- Created by Quenty (@Quenty, follow me on twitter).
  2711. -- Should work with only ONE copy, seamlessly with weapons, trains, et cetera.
  2712. -- Parts should be ANCHORED before use. It will, however, store relatives values and so when tools are reparented, it'll fix them.
  2713.  
  2714. --[[ INSTRUCTIONS
  2715. - Place in the model
  2716. - Make sure model is anchored
  2717. - That's it. It will weld the model and all children.
  2718.  
  2719. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  2720. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  2721. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  2722. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  2723. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  2724. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  2725. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  2726. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  2727.  
  2728. 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.
  2729. ]]
  2730.  
  2731. --[[ DOCUMENTATION
  2732. - 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.
  2733. - Will work in PBS servers
  2734. - Will work as long as it starts out with the part anchored
  2735. - Stores the relative CFrame as a CFrame value
  2736. - Takes careful measure to reduce lag by not having a joint set off or affected by the parts offset from origin
  2737. - Utilizes a recursive algorith to find all parts in the model
  2738. - Will reweld on script reparent if the script is initially parented to a tool.
  2739. - Welds as fast as possible
  2740. ]]
  2741.  
  2742. -- qPerfectionWeld.lua
  2743. -- Created 10/6/2014
  2744. -- Author: Quenty
  2745. -- Version 1.0.3
  2746.  
  2747. -- Updated 10/14/2014 - Updated to 1.0.1
  2748. --- Bug fix with existing ROBLOX welds ? Repro by asimo3089
  2749.  
  2750. -- Updated 10/14/2014 - Updated to 1.0.2
  2751. --- Fixed bug fix.
  2752.  
  2753. -- Updated 10/14/2014 - Updated to 1.0.3
  2754. --- Now handles joints semi-acceptably. May be rather hacky with some joints. :/
  2755.  
  2756. 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).
  2757.  
  2758.  
  2759. local function CallOnChildren(Instance, FunctionToCall)
  2760. -- Calls a function on each of the children of a certain object, using recursion.
  2761.  
  2762. FunctionToCall(Instance)
  2763.  
  2764. for _, Child in next, Instance:GetChildren() do
  2765. CallOnChildren(Child, FunctionToCall)
  2766. end
  2767. end
  2768.  
  2769. local function GetNearestParent(Instance, ClassName)
  2770. -- Returns the nearest parent of a certain class, or returns nil
  2771.  
  2772. local Ancestor = Instance
  2773. repeat
  2774. Ancestor = Ancestor.Parent
  2775. if Ancestor == nil then
  2776. return nil
  2777. end
  2778. until Ancestor:IsA(ClassName)
  2779.  
  2780. return Ancestor
  2781. end
  2782.  
  2783. local function GetBricks(StartInstance)
  2784. local List = {}
  2785.  
  2786. -- if StartInstance:IsA("BasePart") then
  2787. -- List[#List+1] = StartInstance
  2788. -- end
  2789.  
  2790. CallOnChildren(StartInstance, function(Item)
  2791. if Item:IsA("BasePart") then
  2792. List[#List+1] = Item;
  2793. end
  2794. end)
  2795.  
  2796. return List
  2797. end
  2798.  
  2799. local function Modify(Instance, Values)
  2800. -- Modifies an Instance by using a table.
  2801.  
  2802. assert(type(Values) == "table", "Values is not a table");
  2803.  
  2804. for Index, Value in next, Values do
  2805. if type(Index) == "number" then
  2806. Value.Parent = Instance
  2807. else
  2808. Instance[Index] = Value
  2809. end
  2810. end
  2811. return Instance
  2812. end
  2813.  
  2814. local function Make(ClassType, Properties)
  2815. -- Using a syntax hack to create a nice way to Make new items.
  2816.  
  2817. return Modify(Instance.new(ClassType), Properties)
  2818. end
  2819.  
  2820. local Surfaces = {"TopSurface", "BottomSurface", "LeftSurface", "RightSurface", "FrontSurface", "BackSurface"}
  2821. local HingSurfaces = {"Hinge", "Motor", "SteppingMotor"}
  2822.  
  2823. local function HasWheelJoint(Part)
  2824. for _, SurfaceName in pairs(Surfaces) do
  2825. for _, HingSurfaceName in pairs(HingSurfaces) do
  2826. if Part[SurfaceName].Name == HingSurfaceName then
  2827. return true
  2828. end
  2829. end
  2830. end
  2831.  
  2832. return false
  2833. end
  2834.  
  2835. local function ShouldBreakJoints(Part)
  2836. --- We do not want to break joints of wheels/hinges. This takes the utmost care to not do this. There are
  2837. -- definitely some edge cases.
  2838.  
  2839. if NEVER_BREAK_JOINTS then
  2840. return false
  2841. end
  2842.  
  2843. if HasWheelJoint(Part) then
  2844. return false
  2845. end
  2846.  
  2847. local Connected = Part:GetConnectedParts()
  2848.  
  2849. if #Connected == 1 then
  2850. return false
  2851. end
  2852.  
  2853. for _, Item in pairs(Connected) do
  2854. if HasWheelJoint(Item) then
  2855. return false
  2856. elseif not Item:IsDescendantOf(script.Parent) then
  2857. return false
  2858. end
  2859. end
  2860.  
  2861. return true
  2862. end
  2863.  
  2864. local function WeldTogether(Part0, Part1, JointType, WeldParent)
  2865. --- Weld's 2 parts together
  2866. -- @param Part0 The first part
  2867. -- @param Part1 The second part (Dependent part most of the time).
  2868. -- @param [JointType] The type of joint. Defaults to weld.
  2869. -- @param [WeldParent] Parent of the weld, Defaults to Part0 (so GC is better).
  2870. -- @return The weld created.
  2871.  
  2872. JointType = JointType or "Weld"
  2873. local RelativeValue = Part1:FindFirstChild("qRelativeCFrameWeldValue")
  2874.  
  2875. local NewWeld = Part1:FindFirstChild("qCFrameWeldThingy") or Instance.new(JointType)
  2876. Modify(NewWeld, {
  2877. Name = "qCFrameWeldThingy";
  2878. Part0 = Part0;
  2879. Part1 = Part1;
  2880. C0 = CFrame.new();--Part0.CFrame:inverse();
  2881. C1 = RelativeValue and RelativeValue.Value or Part1.CFrame:toObjectSpace(Part0.CFrame); --Part1.CFrame:inverse() * Part0.CFrame;-- Part1.CFrame:inverse();
  2882. Parent = Part1;
  2883. })
  2884.  
  2885. if not RelativeValue then
  2886. RelativeValue = Make("CFrameValue", {
  2887. Parent = Part1;
  2888. Name = "qRelativeCFrameWeldValue";
  2889. Archivable = true;
  2890. Value = NewWeld.C1;
  2891. })
  2892. end
  2893.  
  2894. return NewWeld
  2895. end
  2896.  
  2897. local function WeldParts(Parts, MainPart, JointType, DoNotUnanchor)
  2898. -- @param Parts The Parts to weld. Should be anchored to prevent really horrible results.
  2899. -- @param MainPart The part to weld the model to (can be in the model).
  2900. -- @param [JointType] The type of joint. Defaults to weld.
  2901. -- @parm DoNotUnanchor Boolean, if true, will not unachor the model after cmopletion.
  2902.  
  2903. for _, Part in pairs(Parts) do
  2904. if ShouldBreakJoints(Part) then
  2905. Part:BreakJoints()
  2906. end
  2907. end
  2908.  
  2909. for _, Part in pairs(Parts) do
  2910. if Part ~= MainPart then
  2911. WeldTogether(MainPart, Part, JointType, MainPart)
  2912. end
  2913. end
  2914.  
  2915. if not DoNotUnanchor then
  2916. for _, Part in pairs(Parts) do
  2917. Part.Anchored = false
  2918. end
  2919. MainPart.Anchored = false
  2920. end
  2921. end
  2922.  
  2923. local function PerfectionWeld()
  2924. local Tool = GetNearestParent(script, "Tool")
  2925.  
  2926. local Parts = GetBricks(script.Parent)
  2927. 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]
  2928.  
  2929. if PrimaryPart then
  2930. WeldParts(Parts, PrimaryPart, "Weld", false)
  2931. else
  2932. warn("qWeld - Unable to weld part")
  2933. end
  2934.  
  2935. return Tool
  2936. end
  2937.  
  2938. local Tool = PerfectionWeld()
  2939.  
  2940.  
  2941. if Tool and script.ClassName == "Script" then
  2942. --- Don't bother with local scripts
  2943.  
  2944. script.Parent.AncestryChanged:connect(function()
  2945. PerfectionWeld()
  2946. end)
  2947. end
  2948.  
  2949. -- Created by Quenty (@Quenty, follow me on twitter).
  2950.  
  2951. end))
  2952. Part179.Parent = Model0
  2953. Part179.BrickColor = BrickColor.new("Camo")
  2954. Part179.Transparency = 1
  2955. Part179.Anchored = true
  2956. Part179.FormFactor = Enum.FormFactor.Custom
  2957. Part179.Size = Vector3.new(13.8000002, 20, 0.400000036)
  2958. Part179.CFrame = CFrame.new(-28.6000977, 29.0000134, -103.200027, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2959. Part179.TopSurface = Enum.SurfaceType.Smooth
  2960. Part179.Color = Color3.new(0.227451, 0.490196, 0.0823529)
  2961. Part179.Position = Vector3.new(-28.6000977, 29.0000134, -103.200027)
  2962. Part179.Color = Color3.new(0.227451, 0.490196, 0.0823529)
  2963. Decal180.Parent = Part179
  2964. Decal180.Texture = "http://www.roblox.com/asset/?id=50449800"
  2965. Decal181.Parent = Part179
  2966. Decal181.Texture = "http://www.roblox.com/asset/?id=50449800"
  2967. Decal181.Face = Enum.NormalId.Back
  2968. Decal182.Parent = Part179
  2969. Decal182.Texture = "http://www.roblox.com/asset/?id=27017316"
  2970. Decal182.Face = Enum.NormalId.Left
  2971. Decal183.Parent = Part179
  2972. Decal183.Texture = "http://www.roblox.com/asset/?id=27017316"
  2973. Decal183.Face = Enum.NormalId.Top
  2974. Decal184.Parent = Part179
  2975. Decal184.Texture = "http://www.roblox.com/asset/?id=27017316"
  2976. Decal184.Face = Enum.NormalId.Right
  2977. Part185.Parent = Model0
  2978. Part185.BrickColor = BrickColor.new("Camo")
  2979. Part185.Transparency = 1
  2980. Part185.Anchored = true
  2981. Part185.FormFactor = Enum.FormFactor.Custom
  2982. Part185.Size = Vector3.new(13.8000002, 20, 0.400000036)
  2983. Part185.CFrame = CFrame.new(-28.6000977, 29.0000134, -90.5999908, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2984. Part185.TopSurface = Enum.SurfaceType.Smooth
  2985. Part185.Color = Color3.new(0.227451, 0.490196, 0.0823529)
  2986. Part185.Position = Vector3.new(-28.6000977, 29.0000134, -90.5999908)
  2987. Part185.Color = Color3.new(0.227451, 0.490196, 0.0823529)
  2988. Decal186.Parent = Part185
  2989. Decal186.Texture = "http://www.roblox.com/asset/?id=50449800"
  2990. Decal187.Parent = Part185
  2991. Decal187.Texture = "http://www.roblox.com/asset/?id=50449800"
  2992. Decal187.Face = Enum.NormalId.Back
  2993. Decal188.Parent = Part185
  2994. Decal188.Texture = "http://www.roblox.com/asset/?id=27017316"
  2995. Decal188.Face = Enum.NormalId.Left
  2996. Decal189.Parent = Part185
  2997. Decal189.Texture = "http://www.roblox.com/asset/?id=27017316"
  2998. Decal189.Face = Enum.NormalId.Top
  2999. Decal190.Parent = Part185
  3000. Decal190.Texture = "http://www.roblox.com/asset/?id=27017316"
  3001. Decal190.Face = Enum.NormalId.Right
  3002. Part191.Parent = Model0
  3003. Part191.BrickColor = BrickColor.new("Lime green")
  3004. Part191.Anchored = true
  3005. Part191.FormFactor = Enum.FormFactor.Symmetric
  3006. Part191.Size = Vector3.new(15.8000002, 5, 13.8000002)
  3007. Part191.CFrame = CFrame.new(-14.8000488, 16.4998989, -83.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3008. Part191.BottomSurface = Enum.SurfaceType.Smooth
  3009. Part191.TopSurface = Enum.SurfaceType.Smooth
  3010. Part191.Color = Color3.new(0, 1, 0)
  3011. Part191.Position = Vector3.new(-14.8000488, 16.4998989, -83.5)
  3012. Part191.Color = Color3.new(0, 1, 0)
  3013. PointLight192.Parent = Part191
  3014. PointLight192.Color = Color3.new(0.333333, 1, 0)
  3015. PointLight192.Range = 20
  3016. PointLight192.Color = Color3.new(0.333333, 1, 0)
  3017. Script193.Name = "Conveyor Script"
  3018. Script193.Parent = mas
  3019. table.insert(cors,sandbox(Script193,function()
  3020. -- I swordfish690 thank Kingline90 for this script
  3021.  
  3022. while true do
  3023. script.Parent.Velocity = script.Parent.CFrame.lookVector *60
  3024. wait(1)
  3025. end
  3026. end))
  3027. Part194.Parent = Model0
  3028. Part194.BrickColor = BrickColor.new("Really red")
  3029. Part194.Anchored = true
  3030. Part194.FormFactor = Enum.FormFactor.Symmetric
  3031. Part194.Size = Vector3.new(1, 5, 30)
  3032. Part194.CFrame = CFrame.new(-33, 5.4999752, -88.3999786, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3033. Part194.TopSurface = Enum.SurfaceType.Smooth
  3034. Part194.Color = Color3.new(1, 0, 0)
  3035. Part194.Position = Vector3.new(-33, 5.4999752, -88.3999786)
  3036. Part194.Color = Color3.new(1, 0, 0)
  3037. Part195.Parent = Model0
  3038. Part195.BrickColor = BrickColor.new("Really red")
  3039. Part195.Anchored = true
  3040. Part195.FormFactor = Enum.FormFactor.Symmetric
  3041. Part195.Size = Vector3.new(1, 31, 18)
  3042. Part195.CFrame = CFrame.new(-33, 23.5000134, -82.3999634, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3043. Part195.TopSurface = Enum.SurfaceType.Smooth
  3044. Part195.Color = Color3.new(1, 0, 0)
  3045. Part195.Position = Vector3.new(-33, 23.5000134, -82.3999634)
  3046. Part195.Color = Color3.new(1, 0, 0)
  3047. Model196.Parent = Model0
  3048. Part197.Parent = Model196
  3049. Part197.Material = Enum.Material.Fabric
  3050. Part197.BrickColor = BrickColor.new("Toothpaste")
  3051. Part197.Rotation = Vector3.new(-90, 0, 0)
  3052. Part197.Anchored = true
  3053. Part197.FormFactor = Enum.FormFactor.Symmetric
  3054. Part197.Shape = Enum.PartType.Ball
  3055. Part197.Size = Vector3.new(5, 5, 5)
  3056. Part197.CFrame = CFrame.new(-27.0400391, 22.9001751, -100.109573, 1, 0, 0, 0, -1.49011612e-08, 0.999999762, 0, -0.999999762, -1.49011612e-08)
  3057. Part197.BottomSurface = Enum.SurfaceType.Smooth
  3058. Part197.TopSurface = Enum.SurfaceType.Smooth
  3059. Part197.Color = Color3.new(0, 1, 1)
  3060. Part197.Position = Vector3.new(-27.0400391, 22.9001751, -100.109573)
  3061. Part197.Orientation = Vector3.new(-89.9599991, 180, 180)
  3062. Part197.Color = Color3.new(0, 1, 1)
  3063. PointLight198.Parent = Part197
  3064. PointLight198.Color = Color3.new(0.333333, 1, 0)
  3065. PointLight198.Range = 20
  3066. PointLight198.Color = Color3.new(0.333333, 1, 0)
  3067. Part199.Parent = Model196
  3068. Part199.Material = Enum.Material.Fabric
  3069. Part199.BrickColor = BrickColor.new("Really blue")
  3070. Part199.Rotation = Vector3.new(-90, 0, 90)
  3071. Part199.Anchored = true
  3072. Part199.FormFactor = Enum.FormFactor.Symmetric
  3073. Part199.Shape = Enum.PartType.Cylinder
  3074. Part199.Size = Vector3.new(5, 5, 5)
  3075. Part199.CFrame = CFrame.new(-27.0400391, 22.9001751, -97.5097198, 0, -0.99999994, 0, 0, 0, 0.999999762, -0.999999702, 0, -1.49011612e-08)
  3076. Part199.BottomSurface = Enum.SurfaceType.Smooth
  3077. Part199.TopSurface = Enum.SurfaceType.Smooth
  3078. Part199.Color = Color3.new(0, 0, 1)
  3079. Part199.Position = Vector3.new(-27.0400391, 22.9001751, -97.5097198)
  3080. Part199.Orientation = Vector3.new(-89.9599991, 180, 0)
  3081. Part199.Color = Color3.new(0, 0, 1)
  3082. Part200.Parent = Model196
  3083. Part200.Material = Enum.Material.Fabric
  3084. Part200.BrickColor = BrickColor.new("Really blue")
  3085. Part200.Rotation = Vector3.new(-90, 0, 90)
  3086. Part200.Anchored = true
  3087. Part200.FormFactor = Enum.FormFactor.Symmetric
  3088. Part200.Shape = Enum.PartType.Cylinder
  3089. Part200.Size = Vector3.new(5, 5, 5)
  3090. Part200.CFrame = CFrame.new(-27.0400391, 22.9001751, -96.5098419, 0, -0.99999994, 0, 0, 0, 0.999999762, -0.999999702, 0, -1.49011612e-08)
  3091. Part200.BottomSurface = Enum.SurfaceType.Smooth
  3092. Part200.TopSurface = Enum.SurfaceType.Smooth
  3093. Part200.Color = Color3.new(0, 0, 1)
  3094. Part200.Position = Vector3.new(-27.0400391, 22.9001751, -96.5098419)
  3095. Part200.Orientation = Vector3.new(-89.9599991, 180, 0)
  3096. Part200.Color = Color3.new(0, 0, 1)
  3097. Part201.Parent = Model196
  3098. Part201.Material = Enum.Material.Fabric
  3099. Part201.BrickColor = BrickColor.new("Toothpaste")
  3100. Part201.Rotation = Vector3.new(-90, 0, 0)
  3101. Part201.Anchored = true
  3102. Part201.FormFactor = Enum.FormFactor.Symmetric
  3103. Part201.Shape = Enum.PartType.Ball
  3104. Part201.Size = Vector3.new(5, 5, 5)
  3105. Part201.CFrame = CFrame.new(-27.0400391, 22.9001751, -93.9098663, 1, 0, 0, 0, -1.49011612e-08, 0.999999762, 0, -0.999999762, -1.49011612e-08)
  3106. Part201.BottomSurface = Enum.SurfaceType.Smooth
  3107. Part201.TopSurface = Enum.SurfaceType.Smooth
  3108. Part201.Color = Color3.new(0, 1, 1)
  3109. Part201.Position = Vector3.new(-27.0400391, 22.9001751, -93.9098663)
  3110. Part201.Orientation = Vector3.new(-89.9599991, 180, 180)
  3111. Part201.Color = Color3.new(0, 1, 1)
  3112. Part202.Parent = Model196
  3113. Part202.Material = Enum.Material.Fabric
  3114. Part202.BrickColor = BrickColor.new("Dark orange")
  3115. Part202.Rotation = Vector3.new(-90, 0, 0)
  3116. Part202.Anchored = true
  3117. Part202.CanCollide = false
  3118. Part202.FormFactor = Enum.FormFactor.Symmetric
  3119. Part202.Size = Vector3.new(2, 2.4000001, 2)
  3120. Part202.CFrame = CFrame.new(-27.0400391, 22.9001751, -92.010025, 1, 0, 0, 0, -1.49011612e-08, 0.999999762, 0, -0.999999762, -1.49011612e-08)
  3121. Part202.BottomSurface = Enum.SurfaceType.Hinge
  3122. Part202.TopSurface = Enum.SurfaceType.Motor
  3123. Part202.Color = Color3.new(0.627451, 0.372549, 0.207843)
  3124. Part202.Position = Vector3.new(-27.0400391, 22.9001751, -92.010025)
  3125. Part202.Orientation = Vector3.new(-89.9599991, 180, 180)
  3126. Part202.Color = Color3.new(0.627451, 0.372549, 0.207843)
  3127. CylinderMesh203.Parent = Part202
  3128. Part204.Parent = Model196
  3129. Part204.Material = Enum.Material.Fabric
  3130. Part204.BrickColor = BrickColor.new("Dark orange")
  3131. Part204.Rotation = Vector3.new(-90, 0, 0)
  3132. Part204.Anchored = true
  3133. Part204.CanCollide = false
  3134. Part204.FormFactor = Enum.FormFactor.Symmetric
  3135. Part204.Size = Vector3.new(2, 2.4000001, 2)
  3136. Part204.CFrame = CFrame.new(-27.0400391, 22.9001751, -102.210037, 1, 0, 0, 0, -1.49011612e-08, 0.999999762, 0, -0.999999762, -1.49011612e-08)
  3137. Part204.TopSurface = Enum.SurfaceType.Motor
  3138. Part204.Color = Color3.new(0.627451, 0.372549, 0.207843)
  3139. Part204.Position = Vector3.new(-27.0400391, 22.9001751, -102.210037)
  3140. Part204.Orientation = Vector3.new(-89.9599991, 180, 180)
  3141. Part204.Color = Color3.new(0.627451, 0.372549, 0.207843)
  3142. CylinderMesh205.Parent = Part204
  3143. Script206.Name = "qPerfectionWeld"
  3144. Script206.Parent = Model196
  3145. table.insert(cors,sandbox(Script206,function()
  3146. -- Created by Quenty (@Quenty, follow me on twitter).
  3147. -- Should work with only ONE copy, seamlessly with weapons, trains, et cetera.
  3148. -- Parts should be ANCHORED before use. It will, however, store relatives values and so when tools are reparented, it'll fix them.
  3149.  
  3150. --[[ INSTRUCTIONS
  3151. - Place in the model
  3152. - Make sure model is anchored
  3153. - That's it. It will weld the model and all children.
  3154.  
  3155. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  3156. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  3157. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  3158. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  3159. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  3160. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  3161. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  3162. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  3163.  
  3164. 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.
  3165. ]]
  3166.  
  3167. --[[ DOCUMENTATION
  3168. - 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.
  3169. - Will work in PBS servers
  3170. - Will work as long as it starts out with the part anchored
  3171. - Stores the relative CFrame as a CFrame value
  3172. - Takes careful measure to reduce lag by not having a joint set off or affected by the parts offset from origin
  3173. - Utilizes a recursive algorith to find all parts in the model
  3174. - Will reweld on script reparent if the script is initially parented to a tool.
  3175. - Welds as fast as possible
  3176. ]]
  3177.  
  3178. -- qPerfectionWeld.lua
  3179. -- Created 10/6/2014
  3180. -- Author: Quenty
  3181. -- Version 1.0.3
  3182.  
  3183. -- Updated 10/14/2014 - Updated to 1.0.1
  3184. --- Bug fix with existing ROBLOX welds ? Repro by asimo3089
  3185.  
  3186. -- Updated 10/14/2014 - Updated to 1.0.2
  3187. --- Fixed bug fix.
  3188.  
  3189. -- Updated 10/14/2014 - Updated to 1.0.3
  3190. --- Now handles joints semi-acceptably. May be rather hacky with some joints. :/
  3191.  
  3192. 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).
  3193.  
  3194.  
  3195. local function CallOnChildren(Instance, FunctionToCall)
  3196. -- Calls a function on each of the children of a certain object, using recursion.
  3197.  
  3198. FunctionToCall(Instance)
  3199.  
  3200. for _, Child in next, Instance:GetChildren() do
  3201. CallOnChildren(Child, FunctionToCall)
  3202. end
  3203. end
  3204.  
  3205. local function GetNearestParent(Instance, ClassName)
  3206. -- Returns the nearest parent of a certain class, or returns nil
  3207.  
  3208. local Ancestor = Instance
  3209. repeat
  3210. Ancestor = Ancestor.Parent
  3211. if Ancestor == nil then
  3212. return nil
  3213. end
  3214. until Ancestor:IsA(ClassName)
  3215.  
  3216. return Ancestor
  3217. end
  3218.  
  3219. local function GetBricks(StartInstance)
  3220. local List = {}
  3221.  
  3222. -- if StartInstance:IsA("BasePart") then
  3223. -- List[#List+1] = StartInstance
  3224. -- end
  3225.  
  3226. CallOnChildren(StartInstance, function(Item)
  3227. if Item:IsA("BasePart") then
  3228. List[#List+1] = Item;
  3229. end
  3230. end)
  3231.  
  3232. return List
  3233. end
  3234.  
  3235. local function Modify(Instance, Values)
  3236. -- Modifies an Instance by using a table.
  3237.  
  3238. assert(type(Values) == "table", "Values is not a table");
  3239.  
  3240. for Index, Value in next, Values do
  3241. if type(Index) == "number" then
  3242. Value.Parent = Instance
  3243. else
  3244. Instance[Index] = Value
  3245. end
  3246. end
  3247. return Instance
  3248. end
  3249.  
  3250. local function Make(ClassType, Properties)
  3251. -- Using a syntax hack to create a nice way to Make new items.
  3252.  
  3253. return Modify(Instance.new(ClassType), Properties)
  3254. end
  3255.  
  3256. local Surfaces = {"TopSurface", "BottomSurface", "LeftSurface", "RightSurface", "FrontSurface", "BackSurface"}
  3257. local HingSurfaces = {"Hinge", "Motor", "SteppingMotor"}
  3258.  
  3259. local function HasWheelJoint(Part)
  3260. for _, SurfaceName in pairs(Surfaces) do
  3261. for _, HingSurfaceName in pairs(HingSurfaces) do
  3262. if Part[SurfaceName].Name == HingSurfaceName then
  3263. return true
  3264. end
  3265. end
  3266. end
  3267.  
  3268. return false
  3269. end
  3270.  
  3271. local function ShouldBreakJoints(Part)
  3272. --- We do not want to break joints of wheels/hinges. This takes the utmost care to not do this. There are
  3273. -- definitely some edge cases.
  3274.  
  3275. if NEVER_BREAK_JOINTS then
  3276. return false
  3277. end
  3278.  
  3279. if HasWheelJoint(Part) then
  3280. return false
  3281. end
  3282.  
  3283. local Connected = Part:GetConnectedParts()
  3284.  
  3285. if #Connected == 1 then
  3286. return false
  3287. end
  3288.  
  3289. for _, Item in pairs(Connected) do
  3290. if HasWheelJoint(Item) then
  3291. return false
  3292. elseif not Item:IsDescendantOf(script.Parent) then
  3293. return false
  3294. end
  3295. end
  3296.  
  3297. return true
  3298. end
  3299.  
  3300. local function WeldTogether(Part0, Part1, JointType, WeldParent)
  3301. --- Weld's 2 parts together
  3302. -- @param Part0 The first part
  3303. -- @param Part1 The second part (Dependent part most of the time).
  3304. -- @param [JointType] The type of joint. Defaults to weld.
  3305. -- @param [WeldParent] Parent of the weld, Defaults to Part0 (so GC is better).
  3306. -- @return The weld created.
  3307.  
  3308. JointType = JointType or "Weld"
  3309. local RelativeValue = Part1:FindFirstChild("qRelativeCFrameWeldValue")
  3310.  
  3311. local NewWeld = Part1:FindFirstChild("qCFrameWeldThingy") or Instance.new(JointType)
  3312. Modify(NewWeld, {
  3313. Name = "qCFrameWeldThingy";
  3314. Part0 = Part0;
  3315. Part1 = Part1;
  3316. C0 = CFrame.new();--Part0.CFrame:inverse();
  3317. C1 = RelativeValue and RelativeValue.Value or Part1.CFrame:toObjectSpace(Part0.CFrame); --Part1.CFrame:inverse() * Part0.CFrame;-- Part1.CFrame:inverse();
  3318. Parent = Part1;
  3319. })
  3320.  
  3321. if not RelativeValue then
  3322. RelativeValue = Make("CFrameValue", {
  3323. Parent = Part1;
  3324. Name = "qRelativeCFrameWeldValue";
  3325. Archivable = true;
  3326. Value = NewWeld.C1;
  3327. })
  3328. end
  3329.  
  3330. return NewWeld
  3331. end
  3332.  
  3333. local function WeldParts(Parts, MainPart, JointType, DoNotUnanchor)
  3334. -- @param Parts The Parts to weld. Should be anchored to prevent really horrible results.
  3335. -- @param MainPart The part to weld the model to (can be in the model).
  3336. -- @param [JointType] The type of joint. Defaults to weld.
  3337. -- @parm DoNotUnanchor Boolean, if true, will not unachor the model after cmopletion.
  3338.  
  3339. for _, Part in pairs(Parts) do
  3340. if ShouldBreakJoints(Part) then
  3341. Part:BreakJoints()
  3342. end
  3343. end
  3344.  
  3345. for _, Part in pairs(Parts) do
  3346. if Part ~= MainPart then
  3347. WeldTogether(MainPart, Part, JointType, MainPart)
  3348. end
  3349. end
  3350.  
  3351. if not DoNotUnanchor then
  3352. for _, Part in pairs(Parts) do
  3353. Part.Anchored = false
  3354. end
  3355. MainPart.Anchored = false
  3356. end
  3357. end
  3358.  
  3359. local function PerfectionWeld()
  3360. local Tool = GetNearestParent(script, "Tool")
  3361.  
  3362. local Parts = GetBricks(script.Parent)
  3363. 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]
  3364.  
  3365. if PrimaryPart then
  3366. WeldParts(Parts, PrimaryPart, "Weld", false)
  3367. else
  3368. warn("qWeld - Unable to weld part")
  3369. end
  3370.  
  3371. return Tool
  3372. end
  3373.  
  3374. local Tool = PerfectionWeld()
  3375.  
  3376.  
  3377. if Tool and script.ClassName == "Script" then
  3378. --- Don't bother with local scripts
  3379.  
  3380. script.Parent.AncestryChanged:connect(function()
  3381. PerfectionWeld()
  3382. end)
  3383. end
  3384.  
  3385. -- Created by Quenty (@Quenty, follow me on twitter).
  3386.  
  3387. end))
  3388. Part207.Parent = Model0
  3389. Part207.BrickColor = BrickColor.new("Lime green")
  3390. Part207.Anchored = true
  3391. Part207.FormFactor = Enum.FormFactor.Symmetric
  3392. Part207.Size = Vector3.new(13.8000002, 5, 13)
  3393. Part207.CFrame = CFrame.new(-28.6000977, 16.4998989, -96.8999786, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3394. Part207.BottomSurface = Enum.SurfaceType.Smooth
  3395. Part207.TopSurface = Enum.SurfaceType.Smooth
  3396. Part207.Color = Color3.new(0, 1, 0)
  3397. Part207.Position = Vector3.new(-28.6000977, 16.4998989, -96.8999786)
  3398. Part207.Color = Color3.new(0, 1, 0)
  3399. PointLight208.Parent = Part207
  3400. PointLight208.Color = Color3.new(0.333333, 1, 0)
  3401. PointLight208.Range = 20
  3402. PointLight208.Color = Color3.new(0.333333, 1, 0)
  3403. Part209.Parent = Model0
  3404. Part209.BrickColor = BrickColor.new("Camo")
  3405. Part209.Transparency = 1
  3406. Part209.Rotation = Vector3.new(-180, -89.9700012, -180)
  3407. Part209.Anchored = true
  3408. Part209.FormFactor = Enum.FormFactor.Custom
  3409. Part209.Size = Vector3.new(18.7999992, 20, 0.400000036)
  3410. Part209.CFrame = CFrame.new(19.499876, 29.0000134, -81, -8.94069672e-08, 0, -0.999999821, 0, 1, 0, 0.999999821, 0, -8.94069672e-08)
  3411. Part209.TopSurface = Enum.SurfaceType.Smooth
  3412. Part209.Color = Color3.new(0.227451, 0.490196, 0.0823529)
  3413. Part209.Position = Vector3.new(19.499876, 29.0000134, -81)
  3414. Part209.Orientation = Vector3.new(0, -90, 0)
  3415. Part209.Color = Color3.new(0.227451, 0.490196, 0.0823529)
  3416. Decal210.Parent = Part209
  3417. Decal210.Texture = "http://www.roblox.com/asset/?id=50449800"
  3418. Decal211.Parent = Part209
  3419. Decal211.Texture = "http://www.roblox.com/asset/?id=50449800"
  3420. Decal211.Face = Enum.NormalId.Back
  3421. Decal212.Parent = Part209
  3422. Decal212.Texture = "http://www.roblox.com/asset/?id=27017316"
  3423. Decal212.Face = Enum.NormalId.Left
  3424. Decal213.Parent = Part209
  3425. Decal213.Texture = "http://www.roblox.com/asset/?id=27017316"
  3426. Decal213.Face = Enum.NormalId.Top
  3427. Decal214.Parent = Part209
  3428. Decal214.Texture = "http://www.roblox.com/asset/?id=27017316"
  3429. Decal214.Face = Enum.NormalId.Right
  3430. Script215.Name = "Conveyor Script"
  3431. Script215.Parent = mas
  3432. table.insert(cors,sandbox(Script215,function()
  3433. -- I swordfish690 thank Kingline90 for this script
  3434.  
  3435. while true do
  3436. script.Parent.Velocity = script.Parent.CFrame.lookVector *60
  3437. wait(1)
  3438. end
  3439. end))
  3440. Part216.Parent = Model0
  3441. Part216.BrickColor = BrickColor.new("Camo")
  3442. Part216.Transparency = 1
  3443. Part216.Rotation = Vector3.new(-180, -89.9700012, -180)
  3444. Part216.Anchored = true
  3445. Part216.FormFactor = Enum.FormFactor.Custom
  3446. Part216.Size = Vector3.new(18.7999992, 20, 0.400000036)
  3447. Part216.CFrame = CFrame.new(6.09997559, 29.0000134, -81, -8.94069672e-08, 0, -0.999999821, 0, 1, 0, 0.999999821, 0, -8.94069672e-08)
  3448. Part216.TopSurface = Enum.SurfaceType.Smooth
  3449. Part216.Color = Color3.new(0.227451, 0.490196, 0.0823529)
  3450. Part216.Position = Vector3.new(6.09997559, 29.0000134, -81)
  3451. Part216.Orientation = Vector3.new(0, -90, 0)
  3452. Part216.Color = Color3.new(0.227451, 0.490196, 0.0823529)
  3453. Decal217.Parent = Part216
  3454. Decal217.Texture = "http://www.roblox.com/asset/?id=50449800"
  3455. Decal218.Parent = Part216
  3456. Decal218.Texture = "http://www.roblox.com/asset/?id=50449800"
  3457. Decal218.Face = Enum.NormalId.Back
  3458. Decal219.Parent = Part216
  3459. Decal219.Texture = "http://www.roblox.com/asset/?id=27017316"
  3460. Decal219.Face = Enum.NormalId.Left
  3461. Decal220.Parent = Part216
  3462. Decal220.Texture = "http://www.roblox.com/asset/?id=27017316"
  3463. Decal220.Face = Enum.NormalId.Top
  3464. Decal221.Parent = Part216
  3465. Decal221.Texture = "http://www.roblox.com/asset/?id=27017316"
  3466. Decal221.Face = Enum.NormalId.Right
  3467. Script222.Parent = mas
  3468. table.insert(cors,sandbox(Script222,function()
  3469. local FF = script.Parent
  3470.  
  3471. local function steppedOn(part)
  3472. local parent = part.Parent
  3473. if game.Players:GetPlayerFromCharacter(parent) then
  3474. parent.Humanoid.Sit = true
  3475. end
  3476. end
  3477.  
  3478. FF.Touched:connect(steppedOn)
  3479. end))
  3480. Script223.Name = "Conveyor Script"
  3481. Script223.Parent = mas
  3482. table.insert(cors,sandbox(Script223,function()
  3483. -- I swordfish690 thank Kingline90 for this script
  3484.  
  3485. while true do
  3486. script.Parent.Velocity = script.Parent.CFrame.lookVector *60
  3487. wait(1)
  3488. end
  3489. end))
  3490. Script224.Parent = mas
  3491. table.insert(cors,sandbox(Script224,function()
  3492. local FF = script.Parent
  3493.  
  3494. local function steppedOn(part)
  3495. local parent = part.Parent
  3496. if game.Players:GetPlayerFromCharacter(parent) then
  3497. parent.Humanoid.Sit = true
  3498. end
  3499. end
  3500.  
  3501. FF.Touched:connect(steppedOn)
  3502. end))
  3503. Script225.Name = "Conveyor Script"
  3504. Script225.Parent = mas
  3505. table.insert(cors,sandbox(Script225,function()
  3506. -- I swordfish690 thank Kingline90 for this script
  3507.  
  3508. while true do
  3509. script.Parent.Velocity = script.Parent.CFrame.lookVector *60
  3510. wait(1)
  3511. end
  3512. end))
  3513. Part226.Parent = Model0
  3514. Part226.BrickColor = BrickColor.new("Lime green")
  3515. Part226.Anchored = true
  3516. Part226.FormFactor = Enum.FormFactor.Symmetric
  3517. Part226.Size = Vector3.new(1.88000011, 7.60000038, 13.8000002)
  3518. Part226.CFrame = CFrame.new(-5.96008301, 15.1999102, -83.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3519. Part226.BottomSurface = Enum.SurfaceType.Smooth
  3520. Part226.TopSurface = Enum.SurfaceType.Smooth
  3521. Part226.Color = Color3.new(0, 1, 0)
  3522. Part226.Position = Vector3.new(-5.96008301, 15.1999102, -83.5)
  3523. Part226.Color = Color3.new(0, 1, 0)
  3524. PointLight227.Parent = Part226
  3525. PointLight227.Color = Color3.new(0.333333, 1, 0)
  3526. PointLight227.Range = 20
  3527. PointLight227.Color = Color3.new(0.333333, 1, 0)
  3528. Script228.Name = "Conveyor Script"
  3529. Script228.Parent = mas
  3530. table.insert(cors,sandbox(Script228,function()
  3531. -- I swordfish690 thank Kingline90 for this script
  3532.  
  3533. while true do
  3534. script.Parent.Velocity = script.Parent.CFrame.lookVector *script.Parent.Speed.Value
  3535. wait(1)
  3536. end
  3537. end))
  3538. Script229.Parent = mas
  3539. table.insert(cors,sandbox(Script229,function()
  3540. local FF = script.Parent
  3541.  
  3542. local function steppedOn(part)
  3543. local parent = part.Parent
  3544. if game.Players:GetPlayerFromCharacter(parent) then
  3545. parent.Humanoid.Sit = true
  3546. end
  3547. end
  3548.  
  3549. FF.Touched:connect(steppedOn)
  3550. end))
  3551. Script230.Name = "Conveyor Script"
  3552. Script230.Parent = mas
  3553. table.insert(cors,sandbox(Script230,function()
  3554. -- I swordfish690 thank Kingline90 for this script
  3555.  
  3556. while true do
  3557. script.Parent.Velocity = script.Parent.CFrame.lookVector *script.Parent.Speed.Value
  3558. wait(1)
  3559. end
  3560. end))
  3561. Part231.Parent = Model0
  3562. Part231.BrickColor = BrickColor.new("Really red")
  3563. Part231.Anchored = true
  3564. Part231.FormFactor = Enum.FormFactor.Symmetric
  3565. Part231.Size = Vector3.new(1, 6, 12)
  3566. Part231.CFrame = CFrame.new(-33, 10.9999199, -97.3999786, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3567. Part231.TopSurface = Enum.SurfaceType.Smooth
  3568. Part231.Color = Color3.new(1, 0, 0)
  3569. Part231.Position = Vector3.new(-33, 10.9999199, -97.3999786)
  3570. Part231.Color = Color3.new(1, 0, 0)
  3571. Part232.Parent = Model0
  3572. Part232.BrickColor = BrickColor.new("Really red")
  3573. Part232.Anchored = true
  3574. Part232.FormFactor = Enum.FormFactor.Symmetric
  3575. Part232.Size = Vector3.new(1, 5, 49.2000008)
  3576. Part232.CFrame = CFrame.new(-63.5999756, 5.4999752, -78.7999878, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3577. Part232.TopSurface = Enum.SurfaceType.Smooth
  3578. Part232.Color = Color3.new(1, 0, 0)
  3579. Part232.Position = Vector3.new(-63.5999756, 5.4999752, -78.7999878)
  3580. Part232.Color = Color3.new(1, 0, 0)
  3581. Part233.Parent = Model0
  3582. Part233.BrickColor = BrickColor.new("Really red")
  3583. Part233.Anchored = true
  3584. Part233.FormFactor = Enum.FormFactor.Symmetric
  3585. Part233.Size = Vector3.new(1, 5, 49.2000008)
  3586. Part233.CFrame = CFrame.new(-48.8000565, 5.4999752, -78.7999878, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3587. Part233.TopSurface = Enum.SurfaceType.Smooth
  3588. Part233.Color = Color3.new(1, 0, 0)
  3589. Part233.Position = Vector3.new(-48.8000565, 5.4999752, -78.7999878)
  3590. Part233.Color = Color3.new(1, 0, 0)
  3591. Part234.Parent = Model0
  3592. Part234.BrickColor = BrickColor.new("Really red")
  3593. Part234.Anchored = true
  3594. Part234.FormFactor = Enum.FormFactor.Symmetric
  3595. Part234.Size = Vector3.new(3.60000014, 16, 66.1999969)
  3596. Part234.CFrame = CFrame.new(47.0999756, 10.9999199, -71.2999878, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3597. Part234.TopSurface = Enum.SurfaceType.Smooth
  3598. Part234.Color = Color3.new(1, 0, 0)
  3599. Part234.Position = Vector3.new(47.0999756, 10.9999199, -71.2999878)
  3600. Part234.Color = Color3.new(1, 0, 0)
  3601. Part235.Parent = Model0
  3602. Part235.BrickColor = BrickColor.new("Camo")
  3603. Part235.Transparency = 1
  3604. Part235.Anchored = true
  3605. Part235.FormFactor = Enum.FormFactor.Custom
  3606. Part235.Size = Vector3.new(13.8000002, 20, 0.400000036)
  3607. Part235.CFrame = CFrame.new(-56.2000732, 29.0000134, -103.200027, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3608. Part235.TopSurface = Enum.SurfaceType.Smooth
  3609. Part235.Color = Color3.new(0.227451, 0.490196, 0.0823529)
  3610. Part235.Position = Vector3.new(-56.2000732, 29.0000134, -103.200027)
  3611. Part235.Color = Color3.new(0.227451, 0.490196, 0.0823529)
  3612. Decal236.Parent = Part235
  3613. Decal236.Texture = "http://www.roblox.com/asset/?id=50449800"
  3614. Decal237.Parent = Part235
  3615. Decal237.Texture = "http://www.roblox.com/asset/?id=50449800"
  3616. Decal237.Face = Enum.NormalId.Back
  3617. Decal238.Parent = Part235
  3618. Decal238.Texture = "http://www.roblox.com/asset/?id=27017316"
  3619. Decal238.Face = Enum.NormalId.Left
  3620. Decal239.Parent = Part235
  3621. Decal239.Texture = "http://www.roblox.com/asset/?id=27017316"
  3622. Decal239.Face = Enum.NormalId.Top
  3623. Decal240.Parent = Part235
  3624. Decal240.Texture = "http://www.roblox.com/asset/?id=27017316"
  3625. Decal240.Face = Enum.NormalId.Right
  3626. Part241.Parent = Model0
  3627. Part241.BrickColor = BrickColor.new("Camo")
  3628. Part241.Transparency = 1
  3629. Part241.Anchored = true
  3630. Part241.FormFactor = Enum.FormFactor.Custom
  3631. Part241.Size = Vector3.new(13.8000002, 20, 0.400000036)
  3632. Part241.CFrame = CFrame.new(-42.39991, 29.0000134, -103.200027, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3633. Part241.TopSurface = Enum.SurfaceType.Smooth
  3634. Part241.Color = Color3.new(0.227451, 0.490196, 0.0823529)
  3635. Part241.Position = Vector3.new(-42.39991, 29.0000134, -103.200027)
  3636. Part241.Color = Color3.new(0.227451, 0.490196, 0.0823529)
  3637. Decal242.Parent = Part241
  3638. Decal242.Texture = "http://www.roblox.com/asset/?id=50449800"
  3639. Decal243.Parent = Part241
  3640. Decal243.Texture = "http://www.roblox.com/asset/?id=50449800"
  3641. Decal243.Face = Enum.NormalId.Back
  3642. Decal244.Parent = Part241
  3643. Decal244.Texture = "http://www.roblox.com/asset/?id=27017316"
  3644. Decal244.Face = Enum.NormalId.Left
  3645. Decal245.Parent = Part241
  3646. Decal245.Texture = "http://www.roblox.com/asset/?id=27017316"
  3647. Decal245.Face = Enum.NormalId.Top
  3648. Decal246.Parent = Part241
  3649. Decal246.Texture = "http://www.roblox.com/asset/?id=27017316"
  3650. Decal246.Face = Enum.NormalId.Right
  3651. Part247.Parent = Model0
  3652. Part247.BrickColor = BrickColor.new("Really red")
  3653. Part247.Anchored = true
  3654. Part247.FormFactor = Enum.FormFactor.Symmetric
  3655. Part247.Size = Vector3.new(3.60000014, 10.3999996, 6.79999638)
  3656. Part247.CFrame = CFrame.new(47.0999756, 34.8000298, -77.5999756, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3657. Part247.TopSurface = Enum.SurfaceType.Smooth
  3658. Part247.Color = Color3.new(1, 0, 0)
  3659. Part247.Position = Vector3.new(47.0999756, 34.8000298, -77.5999756)
  3660. Part247.Color = Color3.new(1, 0, 0)
  3661. Part248.Parent = Model0
  3662. Part248.BrickColor = BrickColor.new("Camo")
  3663. Part248.Transparency = 1
  3664. Part248.Anchored = true
  3665. Part248.FormFactor = Enum.FormFactor.Custom
  3666. Part248.Size = Vector3.new(13.8000002, 10, 0.400000036)
  3667. Part248.CFrame = CFrame.new(-42.39991, 34.0000191, -90.5999908, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3668. Part248.TopSurface = Enum.SurfaceType.Smooth
  3669. Part248.Color = Color3.new(0.227451, 0.490196, 0.0823529)
  3670. Part248.Position = Vector3.new(-42.39991, 34.0000191, -90.5999908)
  3671. Part248.Color = Color3.new(0.227451, 0.490196, 0.0823529)
  3672. Decal249.Parent = Part248
  3673. Decal249.Texture = "http://www.roblox.com/asset/?id=50449800"
  3674. Decal250.Parent = Part248
  3675. Decal250.Texture = "http://www.roblox.com/asset/?id=50449800"
  3676. Decal250.Face = Enum.NormalId.Back
  3677. Decal251.Parent = Part248
  3678. Decal251.Texture = "http://www.roblox.com/asset/?id=27017316"
  3679. Decal251.Face = Enum.NormalId.Left
  3680. Decal252.Parent = Part248
  3681. Decal252.Texture = "http://www.roblox.com/asset/?id=27017316"
  3682. Decal252.Face = Enum.NormalId.Top
  3683. Decal253.Parent = Part248
  3684. Decal253.Texture = "http://www.roblox.com/asset/?id=27017316"
  3685. Decal253.Face = Enum.NormalId.Right
  3686. Script254.Parent = mas
  3687. table.insert(cors,sandbox(Script254,function()
  3688. local FF = script.Parent
  3689.  
  3690. local function steppedOn(part)
  3691. local parent = part.Parent
  3692. if game.Players:GetPlayerFromCharacter(parent) then
  3693. parent.Humanoid.Sit = true
  3694. end
  3695. end
  3696.  
  3697. FF.Touched:connect(steppedOn)
  3698. end))
  3699. Script255.Name = "Conveyor Script"
  3700. Script255.Parent = mas
  3701. table.insert(cors,sandbox(Script255,function()
  3702. -- I swordfish690 thank Kingline90 for this script
  3703.  
  3704. while true do
  3705. script.Parent.Velocity = script.Parent.CFrame.lookVector *script.Parent.Speed.Value
  3706. wait(1)
  3707. end
  3708. end))
  3709. Part256.Parent = Model0
  3710. Part256.BrickColor = BrickColor.new("Camo")
  3711. Part256.Transparency = 1
  3712. Part256.Anchored = true
  3713. Part256.FormFactor = Enum.FormFactor.Custom
  3714. Part256.Size = Vector3.new(7.79999924, 4.59999895, 0.200000003)
  3715. Part256.CFrame = CFrame.new(-14.6000977, 27.3000202, -76.7000732, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3716. Part256.TopSurface = Enum.SurfaceType.Smooth
  3717. Part256.Color = Color3.new(0.227451, 0.490196, 0.0823529)
  3718. Part256.Position = Vector3.new(-14.6000977, 27.3000202, -76.7000732)
  3719. Part256.Color = Color3.new(0.227451, 0.490196, 0.0823529)
  3720. Decal257.Parent = Part256
  3721. Decal257.Texture = "http://www.roblox.com/asset/?id=50449800"
  3722. Decal257.Face = Enum.NormalId.Back
  3723. Decal258.Parent = Part256
  3724. Decal258.Texture = "http://www.roblox.com/asset/?id=27017316"
  3725. Decal258.Face = Enum.NormalId.Left
  3726. Decal259.Parent = Part256
  3727. Decal259.Texture = "http://www.roblox.com/asset/?id=27017316"
  3728. Decal259.Face = Enum.NormalId.Top
  3729. Decal260.Parent = Part256
  3730. Decal260.Texture = "http://www.roblox.com/asset/?id=27017316"
  3731. Decal260.Face = Enum.NormalId.Right
  3732. Decal261.Parent = Part256
  3733. Decal261.Texture = "http://www.roblox.com/asset/?id=50449800"
  3734. Decal261.Face = Enum.NormalId.Bottom
  3735. Decal262.Parent = Part256
  3736. Decal262.Texture = "http://www.roblox.com/asset/?id=190846189"
  3737. Part263.Parent = Model0
  3738. Part263.BrickColor = BrickColor.new("Really red")
  3739. Part263.Anchored = true
  3740. Part263.FormFactor = Enum.FormFactor.Symmetric
  3741. Part263.Size = Vector3.new(1, 5.80000019, 13)
  3742. Part263.CFrame = CFrame.new(-48.8000565, 10.8999233, -96.8999786, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3743. Part263.TopSurface = Enum.SurfaceType.Smooth
  3744. Part263.Color = Color3.new(1, 0, 0)
  3745. Part263.Position = Vector3.new(-48.8000565, 10.8999233, -96.8999786)
  3746. Part263.Color = Color3.new(1, 0, 0)
  3747. Script264.Name = "Conveyor Script"
  3748. Script264.Parent = mas
  3749. table.insert(cors,sandbox(Script264,function()
  3750. -- I swordfish690 thank Kingline90 for this script
  3751.  
  3752. while true do
  3753. script.Parent.Velocity = script.Parent.CFrame.lookVector *script.Parent.Speed.Value
  3754. wait(1)
  3755. end
  3756. end))
  3757. Script265.Parent = mas
  3758. table.insert(cors,sandbox(Script265,function()
  3759. local FF = script.Parent
  3760.  
  3761. local function steppedOn(part)
  3762. local parent = part.Parent
  3763. if game.Players:GetPlayerFromCharacter(parent) then
  3764. parent.Humanoid.Sit = true
  3765. end
  3766. end
  3767.  
  3768. FF.Touched:connect(steppedOn)
  3769. end))
  3770. Part266.Parent = Model0
  3771. Part266.BrickColor = BrickColor.new("Lime green")
  3772. Part266.Anchored = true
  3773. Part266.FormFactor = Enum.FormFactor.Symmetric
  3774. Part266.Size = Vector3.new(1.88000011, 6.80000067, 2.60000038)
  3775. Part266.CFrame = CFrame.new(-5.96008301, 7.99996567, -77.8999634, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3776. Part266.BottomSurface = Enum.SurfaceType.Smooth
  3777. Part266.TopSurface = Enum.SurfaceType.Smooth
  3778. Part266.Color = Color3.new(0, 1, 0)
  3779. Part266.Position = Vector3.new(-5.96008301, 7.99996567, -77.8999634)
  3780. Part266.Color = Color3.new(0, 1, 0)
  3781. PointLight267.Parent = Part266
  3782. PointLight267.Color = Color3.new(0.333333, 1, 0)
  3783. PointLight267.Range = 20
  3784. PointLight267.Color = Color3.new(0.333333, 1, 0)
  3785. Script268.Parent = mas
  3786. table.insert(cors,sandbox(Script268,function()
  3787. local FF = script.Parent
  3788.  
  3789. local function steppedOn(part)
  3790. local parent = part.Parent
  3791. if game.Players:GetPlayerFromCharacter(parent) then
  3792. parent.Humanoid.Sit = true
  3793. end
  3794. end
  3795.  
  3796. FF.Touched:connect(steppedOn)
  3797. end))
  3798. Script269.Name = "Conveyor Script"
  3799. Script269.Parent = mas
  3800. table.insert(cors,sandbox(Script269,function()
  3801. -- I swordfish690 thank Kingline90 for this script
  3802.  
  3803. while true do
  3804. script.Parent.Velocity = script.Parent.CFrame.lookVector *60
  3805. wait(1)
  3806. end
  3807. end))
  3808. Script270.Parent = mas
  3809. table.insert(cors,sandbox(Script270,function()
  3810. local FF = script.Parent
  3811.  
  3812. local function steppedOn(part)
  3813. local parent = part.Parent
  3814. if game.Players:GetPlayerFromCharacter(parent) then
  3815. parent.Humanoid.Sit = true
  3816. end
  3817. end
  3818.  
  3819. FF.Touched:connect(steppedOn)
  3820. end))
  3821. Script271.Name = "Conveyor Script"
  3822. Script271.Parent = mas
  3823. table.insert(cors,sandbox(Script271,function()
  3824. -- I swordfish690 thank Kingline90 for this script
  3825.  
  3826. while true do
  3827. script.Parent.Velocity = script.Parent.CFrame.lookVector *script.Parent.Speed.Value
  3828. wait(1)
  3829. end
  3830. end))
  3831. Script272.Parent = mas
  3832. table.insert(cors,sandbox(Script272,function()
  3833. local FF = script.Parent
  3834.  
  3835. local function steppedOn(part)
  3836. local parent = part.Parent
  3837. if game.Players:GetPlayerFromCharacter(parent) then
  3838. parent.Humanoid.Sit = true
  3839. end
  3840. end
  3841.  
  3842. FF.Touched:connect(steppedOn)
  3843. end))
  3844. Script273.Name = "Conveyor Script"
  3845. Script273.Parent = mas
  3846. table.insert(cors,sandbox(Script273,function()
  3847. -- I swordfish690 thank Kingline90 for this script
  3848.  
  3849. while true do
  3850. script.Parent.Velocity = script.Parent.CFrame.lookVector *script.Parent.Speed.Value
  3851. wait(1)
  3852. end
  3853. end))
  3854. Script274.Parent = mas
  3855. table.insert(cors,sandbox(Script274,function()
  3856. local FF = script.Parent
  3857.  
  3858. local function steppedOn(part)
  3859. local parent = part.Parent
  3860. if game.Players:GetPlayerFromCharacter(parent) then
  3861. parent.Humanoid.Sit = true
  3862. end
  3863. end
  3864.  
  3865. FF.Touched:connect(steppedOn)
  3866. end))
  3867. Part275.Parent = Model0
  3868. Part275.BrickColor = BrickColor.new("Toothpaste")
  3869. Part275.Anchored = true
  3870. Part275.FormFactor = Enum.FormFactor.Symmetric
  3871. Part275.Size = Vector3.new(11.2000008, 1.60000134, 26.7999992)
  3872. Part275.CFrame = CFrame.new(-27.7000809, 14.7999182, -77, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3873. Part275.BottomSurface = Enum.SurfaceType.Smooth
  3874. Part275.TopSurface = Enum.SurfaceType.Smooth
  3875. Part275.Color = Color3.new(0, 1, 1)
  3876. Part275.Position = Vector3.new(-27.7000809, 14.7999182, -77)
  3877. Part275.Color = Color3.new(0, 1, 1)
  3878. PointLight276.Parent = Part275
  3879. PointLight276.Color = Color3.new(0.333333, 1, 0)
  3880. PointLight276.Range = 20
  3881. PointLight276.Color = Color3.new(0.333333, 1, 0)
  3882. Sound277.Parent = Part275
  3883. Sound277.SoundId = "rbxassetid://168979856"
  3884. Sound277.Volume = 1
  3885. Sound277.Looped = true
  3886. Script278.Parent = Sound277
  3887. table.insert(cors,sandbox(Script278,function()
  3888. script.Parent:Play()
  3889.  
  3890. end))
  3891. WedgePart279.Parent = Model0
  3892. WedgePart279.BrickColor = BrickColor.new("Bright green")
  3893. WedgePart279.Rotation = Vector3.new(0, 0, 180)
  3894. WedgePart279.Anchored = true
  3895. WedgePart279.FormFactor = Enum.FormFactor.Symmetric
  3896. WedgePart279.Size = Vector3.new(13.8000011, 16, 30.0000038)
  3897. WedgePart279.CFrame = CFrame.new(-40.3999023, 31.0000134, -76.3999634, -0.999999642, -2.63450062e-07, -2.38418579e-07, 2.63450289e-07, -0.999999881, -3.85644199e-07, -2.38418579e-07, -3.85644171e-07, 0.999999642)
  3898. WedgePart279.Color = Color3.new(0.294118, 0.592157, 0.294118)
  3899. WedgePart279.Position = Vector3.new(-40.3999023, 31.0000134, -76.3999634)
  3900. WedgePart279.Orientation = Vector3.new(0, 0, 180)
  3901. WedgePart279.Color = Color3.new(0.294118, 0.592157, 0.294118)
  3902. Part280.Parent = Model0
  3903. Part280.BrickColor = BrickColor.new("Camo")
  3904. Part280.Transparency = 1
  3905. Part280.Anchored = true
  3906. Part280.FormFactor = Enum.FormFactor.Custom
  3907. Part280.Size = Vector3.new(4.60000038, 10, 0.400000036)
  3908. Part280.CFrame = CFrame.new(-47.0000076, 24.0000134, -90.5999908, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3909. Part280.TopSurface = Enum.SurfaceType.Smooth
  3910. Part280.Color = Color3.new(0.227451, 0.490196, 0.0823529)
  3911. Part280.Position = Vector3.new(-47.0000076, 24.0000134, -90.5999908)
  3912. Part280.Color = Color3.new(0.227451, 0.490196, 0.0823529)
  3913. Decal281.Parent = Part280
  3914. Decal281.Texture = "http://www.roblox.com/asset/?id=50449800"
  3915. Decal282.Parent = Part280
  3916. Decal282.Texture = "http://www.roblox.com/asset/?id=50449800"
  3917. Decal282.Face = Enum.NormalId.Back
  3918. Decal283.Parent = Part280
  3919. Decal283.Texture = "http://www.roblox.com/asset/?id=27017316"
  3920. Decal283.Face = Enum.NormalId.Left
  3921. Decal284.Parent = Part280
  3922. Decal284.Texture = "http://www.roblox.com/asset/?id=27017316"
  3923. Decal284.Face = Enum.NormalId.Top
  3924. Decal285.Parent = Part280
  3925. Decal285.Texture = "http://www.roblox.com/asset/?id=27017316"
  3926. Decal285.Face = Enum.NormalId.Right
  3927. WedgePart286.Parent = Model0
  3928. WedgePart286.BrickColor = BrickColor.new("Bright green")
  3929. WedgePart286.Rotation = Vector3.new(-180, 0, -180)
  3930. WedgePart286.Anchored = true
  3931. WedgePart286.FormFactor = Enum.FormFactor.Symmetric
  3932. WedgePart286.Size = Vector3.new(13.8000011, 16, 28.0000038)
  3933. WedgePart286.CFrame = CFrame.new(-40.3999023, 10.9999199, -77.3999634, -0.999999642, 0, 2.5331974e-07, 0, 1, 0, -2.5331974e-07, 0, -0.999999642)
  3934. WedgePart286.Color = Color3.new(0.294118, 0.592157, 0.294118)
  3935. WedgePart286.Position = Vector3.new(-40.3999023, 10.9999199, -77.3999634)
  3936. WedgePart286.Orientation = Vector3.new(0, 180, 0)
  3937. WedgePart286.Color = Color3.new(0.294118, 0.592157, 0.294118)
  3938. Part287.Parent = Model0
  3939. Part287.BrickColor = BrickColor.new("Really red")
  3940. Part287.Anchored = true
  3941. Part287.FormFactor = Enum.FormFactor.Symmetric
  3942. Part287.Size = Vector3.new(1, 5, 49.2000008)
  3943. Part287.CFrame = CFrame.new(-47.8000565, 5.4999752, -78.7999878, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3944. Part287.TopSurface = Enum.SurfaceType.Smooth
  3945. Part287.Color = Color3.new(1, 0, 0)
  3946. Part287.Position = Vector3.new(-47.8000565, 5.4999752, -78.7999878)
  3947. Part287.Color = Color3.new(1, 0, 0)
  3948. Part288.Parent = Model0
  3949. Part288.BrickColor = BrickColor.new("Toothpaste")
  3950. Part288.Anchored = true
  3951. Part288.FormFactor = Enum.FormFactor.Symmetric
  3952. Part288.Size = Vector3.new(1, 31, 12)
  3953. Part288.CFrame = CFrame.new(-63.5999756, 23.5000134, -97.3999786, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3954. Part288.TopSurface = Enum.SurfaceType.Smooth
  3955. Part288.Color = Color3.new(0, 1, 1)
  3956. Part288.Position = Vector3.new(-63.5999756, 23.5000134, -97.3999786)
  3957. Part288.Color = Color3.new(0, 1, 1)
  3958. Model289.Parent = Model0
  3959. Part290.Parent = Model289
  3960. Part290.Material = Enum.Material.Fabric
  3961. Part290.BrickColor = BrickColor.new("Dark orange")
  3962. Part290.Rotation = Vector3.new(0, -90, 0)
  3963. Part290.Anchored = true
  3964. Part290.CanCollide = false
  3965. Part290.FormFactor = Enum.FormFactor.Symmetric
  3966. Part290.Size = Vector3.new(1, 2.80000019, 2)
  3967. Part290.CFrame = CFrame.new(-42.3000565, 37.8003578, -95.3000031, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  3968. Part290.BottomSurface = Enum.SurfaceType.Smooth
  3969. Part290.TopSurface = Enum.SurfaceType.Smooth
  3970. Part290.Color = Color3.new(0.627451, 0.372549, 0.207843)
  3971. Part290.Position = Vector3.new(-42.3000565, 37.8003578, -95.3000031)
  3972. Part290.Orientation = Vector3.new(0, -90, 0)
  3973. Part290.Color = Color3.new(0.627451, 0.372549, 0.207843)
  3974. Model291.Parent = Model289
  3975. Part292.Parent = Model291
  3976. Part292.Material = Enum.Material.Fabric
  3977. Part292.BrickColor = BrickColor.new("Lime green")
  3978. Part292.Anchored = true
  3979. Part292.FormFactor = Enum.FormFactor.Symmetric
  3980. Part292.Shape = Enum.PartType.Ball
  3981. Part292.Size = Vector3.new(5, 5, 5)
  3982. Part292.CFrame = CFrame.new(-42.3000565, 31.4998074, -96.8000031, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3983. Part292.BottomSurface = Enum.SurfaceType.Smooth
  3984. Part292.TopSurface = Enum.SurfaceType.Smooth
  3985. Part292.Color = Color3.new(0, 1, 0)
  3986. Part292.Position = Vector3.new(-42.3000565, 31.4998074, -96.8000031)
  3987. Part292.Color = Color3.new(0, 1, 0)
  3988. PointLight293.Parent = Part292
  3989. PointLight293.Color = Color3.new(0.333333, 1, 0)
  3990. PointLight293.Range = 20
  3991. PointLight293.Color = Color3.new(0.333333, 1, 0)
  3992. Part294.Parent = Model291
  3993. Part294.Material = Enum.Material.Fabric
  3994. Part294.BrickColor = BrickColor.new("Bright green")
  3995. Part294.Rotation = Vector3.new(0, 0, 90)
  3996. Part294.Anchored = true
  3997. Part294.FormFactor = Enum.FormFactor.Symmetric
  3998. Part294.Shape = Enum.PartType.Cylinder
  3999. Part294.Size = Vector3.new(5, 5, 5)
  4000. Part294.CFrame = CFrame.new(-42.3000565, 28.8999023, -96.8000031, 0, -0.99999994, 0, 0.99999994, 0, 0, 0, 0, 1)
  4001. Part294.BottomSurface = Enum.SurfaceType.Smooth
  4002. Part294.TopSurface = Enum.SurfaceType.Smooth
  4003. Part294.Color = Color3.new(0.294118, 0.592157, 0.294118)
  4004. Part294.Position = Vector3.new(-42.3000565, 28.8999023, -96.8000031)
  4005. Part294.Orientation = Vector3.new(0, 0, 90)
  4006. Part294.Color = Color3.new(0.294118, 0.592157, 0.294118)
  4007. Part295.Parent = Model291
  4008. Part295.Material = Enum.Material.Fabric
  4009. Part295.BrickColor = BrickColor.new("Dark orange")
  4010. Part295.Anchored = true
  4011. Part295.FormFactor = Enum.FormFactor.Symmetric
  4012. Part295.Size = Vector3.new(2, 1, 2)
  4013. Part295.CFrame = CFrame.new(-42.3000565, 35.3002014, -96.8000031, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4014. Part295.LeftSurface = Enum.SurfaceType.Hinge
  4015. Part295.RightSurface = Enum.SurfaceType.Hinge
  4016. Part295.TopSurface = Enum.SurfaceType.Smooth
  4017. Part295.Color = Color3.new(0.627451, 0.372549, 0.207843)
  4018. Part295.Position = Vector3.new(-42.3000565, 35.3002014, -96.8000031)
  4019. Part295.Color = Color3.new(0.627451, 0.372549, 0.207843)
  4020. Part296.Parent = Model291
  4021. Part296.Material = Enum.Material.Fabric
  4022. Part296.BrickColor = BrickColor.new("Bright green")
  4023. Part296.Rotation = Vector3.new(0, 0, 90)
  4024. Part296.Anchored = true
  4025. Part296.FormFactor = Enum.FormFactor.Symmetric
  4026. Part296.Shape = Enum.PartType.Cylinder
  4027. Part296.Size = Vector3.new(5, 5, 5)
  4028. Part296.CFrame = CFrame.new(-42.3000565, 26.1000137, -96.8000031, 0, -0.99999994, 0, 0.99999994, 0, 0, 0, 0, 1)
  4029. Part296.BottomSurface = Enum.SurfaceType.Smooth
  4030. Part296.TopSurface = Enum.SurfaceType.Smooth
  4031. Part296.Color = Color3.new(0.294118, 0.592157, 0.294118)
  4032. Part296.Position = Vector3.new(-42.3000565, 26.1000137, -96.8000031)
  4033. Part296.Orientation = Vector3.new(0, 0, 90)
  4034. Part296.Color = Color3.new(0.294118, 0.592157, 0.294118)
  4035. Part297.Parent = Model291
  4036. Part297.Material = Enum.Material.Fabric
  4037. Part297.BrickColor = BrickColor.new("Lime green")
  4038. Part297.Anchored = true
  4039. Part297.FormFactor = Enum.FormFactor.Symmetric
  4040. Part297.Shape = Enum.PartType.Ball
  4041. Part297.Size = Vector3.new(5, 5, 5)
  4042. Part297.CFrame = CFrame.new(-42.3000565, 23.5000687, -96.8000031, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4043. Part297.BottomSurface = Enum.SurfaceType.Smooth
  4044. Part297.TopSurface = Enum.SurfaceType.Smooth
  4045. Part297.Color = Color3.new(0, 1, 0)
  4046. Part297.Position = Vector3.new(-42.3000565, 23.5000687, -96.8000031)
  4047. Part297.Color = Color3.new(0, 1, 0)
  4048. Part298.Parent = Model291
  4049. Part298.Material = Enum.Material.Fabric
  4050. Part298.BrickColor = BrickColor.new("Dark orange")
  4051. Part298.Anchored = true
  4052. Part298.FormFactor = Enum.FormFactor.Symmetric
  4053. Part298.Size = Vector3.new(2, 2.4000001, 2)
  4054. Part298.CFrame = CFrame.new(-42.3000565, 33.6002426, -96.8000031, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4055. Part298.TopSurface = Enum.SurfaceType.Smooth
  4056. Part298.Color = Color3.new(0.627451, 0.372549, 0.207843)
  4057. Part298.Position = Vector3.new(-42.3000565, 33.6002426, -96.8000031)
  4058. Part298.Color = Color3.new(0.627451, 0.372549, 0.207843)
  4059. Script299.Name = "qPerfectionWeld"
  4060. Script299.Parent = Model291
  4061. table.insert(cors,sandbox(Script299,function()
  4062. -- Created by Quenty (@Quenty, follow me on twitter).
  4063. -- Should work with only ONE copy, seamlessly with weapons, trains, et cetera.
  4064. -- Parts should be ANCHORED before use. It will, however, store relatives values and so when tools are reparented, it'll fix them.
  4065.  
  4066. --[[ INSTRUCTIONS
  4067. - Place in the model
  4068. - Make sure model is anchored
  4069. - That's it. It will weld the model and all children.
  4070.  
  4071. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  4072. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  4073. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  4074. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  4075. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  4076. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  4077. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  4078. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  4079.  
  4080. 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.
  4081. ]]
  4082.  
  4083. --[[ DOCUMENTATION
  4084. - 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.
  4085. - Will work in PBS servers
  4086. - Will work as long as it starts out with the part anchored
  4087. - Stores the relative CFrame as a CFrame value
  4088. - Takes careful measure to reduce lag by not having a joint set off or affected by the parts offset from origin
  4089. - Utilizes a recursive algorith to find all parts in the model
  4090. - Will reweld on script reparent if the script is initially parented to a tool.
  4091. - Welds as fast as possible
  4092. ]]
  4093.  
  4094. -- qPerfectionWeld.lua
  4095. -- Created 10/6/2014
  4096. -- Author: Quenty
  4097. -- Version 1.0.3
  4098.  
  4099. -- Updated 10/14/2014 - Updated to 1.0.1
  4100. --- Bug fix with existing ROBLOX welds ? Repro by asimo3089
  4101.  
  4102. -- Updated 10/14/2014 - Updated to 1.0.2
  4103. --- Fixed bug fix.
  4104.  
  4105. -- Updated 10/14/2014 - Updated to 1.0.3
  4106. --- Now handles joints semi-acceptably. May be rather hacky with some joints. :/
  4107.  
  4108. 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).
  4109.  
  4110.  
  4111. local function CallOnChildren(Instance, FunctionToCall)
  4112. -- Calls a function on each of the children of a certain object, using recursion.
  4113.  
  4114. FunctionToCall(Instance)
  4115.  
  4116. for _, Child in next, Instance:GetChildren() do
  4117. CallOnChildren(Child, FunctionToCall)
  4118. end
  4119. end
  4120.  
  4121. local function GetNearestParent(Instance, ClassName)
  4122. -- Returns the nearest parent of a certain class, or returns nil
  4123.  
  4124. local Ancestor = Instance
  4125. repeat
  4126. Ancestor = Ancestor.Parent
  4127. if Ancestor == nil then
  4128. return nil
  4129. end
  4130. until Ancestor:IsA(ClassName)
  4131.  
  4132. return Ancestor
  4133. end
  4134.  
  4135. local function GetBricks(StartInstance)
  4136. local List = {}
  4137.  
  4138. -- if StartInstance:IsA("BasePart") then
  4139. -- List[#List+1] = StartInstance
  4140. -- end
  4141.  
  4142. CallOnChildren(StartInstance, function(Item)
  4143. if Item:IsA("BasePart") then
  4144. List[#List+1] = Item;
  4145. end
  4146. end)
  4147.  
  4148. return List
  4149. end
  4150.  
  4151. local function Modify(Instance, Values)
  4152. -- Modifies an Instance by using a table.
  4153.  
  4154. assert(type(Values) == "table", "Values is not a table");
  4155.  
  4156. for Index, Value in next, Values do
  4157. if type(Index) == "number" then
  4158. Value.Parent = Instance
  4159. else
  4160. Instance[Index] = Value
  4161. end
  4162. end
  4163. return Instance
  4164. end
  4165.  
  4166. local function Make(ClassType, Properties)
  4167. -- Using a syntax hack to create a nice way to Make new items.
  4168.  
  4169. return Modify(Instance.new(ClassType), Properties)
  4170. end
  4171.  
  4172. local Surfaces = {"TopSurface", "BottomSurface", "LeftSurface", "RightSurface", "FrontSurface", "BackSurface"}
  4173. local HingSurfaces = {"Hinge", "Motor", "SteppingMotor"}
  4174.  
  4175. local function HasWheelJoint(Part)
  4176. for _, SurfaceName in pairs(Surfaces) do
  4177. for _, HingSurfaceName in pairs(HingSurfaces) do
  4178. if Part[SurfaceName].Name == HingSurfaceName then
  4179. return true
  4180. end
  4181. end
  4182. end
  4183.  
  4184. return false
  4185. end
  4186.  
  4187. local function ShouldBreakJoints(Part)
  4188. --- We do not want to break joints of wheels/hinges. This takes the utmost care to not do this. There are
  4189. -- definitely some edge cases.
  4190.  
  4191. if NEVER_BREAK_JOINTS then
  4192. return false
  4193. end
  4194.  
  4195. if HasWheelJoint(Part) then
  4196. return false
  4197. end
  4198.  
  4199. local Connected = Part:GetConnectedParts()
  4200.  
  4201. if #Connected == 1 then
  4202. return false
  4203. end
  4204.  
  4205. for _, Item in pairs(Connected) do
  4206. if HasWheelJoint(Item) then
  4207. return false
  4208. elseif not Item:IsDescendantOf(script.Parent) then
  4209. return false
  4210. end
  4211. end
  4212.  
  4213. return true
  4214. end
  4215.  
  4216. local function WeldTogether(Part0, Part1, JointType, WeldParent)
  4217. --- Weld's 2 parts together
  4218. -- @param Part0 The first part
  4219. -- @param Part1 The second part (Dependent part most of the time).
  4220. -- @param [JointType] The type of joint. Defaults to weld.
  4221. -- @param [WeldParent] Parent of the weld, Defaults to Part0 (so GC is better).
  4222. -- @return The weld created.
  4223.  
  4224. JointType = JointType or "Weld"
  4225. local RelativeValue = Part1:FindFirstChild("qRelativeCFrameWeldValue")
  4226.  
  4227. local NewWeld = Part1:FindFirstChild("qCFrameWeldThingy") or Instance.new(JointType)
  4228. Modify(NewWeld, {
  4229. Name = "qCFrameWeldThingy";
  4230. Part0 = Part0;
  4231. Part1 = Part1;
  4232. C0 = CFrame.new();--Part0.CFrame:inverse();
  4233. C1 = RelativeValue and RelativeValue.Value or Part1.CFrame:toObjectSpace(Part0.CFrame); --Part1.CFrame:inverse() * Part0.CFrame;-- Part1.CFrame:inverse();
  4234. Parent = Part1;
  4235. })
  4236.  
  4237. if not RelativeValue then
  4238. RelativeValue = Make("CFrameValue", {
  4239. Parent = Part1;
  4240. Name = "qRelativeCFrameWeldValue";
  4241. Archivable = true;
  4242. Value = NewWeld.C1;
  4243. })
  4244. end
  4245.  
  4246. return NewWeld
  4247. end
  4248.  
  4249. local function WeldParts(Parts, MainPart, JointType, DoNotUnanchor)
  4250. -- @param Parts The Parts to weld. Should be anchored to prevent really horrible results.
  4251. -- @param MainPart The part to weld the model to (can be in the model).
  4252. -- @param [JointType] The type of joint. Defaults to weld.
  4253. -- @parm DoNotUnanchor Boolean, if true, will not unachor the model after cmopletion.
  4254.  
  4255. for _, Part in pairs(Parts) do
  4256. if ShouldBreakJoints(Part) then
  4257. Part:BreakJoints()
  4258. end
  4259. end
  4260.  
  4261. for _, Part in pairs(Parts) do
  4262. if Part ~= MainPart then
  4263. WeldTogether(MainPart, Part, JointType, MainPart)
  4264. end
  4265. end
  4266.  
  4267. if not DoNotUnanchor then
  4268. for _, Part in pairs(Parts) do
  4269. Part.Anchored = false
  4270. end
  4271. MainPart.Anchored = false
  4272. end
  4273. end
  4274.  
  4275. local function PerfectionWeld()
  4276. local Tool = GetNearestParent(script, "Tool")
  4277.  
  4278. local Parts = GetBricks(script.Parent)
  4279. 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]
  4280.  
  4281. if PrimaryPart then
  4282. WeldParts(Parts, PrimaryPart, "Weld", false)
  4283. else
  4284. warn("qWeld - Unable to weld part")
  4285. end
  4286.  
  4287. return Tool
  4288. end
  4289.  
  4290. local Tool = PerfectionWeld()
  4291.  
  4292.  
  4293. if Tool and script.ClassName == "Script" then
  4294. --- Don't bother with local scripts
  4295.  
  4296. script.Parent.AncestryChanged:connect(function()
  4297. PerfectionWeld()
  4298. end)
  4299. end
  4300.  
  4301. -- Created by Quenty (@Quenty, follow me on twitter).
  4302.  
  4303. end))
  4304. Model300.Parent = Model289
  4305. Part301.Parent = Model300
  4306. Part301.Material = Enum.Material.Fabric
  4307. Part301.BrickColor = BrickColor.new("Dark orange")
  4308. Part301.Rotation = Vector3.new(0, -90, 0)
  4309. Part301.Anchored = true
  4310. Part301.FormFactor = Enum.FormFactor.Symmetric
  4311. Part301.Size = Vector3.new(2, 2.5999999, 1)
  4312. Part301.CFrame = CFrame.new(-40.8000565, 36.1002007, -96.8000031, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  4313. Part301.BottomSurface = Enum.SurfaceType.Smooth
  4314. Part301.TopSurface = Enum.SurfaceType.Smooth
  4315. Part301.Color = Color3.new(0.627451, 0.372549, 0.207843)
  4316. Part301.Position = Vector3.new(-40.8000565, 36.1002007, -96.8000031)
  4317. Part301.Orientation = Vector3.new(0, -90, 0)
  4318. Part301.Color = Color3.new(0.627451, 0.372549, 0.207843)
  4319. Part302.Parent = Model300
  4320. Part302.Material = Enum.Material.Fabric
  4321. Part302.BrickColor = BrickColor.new("Dark orange")
  4322. Part302.Rotation = Vector3.new(0, -90, 0)
  4323. Part302.Anchored = true
  4324. Part302.FormFactor = Enum.FormFactor.Symmetric
  4325. Part302.Size = Vector3.new(2, 1, 2)
  4326. Part302.CFrame = CFrame.new(-42.3000565, 36.9003601, -96.8000031, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  4327. Part302.LeftSurface = Enum.SurfaceType.Hinge
  4328. Part302.RightSurface = Enum.SurfaceType.Hinge
  4329. Part302.TopSurface = Enum.SurfaceType.Smooth
  4330. Part302.Color = Color3.new(0.627451, 0.372549, 0.207843)
  4331. Part302.Position = Vector3.new(-42.3000565, 36.9003601, -96.8000031)
  4332. Part302.Orientation = Vector3.new(0, -90, 0)
  4333. Part302.Color = Color3.new(0.627451, 0.372549, 0.207843)
  4334. Part303.Parent = Model300
  4335. Part303.Material = Enum.Material.Fabric
  4336. Part303.BrickColor = BrickColor.new("Dark orange")
  4337. Part303.Rotation = Vector3.new(0, -90, 0)
  4338. Part303.Anchored = true
  4339. Part303.FormFactor = Enum.FormFactor.Symmetric
  4340. Part303.Size = Vector3.new(2, 2.5999999, 1)
  4341. Part303.CFrame = CFrame.new(-43.8000565, 36.1002007, -96.8000031, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  4342. Part303.BottomSurface = Enum.SurfaceType.Smooth
  4343. Part303.TopSurface = Enum.SurfaceType.Smooth
  4344. Part303.Color = Color3.new(0.627451, 0.372549, 0.207843)
  4345. Part303.Position = Vector3.new(-43.8000565, 36.1002007, -96.8000031)
  4346. Part303.Orientation = Vector3.new(0, -90, 0)
  4347. Part303.Color = Color3.new(0.627451, 0.372549, 0.207843)
  4348. Script304.Name = "qPerfectionWeld"
  4349. Script304.Parent = Model300
  4350. table.insert(cors,sandbox(Script304,function()
  4351. -- Created by Quenty (@Quenty, follow me on twitter).
  4352. -- Should work with only ONE copy, seamlessly with weapons, trains, et cetera.
  4353. -- Parts should be ANCHORED before use. It will, however, store relatives values and so when tools are reparented, it'll fix them.
  4354.  
  4355. --[[ INSTRUCTIONS
  4356. - Place in the model
  4357. - Make sure model is anchored
  4358. - That's it. It will weld the model and all children.
  4359.  
  4360. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  4361. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  4362. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  4363. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  4364. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  4365. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  4366. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  4367. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  4368.  
  4369. 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.
  4370. ]]
  4371.  
  4372. --[[ DOCUMENTATION
  4373. - 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.
  4374. - Will work in PBS servers
  4375. - Will work as long as it starts out with the part anchored
  4376. - Stores the relative CFrame as a CFrame value
  4377. - Takes careful measure to reduce lag by not having a joint set off or affected by the parts offset from origin
  4378. - Utilizes a recursive algorith to find all parts in the model
  4379. - Will reweld on script reparent if the script is initially parented to a tool.
  4380. - Welds as fast as possible
  4381. ]]
  4382.  
  4383. -- qPerfectionWeld.lua
  4384. -- Created 10/6/2014
  4385. -- Author: Quenty
  4386. -- Version 1.0.3
  4387.  
  4388. -- Updated 10/14/2014 - Updated to 1.0.1
  4389. --- Bug fix with existing ROBLOX welds ? Repro by asimo3089
  4390.  
  4391. -- Updated 10/14/2014 - Updated to 1.0.2
  4392. --- Fixed bug fix.
  4393.  
  4394. -- Updated 10/14/2014 - Updated to 1.0.3
  4395. --- Now handles joints semi-acceptably. May be rather hacky with some joints. :/
  4396.  
  4397. 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).
  4398.  
  4399.  
  4400. local function CallOnChildren(Instance, FunctionToCall)
  4401. -- Calls a function on each of the children of a certain object, using recursion.
  4402.  
  4403. FunctionToCall(Instance)
  4404.  
  4405. for _, Child in next, Instance:GetChildren() do
  4406. CallOnChildren(Child, FunctionToCall)
  4407. end
  4408. end
  4409.  
  4410. local function GetNearestParent(Instance, ClassName)
  4411. -- Returns the nearest parent of a certain class, or returns nil
  4412.  
  4413. local Ancestor = Instance
  4414. repeat
  4415. Ancestor = Ancestor.Parent
  4416. if Ancestor == nil then
  4417. return nil
  4418. end
  4419. until Ancestor:IsA(ClassName)
  4420.  
  4421. return Ancestor
  4422. end
  4423.  
  4424. local function GetBricks(StartInstance)
  4425. local List = {}
  4426.  
  4427. -- if StartInstance:IsA("BasePart") then
  4428. -- List[#List+1] = StartInstance
  4429. -- end
  4430.  
  4431. CallOnChildren(StartInstance, function(Item)
  4432. if Item:IsA("BasePart") then
  4433. List[#List+1] = Item;
  4434. end
  4435. end)
  4436.  
  4437. return List
  4438. end
  4439.  
  4440. local function Modify(Instance, Values)
  4441. -- Modifies an Instance by using a table.
  4442.  
  4443. assert(type(Values) == "table", "Values is not a table");
  4444.  
  4445. for Index, Value in next, Values do
  4446. if type(Index) == "number" then
  4447. Value.Parent = Instance
  4448. else
  4449. Instance[Index] = Value
  4450. end
  4451. end
  4452. return Instance
  4453. end
  4454.  
  4455. local function Make(ClassType, Properties)
  4456. -- Using a syntax hack to create a nice way to Make new items.
  4457.  
  4458. return Modify(Instance.new(ClassType), Properties)
  4459. end
  4460.  
  4461. local Surfaces = {"TopSurface", "BottomSurface", "LeftSurface", "RightSurface", "FrontSurface", "BackSurface"}
  4462. local HingSurfaces = {"Hinge", "Motor", "SteppingMotor"}
  4463.  
  4464. local function HasWheelJoint(Part)
  4465. for _, SurfaceName in pairs(Surfaces) do
  4466. for _, HingSurfaceName in pairs(HingSurfaces) do
  4467. if Part[SurfaceName].Name == HingSurfaceName then
  4468. return true
  4469. end
  4470. end
  4471. end
  4472.  
  4473. return false
  4474. end
  4475.  
  4476. local function ShouldBreakJoints(Part)
  4477. --- We do not want to break joints of wheels/hinges. This takes the utmost care to not do this. There are
  4478. -- definitely some edge cases.
  4479.  
  4480. if NEVER_BREAK_JOINTS then
  4481. return false
  4482. end
  4483.  
  4484. if HasWheelJoint(Part) then
  4485. return false
  4486. end
  4487.  
  4488. local Connected = Part:GetConnectedParts()
  4489.  
  4490. if #Connected == 1 then
  4491. return false
  4492. end
  4493.  
  4494. for _, Item in pairs(Connected) do
  4495. if HasWheelJoint(Item) then
  4496. return false
  4497. elseif not Item:IsDescendantOf(script.Parent) then
  4498. return false
  4499. end
  4500. end
  4501.  
  4502. return true
  4503. end
  4504.  
  4505. local function WeldTogether(Part0, Part1, JointType, WeldParent)
  4506. --- Weld's 2 parts together
  4507. -- @param Part0 The first part
  4508. -- @param Part1 The second part (Dependent part most of the time).
  4509. -- @param [JointType] The type of joint. Defaults to weld.
  4510. -- @param [WeldParent] Parent of the weld, Defaults to Part0 (so GC is better).
  4511. -- @return The weld created.
  4512.  
  4513. JointType = JointType or "Weld"
  4514. local RelativeValue = Part1:FindFirstChild("qRelativeCFrameWeldValue")
  4515.  
  4516. local NewWeld = Part1:FindFirstChild("qCFrameWeldThingy") or Instance.new(JointType)
  4517. Modify(NewWeld, {
  4518. Name = "qCFrameWeldThingy";
  4519. Part0 = Part0;
  4520. Part1 = Part1;
  4521. C0 = CFrame.new();--Part0.CFrame:inverse();
  4522. C1 = RelativeValue and RelativeValue.Value or Part1.CFrame:toObjectSpace(Part0.CFrame); --Part1.CFrame:inverse() * Part0.CFrame;-- Part1.CFrame:inverse();
  4523. Parent = Part1;
  4524. })
  4525.  
  4526. if not RelativeValue then
  4527. RelativeValue = Make("CFrameValue", {
  4528. Parent = Part1;
  4529. Name = "qRelativeCFrameWeldValue";
  4530. Archivable = true;
  4531. Value = NewWeld.C1;
  4532. })
  4533. end
  4534.  
  4535. return NewWeld
  4536. end
  4537.  
  4538. local function WeldParts(Parts, MainPart, JointType, DoNotUnanchor)
  4539. -- @param Parts The Parts to weld. Should be anchored to prevent really horrible results.
  4540. -- @param MainPart The part to weld the model to (can be in the model).
  4541. -- @param [JointType] The type of joint. Defaults to weld.
  4542. -- @parm DoNotUnanchor Boolean, if true, will not unachor the model after cmopletion.
  4543.  
  4544. for _, Part in pairs(Parts) do
  4545. if ShouldBreakJoints(Part) then
  4546. Part:BreakJoints()
  4547. end
  4548. end
  4549.  
  4550. for _, Part in pairs(Parts) do
  4551. if Part ~= MainPart then
  4552. WeldTogether(MainPart, Part, JointType, MainPart)
  4553. end
  4554. end
  4555.  
  4556. if not DoNotUnanchor then
  4557. for _, Part in pairs(Parts) do
  4558. Part.Anchored = false
  4559. end
  4560. MainPart.Anchored = false
  4561. end
  4562. end
  4563.  
  4564. local function PerfectionWeld()
  4565. local Tool = GetNearestParent(script, "Tool")
  4566.  
  4567. local Parts = GetBricks(script.Parent)
  4568. 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]
  4569.  
  4570. if PrimaryPart then
  4571. WeldParts(Parts, PrimaryPart, "Weld", false)
  4572. else
  4573. warn("qWeld - Unable to weld part")
  4574. end
  4575.  
  4576. return Tool
  4577. end
  4578.  
  4579. local Tool = PerfectionWeld()
  4580.  
  4581.  
  4582. if Tool and script.ClassName == "Script" then
  4583. --- Don't bother with local scripts
  4584.  
  4585. script.Parent.AncestryChanged:connect(function()
  4586. PerfectionWeld()
  4587. end)
  4588. end
  4589.  
  4590. -- Created by Quenty (@Quenty, follow me on twitter).
  4591.  
  4592. end))
  4593. Part305.Parent = Model289
  4594. Part305.Material = Enum.Material.Fabric
  4595. Part305.BrickColor = BrickColor.new("Dark orange")
  4596. Part305.Rotation = Vector3.new(0, -90, 0)
  4597. Part305.Anchored = true
  4598. Part305.CanCollide = false
  4599. Part305.FormFactor = Enum.FormFactor.Symmetric
  4600. Part305.Size = Vector3.new(1, 2.80000019, 2)
  4601. Part305.CFrame = CFrame.new(-42.3000565, 37.8003578, -98.3000031, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  4602. Part305.BottomSurface = Enum.SurfaceType.Smooth
  4603. Part305.TopSurface = Enum.SurfaceType.Smooth
  4604. Part305.Color = Color3.new(0.627451, 0.372549, 0.207843)
  4605. Part305.Position = Vector3.new(-42.3000565, 37.8003578, -98.3000031)
  4606. Part305.Orientation = Vector3.new(0, -90, 0)
  4607. Part305.Color = Color3.new(0.627451, 0.372549, 0.207843)
  4608. Part306.Parent = Model0
  4609. Part306.BrickColor = BrickColor.new("Camo")
  4610. Part306.Transparency = 1
  4611. Part306.Anchored = true
  4612. Part306.FormFactor = Enum.FormFactor.Custom
  4613. Part306.Size = Vector3.new(25.7999992, 36, 0.600000024)
  4614. Part306.CFrame = CFrame.new(32.4999962, 21.0000134, -71.2000122, 0.999999642, -2.05148183e-08, -1.63912773e-07, 2.05148041e-08, 1, -1.35738858e-07, 1.63912773e-07, 1.35738887e-07, 0.999999642)
  4615. Part306.TopSurface = Enum.SurfaceType.Smooth
  4616. Part306.Color = Color3.new(0.227451, 0.490196, 0.0823529)
  4617. Part306.Position = Vector3.new(32.4999962, 21.0000134, -71.2000122)
  4618. Part306.Color = Color3.new(0.227451, 0.490196, 0.0823529)
  4619. Decal307.Parent = Part306
  4620. Decal307.Texture = "http://www.roblox.com/asset/?id=50449800"
  4621. Decal308.Parent = Part306
  4622. Decal308.Texture = "http://www.roblox.com/asset/?id=50449800"
  4623. Decal308.Face = Enum.NormalId.Back
  4624. Decal309.Parent = Part306
  4625. Decal309.Texture = "http://www.roblox.com/asset/?id=27017316"
  4626. Decal309.Face = Enum.NormalId.Left
  4627. Decal310.Parent = Part306
  4628. Decal310.Texture = "http://www.roblox.com/asset/?id=27017316"
  4629. Decal310.Face = Enum.NormalId.Top
  4630. Decal311.Parent = Part306
  4631. Decal311.Texture = "http://www.roblox.com/asset/?id=27017316"
  4632. Decal311.Face = Enum.NormalId.Right
  4633. Part312.Parent = Model0
  4634. Part312.BrickColor = BrickColor.new("Camo")
  4635. Part312.Transparency = 1
  4636. Part312.Anchored = true
  4637. Part312.FormFactor = Enum.FormFactor.Custom
  4638. Part312.Size = Vector3.new(3.39999962, 10.5999994, 0.200000003)
  4639. Part312.CFrame = CFrame.new(-9.20007324, 24.300005, -76.7000732, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4640. Part312.TopSurface = Enum.SurfaceType.Smooth
  4641. Part312.Color = Color3.new(0.227451, 0.490196, 0.0823529)
  4642. Part312.Position = Vector3.new(-9.20007324, 24.300005, -76.7000732)
  4643. Part312.Color = Color3.new(0.227451, 0.490196, 0.0823529)
  4644. Decal313.Parent = Part312
  4645. Decal313.Texture = "http://www.roblox.com/asset/?id=50449800"
  4646. Decal314.Parent = Part312
  4647. Decal314.Texture = "http://www.roblox.com/asset/?id=50449800"
  4648. Decal314.Face = Enum.NormalId.Back
  4649. Decal315.Parent = Part312
  4650. Decal315.Texture = "http://www.roblox.com/asset/?id=27017316"
  4651. Decal315.Face = Enum.NormalId.Left
  4652. Decal316.Parent = Part312
  4653. Decal316.Texture = "http://www.roblox.com/asset/?id=27017316"
  4654. Decal316.Face = Enum.NormalId.Top
  4655. Decal317.Parent = Part312
  4656. Decal317.Texture = "http://www.roblox.com/asset/?id=27017316"
  4657. Decal317.Face = Enum.NormalId.Right
  4658. Decal318.Parent = Part312
  4659. Decal318.Texture = "http://www.roblox.com/asset/?id=50449800"
  4660. Decal318.Face = Enum.NormalId.Bottom
  4661. Part319.Parent = Model0
  4662. Part319.BrickColor = BrickColor.new("Camo")
  4663. Part319.Transparency = 1
  4664. Part319.Anchored = true
  4665. Part319.FormFactor = Enum.FormFactor.Custom
  4666. Part319.Size = Vector3.new(3.39999962, 10.5999994, 0.200000003)
  4667. Part319.CFrame = CFrame.new(-20.2000809, 24.300005, -76.7000732, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4668. Part319.TopSurface = Enum.SurfaceType.Smooth
  4669. Part319.Color = Color3.new(0.227451, 0.490196, 0.0823529)
  4670. Part319.Position = Vector3.new(-20.2000809, 24.300005, -76.7000732)
  4671. Part319.Color = Color3.new(0.227451, 0.490196, 0.0823529)
  4672. Decal320.Parent = Part319
  4673. Decal320.Texture = "http://www.roblox.com/asset/?id=50449800"
  4674. Decal321.Parent = Part319
  4675. Decal321.Texture = "http://www.roblox.com/asset/?id=50449800"
  4676. Decal321.Face = Enum.NormalId.Back
  4677. Decal322.Parent = Part319
  4678. Decal322.Texture = "http://www.roblox.com/asset/?id=27017316"
  4679. Decal322.Face = Enum.NormalId.Left
  4680. Decal323.Parent = Part319
  4681. Decal323.Texture = "http://www.roblox.com/asset/?id=27017316"
  4682. Decal323.Face = Enum.NormalId.Top
  4683. Decal324.Parent = Part319
  4684. Decal324.Texture = "http://www.roblox.com/asset/?id=27017316"
  4685. Decal324.Face = Enum.NormalId.Right
  4686. Decal325.Parent = Part319
  4687. Decal325.Texture = "http://www.roblox.com/asset/?id=50449800"
  4688. Decal325.Face = Enum.NormalId.Bottom
  4689. WedgePart326.Parent = Model0
  4690. WedgePart326.BrickColor = BrickColor.new("Toothpaste")
  4691. WedgePart326.Rotation = Vector3.new(-180, 0, -180)
  4692. WedgePart326.Anchored = true
  4693. WedgePart326.FormFactor = Enum.FormFactor.Symmetric
  4694. WedgePart326.Size = Vector3.new(1, 16, 30.0000038)
  4695. WedgePart326.CFrame = CFrame.new(-48.8000565, 15.9999142, -75.3999634, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  4696. WedgePart326.Color = Color3.new(0, 1, 1)
  4697. WedgePart326.Position = Vector3.new(-48.8000565, 15.9999142, -75.3999634)
  4698. WedgePart326.Orientation = Vector3.new(0, 180, 0)
  4699. WedgePart326.Color = Color3.new(0, 1, 1)
  4700. Part327.Parent = Model0
  4701. Part327.BrickColor = BrickColor.new("Camo")
  4702. Part327.Anchored = true
  4703. Part327.FormFactor = Enum.FormFactor.Symmetric
  4704. Part327.Size = Vector3.new(13.8000002, 5, 13)
  4705. Part327.CFrame = CFrame.new(-42.39991, 16.4998989, -96.8999786, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4706. Part327.BottomSurface = Enum.SurfaceType.Smooth
  4707. Part327.TopSurface = Enum.SurfaceType.Smooth
  4708. Part327.Color = Color3.new(0.227451, 0.490196, 0.0823529)
  4709. Part327.Position = Vector3.new(-42.39991, 16.4998989, -96.8999786)
  4710. Part327.Color = Color3.new(0.227451, 0.490196, 0.0823529)
  4711. PointLight328.Parent = Part327
  4712. PointLight328.Color = Color3.new(0.333333, 1, 0)
  4713. PointLight328.Range = 20
  4714. PointLight328.Color = Color3.new(0.333333, 1, 0)
  4715. WedgePart329.Parent = Model0
  4716. WedgePart329.BrickColor = BrickColor.new("Bright green")
  4717. WedgePart329.Rotation = Vector3.new(-180, 0, -180)
  4718. WedgePart329.Anchored = true
  4719. WedgePart329.FormFactor = Enum.FormFactor.Symmetric
  4720. WedgePart329.Size = Vector3.new(13.8000011, 16, 31.0000038)
  4721. WedgePart329.CFrame = CFrame.new(-56.2000732, 10.9999199, -75.8999634, -0.999999642, 0, 2.5331974e-07, 0, 1, 0, -2.5331974e-07, 0, -0.999999642)
  4722. WedgePart329.Color = Color3.new(0.294118, 0.592157, 0.294118)
  4723. WedgePart329.Position = Vector3.new(-56.2000732, 10.9999199, -75.8999634)
  4724. WedgePart329.Orientation = Vector3.new(0, 180, 0)
  4725. WedgePart329.Color = Color3.new(0.294118, 0.592157, 0.294118)
  4726. Part330.Parent = Model0
  4727. Part330.BrickColor = BrickColor.new("Lime green")
  4728. Part330.Anchored = true
  4729. Part330.FormFactor = Enum.FormFactor.Symmetric
  4730. Part330.Size = Vector3.new(13.8000002, 5, 12)
  4731. Part330.CFrame = CFrame.new(-56.2000732, 16.4998989, -97.3999786, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4732. Part330.TopSurface = Enum.SurfaceType.Smooth
  4733. Part330.Color = Color3.new(0, 1, 0)
  4734. Part330.Position = Vector3.new(-56.2000732, 16.4998989, -97.3999786)
  4735. Part330.Color = Color3.new(0, 1, 0)
  4736. PointLight331.Parent = Part330
  4737. PointLight331.Color = Color3.new(0.333333, 1, 0)
  4738. PointLight331.Range = 20
  4739. PointLight331.Color = Color3.new(0.333333, 1, 0)
  4740. Part332.Parent = Model0
  4741. Part332.BrickColor = BrickColor.new("Toothpaste")
  4742. Part332.Anchored = true
  4743. Part332.FormFactor = Enum.FormFactor.Symmetric
  4744. Part332.Size = Vector3.new(15.8800001, 11.000001, 1)
  4745. Part332.CFrame = CFrame.new(-14.7600098, 8.49991989, -77.0999756, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4746. Part332.BottomSurface = Enum.SurfaceType.Smooth
  4747. Part332.TopSurface = Enum.SurfaceType.Smooth
  4748. Part332.Color = Color3.new(0, 1, 1)
  4749. Part332.Position = Vector3.new(-14.7600098, 8.49991989, -77.0999756)
  4750. Part332.Color = Color3.new(0, 1, 1)
  4751. PointLight333.Parent = Part332
  4752. PointLight333.Color = Color3.new(0.333333, 1, 0)
  4753. PointLight333.Range = 20
  4754. PointLight333.Color = Color3.new(0.333333, 1, 0)
  4755. Script334.Parent = mas
  4756. table.insert(cors,sandbox(Script334,function()
  4757. local FF = script.Parent
  4758.  
  4759. local function steppedOn(part)
  4760. local parent = part.Parent
  4761. if game.Players:GetPlayerFromCharacter(parent) then
  4762. parent.Humanoid.Sit = true
  4763. end
  4764. end
  4765.  
  4766. FF.Touched:connect(steppedOn)
  4767. end))
  4768. Script335.Name = "Conveyor Script"
  4769. Script335.Parent = mas
  4770. table.insert(cors,sandbox(Script335,function()
  4771. -- I swordfish690 thank Kingline90 for this script
  4772.  
  4773. while true do
  4774. script.Parent.Velocity = script.Parent.CFrame.lookVector *script.Parent.Speed.Value
  4775. wait(1)
  4776. end
  4777. end))
  4778. Script336.Parent = mas
  4779. table.insert(cors,sandbox(Script336,function()
  4780. local FF = script.Parent
  4781.  
  4782. local function steppedOn(part)
  4783. local parent = part.Parent
  4784. if game.Players:GetPlayerFromCharacter(parent) then
  4785. parent.Humanoid.Sit = true
  4786. end
  4787. end
  4788.  
  4789. FF.Touched:connect(steppedOn)
  4790. end))
  4791. Script337.Name = "Conveyor Script"
  4792. Script337.Parent = mas
  4793. table.insert(cors,sandbox(Script337,function()
  4794. -- I swordfish690 thank Kingline90 for this script
  4795.  
  4796. while true do
  4797. script.Parent.Velocity = script.Parent.CFrame.lookVector *script.Parent.Speed.Value
  4798. wait(1)
  4799. end
  4800. end))
  4801. Script338.Name = "Conveyor Script"
  4802. Script338.Parent = mas
  4803. table.insert(cors,sandbox(Script338,function()
  4804. -- I swordfish690 thank Kingline90 for this script
  4805.  
  4806. while true do
  4807. script.Parent.Velocity = script.Parent.CFrame.lookVector *script.Parent.Speed.Value
  4808. wait(1)
  4809. end
  4810. end))
  4811. Script339.Name = "Conveyor Script"
  4812. Script339.Parent = mas
  4813. table.insert(cors,sandbox(Script339,function()
  4814. -- I swordfish690 thank Kingline90 for this script
  4815.  
  4816. while true do
  4817. script.Parent.Velocity = script.Parent.CFrame.lookVector *script.Parent.Speed.Value
  4818. wait(1)
  4819. end
  4820. end))
  4821. Part340.Parent = Model0
  4822. Part340.BrickColor = BrickColor.new("Really red")
  4823. Part340.Anchored = true
  4824. Part340.FormFactor = Enum.FormFactor.Symmetric
  4825. Part340.Size = Vector3.new(1, 31, 2.59999895)
  4826. Part340.CFrame = CFrame.new(-33, 23.5000134, -62.7000771, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4827. Part340.TopSurface = Enum.SurfaceType.Smooth
  4828. Part340.Color = Color3.new(1, 0, 0)
  4829. Part340.Position = Vector3.new(-33, 23.5000134, -62.7000771)
  4830. Part340.Color = Color3.new(1, 0, 0)
  4831. Part341.Parent = Model0
  4832. Part341.BrickColor = BrickColor.new("Really red")
  4833. Part341.Anchored = true
  4834. Part341.FormFactor = Enum.FormFactor.Symmetric
  4835. Part341.Size = Vector3.new(1, 25.2000008, 9.79999924)
  4836. Part341.CFrame = CFrame.new(-33, 26.4000053, -68.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4837. Part341.BottomSurface = Enum.SurfaceType.Smooth
  4838. Part341.TopSurface = Enum.SurfaceType.Smooth
  4839. Part341.Color = Color3.new(1, 0, 0)
  4840. Part341.Position = Vector3.new(-33, 26.4000053, -68.5)
  4841. Part341.Color = Color3.new(1, 0, 0)
  4842. Part342.Parent = Model0
  4843. Part342.BrickColor = BrickColor.new("New Yeller")
  4844. Part342.Anchored = true
  4845. Part342.FormFactor = Enum.FormFactor.Symmetric
  4846. Part342.Size = Vector3.new(9.80000019, 11.000001, 1)
  4847. Part342.CFrame = CFrame.new(-27.6000977, 8.49991989, -63.5000038, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4848. Part342.BottomSurface = Enum.SurfaceType.Smooth
  4849. Part342.TopSurface = Enum.SurfaceType.Smooth
  4850. Part342.Color = Color3.new(1, 1, 0)
  4851. Part342.Position = Vector3.new(-27.6000977, 8.49991989, -63.5000038)
  4852. Part342.Color = Color3.new(1, 1, 0)
  4853. PointLight343.Parent = Part342
  4854. PointLight343.Color = Color3.new(0.333333, 1, 0)
  4855. PointLight343.Range = 20
  4856. PointLight343.Color = Color3.new(0.333333, 1, 0)
  4857. Part344.Parent = Model0
  4858. Part344.BrickColor = BrickColor.new("Toothpaste")
  4859. Part344.Anchored = true
  4860. Part344.FormFactor = Enum.FormFactor.Symmetric
  4861. Part344.Size = Vector3.new(1, 11.000001, 13.6000004)
  4862. Part344.CFrame = CFrame.new(-22.2000809, 8.49991989, -69.7999878, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4863. Part344.BottomSurface = Enum.SurfaceType.Smooth
  4864. Part344.TopSurface = Enum.SurfaceType.Smooth
  4865. Part344.Color = Color3.new(0, 1, 1)
  4866. Part344.Position = Vector3.new(-22.2000809, 8.49991989, -69.7999878)
  4867. Part344.Color = Color3.new(0, 1, 1)
  4868. PointLight345.Parent = Part344
  4869. PointLight345.Color = Color3.new(0.333333, 1, 0)
  4870. PointLight345.Range = 20
  4871. PointLight345.Color = Color3.new(0.333333, 1, 0)
  4872. Script346.Parent = mas
  4873. table.insert(cors,sandbox(Script346,function()
  4874. local FF = script.Parent
  4875.  
  4876. local function steppedOn(part)
  4877. local parent = part.Parent
  4878. if game.Players:GetPlayerFromCharacter(parent) then
  4879. parent.Humanoid.Sit = true
  4880. end
  4881. end
  4882.  
  4883. FF.Touched:connect(steppedOn)
  4884. end))
  4885. Script347.Name = "Conveyor Script"
  4886. Script347.Parent = mas
  4887. table.insert(cors,sandbox(Script347,function()
  4888. -- I swordfish690 thank Kingline90 for this script
  4889.  
  4890. while true do
  4891. script.Parent.Velocity = script.Parent.CFrame.lookVector *script.Parent.Speed.Value
  4892. wait(1)
  4893. end
  4894. end))
  4895. Part348.Parent = Model0
  4896. Part348.BrickColor = BrickColor.new("Medium blue")
  4897. Part348.Anchored = true
  4898. Part348.FormFactor = Enum.FormFactor.Symmetric
  4899. Part348.Size = Vector3.new(70, 1.20000005, 66)
  4900. Part348.CFrame = CFrame.new(-29.0999756, 39.600029, -71.3999634, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4901. Part348.BottomSurface = Enum.SurfaceType.Smooth
  4902. Part348.TopSurface = Enum.SurfaceType.Smooth
  4903. Part348.Color = Color3.new(0.431373, 0.6, 0.792157)
  4904. Part348.Position = Vector3.new(-29.0999756, 39.600029, -71.3999634)
  4905. Part348.Color = Color3.new(0.431373, 0.6, 0.792157)
  4906. WedgePart349.Parent = Model0
  4907. WedgePart349.BrickColor = BrickColor.new("Camo")
  4908. WedgePart349.Rotation = Vector3.new(0, 0, 180)
  4909. WedgePart349.Anchored = true
  4910. WedgePart349.FormFactor = Enum.FormFactor.Symmetric
  4911. WedgePart349.Size = Vector3.new(13.8000002, 16, 18.8000011)
  4912. WedgePart349.CFrame = CFrame.new(12.7999268, 31.0000362, -62.200016, -0.999999166, -5.81145287e-07, -8.97239616e-09, 6.70552254e-07, -0.999999762, 1.72907178e-07, -8.97253827e-09, 1.72907221e-07, 0.999999404)
  4913. WedgePart349.Color = Color3.new(0.227451, 0.490196, 0.0823529)
  4914. WedgePart349.Position = Vector3.new(12.7999268, 31.0000362, -62.200016)
  4915. WedgePart349.Orientation = Vector3.new(0, 0, 180)
  4916. WedgePart349.Color = Color3.new(0.227451, 0.490196, 0.0823529)
  4917. Script350.Parent = mas
  4918. table.insert(cors,sandbox(Script350,function()
  4919. local FF = script.Parent
  4920.  
  4921. local function steppedOn(part)
  4922. local parent = part.Parent
  4923. if game.Players:GetPlayerFromCharacter(parent) then
  4924. parent.Humanoid.Sit = true
  4925. end
  4926. end
  4927.  
  4928. FF.Touched:connect(steppedOn)
  4929. end))
  4930. Script351.Name = "Conveyor Script"
  4931. Script351.Parent = mas
  4932. table.insert(cors,sandbox(Script351,function()
  4933. -- I swordfish690 thank Kingline90 for this script
  4934.  
  4935. while true do
  4936. script.Parent.Velocity = script.Parent.CFrame.lookVector *60
  4937. wait(1)
  4938. end
  4939. end))
  4940. Part352.Parent = Model0
  4941. Part352.BrickColor = BrickColor.new("Really red")
  4942. Part352.Anchored = true
  4943. Part352.FormFactor = Enum.FormFactor.Symmetric
  4944. Part352.Size = Vector3.new(1, 31, 38)
  4945. Part352.CFrame = CFrame.new(-47.8000565, 23.5000134, -72.3999634, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4946. Part352.TopSurface = Enum.SurfaceType.Smooth
  4947. Part352.Color = Color3.new(1, 0, 0)
  4948. Part352.Position = Vector3.new(-47.8000565, 23.5000134, -72.3999634)
  4949. Part352.Color = Color3.new(1, 0, 0)
  4950. Part353.Parent = Model0
  4951. Part353.BrickColor = BrickColor.new("Medium blue")
  4952. Part353.Anchored = true
  4953. Part353.FormFactor = Enum.FormFactor.Symmetric
  4954. Part353.Size = Vector3.new(43.2000008, 1.20000005, 51.7999992)
  4955. Part353.CFrame = CFrame.new(27.4999962, 39.600029, -64.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4956. Part353.BottomSurface = Enum.SurfaceType.Smooth
  4957. Part353.TopSurface = Enum.SurfaceType.Smooth
  4958. Part353.Color = Color3.new(0.431373, 0.6, 0.792157)
  4959. Part353.Position = Vector3.new(27.4999962, 39.600029, -64.5)
  4960. Part353.Color = Color3.new(0.431373, 0.6, 0.792157)
  4961. Part354.Parent = Model0
  4962. Part354.Anchored = true
  4963. Part354.FormFactor = Enum.FormFactor.Symmetric
  4964. Part354.Size = Vector3.new(113, 3, 80)
  4965. Part354.CFrame = CFrame.new(-7.60009766, 1.50001526, -64.3999634, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4966. Part354.TopSurface = Enum.SurfaceType.Smooth
  4967. Part354.Position = Vector3.new(-7.60009766, 1.50001526, -64.3999634)
  4968. Part355.Parent = Model0
  4969. Part355.BrickColor = BrickColor.new("Camo")
  4970. Part355.Anchored = true
  4971. Part355.FormFactor = Enum.FormFactor.Symmetric
  4972. Part355.Size = Vector3.new(25.2000008, 1, 18.6000004)
  4973. Part355.CFrame = CFrame.new(32.4998703, 18.5000057, -62.2999878, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4974. Part355.BottomSurface = Enum.SurfaceType.Smooth
  4975. Part355.TopSurface = Enum.SurfaceType.Smooth
  4976. Part355.Color = Color3.new(0.227451, 0.490196, 0.0823529)
  4977. Part355.Position = Vector3.new(32.4998703, 18.5000057, -62.2999878)
  4978. Part355.Color = Color3.new(0.227451, 0.490196, 0.0823529)
  4979. PointLight356.Parent = Part355
  4980. PointLight356.Color = Color3.new(1, 0.333333, 1)
  4981. PointLight356.Range = 50
  4982. PointLight356.Color = Color3.new(1, 0.333333, 1)
  4983. Part357.Parent = Model0
  4984. Part357.BrickColor = BrickColor.new("Camo")
  4985. Part357.Transparency = 1
  4986. Part357.Rotation = Vector3.new(-180, -89.9700012, 180)
  4987. Part357.Anchored = true
  4988. Part357.FormFactor = Enum.FormFactor.Custom
  4989. Part357.Size = Vector3.new(18.7999992, 36, 0.600000024)
  4990. Part357.CFrame = CFrame.new(19.5999756, 21.0000134, -62.1999626, -8.94069601e-08, -1.0658141e-14, -0.999999821, -2.08616257e-07, 1, 7.10542736e-15, 0.999999821, 2.08616257e-07, -8.94069672e-08)
  4991. Part357.TopSurface = Enum.SurfaceType.Smooth
  4992. Part357.Color = Color3.new(0.227451, 0.490196, 0.0823529)
  4993. Part357.Position = Vector3.new(19.5999756, 21.0000134, -62.1999626)
  4994. Part357.Orientation = Vector3.new(0, -90, 0)
  4995. Part357.Color = Color3.new(0.227451, 0.490196, 0.0823529)
  4996. Decal358.Parent = Part357
  4997. Decal358.Texture = "http://www.roblox.com/asset/?id=50449800"
  4998. Decal359.Parent = Part357
  4999. Decal359.Texture = "http://www.roblox.com/asset/?id=50449800"
  5000. Decal359.Face = Enum.NormalId.Back
  5001. Decal360.Parent = Part357
  5002. Decal360.Texture = "http://www.roblox.com/asset/?id=27017316"
  5003. Decal360.Face = Enum.NormalId.Left
  5004. Decal361.Parent = Part357
  5005. Decal361.Texture = "http://www.roblox.com/asset/?id=27017316"
  5006. Decal361.Face = Enum.NormalId.Top
  5007. Decal362.Parent = Part357
  5008. Decal362.Texture = "http://www.roblox.com/asset/?id=27017316"
  5009. Decal362.Face = Enum.NormalId.Right
  5010. Part363.Parent = Model0
  5011. Part363.BrickColor = BrickColor.new("Camo")
  5012. Part363.Transparency = 1
  5013. Part363.Rotation = Vector3.new(-180, -89.9700012, 180)
  5014. Part363.Anchored = true
  5015. Part363.FormFactor = Enum.FormFactor.Custom
  5016. Part363.Size = Vector3.new(18.7999992, 36, 0.600000024)
  5017. Part363.CFrame = CFrame.new(45.4000244, 21.0000134, -62.1999626, -8.94069601e-08, -1.0658141e-14, -0.999999821, -2.08616257e-07, 1, 7.10542736e-15, 0.999999821, 2.08616257e-07, -8.94069672e-08)
  5018. Part363.TopSurface = Enum.SurfaceType.Smooth
  5019. Part363.Color = Color3.new(0.227451, 0.490196, 0.0823529)
  5020. Part363.Position = Vector3.new(45.4000244, 21.0000134, -62.1999626)
  5021. Part363.Orientation = Vector3.new(0, -90, 0)
  5022. Part363.Color = Color3.new(0.227451, 0.490196, 0.0823529)
  5023. Decal364.Parent = Part363
  5024. Decal364.Texture = "http://www.roblox.com/asset/?id=50449800"
  5025. Decal365.Parent = Part363
  5026. Decal365.Texture = "http://www.roblox.com/asset/?id=50449800"
  5027. Decal365.Face = Enum.NormalId.Back
  5028. Decal366.Parent = Part363
  5029. Decal366.Texture = "http://www.roblox.com/asset/?id=27017316"
  5030. Decal366.Face = Enum.NormalId.Left
  5031. Decal367.Parent = Part363
  5032. Decal367.Texture = "http://www.roblox.com/asset/?id=27017316"
  5033. Decal367.Face = Enum.NormalId.Top
  5034. Decal368.Parent = Part363
  5035. Decal368.Texture = "http://www.roblox.com/asset/?id=27017316"
  5036. Decal368.Face = Enum.NormalId.Right
  5037. WedgePart369.Parent = Model0
  5038. WedgePart369.BrickColor = BrickColor.new("Camo")
  5039. WedgePart369.Rotation = Vector3.new(180, 0, -180)
  5040. WedgePart369.Anchored = true
  5041. WedgePart369.FormFactor = Enum.FormFactor.Symmetric
  5042. WedgePart369.Size = Vector3.new(13.8000002, 16, 18.8000011)
  5043. WedgePart369.CFrame = CFrame.new(12.7999268, 10.9999256, -62.200016, -0.999999702, 2.64897668e-08, 5.96046448e-08, 2.64897437e-08, 1, -2.74862572e-07, -5.96046448e-08, -2.74862543e-07, -0.999999702)
  5044. WedgePart369.Color = Color3.new(0.227451, 0.490196, 0.0823529)
  5045. WedgePart369.Position = Vector3.new(12.7999268, 10.9999256, -62.200016)
  5046. WedgePart369.Orientation = Vector3.new(0, 180, 0)
  5047. WedgePart369.Color = Color3.new(0.227451, 0.490196, 0.0823529)
  5048. Part370.Parent = Model0
  5049. Part370.BrickColor = BrickColor.new("Really red")
  5050. Part370.Anchored = true
  5051. Part370.FormFactor = Enum.FormFactor.Symmetric
  5052. Part370.Size = Vector3.new(1, 5, 3.60000086)
  5053. Part370.CFrame = CFrame.new(-33, 5.4999752, -62.200016, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5054. Part370.TopSurface = Enum.SurfaceType.Smooth
  5055. Part370.Color = Color3.new(1, 0, 0)
  5056. Part370.Position = Vector3.new(-33, 5.4999752, -62.200016)
  5057. Part370.Color = Color3.new(1, 0, 0)
  5058. Part371.Parent = Model0
  5059. Part371.BrickColor = BrickColor.new("Really red")
  5060. Part371.Anchored = true
  5061. Part371.FormFactor = Enum.FormFactor.Symmetric
  5062. Part371.Size = Vector3.new(1, 31, 37.2000008)
  5063. Part371.CFrame = CFrame.new(-63.5999756, 23.5000134, -72.7999878, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5064. Part371.TopSurface = Enum.SurfaceType.Smooth
  5065. Part371.Color = Color3.new(1, 0, 0)
  5066. Part371.Position = Vector3.new(-63.5999756, 23.5000134, -72.7999878)
  5067. Part371.Color = Color3.new(1, 0, 0)
  5068. Model372.Parent = Model0
  5069. Script373.Name = "FX"
  5070. Script373.Parent = mas
  5071. table.insert(cors,sandbox(Script373,function()
  5072. --Lilblitz56--
  5073. --Where it says 0.5, you can change that to increase or decrease the spin rate :3--
  5074.  
  5075. local X
  5076. local Y
  5077. local Z
  5078.  
  5079.  
  5080.  
  5081.  
  5082. X=
  5083.  
  5084. 4
  5085.  
  5086.  
  5087.  
  5088. Y=
  5089.  
  5090. 0
  5091.  
  5092.  
  5093. Z=
  5094.  
  5095. 0
  5096.  
  5097.  
  5098.  
  5099.  
  5100. function start()
  5101. while (true) do
  5102. script.Parent.CFrame = script.Parent.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(X),math.rad(Y),math.rad(Z))
  5103. wait()
  5104. end
  5105. end
  5106. start()
  5107.  
  5108.  
  5109.  
  5110. --Lilblitz56 is your king! Bow down!! xD--
  5111. end))
  5112. PointLight374.Parent = mas
  5113. PointLight374.Color = Color3.new(1, 0.666667, 0)
  5114. PointLight374.Brightness = 500
  5115. PointLight374.Range = 10
  5116. PointLight374.Color = Color3.new(1, 0.666667, 0)
  5117. Script375.Name = "Conveyor Script"
  5118. Script375.Parent = mas
  5119. table.insert(cors,sandbox(Script375,function()
  5120. -- I swordfish690 thank Kingline90 for this script
  5121.  
  5122. while true do
  5123. script.Parent.Velocity = script.Parent.CFrame.lookVector *script.Parent.Speed.Value
  5124. wait(1)
  5125. end
  5126. end))
  5127. Part376.Parent = Model0
  5128. Part376.BrickColor = BrickColor.new("Camo")
  5129. Part376.Anchored = true
  5130. Part376.FormFactor = Enum.FormFactor.Symmetric
  5131. Part376.Size = Vector3.new(24, 5.4000001, 13.6000004)
  5132. Part376.CFrame = CFrame.new(17.6999512, 20.7000122, -46.1999969, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5133. Part376.BottomSurface = Enum.SurfaceType.Smooth
  5134. Part376.TopSurface = Enum.SurfaceType.Smooth
  5135. Part376.Color = Color3.new(0.227451, 0.490196, 0.0823529)
  5136. Part376.Position = Vector3.new(17.6999512, 20.7000122, -46.1999969)
  5137. Part376.Color = Color3.new(0.227451, 0.490196, 0.0823529)
  5138. Script377.Parent = mas
  5139. table.insert(cors,sandbox(Script377,function()
  5140. local FF = script.Parent
  5141.  
  5142. local function steppedOn(part)
  5143. local parent = part.Parent
  5144. if game.Players:GetPlayerFromCharacter(parent) then
  5145. parent.Humanoid.Sit = true
  5146. end
  5147. end
  5148.  
  5149. FF.Touched:connect(steppedOn)
  5150. end))
  5151. Script378.Name = "Conveyor Script"
  5152. Script378.Parent = mas
  5153. table.insert(cors,sandbox(Script378,function()
  5154. -- I swordfish690 thank Kingline90 for this script
  5155.  
  5156. while true do
  5157. script.Parent.Velocity = script.Parent.CFrame.lookVector *script.Parent.Speed.Value
  5158. wait(1)
  5159. end
  5160. end))
  5161. Script379.Parent = mas
  5162. table.insert(cors,sandbox(Script379,function()
  5163. local FF = script.Parent
  5164.  
  5165. local function steppedOn(part)
  5166. local parent = part.Parent
  5167. if game.Players:GetPlayerFromCharacter(parent) then
  5168. parent.Humanoid.Sit = true
  5169. end
  5170. end
  5171.  
  5172. FF.Touched:connect(steppedOn)
  5173. end))
  5174. Script380.Name = "Conveyor Script"
  5175. Script380.Parent = mas
  5176. table.insert(cors,sandbox(Script380,function()
  5177. -- I swordfish690 thank Kingline90 for this script
  5178.  
  5179. while true do
  5180. script.Parent.Velocity = script.Parent.CFrame.lookVector *script.Parent.Speed.Value
  5181. wait(1)
  5182. end
  5183. end))
  5184. Part381.Parent = Model0
  5185. Part381.BrickColor = BrickColor.new("Really red")
  5186. Part381.Anchored = true
  5187. Part381.FormFactor = Enum.FormFactor.Symmetric
  5188. Part381.Size = Vector3.new(4, 8, 1)
  5189. Part381.CFrame = CFrame.new(-34.5, 6.99996567, -60.8999672, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5190. Part381.TopSurface = Enum.SurfaceType.Smooth
  5191. Part381.Color = Color3.new(1, 0, 0)
  5192. Part381.Position = Vector3.new(-34.5, 6.99996567, -60.8999672)
  5193. Part381.Color = Color3.new(1, 0, 0)
  5194. Part382.Parent = Model0
  5195. Part382.BrickColor = BrickColor.new("Really red")
  5196. Part382.Anchored = true
  5197. Part382.FormFactor = Enum.FormFactor.Symmetric
  5198. Part382.Size = Vector3.new(7, 1, 1)
  5199. Part382.CFrame = CFrame.new(-40, 10.4999199, -60.8999672, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5200. Part382.TopSurface = Enum.SurfaceType.Smooth
  5201. Part382.Color = Color3.new(1, 0, 0)
  5202. Part382.Position = Vector3.new(-40, 10.4999199, -60.8999672)
  5203. Part382.Color = Color3.new(1, 0, 0)
  5204. Part383.Parent = Model0
  5205. Part383.BrickColor = BrickColor.new("Really red")
  5206. Part383.Anchored = true
  5207. Part383.FormFactor = Enum.FormFactor.Symmetric
  5208. Part383.Size = Vector3.new(15, 28, 1)
  5209. Part383.CFrame = CFrame.new(-40, 25.0000134, -60.8999672, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5210. Part383.TopSurface = Enum.SurfaceType.Smooth
  5211. Part383.Color = Color3.new(1, 0, 0)
  5212. Part383.Position = Vector3.new(-40, 25.0000134, -60.8999672)
  5213. Part383.Color = Color3.new(1, 0, 0)
  5214. Part384.Parent = Model0
  5215. Part384.BrickColor = BrickColor.new("Really red")
  5216. Part384.Anchored = true
  5217. Part384.FormFactor = Enum.FormFactor.Symmetric
  5218. Part384.Size = Vector3.new(4, 8, 1)
  5219. Part384.CFrame = CFrame.new(-45.5000076, 6.99996567, -60.8999672, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5220. Part384.TopSurface = Enum.SurfaceType.Smooth
  5221. Part384.Color = Color3.new(1, 0, 0)
  5222. Part384.Position = Vector3.new(-45.5000076, 6.99996567, -60.8999672)
  5223. Part384.Color = Color3.new(1, 0, 0)
  5224. Model385.Parent = Model0
  5225. Script386.Name = "FX"
  5226. Script386.Parent = mas
  5227. table.insert(cors,sandbox(Script386,function()
  5228. --Lilblitz56--
  5229. --Where it says 0.5, you can change that to increase or decrease the spin rate :3--
  5230.  
  5231. local X
  5232. local Y
  5233. local Z
  5234.  
  5235.  
  5236.  
  5237.  
  5238. X=
  5239.  
  5240. 4
  5241.  
  5242.  
  5243.  
  5244. Y=
  5245.  
  5246. 0
  5247.  
  5248.  
  5249. Z=
  5250.  
  5251. 0
  5252.  
  5253.  
  5254.  
  5255.  
  5256. function start()
  5257. while (true) do
  5258. script.Parent.CFrame = script.Parent.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(X),math.rad(Y),math.rad(Z))
  5259. wait()
  5260. end
  5261. end
  5262. start()
  5263.  
  5264.  
  5265.  
  5266. --Lilblitz56 is your king! Bow down!! xD--
  5267. end))
  5268. PointLight387.Parent = mas
  5269. PointLight387.Color = Color3.new(1, 0.666667, 0)
  5270. PointLight387.Brightness = 500
  5271. PointLight387.Range = 10
  5272. PointLight387.Color = Color3.new(1, 0.666667, 0)
  5273. Script388.Name = "Conveyor Script"
  5274. Script388.Parent = mas
  5275. table.insert(cors,sandbox(Script388,function()
  5276. -- I swordfish690 thank Kingline90 for this script
  5277.  
  5278. while true do
  5279. script.Parent.Velocity = script.Parent.CFrame.lookVector *script.Parent.Speed.Value
  5280. wait(1)
  5281. end
  5282. end))
  5283. Part389.Parent = Model0
  5284. Part389.BrickColor = BrickColor.new("Camo")
  5285. Part389.Transparency = 1
  5286. Part389.Rotation = Vector3.new(-180, -89.9700012, 180)
  5287. Part389.Anchored = true
  5288. Part389.FormFactor = Enum.FormFactor.Custom
  5289. Part389.Size = Vector3.new(32.2000008, 36, 0.600000024)
  5290. Part389.CFrame = CFrame.new(6.19995117, 21.0000134, -55.4999962, -8.94069601e-08, -1.0658141e-14, -0.999999821, -2.08616257e-07, 1, 7.10542736e-15, 0.999999821, 2.08616257e-07, -8.94069672e-08)
  5291. Part389.TopSurface = Enum.SurfaceType.Smooth
  5292. Part389.Color = Color3.new(0.227451, 0.490196, 0.0823529)
  5293. Part389.Position = Vector3.new(6.19995117, 21.0000134, -55.4999962)
  5294. Part389.Orientation = Vector3.new(0, -90, 0)
  5295. Part389.Color = Color3.new(0.227451, 0.490196, 0.0823529)
  5296. Decal390.Parent = Part389
  5297. Decal390.Texture = "http://www.roblox.com/asset/?id=50449800"
  5298. Decal391.Parent = Part389
  5299. Decal391.Texture = "http://www.roblox.com/asset/?id=50449800"
  5300. Decal391.Face = Enum.NormalId.Back
  5301. Decal392.Parent = Part389
  5302. Decal392.Texture = "http://www.roblox.com/asset/?id=27017316"
  5303. Decal392.Face = Enum.NormalId.Left
  5304. Decal393.Parent = Part389
  5305. Decal393.Texture = "http://www.roblox.com/asset/?id=27017316"
  5306. Decal393.Face = Enum.NormalId.Top
  5307. Decal394.Parent = Part389
  5308. Decal394.Texture = "http://www.roblox.com/asset/?id=27017316"
  5309. Decal394.Face = Enum.NormalId.Right
  5310. Part395.Parent = Model0
  5311. Part395.BrickColor = BrickColor.new("Really red")
  5312. Part395.Anchored = true
  5313. Part395.FormFactor = Enum.FormFactor.Symmetric
  5314. Part395.Size = Vector3.new(3.60000014, 21, 35.9999962)
  5315. Part395.CFrame = CFrame.new(47.0999756, 29.5000134, -56.2000084, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5316. Part395.TopSurface = Enum.SurfaceType.Smooth
  5317. Part395.Color = Color3.new(1, 0, 0)
  5318. Part395.Position = Vector3.new(47.0999756, 29.5000134, -56.2000084)
  5319. Part395.Color = Color3.new(1, 0, 0)
  5320. Part396.Parent = Model0
  5321. Part396.BrickColor = BrickColor.new("Really red")
  5322. Part396.Anchored = true
  5323. Part396.FormFactor = Enum.FormFactor.Symmetric
  5324. Part396.Size = Vector3.new(16.7999992, 20, 1)
  5325. Part396.CFrame = CFrame.new(-55.7000732, 29.0000134, -53.8999634, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5326. Part396.TopSurface = Enum.SurfaceType.Smooth
  5327. Part396.Color = Color3.new(1, 0, 0)
  5328. Part396.Position = Vector3.new(-55.7000732, 29.0000134, -53.8999634)
  5329. Part396.Color = Color3.new(1, 0, 0)
  5330. Part397.Parent = Model0
  5331. Part397.BrickColor = BrickColor.new("Bright bluish green")
  5332. Part397.Anchored = true
  5333. Part397.FormFactor = Enum.FormFactor.Symmetric
  5334. Part397.Size = Vector3.new(15.9999924, 20.2000008, 1)
  5335. Part397.CFrame = CFrame.new(37.2999191, 28.9000053, -38.8999557, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5336. Part397.TopSurface = Enum.SurfaceType.Smooth
  5337. Part397.Color = Color3.new(0, 0.560784, 0.611765)
  5338. Part397.Position = Vector3.new(37.2999191, 28.9000053, -38.8999557)
  5339. Part397.Color = Color3.new(0, 0.560784, 0.611765)
  5340. Model398.Parent = Model0
  5341. PointLight399.Parent = mas
  5342. PointLight399.Color = Color3.new(1, 0.666667, 0)
  5343. PointLight399.Brightness = 500
  5344. PointLight399.Range = 10
  5345. PointLight399.Color = Color3.new(1, 0.666667, 0)
  5346. Part400.Parent = Model398
  5347. Part400.Material = Enum.Material.Slate
  5348. Part400.BrickColor = BrickColor.new("Black")
  5349. Part400.Anchored = true
  5350. Part400.CanCollide = false
  5351. Part400.FormFactor = Enum.FormFactor.Custom
  5352. Part400.Size = Vector3.new(4, 0.399999976, 4)
  5353. Part400.CFrame = CFrame.new(24.4998741, 3.28976631, -32.3999557, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5354. Part400.BottomSurface = Enum.SurfaceType.Motor
  5355. Part400.TopSurface = Enum.SurfaceType.Smooth
  5356. Part400.Color = Color3.new(0.105882, 0.164706, 0.207843)
  5357. Part400.Position = Vector3.new(24.4998741, 3.28976631, -32.3999557)
  5358. Part400.Color = Color3.new(0.105882, 0.164706, 0.207843)
  5359. CylinderMesh401.Parent = Part400
  5360. Script402.Name = "qPerfectionWeld"
  5361. Script402.Parent = Model398
  5362. table.insert(cors,sandbox(Script402,function()
  5363. -- Created by Quenty (@Quenty, follow me on twitter).
  5364. -- Should work with only ONE copy, seamlessly with weapons, trains, et cetera.
  5365. -- Parts should be ANCHORED before use. It will, however, store relatives values and so when tools are reparented, it'll fix them.
  5366.  
  5367. --[[ INSTRUCTIONS
  5368. - Place in the model
  5369. - Make sure model is anchored
  5370. - That's it. It will weld the model and all children.
  5371.  
  5372. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  5373. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  5374. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  5375. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  5376. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  5377. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  5378. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  5379. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  5380.  
  5381. 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.
  5382. ]]
  5383.  
  5384. --[[ DOCUMENTATION
  5385. - 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.
  5386. - Will work in PBS servers
  5387. - Will work as long as it starts out with the part anchored
  5388. - Stores the relative CFrame as a CFrame value
  5389. - Takes careful measure to reduce lag by not having a joint set off or affected by the parts offset from origin
  5390. - Utilizes a recursive algorith to find all parts in the model
  5391. - Will reweld on script reparent if the script is initially parented to a tool.
  5392. - Welds as fast as possible
  5393. ]]
  5394.  
  5395. -- qPerfectionWeld.lua
  5396. -- Created 10/6/2014
  5397. -- Author: Quenty
  5398. -- Version 1.0.3
  5399.  
  5400. -- Updated 10/14/2014 - Updated to 1.0.1
  5401. --- Bug fix with existing ROBLOX welds ? Repro by asimo3089
  5402.  
  5403. -- Updated 10/14/2014 - Updated to 1.0.2
  5404. --- Fixed bug fix.
  5405.  
  5406. -- Updated 10/14/2014 - Updated to 1.0.3
  5407. --- Now handles joints semi-acceptably. May be rather hacky with some joints. :/
  5408.  
  5409. 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).
  5410.  
  5411.  
  5412. local function CallOnChildren(Instance, FunctionToCall)
  5413. -- Calls a function on each of the children of a certain object, using recursion.
  5414.  
  5415. FunctionToCall(Instance)
  5416.  
  5417. for _, Child in next, Instance:GetChildren() do
  5418. CallOnChildren(Child, FunctionToCall)
  5419. end
  5420. end
  5421.  
  5422. local function GetNearestParent(Instance, ClassName)
  5423. -- Returns the nearest parent of a certain class, or returns nil
  5424.  
  5425. local Ancestor = Instance
  5426. repeat
  5427. Ancestor = Ancestor.Parent
  5428. if Ancestor == nil then
  5429. return nil
  5430. end
  5431. until Ancestor:IsA(ClassName)
  5432.  
  5433. return Ancestor
  5434. end
  5435.  
  5436. local function GetBricks(StartInstance)
  5437. local List = {}
  5438.  
  5439. -- if StartInstance:IsA("BasePart") then
  5440. -- List[#List+1] = StartInstance
  5441. -- end
  5442.  
  5443. CallOnChildren(StartInstance, function(Item)
  5444. if Item:IsA("BasePart") then
  5445. List[#List+1] = Item;
  5446. end
  5447. end)
  5448.  
  5449. return List
  5450. end
  5451.  
  5452. local function Modify(Instance, Values)
  5453. -- Modifies an Instance by using a table.
  5454.  
  5455. assert(type(Values) == "table", "Values is not a table");
  5456.  
  5457. for Index, Value in next, Values do
  5458. if type(Index) == "number" then
  5459. Value.Parent = Instance
  5460. else
  5461. Instance[Index] = Value
  5462. end
  5463. end
  5464. return Instance
  5465. end
  5466.  
  5467. local function Make(ClassType, Properties)
  5468. -- Using a syntax hack to create a nice way to Make new items.
  5469.  
  5470. return Modify(Instance.new(ClassType), Properties)
  5471. end
  5472.  
  5473. local Surfaces = {"TopSurface", "BottomSurface", "LeftSurface", "RightSurface", "FrontSurface", "BackSurface"}
  5474. local HingSurfaces = {"Hinge", "Motor", "SteppingMotor"}
  5475.  
  5476. local function HasWheelJoint(Part)
  5477. for _, SurfaceName in pairs(Surfaces) do
  5478. for _, HingSurfaceName in pairs(HingSurfaces) do
  5479. if Part[SurfaceName].Name == HingSurfaceName then
  5480. return true
  5481. end
  5482. end
  5483. end
  5484.  
  5485. return false
  5486. end
  5487.  
  5488. local function ShouldBreakJoints(Part)
  5489. --- We do not want to break joints of wheels/hinges. This takes the utmost care to not do this. There are
  5490. -- definitely some edge cases.
  5491.  
  5492. if NEVER_BREAK_JOINTS then
  5493. return false
  5494. end
  5495.  
  5496. if HasWheelJoint(Part) then
  5497. return false
  5498. end
  5499.  
  5500. local Connected = Part:GetConnectedParts()
  5501.  
  5502. if #Connected == 1 then
  5503. return false
  5504. end
  5505.  
  5506. for _, Item in pairs(Connected) do
  5507. if HasWheelJoint(Item) then
  5508. return false
  5509. elseif not Item:IsDescendantOf(script.Parent) then
  5510. return false
  5511. end
  5512. end
  5513.  
  5514. return true
  5515. end
  5516.  
  5517. local function WeldTogether(Part0, Part1, JointType, WeldParent)
  5518. --- Weld's 2 parts together
  5519. -- @param Part0 The first part
  5520. -- @param Part1 The second part (Dependent part most of the time).
  5521. -- @param [JointType] The type of joint. Defaults to weld.
  5522. -- @param [WeldParent] Parent of the weld, Defaults to Part0 (so GC is better).
  5523. -- @return The weld created.
  5524.  
  5525. JointType = JointType or "Weld"
  5526. local RelativeValue = Part1:FindFirstChild("qRelativeCFrameWeldValue")
  5527.  
  5528. local NewWeld = Part1:FindFirstChild("qCFrameWeldThingy") or Instance.new(JointType)
  5529. Modify(NewWeld, {
  5530. Name = "qCFrameWeldThingy";
  5531. Part0 = Part0;
  5532. Part1 = Part1;
  5533. C0 = CFrame.new();--Part0.CFrame:inverse();
  5534. C1 = RelativeValue and RelativeValue.Value or Part1.CFrame:toObjectSpace(Part0.CFrame); --Part1.CFrame:inverse() * Part0.CFrame;-- Part1.CFrame:inverse();
  5535. Parent = Part1;
  5536. })
  5537.  
  5538. if not RelativeValue then
  5539. RelativeValue = Make("CFrameValue", {
  5540. Parent = Part1;
  5541. Name = "qRelativeCFrameWeldValue";
  5542. Archivable = true;
  5543. Value = NewWeld.C1;
  5544. })
  5545. end
  5546.  
  5547. return NewWeld
  5548. end
  5549.  
  5550. local function WeldParts(Parts, MainPart, JointType, DoNotUnanchor)
  5551. -- @param Parts The Parts to weld. Should be anchored to prevent really horrible results.
  5552. -- @param MainPart The part to weld the model to (can be in the model).
  5553. -- @param [JointType] The type of joint. Defaults to weld.
  5554. -- @parm DoNotUnanchor Boolean, if true, will not unachor the model after cmopletion.
  5555.  
  5556. for _, Part in pairs(Parts) do
  5557. if ShouldBreakJoints(Part) then
  5558. Part:BreakJoints()
  5559. end
  5560. end
  5561.  
  5562. for _, Part in pairs(Parts) do
  5563. if Part ~= MainPart then
  5564. WeldTogether(MainPart, Part, JointType, MainPart)
  5565. end
  5566. end
  5567.  
  5568. if not DoNotUnanchor then
  5569. for _, Part in pairs(Parts) do
  5570. Part.Anchored = false
  5571. end
  5572. MainPart.Anchored = false
  5573. end
  5574. end
  5575.  
  5576. local function PerfectionWeld()
  5577. local Tool = GetNearestParent(script, "Tool")
  5578.  
  5579. local Parts = GetBricks(script.Parent)
  5580. 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]
  5581.  
  5582. if PrimaryPart then
  5583. WeldParts(Parts, PrimaryPart, "Weld", false)
  5584. else
  5585. warn("qWeld - Unable to weld part")
  5586. end
  5587.  
  5588. return Tool
  5589. end
  5590.  
  5591. local Tool = PerfectionWeld()
  5592.  
  5593.  
  5594. if Tool and script.ClassName == "Script" then
  5595. --- Don't bother with local scripts
  5596.  
  5597. script.Parent.AncestryChanged:connect(function()
  5598. PerfectionWeld()
  5599. end)
  5600. end
  5601.  
  5602. -- Created by Quenty (@Quenty, follow me on twitter).
  5603.  
  5604. end))
  5605. Model403.Parent = Model0
  5606. PointLight404.Parent = mas
  5607. PointLight404.Color = Color3.new(1, 0.666667, 0)
  5608. PointLight404.Brightness = 500
  5609. PointLight404.Range = 10
  5610. PointLight404.Color = Color3.new(1, 0.666667, 0)
  5611. Part405.Parent = Model403
  5612. Part405.Material = Enum.Material.Slate
  5613. Part405.BrickColor = BrickColor.new("Black")
  5614. Part405.Anchored = true
  5615. Part405.CanCollide = false
  5616. Part405.FormFactor = Enum.FormFactor.Custom
  5617. Part405.Size = Vector3.new(4, 0.399999976, 4)
  5618. Part405.CFrame = CFrame.new(-57.1000977, 3.18976021, -35.3999557, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5619. Part405.BottomSurface = Enum.SurfaceType.Motor
  5620. Part405.TopSurface = Enum.SurfaceType.Smooth
  5621. Part405.Color = Color3.new(0.105882, 0.164706, 0.207843)
  5622. Part405.Position = Vector3.new(-57.1000977, 3.18976021, -35.3999557)
  5623. Part405.Color = Color3.new(0.105882, 0.164706, 0.207843)
  5624. CylinderMesh406.Parent = Part405
  5625. Script407.Name = "qPerfectionWeld"
  5626. Script407.Parent = Model403
  5627. table.insert(cors,sandbox(Script407,function()
  5628. -- Created by Quenty (@Quenty, follow me on twitter).
  5629. -- Should work with only ONE copy, seamlessly with weapons, trains, et cetera.
  5630. -- Parts should be ANCHORED before use. It will, however, store relatives values and so when tools are reparented, it'll fix them.
  5631.  
  5632. --[[ INSTRUCTIONS
  5633. - Place in the model
  5634. - Make sure model is anchored
  5635. - That's it. It will weld the model and all children.
  5636.  
  5637. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  5638. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  5639. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  5640. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  5641. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  5642. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  5643. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  5644. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  5645.  
  5646. 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.
  5647. ]]
  5648.  
  5649. --[[ DOCUMENTATION
  5650. - 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.
  5651. - Will work in PBS servers
  5652. - Will work as long as it starts out with the part anchored
  5653. - Stores the relative CFrame as a CFrame value
  5654. - Takes careful measure to reduce lag by not having a joint set off or affected by the parts offset from origin
  5655. - Utilizes a recursive algorith to find all parts in the model
  5656. - Will reweld on script reparent if the script is initially parented to a tool.
  5657. - Welds as fast as possible
  5658. ]]
  5659.  
  5660. -- qPerfectionWeld.lua
  5661. -- Created 10/6/2014
  5662. -- Author: Quenty
  5663. -- Version 1.0.3
  5664.  
  5665. -- Updated 10/14/2014 - Updated to 1.0.1
  5666. --- Bug fix with existing ROBLOX welds ? Repro by asimo3089
  5667.  
  5668. -- Updated 10/14/2014 - Updated to 1.0.2
  5669. --- Fixed bug fix.
  5670.  
  5671. -- Updated 10/14/2014 - Updated to 1.0.3
  5672. --- Now handles joints semi-acceptably. May be rather hacky with some joints. :/
  5673.  
  5674. 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).
  5675.  
  5676.  
  5677. local function CallOnChildren(Instance, FunctionToCall)
  5678. -- Calls a function on each of the children of a certain object, using recursion.
  5679.  
  5680. FunctionToCall(Instance)
  5681.  
  5682. for _, Child in next, Instance:GetChildren() do
  5683. CallOnChildren(Child, FunctionToCall)
  5684. end
  5685. end
  5686.  
  5687. local function GetNearestParent(Instance, ClassName)
  5688. -- Returns the nearest parent of a certain class, or returns nil
  5689.  
  5690. local Ancestor = Instance
  5691. repeat
  5692. Ancestor = Ancestor.Parent
  5693. if Ancestor == nil then
  5694. return nil
  5695. end
  5696. until Ancestor:IsA(ClassName)
  5697.  
  5698. return Ancestor
  5699. end
  5700.  
  5701. local function GetBricks(StartInstance)
  5702. local List = {}
  5703.  
  5704. -- if StartInstance:IsA("BasePart") then
  5705. -- List[#List+1] = StartInstance
  5706. -- end
  5707.  
  5708. CallOnChildren(StartInstance, function(Item)
  5709. if Item:IsA("BasePart") then
  5710. List[#List+1] = Item;
  5711. end
  5712. end)
  5713.  
  5714. return List
  5715. end
  5716.  
  5717. local function Modify(Instance, Values)
  5718. -- Modifies an Instance by using a table.
  5719.  
  5720. assert(type(Values) == "table", "Values is not a table");
  5721.  
  5722. for Index, Value in next, Values do
  5723. if type(Index) == "number" then
  5724. Value.Parent = Instance
  5725. else
  5726. Instance[Index] = Value
  5727. end
  5728. end
  5729. return Instance
  5730. end
  5731.  
  5732. local function Make(ClassType, Properties)
  5733. -- Using a syntax hack to create a nice way to Make new items.
  5734.  
  5735. return Modify(Instance.new(ClassType), Properties)
  5736. end
  5737.  
  5738. local Surfaces = {"TopSurface", "BottomSurface", "LeftSurface", "RightSurface", "FrontSurface", "BackSurface"}
  5739. local HingSurfaces = {"Hinge", "Motor", "SteppingMotor"}
  5740.  
  5741. local function HasWheelJoint(Part)
  5742. for _, SurfaceName in pairs(Surfaces) do
  5743. for _, HingSurfaceName in pairs(HingSurfaces) do
  5744. if Part[SurfaceName].Name == HingSurfaceName then
  5745. return true
  5746. end
  5747. end
  5748. end
  5749.  
  5750. return false
  5751. end
  5752.  
  5753. local function ShouldBreakJoints(Part)
  5754. --- We do not want to break joints of wheels/hinges. This takes the utmost care to not do this. There are
  5755. -- definitely some edge cases.
  5756.  
  5757. if NEVER_BREAK_JOINTS then
  5758. return false
  5759. end
  5760.  
  5761. if HasWheelJoint(Part) then
  5762. return false
  5763. end
  5764.  
  5765. local Connected = Part:GetConnectedParts()
  5766.  
  5767. if #Connected == 1 then
  5768. return false
  5769. end
  5770.  
  5771. for _, Item in pairs(Connected) do
  5772. if HasWheelJoint(Item) then
  5773. return false
  5774. elseif not Item:IsDescendantOf(script.Parent) then
  5775. return false
  5776. end
  5777. end
  5778.  
  5779. return true
  5780. end
  5781.  
  5782. local function WeldTogether(Part0, Part1, JointType, WeldParent)
  5783. --- Weld's 2 parts together
  5784. -- @param Part0 The first part
  5785. -- @param Part1 The second part (Dependent part most of the time).
  5786. -- @param [JointType] The type of joint. Defaults to weld.
  5787. -- @param [WeldParent] Parent of the weld, Defaults to Part0 (so GC is better).
  5788. -- @return The weld created.
  5789.  
  5790. JointType = JointType or "Weld"
  5791. local RelativeValue = Part1:FindFirstChild("qRelativeCFrameWeldValue")
  5792.  
  5793. local NewWeld = Part1:FindFirstChild("qCFrameWeldThingy") or Instance.new(JointType)
  5794. Modify(NewWeld, {
  5795. Name = "qCFrameWeldThingy";
  5796. Part0 = Part0;
  5797. Part1 = Part1;
  5798. C0 = CFrame.new();--Part0.CFrame:inverse();
  5799. C1 = RelativeValue and RelativeValue.Value or Part1.CFrame:toObjectSpace(Part0.CFrame); --Part1.CFrame:inverse() * Part0.CFrame;-- Part1.CFrame:inverse();
  5800. Parent = Part1;
  5801. })
  5802.  
  5803. if not RelativeValue then
  5804. RelativeValue = Make("CFrameValue", {
  5805. Parent = Part1;
  5806. Name = "qRelativeCFrameWeldValue";
  5807. Archivable = true;
  5808. Value = NewWeld.C1;
  5809. })
  5810. end
  5811.  
  5812. return NewWeld
  5813. end
  5814.  
  5815. local function WeldParts(Parts, MainPart, JointType, DoNotUnanchor)
  5816. -- @param Parts The Parts to weld. Should be anchored to prevent really horrible results.
  5817. -- @param MainPart The part to weld the model to (can be in the model).
  5818. -- @param [JointType] The type of joint. Defaults to weld.
  5819. -- @parm DoNotUnanchor Boolean, if true, will not unachor the model after cmopletion.
  5820.  
  5821. for _, Part in pairs(Parts) do
  5822. if ShouldBreakJoints(Part) then
  5823. Part:BreakJoints()
  5824. end
  5825. end
  5826.  
  5827. for _, Part in pairs(Parts) do
  5828. if Part ~= MainPart then
  5829. WeldTogether(MainPart, Part, JointType, MainPart)
  5830. end
  5831. end
  5832.  
  5833. if not DoNotUnanchor then
  5834. for _, Part in pairs(Parts) do
  5835. Part.Anchored = false
  5836. end
  5837. MainPart.Anchored = false
  5838. end
  5839. end
  5840.  
  5841. local function PerfectionWeld()
  5842. local Tool = GetNearestParent(script, "Tool")
  5843.  
  5844. local Parts = GetBricks(script.Parent)
  5845. 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]
  5846.  
  5847. if PrimaryPart then
  5848. WeldParts(Parts, PrimaryPart, "Weld", false)
  5849. else
  5850. warn("qWeld - Unable to weld part")
  5851. end
  5852.  
  5853. return Tool
  5854. end
  5855.  
  5856. local Tool = PerfectionWeld()
  5857.  
  5858.  
  5859. if Tool and script.ClassName == "Script" then
  5860. --- Don't bother with local scripts
  5861.  
  5862. script.Parent.AncestryChanged:connect(function()
  5863. PerfectionWeld()
  5864. end)
  5865. end
  5866.  
  5867. -- Created by Quenty (@Quenty, follow me on twitter).
  5868.  
  5869. end))
  5870. Part408.Parent = Model0
  5871. Part408.BrickColor = BrickColor.new("Really red")
  5872. Part408.Anchored = true
  5873. Part408.FormFactor = Enum.FormFactor.Symmetric
  5874. Part408.Size = Vector3.new(1, 5, 14)
  5875. Part408.CFrame = CFrame.new(28.5999756, 5.4999752, -32.3999557, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5876. Part408.TopSurface = Enum.SurfaceType.Smooth
  5877. Part408.Color = Color3.new(1, 0, 0)
  5878. Part408.Position = Vector3.new(28.5999756, 5.4999752, -32.3999557)
  5879. Part408.Color = Color3.new(1, 0, 0)
  5880. Part409.Parent = Model0
  5881. Part409.BrickColor = BrickColor.new("Really red")
  5882. Part409.Anchored = true
  5883. Part409.FormFactor = Enum.FormFactor.Symmetric
  5884. Part409.Size = Vector3.new(83, 5, 1)
  5885. Part409.CFrame = CFrame.new(-21.6000977, 5.4999752, -31.8999557, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5886. Part409.TopSurface = Enum.SurfaceType.Smooth
  5887. Part409.Color = Color3.new(1, 0, 0)
  5888. Part409.Position = Vector3.new(-21.6000977, 5.4999752, -31.8999557)
  5889. Part409.Color = Color3.new(1, 0, 0)
  5890. Model410.Parent = Model0
  5891. PointLight411.Parent = mas
  5892. PointLight411.Color = Color3.new(1, 0.666667, 0)
  5893. PointLight411.Brightness = 500
  5894. PointLight411.Range = 10
  5895. PointLight411.Color = Color3.new(1, 0.666667, 0)
  5896. Part412.Parent = Model410
  5897. Part412.Material = Enum.Material.Slate
  5898. Part412.BrickColor = BrickColor.new("Black")
  5899. Part412.Anchored = true
  5900. Part412.CanCollide = false
  5901. Part412.FormFactor = Enum.FormFactor.Custom
  5902. Part412.Size = Vector3.new(4, 0.399999976, 4)
  5903. Part412.CFrame = CFrame.new(-25.1000977, 3.18976021, -28.3999557, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5904. Part412.BottomSurface = Enum.SurfaceType.Motor
  5905. Part412.TopSurface = Enum.SurfaceType.Smooth
  5906. Part412.Color = Color3.new(0.105882, 0.164706, 0.207843)
  5907. Part412.Position = Vector3.new(-25.1000977, 3.18976021, -28.3999557)
  5908. Part412.Color = Color3.new(0.105882, 0.164706, 0.207843)
  5909. CylinderMesh413.Parent = Part412
  5910. Script414.Name = "qPerfectionWeld"
  5911. Script414.Parent = Model410
  5912. table.insert(cors,sandbox(Script414,function()
  5913. -- Created by Quenty (@Quenty, follow me on twitter).
  5914. -- Should work with only ONE copy, seamlessly with weapons, trains, et cetera.
  5915. -- Parts should be ANCHORED before use. It will, however, store relatives values and so when tools are reparented, it'll fix them.
  5916.  
  5917. --[[ INSTRUCTIONS
  5918. - Place in the model
  5919. - Make sure model is anchored
  5920. - That's it. It will weld the model and all children.
  5921.  
  5922. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  5923. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  5924. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  5925. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  5926. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  5927. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  5928. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  5929. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  5930.  
  5931. 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.
  5932. ]]
  5933.  
  5934. --[[ DOCUMENTATION
  5935. - 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.
  5936. - Will work in PBS servers
  5937. - Will work as long as it starts out with the part anchored
  5938. - Stores the relative CFrame as a CFrame value
  5939. - Takes careful measure to reduce lag by not having a joint set off or affected by the parts offset from origin
  5940. - Utilizes a recursive algorith to find all parts in the model
  5941. - Will reweld on script reparent if the script is initially parented to a tool.
  5942. - Welds as fast as possible
  5943. ]]
  5944.  
  5945. -- qPerfectionWeld.lua
  5946. -- Created 10/6/2014
  5947. -- Author: Quenty
  5948. -- Version 1.0.3
  5949.  
  5950. -- Updated 10/14/2014 - Updated to 1.0.1
  5951. --- Bug fix with existing ROBLOX welds ? Repro by asimo3089
  5952.  
  5953. -- Updated 10/14/2014 - Updated to 1.0.2
  5954. --- Fixed bug fix.
  5955.  
  5956. -- Updated 10/14/2014 - Updated to 1.0.3
  5957. --- Now handles joints semi-acceptably. May be rather hacky with some joints. :/
  5958.  
  5959. 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).
  5960.  
  5961.  
  5962. local function CallOnChildren(Instance, FunctionToCall)
  5963. -- Calls a function on each of the children of a certain object, using recursion.
  5964.  
  5965. FunctionToCall(Instance)
  5966.  
  5967. for _, Child in next, Instance:GetChildren() do
  5968. CallOnChildren(Child, FunctionToCall)
  5969. end
  5970. end
  5971.  
  5972. local function GetNearestParent(Instance, ClassName)
  5973. -- Returns the nearest parent of a certain class, or returns nil
  5974.  
  5975. local Ancestor = Instance
  5976. repeat
  5977. Ancestor = Ancestor.Parent
  5978. if Ancestor == nil then
  5979. return nil
  5980. end
  5981. until Ancestor:IsA(ClassName)
  5982.  
  5983. return Ancestor
  5984. end
  5985.  
  5986. local function GetBricks(StartInstance)
  5987. local List = {}
  5988.  
  5989. -- if StartInstance:IsA("BasePart") then
  5990. -- List[#List+1] = StartInstance
  5991. -- end
  5992.  
  5993. CallOnChildren(StartInstance, function(Item)
  5994. if Item:IsA("BasePart") then
  5995. List[#List+1] = Item;
  5996. end
  5997. end)
  5998.  
  5999. return List
  6000. end
  6001.  
  6002. local function Modify(Instance, Values)
  6003. -- Modifies an Instance by using a table.
  6004.  
  6005. assert(type(Values) == "table", "Values is not a table");
  6006.  
  6007. for Index, Value in next, Values do
  6008. if type(Index) == "number" then
  6009. Value.Parent = Instance
  6010. else
  6011. Instance[Index] = Value
  6012. end
  6013. end
  6014. return Instance
  6015. end
  6016.  
  6017. local function Make(ClassType, Properties)
  6018. -- Using a syntax hack to create a nice way to Make new items.
  6019.  
  6020. return Modify(Instance.new(ClassType), Properties)
  6021. end
  6022.  
  6023. local Surfaces = {"TopSurface", "BottomSurface", "LeftSurface", "RightSurface", "FrontSurface", "BackSurface"}
  6024. local HingSurfaces = {"Hinge", "Motor", "SteppingMotor"}
  6025.  
  6026. local function HasWheelJoint(Part)
  6027. for _, SurfaceName in pairs(Surfaces) do
  6028. for _, HingSurfaceName in pairs(HingSurfaces) do
  6029. if Part[SurfaceName].Name == HingSurfaceName then
  6030. return true
  6031. end
  6032. end
  6033. end
  6034.  
  6035. return false
  6036. end
  6037.  
  6038. local function ShouldBreakJoints(Part)
  6039. --- We do not want to break joints of wheels/hinges. This takes the utmost care to not do this. There are
  6040. -- definitely some edge cases.
  6041.  
  6042. if NEVER_BREAK_JOINTS then
  6043. return false
  6044. end
  6045.  
  6046. if HasWheelJoint(Part) then
  6047. return false
  6048. end
  6049.  
  6050. local Connected = Part:GetConnectedParts()
  6051.  
  6052. if #Connected == 1 then
  6053. return false
  6054. end
  6055.  
  6056. for _, Item in pairs(Connected) do
  6057. if HasWheelJoint(Item) then
  6058. return false
  6059. elseif not Item:IsDescendantOf(script.Parent) then
  6060. return false
  6061. end
  6062. end
  6063.  
  6064. return true
  6065. end
  6066.  
  6067. local function WeldTogether(Part0, Part1, JointType, WeldParent)
  6068. --- Weld's 2 parts together
  6069. -- @param Part0 The first part
  6070. -- @param Part1 The second part (Dependent part most of the time).
  6071. -- @param [JointType] The type of joint. Defaults to weld.
  6072. -- @param [WeldParent] Parent of the weld, Defaults to Part0 (so GC is better).
  6073. -- @return The weld created.
  6074.  
  6075. JointType = JointType or "Weld"
  6076. local RelativeValue = Part1:FindFirstChild("qRelativeCFrameWeldValue")
  6077.  
  6078. local NewWeld = Part1:FindFirstChild("qCFrameWeldThingy") or Instance.new(JointType)
  6079. Modify(NewWeld, {
  6080. Name = "qCFrameWeldThingy";
  6081. Part0 = Part0;
  6082. Part1 = Part1;
  6083. C0 = CFrame.new();--Part0.CFrame:inverse();
  6084. C1 = RelativeValue and RelativeValue.Value or Part1.CFrame:toObjectSpace(Part0.CFrame); --Part1.CFrame:inverse() * Part0.CFrame;-- Part1.CFrame:inverse();
  6085. Parent = Part1;
  6086. })
  6087.  
  6088. if not RelativeValue then
  6089. RelativeValue = Make("CFrameValue", {
  6090. Parent = Part1;
  6091. Name = "qRelativeCFrameWeldValue";
  6092. Archivable = true;
  6093. Value = NewWeld.C1;
  6094. })
  6095. end
  6096.  
  6097. return NewWeld
  6098. end
  6099.  
  6100. local function WeldParts(Parts, MainPart, JointType, DoNotUnanchor)
  6101. -- @param Parts The Parts to weld. Should be anchored to prevent really horrible results.
  6102. -- @param MainPart The part to weld the model to (can be in the model).
  6103. -- @param [JointType] The type of joint. Defaults to weld.
  6104. -- @parm DoNotUnanchor Boolean, if true, will not unachor the model after cmopletion.
  6105.  
  6106. for _, Part in pairs(Parts) do
  6107. if ShouldBreakJoints(Part) then
  6108. Part:BreakJoints()
  6109. end
  6110. end
  6111.  
  6112. for _, Part in pairs(Parts) do
  6113. if Part ~= MainPart then
  6114. WeldTogether(MainPart, Part, JointType, MainPart)
  6115. end
  6116. end
  6117.  
  6118. if not DoNotUnanchor then
  6119. for _, Part in pairs(Parts) do
  6120. Part.Anchored = false
  6121. end
  6122. MainPart.Anchored = false
  6123. end
  6124. end
  6125.  
  6126. local function PerfectionWeld()
  6127. local Tool = GetNearestParent(script, "Tool")
  6128.  
  6129. local Parts = GetBricks(script.Parent)
  6130. 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]
  6131.  
  6132. if PrimaryPart then
  6133. WeldParts(Parts, PrimaryPart, "Weld", false)
  6134. else
  6135. warn("qWeld - Unable to weld part")
  6136. end
  6137.  
  6138. return Tool
  6139. end
  6140.  
  6141. local Tool = PerfectionWeld()
  6142.  
  6143.  
  6144. if Tool and script.ClassName == "Script" then
  6145. --- Don't bother with local scripts
  6146.  
  6147. script.Parent.AncestryChanged:connect(function()
  6148. PerfectionWeld()
  6149. end)
  6150. end
  6151.  
  6152. -- Created by Quenty (@Quenty, follow me on twitter).
  6153.  
  6154. end))
  6155. Part415.Parent = Model0
  6156. Part415.BrickColor = BrickColor.new("Really red")
  6157. Part415.Anchored = true
  6158. Part415.FormFactor = Enum.FormFactor.Symmetric
  6159. Part415.Size = Vector3.new(1, 5, 15)
  6160. Part415.CFrame = CFrame.new(44.7999229, 5.4999752, -31.8999557, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6161. Part415.TopSurface = Enum.SurfaceType.Smooth
  6162. Part415.Color = Color3.new(1, 0, 0)
  6163. Part415.Position = Vector3.new(44.7999229, 5.4999752, -31.8999557)
  6164. Part415.Color = Color3.new(1, 0, 0)
  6165. Part416.Parent = Model0
  6166. Part416.BrickColor = BrickColor.new("Really red")
  6167. Part416.Anchored = true
  6168. Part416.FormFactor = Enum.FormFactor.Symmetric
  6169. Part416.Size = Vector3.new(1, 5, 15)
  6170. Part416.CFrame = CFrame.new(-63.6000977, 5.4999752, -31.8999557, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6171. Part416.TopSurface = Enum.SurfaceType.Smooth
  6172. Part416.Color = Color3.new(1, 0, 0)
  6173. Part416.Position = Vector3.new(-63.6000977, 5.4999752, -31.8999557)
  6174. Part416.Color = Color3.new(1, 0, 0)
  6175. Part417.Parent = Model0
  6176. Part417.BrickColor = BrickColor.new("Lime green")
  6177. Part417.Anchored = true
  6178. Part417.FormFactor = Enum.FormFactor.Symmetric
  6179. Part417.Size = Vector3.new(78.3999939, 36, 1)
  6180. Part417.CFrame = CFrame.new(-9.90002441, 21.0000134, -38.8999557, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6181. Part417.TopSurface = Enum.SurfaceType.Smooth
  6182. Part417.Color = Color3.new(0, 1, 0)
  6183. Part417.Position = Vector3.new(-9.90002441, 21.0000134, -38.8999557)
  6184. Part417.Color = Color3.new(0, 1, 0)
  6185. Decal418.Parent = Part417
  6186. Decal418.Texture = "http://www.roblox.com/asset/?id=122689700"
  6187. Decal418.Face = Enum.NormalId.Back
  6188. Model419.Parent = Model0
  6189. PointLight420.Parent = mas
  6190. PointLight420.Color = Color3.new(1, 0.666667, 0)
  6191. PointLight420.Brightness = 500
  6192. PointLight420.Range = 10
  6193. PointLight420.Color = Color3.new(1, 0.666667, 0)
  6194. Part421.Parent = Model419
  6195. Part421.Material = Enum.Material.Slate
  6196. Part421.BrickColor = BrickColor.new("Black")
  6197. Part421.Anchored = true
  6198. Part421.CanCollide = false
  6199. Part421.FormFactor = Enum.FormFactor.Custom
  6200. Part421.Size = Vector3.new(4, 0.399999976, 4)
  6201. Part421.CFrame = CFrame.new(-51.1001053, 3.18976021, -28.3999557, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6202. Part421.BottomSurface = Enum.SurfaceType.Motor
  6203. Part421.TopSurface = Enum.SurfaceType.Smooth
  6204. Part421.Color = Color3.new(0.105882, 0.164706, 0.207843)
  6205. Part421.Position = Vector3.new(-51.1001053, 3.18976021, -28.3999557)
  6206. Part421.Color = Color3.new(0.105882, 0.164706, 0.207843)
  6207. CylinderMesh422.Parent = Part421
  6208. Script423.Name = "qPerfectionWeld"
  6209. Script423.Parent = Model419
  6210. table.insert(cors,sandbox(Script423,function()
  6211. -- Created by Quenty (@Quenty, follow me on twitter).
  6212. -- Should work with only ONE copy, seamlessly with weapons, trains, et cetera.
  6213. -- Parts should be ANCHORED before use. It will, however, store relatives values and so when tools are reparented, it'll fix them.
  6214.  
  6215. --[[ INSTRUCTIONS
  6216. - Place in the model
  6217. - Make sure model is anchored
  6218. - That's it. It will weld the model and all children.
  6219.  
  6220. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  6221. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  6222. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  6223. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  6224. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  6225. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  6226. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  6227. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  6228.  
  6229. 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.
  6230. ]]
  6231.  
  6232. --[[ DOCUMENTATION
  6233. - 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.
  6234. - Will work in PBS servers
  6235. - Will work as long as it starts out with the part anchored
  6236. - Stores the relative CFrame as a CFrame value
  6237. - Takes careful measure to reduce lag by not having a joint set off or affected by the parts offset from origin
  6238. - Utilizes a recursive algorith to find all parts in the model
  6239. - Will reweld on script reparent if the script is initially parented to a tool.
  6240. - Welds as fast as possible
  6241. ]]
  6242.  
  6243. -- qPerfectionWeld.lua
  6244. -- Created 10/6/2014
  6245. -- Author: Quenty
  6246. -- Version 1.0.3
  6247.  
  6248. -- Updated 10/14/2014 - Updated to 1.0.1
  6249. --- Bug fix with existing ROBLOX welds ? Repro by asimo3089
  6250.  
  6251. -- Updated 10/14/2014 - Updated to 1.0.2
  6252. --- Fixed bug fix.
  6253.  
  6254. -- Updated 10/14/2014 - Updated to 1.0.3
  6255. --- Now handles joints semi-acceptably. May be rather hacky with some joints. :/
  6256.  
  6257. 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).
  6258.  
  6259.  
  6260. local function CallOnChildren(Instance, FunctionToCall)
  6261. -- Calls a function on each of the children of a certain object, using recursion.
  6262.  
  6263. FunctionToCall(Instance)
  6264.  
  6265. for _, Child in next, Instance:GetChildren() do
  6266. CallOnChildren(Child, FunctionToCall)
  6267. end
  6268. end
  6269.  
  6270. local function GetNearestParent(Instance, ClassName)
  6271. -- Returns the nearest parent of a certain class, or returns nil
  6272.  
  6273. local Ancestor = Instance
  6274. repeat
  6275. Ancestor = Ancestor.Parent
  6276. if Ancestor == nil then
  6277. return nil
  6278. end
  6279. until Ancestor:IsA(ClassName)
  6280.  
  6281. return Ancestor
  6282. end
  6283.  
  6284. local function GetBricks(StartInstance)
  6285. local List = {}
  6286.  
  6287. -- if StartInstance:IsA("BasePart") then
  6288. -- List[#List+1] = StartInstance
  6289. -- end
  6290.  
  6291. CallOnChildren(StartInstance, function(Item)
  6292. if Item:IsA("BasePart") then
  6293. List[#List+1] = Item;
  6294. end
  6295. end)
  6296.  
  6297. return List
  6298. end
  6299.  
  6300. local function Modify(Instance, Values)
  6301. -- Modifies an Instance by using a table.
  6302.  
  6303. assert(type(Values) == "table", "Values is not a table");
  6304.  
  6305. for Index, Value in next, Values do
  6306. if type(Index) == "number" then
  6307. Value.Parent = Instance
  6308. else
  6309. Instance[Index] = Value
  6310. end
  6311. end
  6312. return Instance
  6313. end
  6314.  
  6315. local function Make(ClassType, Properties)
  6316. -- Using a syntax hack to create a nice way to Make new items.
  6317.  
  6318. return Modify(Instance.new(ClassType), Properties)
  6319. end
  6320.  
  6321. local Surfaces = {"TopSurface", "BottomSurface", "LeftSurface", "RightSurface", "FrontSurface", "BackSurface"}
  6322. local HingSurfaces = {"Hinge", "Motor", "SteppingMotor"}
  6323.  
  6324. local function HasWheelJoint(Part)
  6325. for _, SurfaceName in pairs(Surfaces) do
  6326. for _, HingSurfaceName in pairs(HingSurfaces) do
  6327. if Part[SurfaceName].Name == HingSurfaceName then
  6328. return true
  6329. end
  6330. end
  6331. end
  6332.  
  6333. return false
  6334. end
  6335.  
  6336. local function ShouldBreakJoints(Part)
  6337. --- We do not want to break joints of wheels/hinges. This takes the utmost care to not do this. There are
  6338. -- definitely some edge cases.
  6339.  
  6340. if NEVER_BREAK_JOINTS then
  6341. return false
  6342. end
  6343.  
  6344. if HasWheelJoint(Part) then
  6345. return false
  6346. end
  6347.  
  6348. local Connected = Part:GetConnectedParts()
  6349.  
  6350. if #Connected == 1 then
  6351. return false
  6352. end
  6353.  
  6354. for _, Item in pairs(Connected) do
  6355. if HasWheelJoint(Item) then
  6356. return false
  6357. elseif not Item:IsDescendantOf(script.Parent) then
  6358. return false
  6359. end
  6360. end
  6361.  
  6362. return true
  6363. end
  6364.  
  6365. local function WeldTogether(Part0, Part1, JointType, WeldParent)
  6366. --- Weld's 2 parts together
  6367. -- @param Part0 The first part
  6368. -- @param Part1 The second part (Dependent part most of the time).
  6369. -- @param [JointType] The type of joint. Defaults to weld.
  6370. -- @param [WeldParent] Parent of the weld, Defaults to Part0 (so GC is better).
  6371. -- @return The weld created.
  6372.  
  6373. JointType = JointType or "Weld"
  6374. local RelativeValue = Part1:FindFirstChild("qRelativeCFrameWeldValue")
  6375.  
  6376. local NewWeld = Part1:FindFirstChild("qCFrameWeldThingy") or Instance.new(JointType)
  6377. Modify(NewWeld, {
  6378. Name = "qCFrameWeldThingy";
  6379. Part0 = Part0;
  6380. Part1 = Part1;
  6381. C0 = CFrame.new();--Part0.CFrame:inverse();
  6382. C1 = RelativeValue and RelativeValue.Value or Part1.CFrame:toObjectSpace(Part0.CFrame); --Part1.CFrame:inverse() * Part0.CFrame;-- Part1.CFrame:inverse();
  6383. Parent = Part1;
  6384. })
  6385.  
  6386. if not RelativeValue then
  6387. RelativeValue = Make("CFrameValue", {
  6388. Parent = Part1;
  6389. Name = "qRelativeCFrameWeldValue";
  6390. Archivable = true;
  6391. Value = NewWeld.C1;
  6392. })
  6393. end
  6394.  
  6395. return NewWeld
  6396. end
  6397.  
  6398. local function WeldParts(Parts, MainPart, JointType, DoNotUnanchor)
  6399. -- @param Parts The Parts to weld. Should be anchored to prevent really horrible results.
  6400. -- @param MainPart The part to weld the model to (can be in the model).
  6401. -- @param [JointType] The type of joint. Defaults to weld.
  6402. -- @parm DoNotUnanchor Boolean, if true, will not unachor the model after cmopletion.
  6403.  
  6404. for _, Part in pairs(Parts) do
  6405. if ShouldBreakJoints(Part) then
  6406. Part:BreakJoints()
  6407. end
  6408. end
  6409.  
  6410. for _, Part in pairs(Parts) do
  6411. if Part ~= MainPart then
  6412. WeldTogether(MainPart, Part, JointType, MainPart)
  6413. end
  6414. end
  6415.  
  6416. if not DoNotUnanchor then
  6417. for _, Part in pairs(Parts) do
  6418. Part.Anchored = false
  6419. end
  6420. MainPart.Anchored = false
  6421. end
  6422. end
  6423.  
  6424. local function PerfectionWeld()
  6425. local Tool = GetNearestParent(script, "Tool")
  6426.  
  6427. local Parts = GetBricks(script.Parent)
  6428. 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]
  6429.  
  6430. if PrimaryPart then
  6431. WeldParts(Parts, PrimaryPart, "Weld", false)
  6432. else
  6433. warn("qWeld - Unable to weld part")
  6434. end
  6435.  
  6436. return Tool
  6437. end
  6438.  
  6439. local Tool = PerfectionWeld()
  6440.  
  6441.  
  6442. if Tool and script.ClassName == "Script" then
  6443. --- Don't bother with local scripts
  6444.  
  6445. script.Parent.AncestryChanged:connect(function()
  6446. PerfectionWeld()
  6447. end)
  6448. end
  6449.  
  6450. -- Created by Quenty (@Quenty, follow me on twitter).
  6451.  
  6452. end))
  6453. Part424.Parent = Model0
  6454. Part424.BrickColor = BrickColor.new("Bright bluish green")
  6455. Part424.Anchored = true
  6456. Part424.FormFactor = Enum.FormFactor.Symmetric
  6457. Part424.Size = Vector3.new(1, 20, 15.1999998)
  6458. Part424.CFrame = CFrame.new(-63.6000977, 29.0000134, -45.9999847, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6459. Part424.TopSurface = Enum.SurfaceType.Smooth
  6460. Part424.Color = Color3.new(0, 0.560784, 0.611765)
  6461. Part424.Position = Vector3.new(-63.6000977, 29.0000134, -45.9999847)
  6462. Part424.Color = Color3.new(0, 0.560784, 0.611765)
  6463. Part425.Parent = Model0
  6464. Part425.BrickColor = BrickColor.new("Bright bluish green")
  6465. Part425.Anchored = true
  6466. Part425.FormFactor = Enum.FormFactor.Symmetric
  6467. Part425.Size = Vector3.new(14.5999994, 20, 1)
  6468. Part425.CFrame = CFrame.new(-56.2000732, 29.0000134, -38.8999557, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6469. Part425.TopSurface = Enum.SurfaceType.Smooth
  6470. Part425.Color = Color3.new(0, 0.560784, 0.611765)
  6471. Part425.Position = Vector3.new(-56.2000732, 29.0000134, -38.8999557)
  6472. Part425.Color = Color3.new(0, 0.560784, 0.611765)
  6473. Part426.Parent = Model0
  6474. Part426.BrickColor = BrickColor.new("Institutional white")
  6475. Part426.Anchored = true
  6476. Part426.FormFactor = Enum.FormFactor.Symmetric
  6477. Part426.Size = Vector3.new(10, 6.19999981, 1)
  6478. Part426.CFrame = CFrame.new(-58.1000977, 13.8999138, -24.8999557, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6479. Part426.TopSurface = Enum.SurfaceType.Smooth
  6480. Part426.Color = Color3.new(0.972549, 0.972549, 0.972549)
  6481. Part426.Position = Vector3.new(-58.1000977, 13.8999138, -24.8999557)
  6482. Part426.Color = Color3.new(0.972549, 0.972549, 0.972549)
  6483. Decal427.Parent = Part426
  6484. Decal427.Texture = "http://www.roblox.com/asset/?id=122689700"
  6485. Decal427.Face = Enum.NormalId.Back
  6486. Part428.Parent = Model0
  6487. Part428.BrickColor = BrickColor.new("Bright bluish green")
  6488. Part428.Anchored = true
  6489. Part428.FormFactor = Enum.FormFactor.Symmetric
  6490. Part428.Size = Vector3.new(1, 9, 1)
  6491. Part428.CFrame = CFrame.new(-63.6000977, 12.4999142, -24.8999557, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6492. Part428.TopSurface = Enum.SurfaceType.Smooth
  6493. Part428.Color = Color3.new(0, 0.560784, 0.611765)
  6494. Part428.Position = Vector3.new(-63.6000977, 12.4999142, -24.8999557)
  6495. Part428.Color = Color3.new(0, 0.560784, 0.611765)
  6496. Part429.Parent = Model0
  6497. Part429.BrickColor = BrickColor.new("Bright bluish green")
  6498. Part429.Anchored = true
  6499. Part429.FormFactor = Enum.FormFactor.Symmetric
  6500. Part429.Size = Vector3.new(1, 9, 1)
  6501. Part429.CFrame = CFrame.new(-52.6000977, 12.4999142, -24.8999557, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6502. Part429.TopSurface = Enum.SurfaceType.Smooth
  6503. Part429.Color = Color3.new(0, 0.560784, 0.611765)
  6504. Part429.Position = Vector3.new(-52.6000977, 12.4999142, -24.8999557)
  6505. Part429.Color = Color3.new(0, 0.560784, 0.611765)
  6506. Part430.Parent = Model0
  6507. Part430.BrickColor = BrickColor.new("Bright bluish green")
  6508. Part430.Anchored = true
  6509. Part430.FormFactor = Enum.FormFactor.Symmetric
  6510. Part430.Size = Vector3.new(82.1999969, 5, 1)
  6511. Part430.CFrame = CFrame.new(-12, 5.4999752, -24.8999557, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6512. Part430.TopSurface = Enum.SurfaceType.Smooth
  6513. Part430.Color = Color3.new(0, 0.560784, 0.611765)
  6514. Part430.Position = Vector3.new(-12, 5.4999752, -24.8999557)
  6515. Part430.Color = Color3.new(0, 0.560784, 0.611765)
  6516. Part431.Parent = Model0
  6517. Part431.BrickColor = BrickColor.new("Bright bluish green")
  6518. Part431.Anchored = true
  6519. Part431.FormFactor = Enum.FormFactor.Symmetric
  6520. Part431.Size = Vector3.new(1, 9, 1)
  6521. Part431.CFrame = CFrame.new(44.7999229, 12.4999142, -24.8999557, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6522. Part431.TopSurface = Enum.SurfaceType.Smooth
  6523. Part431.Color = Color3.new(0, 0.560784, 0.611765)
  6524. Part431.Position = Vector3.new(44.7999229, 12.4999142, -24.8999557)
  6525. Part431.Color = Color3.new(0, 0.560784, 0.611765)
  6526. Part432.Parent = Model0
  6527. Part432.BrickColor = BrickColor.new("Bright bluish green")
  6528. Part432.Anchored = true
  6529. Part432.FormFactor = Enum.FormFactor.Symmetric
  6530. Part432.Size = Vector3.new(15.2000008, 6.19999981, 1)
  6531. Part432.CFrame = CFrame.new(36.6999474, 13.8999138, -24.8999557, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6532. Part432.TopSurface = Enum.SurfaceType.Smooth
  6533. Part432.Color = Color3.new(0, 0.560784, 0.611765)
  6534. Part432.Position = Vector3.new(36.6999474, 13.8999138, -24.8999557)
  6535. Part432.Color = Color3.new(0, 0.560784, 0.611765)
  6536. Decal433.Parent = Part432
  6537. Decal433.Texture = "http://www.roblox.com/asset/?id=190845890"
  6538. Decal433.Face = Enum.NormalId.Back
  6539. Part434.Parent = Model0
  6540. Part434.BrickColor = BrickColor.new("Bright bluish green")
  6541. Part434.Anchored = true
  6542. Part434.FormFactor = Enum.FormFactor.Symmetric
  6543. Part434.Size = Vector3.new(1, 9, 1)
  6544. Part434.CFrame = CFrame.new(28.5999756, 12.4999142, -24.8999557, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6545. Part434.TopSurface = Enum.SurfaceType.Smooth
  6546. Part434.Color = Color3.new(0, 0.560784, 0.611765)
  6547. Part434.Position = Vector3.new(28.5999756, 12.4999142, -24.8999557)
  6548. Part434.Color = Color3.new(0, 0.560784, 0.611765)
  6549. for i,v in pairs(mas:GetChildren()) do
  6550. v.Parent = game:GetService("Players").LocalPlayer.Character
  6551. pcall(function() v:MakeJoints() end)
  6552. end
  6553. mas:Destroy()
  6554. for i,v in pairs(cors) do
  6555. spawn(function()
  6556. pcall(v)
  6557. end)
  6558. end
  6559. end
  6560. if string.sub(msg,1,7) == ";SFOTH1" then
  6561. print("Loading Sword Fights On The Heights, this can take a while...")
  6562. --Converted with ttyyuu12345's model to script plugin v4
  6563. function sandbox(var,func)
  6564. local env = getfenv(func)
  6565. local newenv = setmetatable({},{
  6566. __index = function(self,k)
  6567. if k=="script" then
  6568. return var
  6569. else
  6570. return env[k]
  6571. end
  6572. end,
  6573. })
  6574. setfenv(func,newenv)
  6575. return func
  6576. end
  6577. cors = {}
  6578. mas = Instance.new("Model",game:GetService("Lighting"))
  6579. Model0 = Instance.new("Model")
  6580. Part1 = Instance.new("Part")
  6581. Model2 = Instance.new("Model")
  6582. Part3 = Instance.new("Part")
  6583. Part4 = Instance.new("Part")
  6584. Part5 = Instance.new("Part")
  6585. Part6 = Instance.new("Part")
  6586. Part7 = Instance.new("Part")
  6587. Part8 = Instance.new("Part")
  6588. Part9 = Instance.new("Part")
  6589. Part10 = Instance.new("Part")
  6590. Part11 = Instance.new("Part")
  6591. Part12 = Instance.new("Part")
  6592. Part13 = Instance.new("Part")
  6593. Part14 = Instance.new("Part")
  6594. Part15 = Instance.new("Part")
  6595. Part16 = Instance.new("Part")
  6596. Part17 = Instance.new("Part")
  6597. Part18 = Instance.new("Part")
  6598. Part19 = Instance.new("Part")
  6599. Part20 = Instance.new("Part")
  6600. Part21 = Instance.new("Part")
  6601. Part22 = Instance.new("Part")
  6602. Part23 = Instance.new("Part")
  6603. Model24 = Instance.new("Model")
  6604. Part25 = Instance.new("Part")
  6605. Part26 = Instance.new("Part")
  6606. Part27 = Instance.new("Part")
  6607. Part28 = Instance.new("Part")
  6608. Part29 = Instance.new("Part")
  6609. Part30 = Instance.new("Part")
  6610. Part31 = Instance.new("Part")
  6611. Part32 = Instance.new("Part")
  6612. Part33 = Instance.new("Part")
  6613. Part34 = Instance.new("Part")
  6614. Part35 = Instance.new("Part")
  6615. Part36 = Instance.new("Part")
  6616. Part37 = Instance.new("Part")
  6617. Part38 = Instance.new("Part")
  6618. Part39 = Instance.new("Part")
  6619. Part40 = Instance.new("Part")
  6620. Part41 = Instance.new("Part")
  6621. Part42 = Instance.new("Part")
  6622. Part43 = Instance.new("Part")
  6623. Part44 = Instance.new("Part")
  6624. Part45 = Instance.new("Part")
  6625. Part46 = Instance.new("Part")
  6626. BodyPosition47 = Instance.new("BodyPosition")
  6627. Script48 = Instance.new("Script")
  6628. BodyGyro49 = Instance.new("BodyGyro")
  6629. Part50 = Instance.new("Part")
  6630. BodyPosition51 = Instance.new("BodyPosition")
  6631. Script52 = Instance.new("Script")
  6632. BodyGyro53 = Instance.new("BodyGyro")
  6633. Part54 = Instance.new("Part")
  6634. Part55 = Instance.new("Part")
  6635. Part56 = Instance.new("Part")
  6636. Part57 = Instance.new("Part")
  6637. Part58 = Instance.new("Part")
  6638. Part59 = Instance.new("Part")
  6639. Part60 = Instance.new("Part")
  6640. Part61 = Instance.new("Part")
  6641. Part62 = Instance.new("Part")
  6642. Part63 = Instance.new("Part")
  6643. Part64 = Instance.new("Part")
  6644. SpawnLocation65 = Instance.new("SpawnLocation")
  6645. Decal66 = Instance.new("Decal")
  6646. Script67 = Instance.new("Script")
  6647. Part68 = Instance.new("Part")
  6648. Script69 = Instance.new("Script")
  6649. Part70 = Instance.new("Part")
  6650. Model71 = Instance.new("Model")
  6651. Part72 = Instance.new("Part")
  6652. Part73 = Instance.new("Part")
  6653. Part74 = Instance.new("Part")
  6654. Part75 = Instance.new("Part")
  6655. Part76 = Instance.new("Part")
  6656. Part77 = Instance.new("Part")
  6657. Part78 = Instance.new("Part")
  6658. Part79 = Instance.new("Part")
  6659. Part80 = Instance.new("Part")
  6660. Part81 = Instance.new("Part")
  6661. Part82 = Instance.new("Part")
  6662. Part83 = Instance.new("Part")
  6663. Part84 = Instance.new("Part")
  6664. Part85 = Instance.new("Part")
  6665. Part86 = Instance.new("Part")
  6666. Part87 = Instance.new("Part")
  6667. Part88 = Instance.new("Part")
  6668. Model89 = Instance.new("Model")
  6669. Part90 = Instance.new("Part")
  6670. Part91 = Instance.new("Part")
  6671. Part92 = Instance.new("Part")
  6672. Part93 = Instance.new("Part")
  6673. Part94 = Instance.new("Part")
  6674. Part95 = Instance.new("Part")
  6675. Part96 = Instance.new("Part")
  6676. Part97 = Instance.new("Part")
  6677. Part98 = Instance.new("Part")
  6678. Part99 = Instance.new("Part")
  6679. Part100 = Instance.new("Part")
  6680. Part101 = Instance.new("Part")
  6681. Part102 = Instance.new("Part")
  6682. Part103 = Instance.new("Part")
  6683. Part104 = Instance.new("Part")
  6684. Part105 = Instance.new("Part")
  6685. Part106 = Instance.new("Part")
  6686. Part107 = Instance.new("Part")
  6687. Part108 = Instance.new("Part")
  6688. BodyPosition109 = Instance.new("BodyPosition")
  6689. Script110 = Instance.new("Script")
  6690. BodyGyro111 = Instance.new("BodyGyro")
  6691. Part112 = Instance.new("Part")
  6692. Part113 = Instance.new("Part")
  6693. Part114 = Instance.new("Part")
  6694. Part115 = Instance.new("Part")
  6695. SpawnLocation116 = Instance.new("SpawnLocation")
  6696. Decal117 = Instance.new("Decal")
  6697. Script118 = Instance.new("Script")
  6698. SpawnLocation119 = Instance.new("SpawnLocation")
  6699. Decal120 = Instance.new("Decal")
  6700. Script121 = Instance.new("Script")
  6701. SpawnLocation122 = Instance.new("SpawnLocation")
  6702. Decal123 = Instance.new("Decal")
  6703. Script124 = Instance.new("Script")
  6704. Model125 = Instance.new("Model")
  6705. Part126 = Instance.new("Part")
  6706. Part127 = Instance.new("Part")
  6707. Part128 = Instance.new("Part")
  6708. Part129 = Instance.new("Part")
  6709. Part130 = Instance.new("Part")
  6710. Part131 = Instance.new("Part")
  6711. Part132 = Instance.new("Part")
  6712. Part133 = Instance.new("Part")
  6713. Part134 = Instance.new("Part")
  6714. Part135 = Instance.new("Part")
  6715. Part136 = Instance.new("Part")
  6716. Part137 = Instance.new("Part")
  6717. Part138 = Instance.new("Part")
  6718. Part139 = Instance.new("Part")
  6719. Part140 = Instance.new("Part")
  6720. Part141 = Instance.new("Part")
  6721. Part142 = Instance.new("Part")
  6722. Part143 = Instance.new("Part")
  6723. Part144 = Instance.new("Part")
  6724. Part145 = Instance.new("Part")
  6725. Part146 = Instance.new("Part")
  6726. Part147 = Instance.new("Part")
  6727. Part148 = Instance.new("Part")
  6728. Script149 = Instance.new("Script")
  6729. Part150 = Instance.new("Part")
  6730. Script151 = Instance.new("Script")
  6731. Part152 = Instance.new("Part")
  6732. Script153 = Instance.new("Script")
  6733. Part154 = Instance.new("Part")
  6734. Part155 = Instance.new("Part")
  6735. Part156 = Instance.new("Part")
  6736. Script157 = Instance.new("Script")
  6737. Part158 = Instance.new("Part")
  6738. Script159 = Instance.new("Script")
  6739. Part160 = Instance.new("Part")
  6740. Script161 = Instance.new("Script")
  6741. Part162 = Instance.new("Part")
  6742. Script163 = Instance.new("Script")
  6743. Part164 = Instance.new("Part")
  6744. Part165 = Instance.new("Part")
  6745. Part166 = Instance.new("Part")
  6746. Part167 = Instance.new("Part")
  6747. Script168 = Instance.new("Script")
  6748. Part169 = Instance.new("Part")
  6749. Script170 = Instance.new("Script")
  6750. Part171 = Instance.new("Part")
  6751. Script172 = Instance.new("Script")
  6752. Part173 = Instance.new("Part")
  6753. Part174 = Instance.new("Part")
  6754. Part175 = Instance.new("Part")
  6755. Part176 = Instance.new("Part")
  6756. Part177 = Instance.new("Part")
  6757. Script178 = Instance.new("Script")
  6758. Part179 = Instance.new("Part")
  6759. Script180 = Instance.new("Script")
  6760. Part181 = Instance.new("Part")
  6761. Script182 = Instance.new("Script")
  6762. Part183 = Instance.new("Part")
  6763. Part184 = Instance.new("Part")
  6764. Part185 = Instance.new("Part")
  6765. Part186 = Instance.new("Part")
  6766. Part187 = Instance.new("Part")
  6767. Script188 = Instance.new("Script")
  6768. Part189 = Instance.new("Part")
  6769. Script190 = Instance.new("Script")
  6770. Part191 = Instance.new("Part")
  6771. Script192 = Instance.new("Script")
  6772. Part193 = Instance.new("Part")
  6773. Part194 = Instance.new("Part")
  6774. Script195 = Instance.new("Script")
  6775. Part196 = Instance.new("Part")
  6776. Script197 = Instance.new("Script")
  6777. Part198 = Instance.new("Part")
  6778. Script199 = Instance.new("Script")
  6779. Part200 = Instance.new("Part")
  6780. Script201 = Instance.new("Script")
  6781. Part202 = Instance.new("Part")
  6782. Script203 = Instance.new("Script")
  6783. Part204 = Instance.new("Part")
  6784. Script205 = Instance.new("Script")
  6785. Part206 = Instance.new("Part")
  6786. Script207 = Instance.new("Script")
  6787. SpawnLocation208 = Instance.new("SpawnLocation")
  6788. Decal209 = Instance.new("Decal")
  6789. Script210 = Instance.new("Script")
  6790. Part211 = Instance.new("Part")
  6791. Script212 = Instance.new("Script")
  6792. Part213 = Instance.new("Part")
  6793. Script214 = Instance.new("Script")
  6794. Part215 = Instance.new("Part")
  6795. Script216 = Instance.new("Script")
  6796. SpawnLocation217 = Instance.new("SpawnLocation")
  6797. Decal218 = Instance.new("Decal")
  6798. Script219 = Instance.new("Script")
  6799. Model220 = Instance.new("Model")
  6800. Part221 = Instance.new("Part")
  6801. Part222 = Instance.new("Part")
  6802. Script223 = Instance.new("Script")
  6803. Part224 = Instance.new("Part")
  6804. Part225 = Instance.new("Part")
  6805. Part226 = Instance.new("Part")
  6806. Model0.Name = "SFOTH"
  6807. Model0.Parent = mas
  6808. Part1.Name = "Floor"
  6809. Part1.Parent = Model0
  6810. Part1.BrickColor = BrickColor.new("Black")
  6811. Part1.Transparency = 1
  6812. Part1.Rotation = Vector3.new(-180, 0, -180)
  6813. Part1.Anchored = true
  6814. Part1.CanCollide = false
  6815. Part1.Size = Vector3.new(512, 1.20000005, 512)
  6816. Part1.CFrame = CFrame.new(54.3499908, 5.77932739, -100.249992, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  6817. Part1.Color = Color3.new(0.105882, 0.164706, 0.207843)
  6818. Part1.Position = Vector3.new(54.3499908, 5.77932739, -100.249992)
  6819. Part1.Orientation = Vector3.new(0, 180, 0)
  6820. Part1.Color = Color3.new(0.105882, 0.164706, 0.207843)
  6821. Model2.Parent = Model0
  6822. Part3.Name = "Smooth Block Model"
  6823. Part3.Parent = Model2
  6824. Part3.BrickColor = BrickColor.new("Reddish brown")
  6825. Part3.Rotation = Vector3.new(-180, 0, -180)
  6826. Part3.Size = Vector3.new(12, 1.20000005, 10)
  6827. Part3.CFrame = CFrame.new(101.349991, 246.179306, -195.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  6828. Part3.Color = Color3.new(0.411765, 0.25098, 0.156863)
  6829. Part3.Position = Vector3.new(101.349991, 246.179306, -195.25)
  6830. Part3.Orientation = Vector3.new(0, 180, 0)
  6831. Part3.Color = Color3.new(0.411765, 0.25098, 0.156863)
  6832. Part4.Name = "Smooth Block Model"
  6833. Part4.Parent = Model2
  6834. Part4.BrickColor = BrickColor.new("Reddish brown")
  6835. Part4.Rotation = Vector3.new(-180, 0, -180)
  6836. Part4.Size = Vector3.new(12, 1.20000005, 10)
  6837. Part4.CFrame = CFrame.new(101.349991, 247.379288, -203.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  6838. Part4.Color = Color3.new(0.411765, 0.25098, 0.156863)
  6839. Part4.Position = Vector3.new(101.349991, 247.379288, -203.25)
  6840. Part4.Orientation = Vector3.new(0, 180, 0)
  6841. Part4.Color = Color3.new(0.411765, 0.25098, 0.156863)
  6842. Part5.Name = "Smooth Block Model"
  6843. Part5.Parent = Model2
  6844. Part5.BrickColor = BrickColor.new("Reddish brown")
  6845. Part5.Rotation = Vector3.new(-180, 0, -180)
  6846. Part5.Size = Vector3.new(12, 1.20000005, 10)
  6847. Part5.CFrame = CFrame.new(100.349991, 248.5793, -209.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  6848. Part5.Color = Color3.new(0.411765, 0.25098, 0.156863)
  6849. Part5.Position = Vector3.new(100.349991, 248.5793, -209.25)
  6850. Part5.Orientation = Vector3.new(0, 180, 0)
  6851. Part5.Color = Color3.new(0.411765, 0.25098, 0.156863)
  6852. Part6.Name = "Smooth Block Model"
  6853. Part6.Parent = Model2
  6854. Part6.BrickColor = BrickColor.new("Reddish brown")
  6855. Part6.Rotation = Vector3.new(-180, 0, -180)
  6856. Part6.Size = Vector3.new(15, 1.20000005, 18)
  6857. Part6.CFrame = CFrame.new(97.8499908, 249.779282, -218.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  6858. Part6.Color = Color3.new(0.411765, 0.25098, 0.156863)
  6859. Part6.Position = Vector3.new(97.8499908, 249.779282, -218.25)
  6860. Part6.Orientation = Vector3.new(0, 180, 0)
  6861. Part6.Color = Color3.new(0.411765, 0.25098, 0.156863)
  6862. Part7.Name = "Smooth Block Model"
  6863. Part7.Parent = Model2
  6864. Part7.BrickColor = BrickColor.new("Reddish brown")
  6865. Part7.Rotation = Vector3.new(-180, 0, -180)
  6866. Part7.Size = Vector3.new(54, 243.600006, 51)
  6867. Part7.CFrame = CFrame.new(63.3499908, 128.179352, -222.75, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  6868. Part7.Color = Color3.new(0.411765, 0.25098, 0.156863)
  6869. Part7.Position = Vector3.new(63.3499908, 128.179352, -222.75)
  6870. Part7.Orientation = Vector3.new(0, 180, 0)
  6871. Part7.Color = Color3.new(0.411765, 0.25098, 0.156863)
  6872. Part8.Name = "Smooth Block Model"
  6873. Part8.Parent = Model2
  6874. Part8.BrickColor = BrickColor.new("Reddish brown")
  6875. Part8.Rotation = Vector3.new(-180, 0, -180)
  6876. Part8.Size = Vector3.new(11, 36, 7)
  6877. Part8.CFrame = CFrame.new(75.8499908, 267.979309, -237.75, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  6878. Part8.Color = Color3.new(0.411765, 0.25098, 0.156863)
  6879. Part8.Position = Vector3.new(75.8499908, 267.979309, -237.75)
  6880. Part8.Orientation = Vector3.new(0, 180, 0)
  6881. Part8.Color = Color3.new(0.411765, 0.25098, 0.156863)
  6882. Part9.Name = "Smooth Block Model"
  6883. Part9.Parent = Model2
  6884. Part9.BrickColor = BrickColor.new("Reddish brown")
  6885. Part9.Rotation = Vector3.new(-180, 0, -180)
  6886. Part9.Size = Vector3.new(11, 34.8000031, 2)
  6887. Part9.CFrame = CFrame.new(75.8499908, 267.379333, -233.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  6888. Part9.Color = Color3.new(0.411765, 0.25098, 0.156863)
  6889. Part9.Position = Vector3.new(75.8499908, 267.379333, -233.25)
  6890. Part9.Orientation = Vector3.new(0, 180, 0)
  6891. Part9.Color = Color3.new(0.411765, 0.25098, 0.156863)
  6892. Part10.Name = "Smooth Block Model"
  6893. Part10.Parent = Model2
  6894. Part10.BrickColor = BrickColor.new("Reddish brown")
  6895. Part10.Rotation = Vector3.new(-180, 0, -180)
  6896. Part10.Size = Vector3.new(11, 33.6000023, 2)
  6897. Part10.CFrame = CFrame.new(75.8499908, 266.779358, -231.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  6898. Part10.Color = Color3.new(0.411765, 0.25098, 0.156863)
  6899. Part10.Position = Vector3.new(75.8499908, 266.779358, -231.25)
  6900. Part10.Orientation = Vector3.new(0, 180, 0)
  6901. Part10.Color = Color3.new(0.411765, 0.25098, 0.156863)
  6902. Part11.Name = "Smooth Block Model"
  6903. Part11.Parent = Model2
  6904. Part11.BrickColor = BrickColor.new("Reddish brown")
  6905. Part11.Rotation = Vector3.new(-180, 0, -180)
  6906. Part11.Size = Vector3.new(11, 31.2000008, 5)
  6907. Part11.CFrame = CFrame.new(75.8499908, 265.579346, -227.75, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  6908. Part11.Color = Color3.new(0.411765, 0.25098, 0.156863)
  6909. Part11.Position = Vector3.new(75.8499908, 265.579346, -227.75)
  6910. Part11.Orientation = Vector3.new(0, 180, 0)
  6911. Part11.Color = Color3.new(0.411765, 0.25098, 0.156863)
  6912. Part12.Name = "Smooth Block Model"
  6913. Part12.Parent = Model2
  6914. Part12.BrickColor = BrickColor.new("Reddish brown")
  6915. Part12.Rotation = Vector3.new(-180, 0, -180)
  6916. Part12.Size = Vector3.new(10, 30.0000019, 3)
  6917. Part12.CFrame = CFrame.new(75.3499908, 264.979309, -223.75, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  6918. Part12.Color = Color3.new(0.411765, 0.25098, 0.156863)
  6919. Part12.Position = Vector3.new(75.3499908, 264.979309, -223.75)
  6920. Part12.Orientation = Vector3.new(0, 180, 0)
  6921. Part12.Color = Color3.new(0.411765, 0.25098, 0.156863)
  6922. Part13.Name = "Smooth Block Model"
  6923. Part13.Parent = Model2
  6924. Part13.BrickColor = BrickColor.new("Reddish brown")
  6925. Part13.Rotation = Vector3.new(-180, 0, -180)
  6926. Part13.Size = Vector3.new(10, 27.6000004, 3)
  6927. Part13.CFrame = CFrame.new(75.3499908, 263.779358, -220.75, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  6928. Part13.Color = Color3.new(0.411765, 0.25098, 0.156863)
  6929. Part13.Position = Vector3.new(75.3499908, 263.779358, -220.75)
  6930. Part13.Orientation = Vector3.new(0, 180, 0)
  6931. Part13.Color = Color3.new(0.411765, 0.25098, 0.156863)
  6932. Part14.Name = "Smooth Block Model"
  6933. Part14.Parent = Model2
  6934. Part14.BrickColor = BrickColor.new("Reddish brown")
  6935. Part14.Rotation = Vector3.new(-180, 0, -180)
  6936. Part14.Size = Vector3.new(10, 26.4000015, 2)
  6937. Part14.CFrame = CFrame.new(75.3499908, 263.179321, -218.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  6938. Part14.Color = Color3.new(0.411765, 0.25098, 0.156863)
  6939. Part14.Position = Vector3.new(75.3499908, 263.179321, -218.25)
  6940. Part14.Orientation = Vector3.new(0, 180, 0)
  6941. Part14.Color = Color3.new(0.411765, 0.25098, 0.156863)
  6942. Part15.Name = "Smooth Block Model"
  6943. Part15.Parent = Model2
  6944. Part15.BrickColor = BrickColor.new("Reddish brown")
  6945. Part15.Rotation = Vector3.new(-180, 0, -180)
  6946. Part15.Size = Vector3.new(12, 26.4000015, 8)
  6947. Part15.CFrame = CFrame.new(73.3499908, 263.179321, -213.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  6948. Part15.Color = Color3.new(0.411765, 0.25098, 0.156863)
  6949. Part15.Position = Vector3.new(73.3499908, 263.179321, -213.25)
  6950. Part15.Orientation = Vector3.new(0, 180, 0)
  6951. Part15.Color = Color3.new(0.411765, 0.25098, 0.156863)
  6952. Part16.Name = "Smooth Block Model"
  6953. Part16.Parent = Model2
  6954. Part16.BrickColor = BrickColor.new("Reddish brown")
  6955. Part16.Rotation = Vector3.new(-180, 0, -180)
  6956. Part16.Size = Vector3.new(12, 1.20000005, 10)
  6957. Part16.CFrame = CFrame.new(71.3499908, 236.579361, -152.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  6958. Part16.Color = Color3.new(0.411765, 0.25098, 0.156863)
  6959. Part16.Position = Vector3.new(71.3499908, 236.579361, -152.25)
  6960. Part16.Orientation = Vector3.new(0, 180, 0)
  6961. Part16.Color = Color3.new(0.411765, 0.25098, 0.156863)
  6962. Part17.Name = "Smooth Block Model"
  6963. Part17.Parent = Model2
  6964. Part17.BrickColor = BrickColor.new("Reddish brown")
  6965. Part17.Rotation = Vector3.new(-180, 0, -180)
  6966. Part17.Size = Vector3.new(12, 1.20000005, 10)
  6967. Part17.CFrame = CFrame.new(75.3499908, 237.779312, -157.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  6968. Part17.Color = Color3.new(0.411765, 0.25098, 0.156863)
  6969. Part17.Position = Vector3.new(75.3499908, 237.779312, -157.25)
  6970. Part17.Orientation = Vector3.new(0, 180, 0)
  6971. Part17.Color = Color3.new(0.411765, 0.25098, 0.156863)
  6972. Part18.Name = "Smooth Block Model"
  6973. Part18.Parent = Model2
  6974. Part18.BrickColor = BrickColor.new("Reddish brown")
  6975. Part18.Rotation = Vector3.new(-180, 0, -180)
  6976. Part18.Size = Vector3.new(12, 1.20000005, 10)
  6977. Part18.CFrame = CFrame.new(80.3499908, 238.979324, -163.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  6978. Part18.Color = Color3.new(0.411765, 0.25098, 0.156863)
  6979. Part18.Position = Vector3.new(80.3499908, 238.979324, -163.25)
  6980. Part18.Orientation = Vector3.new(0, 180, 0)
  6981. Part18.Color = Color3.new(0.411765, 0.25098, 0.156863)
  6982. Part19.Name = "Smooth Block Model"
  6983. Part19.Parent = Model2
  6984. Part19.BrickColor = BrickColor.new("Reddish brown")
  6985. Part19.Rotation = Vector3.new(-180, 0, -180)
  6986. Part19.Size = Vector3.new(12, 1.20000005, 10)
  6987. Part19.CFrame = CFrame.new(84.3499908, 240.179306, -169.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  6988. Part19.Color = Color3.new(0.411765, 0.25098, 0.156863)
  6989. Part19.Position = Vector3.new(84.3499908, 240.179306, -169.25)
  6990. Part19.Orientation = Vector3.new(0, 180, 0)
  6991. Part19.Color = Color3.new(0.411765, 0.25098, 0.156863)
  6992. Part20.Name = "Smooth Block Model"
  6993. Part20.Parent = Model2
  6994. Part20.BrickColor = BrickColor.new("Reddish brown")
  6995. Part20.Rotation = Vector3.new(-180, 0, -180)
  6996. Part20.Size = Vector3.new(12, 1.20000005, 10)
  6997. Part20.CFrame = CFrame.new(88.3499908, 241.379318, -175.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  6998. Part20.Color = Color3.new(0.411765, 0.25098, 0.156863)
  6999. Part20.Position = Vector3.new(88.3499908, 241.379318, -175.25)
  7000. Part20.Orientation = Vector3.new(0, 180, 0)
  7001. Part20.Color = Color3.new(0.411765, 0.25098, 0.156863)
  7002. Part21.Name = "Smooth Block Model"
  7003. Part21.Parent = Model2
  7004. Part21.BrickColor = BrickColor.new("Reddish brown")
  7005. Part21.Rotation = Vector3.new(-180, 0, -180)
  7006. Part21.Size = Vector3.new(12, 1.20000005, 10)
  7007. Part21.CFrame = CFrame.new(93.3499908, 242.5793, -179.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  7008. Part21.Color = Color3.new(0.411765, 0.25098, 0.156863)
  7009. Part21.Position = Vector3.new(93.3499908, 242.5793, -179.25)
  7010. Part21.Orientation = Vector3.new(0, 180, 0)
  7011. Part21.Color = Color3.new(0.411765, 0.25098, 0.156863)
  7012. Part22.Name = "Smooth Block Model"
  7013. Part22.Parent = Model2
  7014. Part22.BrickColor = BrickColor.new("Reddish brown")
  7015. Part22.Rotation = Vector3.new(-180, 0, -180)
  7016. Part22.Size = Vector3.new(12, 1.20000005, 10)
  7017. Part22.CFrame = CFrame.new(96.3499908, 243.779312, -184.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  7018. Part22.Color = Color3.new(0.411765, 0.25098, 0.156863)
  7019. Part22.Position = Vector3.new(96.3499908, 243.779312, -184.25)
  7020. Part22.Orientation = Vector3.new(0, 180, 0)
  7021. Part22.Color = Color3.new(0.411765, 0.25098, 0.156863)
  7022. Part23.Name = "Smooth Block Model"
  7023. Part23.Parent = Model2
  7024. Part23.BrickColor = BrickColor.new("Reddish brown")
  7025. Part23.Rotation = Vector3.new(-180, 0, -180)
  7026. Part23.Size = Vector3.new(12, 1.20000005, 10)
  7027. Part23.CFrame = CFrame.new(98.3499908, 244.979294, -190.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  7028. Part23.Color = Color3.new(0.411765, 0.25098, 0.156863)
  7029. Part23.Position = Vector3.new(98.3499908, 244.979294, -190.25)
  7030. Part23.Orientation = Vector3.new(0, 180, 0)
  7031. Part23.Color = Color3.new(0.411765, 0.25098, 0.156863)
  7032. Model24.Parent = Model2
  7033. Model24.PrimaryPart = Part29
  7034. Part25.Name = "Smooth Block Model"
  7035. Part25.Parent = Model24
  7036. Part25.BrickColor = BrickColor.new("Bright red")
  7037. Part25.Rotation = Vector3.new(-180, 0, -180)
  7038. Part25.Size = Vector3.new(1, 2.4000001, 1)
  7039. Part25.CFrame = CFrame.new(85.8499908, 251.579361, -131.75, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  7040. Part25.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7041. Part25.Position = Vector3.new(85.8499908, 251.579361, -131.75)
  7042. Part25.Orientation = Vector3.new(0, 180, 0)
  7043. Part25.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7044. Part26.Name = "Smooth Block Model"
  7045. Part26.Parent = Model24
  7046. Part26.BrickColor = BrickColor.new("Bright red")
  7047. Part26.Rotation = Vector3.new(-180, 0, -180)
  7048. Part26.Size = Vector3.new(1, 2.4000001, 1)
  7049. Part26.CFrame = CFrame.new(85.8499908, 251.579361, -128.75, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  7050. Part26.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7051. Part26.Position = Vector3.new(85.8499908, 251.579361, -128.75)
  7052. Part26.Orientation = Vector3.new(0, 180, 0)
  7053. Part26.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7054. Part27.Name = "Smooth Block Model"
  7055. Part27.Parent = Model24
  7056. Part27.BrickColor = BrickColor.new("Bright red")
  7057. Part27.Rotation = Vector3.new(0, -90, 0)
  7058. Part27.Size = Vector3.new(1, 2.4000001, 1)
  7059. Part27.CFrame = CFrame.new(79.8499908, 251.579361, -131.75, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  7060. Part27.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7061. Part27.Position = Vector3.new(79.8499908, 251.579361, -131.75)
  7062. Part27.Orientation = Vector3.new(0, -90, 0)
  7063. Part27.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7064. Part28.Name = "Smooth Block Model"
  7065. Part28.Parent = Model24
  7066. Part28.BrickColor = BrickColor.new("Bright red")
  7067. Part28.Rotation = Vector3.new(0, -90, 0)
  7068. Part28.Size = Vector3.new(1, 2.4000001, 1)
  7069. Part28.CFrame = CFrame.new(82.8499908, 251.579361, -131.75, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  7070. Part28.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7071. Part28.Position = Vector3.new(82.8499908, 251.579361, -131.75)
  7072. Part28.Orientation = Vector3.new(0, -90, 0)
  7073. Part28.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7074. Part29.Name = "Smooth Block Model"
  7075. Part29.Parent = Model24
  7076. Part29.BrickColor = BrickColor.new("Black")
  7077. Part29.Rotation = Vector3.new(-180, 0, -180)
  7078. Part29.FormFactor = Enum.FormFactor.Plate
  7079. Part29.Size = Vector3.new(22, 0.800000012, 1)
  7080. Part29.CFrame = CFrame.new(75.3499908, 253.179337, -131.75, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  7081. Part29.Color = Color3.new(0.105882, 0.164706, 0.207843)
  7082. Part29.Position = Vector3.new(75.3499908, 253.179337, -131.75)
  7083. Part29.Orientation = Vector3.new(0, 180, 0)
  7084. Part29.Color = Color3.new(0.105882, 0.164706, 0.207843)
  7085. Part30.Name = "Smooth Block Model"
  7086. Part30.Parent = Model24
  7087. Part30.BrickColor = BrickColor.new("Bright red")
  7088. Part30.Rotation = Vector3.new(-180, 0, -180)
  7089. Part30.Size = Vector3.new(1, 2.4000001, 1)
  7090. Part30.CFrame = CFrame.new(85.8499908, 251.579361, -125.749992, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  7091. Part30.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7092. Part30.Position = Vector3.new(85.8499908, 251.579361, -125.749992)
  7093. Part30.Orientation = Vector3.new(0, 180, 0)
  7094. Part30.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7095. Part31.Name = "Smooth Block Model"
  7096. Part31.Parent = Model24
  7097. Part31.BrickColor = BrickColor.new("Bright red")
  7098. Part31.Rotation = Vector3.new(-180, 0, -180)
  7099. Part31.Size = Vector3.new(1, 2.4000001, 1)
  7100. Part31.CFrame = CFrame.new(85.8499908, 251.579361, -122.749992, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  7101. Part31.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7102. Part31.Position = Vector3.new(85.8499908, 251.579361, -122.749992)
  7103. Part31.Orientation = Vector3.new(0, 180, 0)
  7104. Part31.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7105. Part32.Name = "Smooth Block Model"
  7106. Part32.Parent = Model24
  7107. Part32.BrickColor = BrickColor.new("Bright red")
  7108. Part32.Rotation = Vector3.new(0, -90, 0)
  7109. Part32.Size = Vector3.new(1, 2.4000001, 1)
  7110. Part32.CFrame = CFrame.new(73.8499908, 251.579361, -131.75, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  7111. Part32.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7112. Part32.Position = Vector3.new(73.8499908, 251.579361, -131.75)
  7113. Part32.Orientation = Vector3.new(0, -90, 0)
  7114. Part32.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7115. Part33.Name = "Smooth Block Model"
  7116. Part33.Parent = Model24
  7117. Part33.BrickColor = BrickColor.new("Bright red")
  7118. Part33.Rotation = Vector3.new(0, -90, 0)
  7119. Part33.Size = Vector3.new(1, 2.4000001, 1)
  7120. Part33.CFrame = CFrame.new(76.8499908, 251.579361, -131.75, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  7121. Part33.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7122. Part33.Position = Vector3.new(76.8499908, 251.579361, -131.75)
  7123. Part33.Orientation = Vector3.new(0, -90, 0)
  7124. Part33.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7125. Part34.Name = "Smooth Block Model"
  7126. Part34.Parent = Model24
  7127. Part34.BrickColor = BrickColor.new("Bright red")
  7128. Part34.Rotation = Vector3.new(0, -90, 0)
  7129. Part34.Size = Vector3.new(1, 2.4000001, 1)
  7130. Part34.CFrame = CFrame.new(70.8499908, 251.579361, -131.75, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  7131. Part34.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7132. Part34.Position = Vector3.new(70.8499908, 251.579361, -131.75)
  7133. Part34.Orientation = Vector3.new(0, -90, 0)
  7134. Part34.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7135. Part35.Name = "Smooth Block Model"
  7136. Part35.Parent = Model24
  7137. Part35.BrickColor = BrickColor.new("Bright red")
  7138. Part35.Rotation = Vector3.new(0, -90, 0)
  7139. Part35.Size = Vector3.new(1, 2.4000001, 1)
  7140. Part35.CFrame = CFrame.new(67.8499908, 251.579361, -131.75, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  7141. Part35.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7142. Part35.Position = Vector3.new(67.8499908, 251.579361, -131.75)
  7143. Part35.Orientation = Vector3.new(0, -90, 0)
  7144. Part35.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7145. Part36.Name = "Smooth Block Model"
  7146. Part36.Parent = Model24
  7147. Part36.BrickColor = BrickColor.new("Black")
  7148. Part36.Rotation = Vector3.new(0, -90, 0)
  7149. Part36.FormFactor = Enum.FormFactor.Plate
  7150. Part36.Size = Vector3.new(21, 0.800000012, 1)
  7151. Part36.CFrame = CFrame.new(85.8499908, 253.179337, -120.749992, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  7152. Part36.Color = Color3.new(0.105882, 0.164706, 0.207843)
  7153. Part36.Position = Vector3.new(85.8499908, 253.179337, -120.749992)
  7154. Part36.Orientation = Vector3.new(0, -90, 0)
  7155. Part36.Color = Color3.new(0.105882, 0.164706, 0.207843)
  7156. Part37.Name = "Smooth Block Model"
  7157. Part37.Parent = Model24
  7158. Part37.BrickColor = BrickColor.new("Bright red")
  7159. Part37.Rotation = Vector3.new(-180, 0, -180)
  7160. Part37.Size = Vector3.new(1, 2.4000001, 1)
  7161. Part37.CFrame = CFrame.new(85.8499908, 251.579361, -119.749992, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  7162. Part37.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7163. Part37.Position = Vector3.new(85.8499908, 251.579361, -119.749992)
  7164. Part37.Orientation = Vector3.new(0, 180, 0)
  7165. Part37.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7166. Part38.Name = "Smooth Block Model"
  7167. Part38.Parent = Model24
  7168. Part38.BrickColor = BrickColor.new("Bright red")
  7169. Part38.Rotation = Vector3.new(0, -90, 0)
  7170. Part38.Size = Vector3.new(1, 2.4000001, 1)
  7171. Part38.CFrame = CFrame.new(64.8499908, 251.579361, -131.75, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  7172. Part38.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7173. Part38.Position = Vector3.new(64.8499908, 251.579361, -131.75)
  7174. Part38.Orientation = Vector3.new(0, -90, 0)
  7175. Part38.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7176. Part39.Name = "Smooth Block Model"
  7177. Part39.Parent = Model24
  7178. Part39.BrickColor = BrickColor.new("Bright red")
  7179. Part39.Rotation = Vector3.new(-180, 0, -180)
  7180. Part39.Size = Vector3.new(1, 2.4000001, 1)
  7181. Part39.CFrame = CFrame.new(85.8499908, 251.579361, -116.749992, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  7182. Part39.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7183. Part39.Position = Vector3.new(85.8499908, 251.579361, -116.749992)
  7184. Part39.Orientation = Vector3.new(0, 180, 0)
  7185. Part39.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7186. Part40.Name = "Smooth Block Model"
  7187. Part40.Parent = Model24
  7188. Part40.BrickColor = BrickColor.new("Bright red")
  7189. Part40.Rotation = Vector3.new(-180, 0, -180)
  7190. Part40.Size = Vector3.new(1, 2.4000001, 1)
  7191. Part40.CFrame = CFrame.new(85.8499908, 251.579361, -113.749992, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  7192. Part40.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7193. Part40.Position = Vector3.new(85.8499908, 251.579361, -113.749992)
  7194. Part40.Orientation = Vector3.new(0, 180, 0)
  7195. Part40.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7196. Part41.Name = "Smooth Block Model"
  7197. Part41.Parent = Model24
  7198. Part41.BrickColor = BrickColor.new("Bright red")
  7199. Part41.Rotation = Vector3.new(-180, 0, -180)
  7200. Part41.Size = Vector3.new(1, 2.4000001, 1)
  7201. Part41.CFrame = CFrame.new(85.8499908, 251.579361, -110.749992, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  7202. Part41.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7203. Part41.Position = Vector3.new(85.8499908, 251.579361, -110.749992)
  7204. Part41.Orientation = Vector3.new(0, 180, 0)
  7205. Part41.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7206. Part42.Name = "Smooth Block Model"
  7207. Part42.Parent = Model2
  7208. Part42.BrickColor = BrickColor.new("Reddish brown")
  7209. Part42.Rotation = Vector3.new(-180, 0, -180)
  7210. Part42.Size = Vector3.new(5, 25.2000008, 10)
  7211. Part42.CFrame = CFrame.new(64.8499908, 262.579346, -212.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  7212. Part42.Color = Color3.new(0.411765, 0.25098, 0.156863)
  7213. Part42.Position = Vector3.new(64.8499908, 262.579346, -212.25)
  7214. Part42.Orientation = Vector3.new(0, 180, 0)
  7215. Part42.Color = Color3.new(0.411765, 0.25098, 0.156863)
  7216. Part43.Name = "Smooth Block Model"
  7217. Part43.Parent = Model2
  7218. Part43.BrickColor = BrickColor.new("Reddish brown")
  7219. Part43.Rotation = Vector3.new(-180, 0, -180)
  7220. Part43.Size = Vector3.new(3, 4.80000019, 10)
  7221. Part43.CFrame = CFrame.new(65.8499908, 252.379349, -202.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  7222. Part43.Color = Color3.new(0.411765, 0.25098, 0.156863)
  7223. Part43.Position = Vector3.new(65.8499908, 252.379349, -202.25)
  7224. Part43.Orientation = Vector3.new(0, 180, 0)
  7225. Part43.Color = Color3.new(0.411765, 0.25098, 0.156863)
  7226. Part44.Name = "Smooth Block Model"
  7227. Part44.Parent = Model2
  7228. Part44.BrickColor = BrickColor.new("Reddish brown")
  7229. Part44.Rotation = Vector3.new(-180, 0, -180)
  7230. Part44.Size = Vector3.new(3, 2.4000001, 12)
  7231. Part44.CFrame = CFrame.new(68.8499908, 251.179337, -203.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  7232. Part44.Color = Color3.new(0.411765, 0.25098, 0.156863)
  7233. Part44.Position = Vector3.new(68.8499908, 251.179337, -203.25)
  7234. Part44.Orientation = Vector3.new(0, 180, 0)
  7235. Part44.Color = Color3.new(0.411765, 0.25098, 0.156863)
  7236. Part45.Name = "Smooth Block Model"
  7237. Part45.Parent = Model2
  7238. Part45.BrickColor = BrickColor.new("Reddish brown")
  7239. Part45.Rotation = Vector3.new(-180, 0, -180)
  7240. Part45.Size = Vector3.new(12, 1.20000005, 10)
  7241. Part45.CFrame = CFrame.new(69.3499908, 235.379318, -147.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  7242. Part45.Color = Color3.new(0.411765, 0.25098, 0.156863)
  7243. Part45.Position = Vector3.new(69.3499908, 235.379318, -147.25)
  7244. Part45.Orientation = Vector3.new(0, 180, 0)
  7245. Part45.Color = Color3.new(0.411765, 0.25098, 0.156863)
  7246. Part46.Name = "Wobbly"
  7247. Part46.Parent = Model2
  7248. Part46.BrickColor = BrickColor.new("Bright orange")
  7249. Part46.Rotation = Vector3.new(-180, 0, 180)
  7250. Part46.RotVelocity = Vector3.new(-1.84176933e-24, 1.21307984e-20, -1.84176933e-24)
  7251. Part46.Velocity = Vector3.new(-0.103950754, 0.0255294144, -0.11278569)
  7252. Part46.Size = Vector3.new(18, 1.20000005, 18)
  7253. Part46.CFrame = CFrame.new(133.469498, 250.74501, -100.119301, -1, -1.29652079e-20, -1.04116951e-17, -1.29652079e-20, 1, 1.29652079e-20, 1.04116951e-17, 1.29652079e-20, -1)
  7254. Part46.Color = Color3.new(0.854902, 0.521569, 0.254902)
  7255. Part46.Position = Vector3.new(133.469498, 250.74501, -100.119301)
  7256. Part46.Orientation = Vector3.new(0, -180, 0)
  7257. Part46.Color = Color3.new(0.854902, 0.521569, 0.254902)
  7258. BodyPosition47.Parent = Part46
  7259. BodyPosition47.P = 100000
  7260. BodyPosition47.D = 125000
  7261. BodyPosition47.position = Vector3.new(79.1194916, 245.60498, 0.130693749)
  7262. BodyPosition47.Position = Vector3.new(79.1194916, 245.60498, 0.130693749)
  7263. Script48.Parent = Part46
  7264. table.insert(cors,sandbox(Script48,function()
  7265. script.Parent.BodyPosition.position = script.Parent.Position
  7266. end))
  7267. BodyGyro49.Parent = Part46
  7268. BodyGyro49.P = 1
  7269. BodyGyro49.D = 2
  7270. Part50.Name = "Wobbly"
  7271. Part50.Parent = Model2
  7272. Part50.BrickColor = BrickColor.new("Bright orange")
  7273. Part50.Rotation = Vector3.new(-180, 0, 180)
  7274. Part50.RotVelocity = Vector3.new(-1.84176933e-24, 1.21307984e-20, -1.84176933e-24)
  7275. Part50.Velocity = Vector3.new(-0.103950754, 0.0255294144, -0.11278569)
  7276. Part50.Size = Vector3.new(18, 1.20000005, 18)
  7277. Part50.CFrame = CFrame.new(153.469498, 250.74501, -100.119301, -1, -1.29652079e-20, -1.04116951e-17, -1.29652079e-20, 1, 1.29652079e-20, 1.04116951e-17, 1.29652079e-20, -1)
  7278. Part50.Color = Color3.new(0.854902, 0.521569, 0.254902)
  7279. Part50.Position = Vector3.new(153.469498, 250.74501, -100.119301)
  7280. Part50.Orientation = Vector3.new(0, -180, 0)
  7281. Part50.Color = Color3.new(0.854902, 0.521569, 0.254902)
  7282. BodyPosition51.Parent = Part50
  7283. BodyPosition51.P = 100000
  7284. BodyPosition51.D = 125000
  7285. BodyPosition51.position = Vector3.new(99.1194916, 245.60498, 0.130693749)
  7286. BodyPosition51.Position = Vector3.new(99.1194916, 245.60498, 0.130693749)
  7287. Script52.Parent = Part50
  7288. table.insert(cors,sandbox(Script52,function()
  7289. script.Parent.BodyPosition.position = script.Parent.Position
  7290. end))
  7291. BodyGyro53.Parent = Part50
  7292. BodyGyro53.P = 1
  7293. BodyGyro53.D = 2
  7294. Part54.Name = "Smooth Block Model"
  7295. Part54.Parent = Model2
  7296. Part54.BrickColor = BrickColor.new("Reddish brown")
  7297. Part54.Rotation = Vector3.new(-180, 0, -180)
  7298. Part54.Size = Vector3.new(32, 37.2000008, 24)
  7299. Part54.CFrame = CFrame.new(54.3499908, 268.579346, -229.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  7300. Part54.Color = Color3.new(0.411765, 0.25098, 0.156863)
  7301. Part54.Position = Vector3.new(54.3499908, 268.579346, -229.25)
  7302. Part54.Orientation = Vector3.new(0, 180, 0)
  7303. Part54.Color = Color3.new(0.411765, 0.25098, 0.156863)
  7304. Part55.Name = "Smooth Block Model"
  7305. Part55.Parent = Model2
  7306. Part55.BrickColor = BrickColor.new("Reddish brown")
  7307. Part55.Rotation = Vector3.new(-180, 0, -180)
  7308. Part55.Size = Vector3.new(2, 22.8000011, 10)
  7309. Part55.CFrame = CFrame.new(61.3499908, 261.379333, -212.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  7310. Part55.Color = Color3.new(0.411765, 0.25098, 0.156863)
  7311. Part55.Position = Vector3.new(61.3499908, 261.379333, -212.25)
  7312. Part55.Orientation = Vector3.new(0, 180, 0)
  7313. Part55.Color = Color3.new(0.411765, 0.25098, 0.156863)
  7314. Part56.Name = "Smooth Block Model"
  7315. Part56.Parent = Model2
  7316. Part56.BrickColor = BrickColor.new("Reddish brown")
  7317. Part56.Rotation = Vector3.new(-180, 0, -180)
  7318. Part56.Size = Vector3.new(3, 21.6000004, 10)
  7319. Part56.CFrame = CFrame.new(58.8499908, 260.779358, -212.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  7320. Part56.Color = Color3.new(0.411765, 0.25098, 0.156863)
  7321. Part56.Position = Vector3.new(58.8499908, 260.779358, -212.25)
  7322. Part56.Orientation = Vector3.new(0, 180, 0)
  7323. Part56.Color = Color3.new(0.411765, 0.25098, 0.156863)
  7324. Part57.Name = "Smooth Block Model"
  7325. Part57.Parent = Model2
  7326. Part57.BrickColor = BrickColor.new("Reddish brown")
  7327. Part57.Rotation = Vector3.new(-180, 0, -180)
  7328. Part57.Size = Vector3.new(5, 20.4000015, 10)
  7329. Part57.CFrame = CFrame.new(54.8499908, 260.179321, -212.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  7330. Part57.Color = Color3.new(0.411765, 0.25098, 0.156863)
  7331. Part57.Position = Vector3.new(54.8499908, 260.179321, -212.25)
  7332. Part57.Orientation = Vector3.new(0, 180, 0)
  7333. Part57.Color = Color3.new(0.411765, 0.25098, 0.156863)
  7334. Part58.Name = "Smooth Block Model"
  7335. Part58.Parent = Model2
  7336. Part58.BrickColor = BrickColor.new("Reddish brown")
  7337. Part58.Rotation = Vector3.new(-180, 0, -180)
  7338. Part58.Size = Vector3.new(5, 18, 10)
  7339. Part58.CFrame = CFrame.new(49.8499908, 258.979309, -212.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  7340. Part58.Color = Color3.new(0.411765, 0.25098, 0.156863)
  7341. Part58.Position = Vector3.new(49.8499908, 258.979309, -212.25)
  7342. Part58.Orientation = Vector3.new(0, 180, 0)
  7343. Part58.Color = Color3.new(0.411765, 0.25098, 0.156863)
  7344. Part59.Name = "Smooth Block Model"
  7345. Part59.Parent = Model2
  7346. Part59.BrickColor = BrickColor.new("Reddish brown")
  7347. Part59.Rotation = Vector3.new(-180, 0, -180)
  7348. Part59.Size = Vector3.new(2, 12, 10)
  7349. Part59.CFrame = CFrame.new(51.3499908, 255.979324, -202.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  7350. Part59.Color = Color3.new(0.411765, 0.25098, 0.156863)
  7351. Part59.Position = Vector3.new(51.3499908, 255.979324, -202.25)
  7352. Part59.Orientation = Vector3.new(0, 180, 0)
  7353. Part59.Color = Color3.new(0.411765, 0.25098, 0.156863)
  7354. Part60.Name = "Smooth Block Model"
  7355. Part60.Parent = Model2
  7356. Part60.BrickColor = BrickColor.new("Reddish brown")
  7357. Part60.Rotation = Vector3.new(-180, 0, -180)
  7358. Part60.Size = Vector3.new(2, 9.60000038, 10)
  7359. Part60.CFrame = CFrame.new(53.3499908, 254.779343, -202.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  7360. Part60.Color = Color3.new(0.411765, 0.25098, 0.156863)
  7361. Part60.Position = Vector3.new(53.3499908, 254.779343, -202.25)
  7362. Part60.Orientation = Vector3.new(0, 180, 0)
  7363. Part60.Color = Color3.new(0.411765, 0.25098, 0.156863)
  7364. Part61.Name = "Smooth Block Model"
  7365. Part61.Parent = Model2
  7366. Part61.BrickColor = BrickColor.new("Reddish brown")
  7367. Part61.Rotation = Vector3.new(-180, 0, -180)
  7368. Part61.Size = Vector3.new(2, 8.40000057, 10)
  7369. Part61.CFrame = CFrame.new(55.3499908, 254.179337, -202.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  7370. Part61.Color = Color3.new(0.411765, 0.25098, 0.156863)
  7371. Part61.Position = Vector3.new(55.3499908, 254.179337, -202.25)
  7372. Part61.Orientation = Vector3.new(0, 180, 0)
  7373. Part61.Color = Color3.new(0.411765, 0.25098, 0.156863)
  7374. Part62.Name = "Smooth Block Model"
  7375. Part62.Parent = Model2
  7376. Part62.BrickColor = BrickColor.new("Reddish brown")
  7377. Part62.Rotation = Vector3.new(-180, 0, -180)
  7378. Part62.Size = Vector3.new(4, 7.20000029, 10)
  7379. Part62.CFrame = CFrame.new(58.3499908, 253.579361, -202.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  7380. Part62.Color = Color3.new(0.411765, 0.25098, 0.156863)
  7381. Part62.Position = Vector3.new(58.3499908, 253.579361, -202.25)
  7382. Part62.Orientation = Vector3.new(0, 180, 0)
  7383. Part62.Color = Color3.new(0.411765, 0.25098, 0.156863)
  7384. Part63.Name = "Smooth Block Model"
  7385. Part63.Parent = Model2
  7386. Part63.BrickColor = BrickColor.new("Reddish brown")
  7387. Part63.Rotation = Vector3.new(-180, 0, -180)
  7388. Part63.Size = Vector3.new(4, 6, 10)
  7389. Part63.CFrame = CFrame.new(62.3499908, 252.979324, -202.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  7390. Part63.Color = Color3.new(0.411765, 0.25098, 0.156863)
  7391. Part63.Position = Vector3.new(62.3499908, 252.979324, -202.25)
  7392. Part63.Orientation = Vector3.new(0, 180, 0)
  7393. Part63.Color = Color3.new(0.411765, 0.25098, 0.156863)
  7394. Part64.Name = "Smooth Block Model"
  7395. Part64.Parent = Model2
  7396. Part64.BrickColor = BrickColor.new("Reddish brown")
  7397. Part64.Rotation = Vector3.new(-180, 0, -180)
  7398. Part64.Size = Vector3.new(42, 20.4000015, 12)
  7399. Part64.CFrame = CFrame.new(55.3499908, 224.579361, -138.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  7400. Part64.FrontSurface = Enum.SurfaceType.Weld
  7401. Part64.Color = Color3.new(0.411765, 0.25098, 0.156863)
  7402. Part64.Position = Vector3.new(55.3499908, 224.579361, -138.25)
  7403. Part64.Orientation = Vector3.new(0, 180, 0)
  7404. Part64.Color = Color3.new(0.411765, 0.25098, 0.156863)
  7405. SpawnLocation65.Parent = Model2
  7406. SpawnLocation65.BrickColor = BrickColor.new("Bright yellow")
  7407. SpawnLocation65.Rotation = Vector3.new(-180, 0, -180)
  7408. SpawnLocation65.Anchored = true
  7409. SpawnLocation65.Size = Vector3.new(6, 1.20000005, 6)
  7410. SpawnLocation65.CFrame = CFrame.new(80.3499908, 250.979324, -126.249992, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  7411. SpawnLocation65.BackSurface = Enum.SurfaceType.Weld
  7412. SpawnLocation65.BottomSurface = Enum.SurfaceType.Weld
  7413. SpawnLocation65.FrontSurface = Enum.SurfaceType.Weld
  7414. SpawnLocation65.LeftSurface = Enum.SurfaceType.Weld
  7415. SpawnLocation65.RightSurface = Enum.SurfaceType.Weld
  7416. SpawnLocation65.TopSurface = Enum.SurfaceType.Smooth
  7417. SpawnLocation65.Duration = 3
  7418. SpawnLocation65.Color = Color3.new(0.960784, 0.803922, 0.188235)
  7419. SpawnLocation65.Position = Vector3.new(80.3499908, 250.979324, -126.249992)
  7420. SpawnLocation65.Orientation = Vector3.new(0, 180, 0)
  7421. SpawnLocation65.Color = Color3.new(0.960784, 0.803922, 0.188235)
  7422. Decal66.Parent = SpawnLocation65
  7423. Decal66.Texture = "rbxasset://Textures/SpawnLocation.png"
  7424. Decal66.Face = Enum.NormalId.Top
  7425. Script67.Parent = SpawnLocation65
  7426. table.insert(cors,sandbox(Script67,function()
  7427. function onTouch(part) --Finding Humanoid is useless...
  7428. part.Parent:findFirstChild("Head").CanCollide = true
  7429. part.Parent:findFirstChild("Torso").CanCollide = true
  7430. part.Parent:findFirstChild("Left Arm").CanCollide = true
  7431. part.Parent:findFirstChild("Right Arm").CanCollide = true
  7432. part.Parent:findFirstChild("Left Leg").CanCollide = true
  7433. part.Parent:findFirstChild("Right Leg").CanCollide = true
  7434. end
  7435. script.Parent.Touched:connect(onTouch)
  7436.  
  7437. end))
  7438. Part68.Name = "Smooth Block Model"
  7439. Part68.Parent = Model2
  7440. Part68.BrickColor = BrickColor.new("Reddish brown")
  7441. Part68.Rotation = Vector3.new(-180, 0, -180)
  7442. Part68.Anchored = true
  7443. Part68.Size = Vector3.new(64, 244, 64)
  7444. Part68.CFrame = CFrame.new(54.3499908, 128.379333, -100.249992, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  7445. Part68.Color = Color3.new(0.411765, 0.25098, 0.156863)
  7446. Part68.Position = Vector3.new(54.3499908, 128.379333, -100.249992)
  7447. Part68.Orientation = Vector3.new(0, 180, 0)
  7448. Part68.Color = Color3.new(0.411765, 0.25098, 0.156863)
  7449. Script69.Parent = Part68
  7450. table.insert(cors,sandbox(Script69,function()
  7451. function onTouch(part) --Finding Humanoid is useless...
  7452. part.Parent:findFirstChild("Head").CanCollide = true
  7453. part.Parent:findFirstChild("Torso").CanCollide = true
  7454. part.Parent:findFirstChild("Left Arm").CanCollide = true
  7455. part.Parent:findFirstChild("Right Arm").CanCollide = true
  7456. part.Parent:findFirstChild("Left Leg").CanCollide = true
  7457. part.Parent:findFirstChild("Right Leg").CanCollide = true
  7458. end
  7459. script.Parent.Touched:connect(onTouch)
  7460.  
  7461. end))
  7462. Part70.Name = "Smooth Block Model"
  7463. Part70.Parent = Model2
  7464. Part70.BrickColor = BrickColor.new("Reddish brown")
  7465. Part70.Rotation = Vector3.new(-180, 0, -180)
  7466. Part70.Size = Vector3.new(32, 244.800003, 32)
  7467. Part70.CFrame = CFrame.new(180.349991, 128.779343, -100.249992, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  7468. Part70.Color = Color3.new(0.411765, 0.25098, 0.156863)
  7469. Part70.Position = Vector3.new(180.349991, 128.779343, -100.249992)
  7470. Part70.Orientation = Vector3.new(0, 180, 0)
  7471. Part70.Color = Color3.new(0.411765, 0.25098, 0.156863)
  7472. Model71.Parent = Model2
  7473. Model71.PrimaryPart = Part76
  7474. Part72.Name = "Smooth Block Model"
  7475. Part72.Parent = Model71
  7476. Part72.BrickColor = BrickColor.new("Bright red")
  7477. Part72.Rotation = Vector3.new(0, 90, 0)
  7478. Part72.Size = Vector3.new(1, 2.4000001, 1)
  7479. Part72.CFrame = CFrame.new(85.8499908, 251.579361, -68.75, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  7480. Part72.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7481. Part72.Position = Vector3.new(85.8499908, 251.579361, -68.75)
  7482. Part72.Orientation = Vector3.new(0, 90, 0)
  7483. Part72.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7484. Part73.Name = "Smooth Block Model"
  7485. Part73.Parent = Model71
  7486. Part73.BrickColor = BrickColor.new("Bright red")
  7487. Part73.Rotation = Vector3.new(0, 90, 0)
  7488. Part73.Size = Vector3.new(1, 2.4000001, 1)
  7489. Part73.CFrame = CFrame.new(82.8499908, 251.579361, -68.75, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  7490. Part73.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7491. Part73.Position = Vector3.new(82.8499908, 251.579361, -68.75)
  7492. Part73.Orientation = Vector3.new(0, 90, 0)
  7493. Part73.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7494. Part74.Name = "Smooth Block Model"
  7495. Part74.Parent = Model71
  7496. Part74.BrickColor = BrickColor.new("Bright red")
  7497. Part74.Rotation = Vector3.new(-180, 0, -180)
  7498. Part74.Size = Vector3.new(1, 2.4000001, 1)
  7499. Part74.CFrame = CFrame.new(85.8499908, 251.579361, -74.75, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  7500. Part74.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7501. Part74.Position = Vector3.new(85.8499908, 251.579361, -74.75)
  7502. Part74.Orientation = Vector3.new(0, 180, 0)
  7503. Part74.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7504. Part75.Name = "Smooth Block Model"
  7505. Part75.Parent = Model71
  7506. Part75.BrickColor = BrickColor.new("Bright red")
  7507. Part75.Rotation = Vector3.new(-180, 0, -180)
  7508. Part75.Size = Vector3.new(1, 2.4000001, 1)
  7509. Part75.CFrame = CFrame.new(85.8499908, 251.579361, -71.75, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  7510. Part75.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7511. Part75.Position = Vector3.new(85.8499908, 251.579361, -71.75)
  7512. Part75.Orientation = Vector3.new(0, 180, 0)
  7513. Part75.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7514. Part76.Name = "Smooth Block Model"
  7515. Part76.Parent = Model71
  7516. Part76.BrickColor = BrickColor.new("Black")
  7517. Part76.Rotation = Vector3.new(0, 90, 0)
  7518. Part76.FormFactor = Enum.FormFactor.Plate
  7519. Part76.Size = Vector3.new(22, 0.800000012, 1)
  7520. Part76.CFrame = CFrame.new(85.8499908, 253.179337, -79.25, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  7521. Part76.Color = Color3.new(0.105882, 0.164706, 0.207843)
  7522. Part76.Position = Vector3.new(85.8499908, 253.179337, -79.25)
  7523. Part76.Orientation = Vector3.new(0, 90, 0)
  7524. Part76.Color = Color3.new(0.105882, 0.164706, 0.207843)
  7525. Part77.Name = "Smooth Block Model"
  7526. Part77.Parent = Model71
  7527. Part77.BrickColor = BrickColor.new("Bright red")
  7528. Part77.Rotation = Vector3.new(0, 90, 0)
  7529. Part77.Size = Vector3.new(1, 2.4000001, 1)
  7530. Part77.CFrame = CFrame.new(79.8499908, 251.579361, -68.75, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  7531. Part77.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7532. Part77.Position = Vector3.new(79.8499908, 251.579361, -68.75)
  7533. Part77.Orientation = Vector3.new(0, 90, 0)
  7534. Part77.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7535. Part78.Name = "Smooth Block Model"
  7536. Part78.Parent = Model71
  7537. Part78.BrickColor = BrickColor.new("Bright red")
  7538. Part78.Rotation = Vector3.new(0, 90, 0)
  7539. Part78.Size = Vector3.new(1, 2.4000001, 1)
  7540. Part78.CFrame = CFrame.new(76.8499908, 251.579361, -68.75, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  7541. Part78.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7542. Part78.Position = Vector3.new(76.8499908, 251.579361, -68.75)
  7543. Part78.Orientation = Vector3.new(0, 90, 0)
  7544. Part78.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7545. Part79.Name = "Smooth Block Model"
  7546. Part79.Parent = Model71
  7547. Part79.BrickColor = BrickColor.new("Bright red")
  7548. Part79.Rotation = Vector3.new(-180, 0, -180)
  7549. Part79.Size = Vector3.new(1, 2.4000001, 1)
  7550. Part79.CFrame = CFrame.new(85.8499908, 251.579361, -80.75, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  7551. Part79.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7552. Part79.Position = Vector3.new(85.8499908, 251.579361, -80.75)
  7553. Part79.Orientation = Vector3.new(0, 180, 0)
  7554. Part79.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7555. Part80.Name = "Smooth Block Model"
  7556. Part80.Parent = Model71
  7557. Part80.BrickColor = BrickColor.new("Bright red")
  7558. Part80.Rotation = Vector3.new(-180, 0, -180)
  7559. Part80.Size = Vector3.new(1, 2.4000001, 1)
  7560. Part80.CFrame = CFrame.new(85.8499908, 251.579361, -77.75, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  7561. Part80.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7562. Part80.Position = Vector3.new(85.8499908, 251.579361, -77.75)
  7563. Part80.Orientation = Vector3.new(0, 180, 0)
  7564. Part80.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7565. Part81.Name = "Smooth Block Model"
  7566. Part81.Parent = Model71
  7567. Part81.BrickColor = BrickColor.new("Bright red")
  7568. Part81.Rotation = Vector3.new(-180, 0, -180)
  7569. Part81.Size = Vector3.new(1, 2.4000001, 1)
  7570. Part81.CFrame = CFrame.new(85.8499908, 251.579361, -83.75, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  7571. Part81.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7572. Part81.Position = Vector3.new(85.8499908, 251.579361, -83.75)
  7573. Part81.Orientation = Vector3.new(0, 180, 0)
  7574. Part81.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7575. Part82.Name = "Smooth Block Model"
  7576. Part82.Parent = Model71
  7577. Part82.BrickColor = BrickColor.new("Bright red")
  7578. Part82.Rotation = Vector3.new(-180, 0, -180)
  7579. Part82.Size = Vector3.new(1, 2.4000001, 1)
  7580. Part82.CFrame = CFrame.new(85.8499908, 251.579361, -86.75, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  7581. Part82.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7582. Part82.Position = Vector3.new(85.8499908, 251.579361, -86.75)
  7583. Part82.Orientation = Vector3.new(0, 180, 0)
  7584. Part82.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7585. Part83.Name = "Smooth Block Model"
  7586. Part83.Parent = Model71
  7587. Part83.BrickColor = BrickColor.new("Black")
  7588. Part83.Rotation = Vector3.new(-180, 0, -180)
  7589. Part83.FormFactor = Enum.FormFactor.Plate
  7590. Part83.Size = Vector3.new(21, 0.800000012, 1)
  7591. Part83.CFrame = CFrame.new(74.8499908, 253.179337, -68.75, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  7592. Part83.Color = Color3.new(0.105882, 0.164706, 0.207843)
  7593. Part83.Position = Vector3.new(74.8499908, 253.179337, -68.75)
  7594. Part83.Orientation = Vector3.new(0, 180, 0)
  7595. Part83.Color = Color3.new(0.105882, 0.164706, 0.207843)
  7596. Part84.Name = "Smooth Block Model"
  7597. Part84.Parent = Model71
  7598. Part84.BrickColor = BrickColor.new("Bright red")
  7599. Part84.Rotation = Vector3.new(0, 90, 0)
  7600. Part84.Size = Vector3.new(1, 2.4000001, 1)
  7601. Part84.CFrame = CFrame.new(73.8499908, 251.579361, -68.75, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  7602. Part84.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7603. Part84.Position = Vector3.new(73.8499908, 251.579361, -68.75)
  7604. Part84.Orientation = Vector3.new(0, 90, 0)
  7605. Part84.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7606. Part85.Name = "Smooth Block Model"
  7607. Part85.Parent = Model71
  7608. Part85.BrickColor = BrickColor.new("Bright red")
  7609. Part85.Rotation = Vector3.new(-180, 0, -180)
  7610. Part85.Size = Vector3.new(1, 2.4000001, 1)
  7611. Part85.CFrame = CFrame.new(85.8499908, 251.579361, -89.75, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  7612. Part85.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7613. Part85.Position = Vector3.new(85.8499908, 251.579361, -89.75)
  7614. Part85.Orientation = Vector3.new(0, 180, 0)
  7615. Part85.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7616. Part86.Name = "Smooth Block Model"
  7617. Part86.Parent = Model71
  7618. Part86.BrickColor = BrickColor.new("Bright red")
  7619. Part86.Rotation = Vector3.new(0, 90, 0)
  7620. Part86.Size = Vector3.new(1, 2.4000001, 1)
  7621. Part86.CFrame = CFrame.new(70.8499908, 251.579361, -68.75, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  7622. Part86.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7623. Part86.Position = Vector3.new(70.8499908, 251.579361, -68.75)
  7624. Part86.Orientation = Vector3.new(0, 90, 0)
  7625. Part86.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7626. Part87.Name = "Smooth Block Model"
  7627. Part87.Parent = Model71
  7628. Part87.BrickColor = BrickColor.new("Bright red")
  7629. Part87.Rotation = Vector3.new(0, 90, 0)
  7630. Part87.Size = Vector3.new(1, 2.4000001, 1)
  7631. Part87.CFrame = CFrame.new(67.8499908, 251.579361, -68.75, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  7632. Part87.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7633. Part87.Position = Vector3.new(67.8499908, 251.579361, -68.75)
  7634. Part87.Orientation = Vector3.new(0, 90, 0)
  7635. Part87.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7636. Part88.Name = "Smooth Block Model"
  7637. Part88.Parent = Model71
  7638. Part88.BrickColor = BrickColor.new("Bright red")
  7639. Part88.Rotation = Vector3.new(0, 90, 0)
  7640. Part88.Size = Vector3.new(1, 2.4000001, 1)
  7641. Part88.CFrame = CFrame.new(64.8499908, 251.579361, -68.75, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  7642. Part88.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7643. Part88.Position = Vector3.new(64.8499908, 251.579361, -68.75)
  7644. Part88.Orientation = Vector3.new(0, 90, 0)
  7645. Part88.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7646. Model89.Parent = Model2
  7647. Model89.PrimaryPart = Part94
  7648. Part90.Name = "Smooth Block Model"
  7649. Part90.Parent = Model89
  7650. Part90.BrickColor = BrickColor.new("Bright red")
  7651. Part90.Size = Vector3.new(1, 2.4000001, 1)
  7652. Part90.CFrame = CFrame.new(22.8499908, 251.579361, -68.75, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  7653. Part90.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7654. Part90.Position = Vector3.new(22.8499908, 251.579361, -68.75)
  7655. Part90.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7656. Part91.Name = "Smooth Block Model"
  7657. Part91.Parent = Model89
  7658. Part91.BrickColor = BrickColor.new("Bright red")
  7659. Part91.Size = Vector3.new(1, 2.4000001, 1)
  7660. Part91.CFrame = CFrame.new(22.8499908, 251.579361, -71.75, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  7661. Part91.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7662. Part91.Position = Vector3.new(22.8499908, 251.579361, -71.75)
  7663. Part91.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7664. Part92.Name = "Smooth Block Model"
  7665. Part92.Parent = Model89
  7666. Part92.BrickColor = BrickColor.new("Bright red")
  7667. Part92.Rotation = Vector3.new(0, 90, 0)
  7668. Part92.Size = Vector3.new(1, 2.4000001, 1)
  7669. Part92.CFrame = CFrame.new(28.8499908, 251.579361, -68.75, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  7670. Part92.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7671. Part92.Position = Vector3.new(28.8499908, 251.579361, -68.75)
  7672. Part92.Orientation = Vector3.new(0, 90, 0)
  7673. Part92.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7674. Part93.Name = "Smooth Block Model"
  7675. Part93.Parent = Model89
  7676. Part93.BrickColor = BrickColor.new("Bright red")
  7677. Part93.Rotation = Vector3.new(0, 90, 0)
  7678. Part93.Size = Vector3.new(1, 2.4000001, 1)
  7679. Part93.CFrame = CFrame.new(25.8499908, 251.579361, -68.75, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  7680. Part93.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7681. Part93.Position = Vector3.new(25.8499908, 251.579361, -68.75)
  7682. Part93.Orientation = Vector3.new(0, 90, 0)
  7683. Part93.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7684. Part94.Name = "Smooth Block Model"
  7685. Part94.Parent = Model89
  7686. Part94.BrickColor = BrickColor.new("Black")
  7687. Part94.FormFactor = Enum.FormFactor.Plate
  7688. Part94.Size = Vector3.new(22, 0.800000012, 1)
  7689. Part94.CFrame = CFrame.new(33.3499908, 253.179337, -68.75, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  7690. Part94.Color = Color3.new(0.105882, 0.164706, 0.207843)
  7691. Part94.Position = Vector3.new(33.3499908, 253.179337, -68.75)
  7692. Part94.Color = Color3.new(0.105882, 0.164706, 0.207843)
  7693. Part95.Name = "Smooth Block Model"
  7694. Part95.Parent = Model89
  7695. Part95.BrickColor = BrickColor.new("Bright red")
  7696. Part95.Size = Vector3.new(1, 2.4000001, 1)
  7697. Part95.CFrame = CFrame.new(22.8499908, 251.579361, -74.75, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  7698. Part95.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7699. Part95.Position = Vector3.new(22.8499908, 251.579361, -74.75)
  7700. Part95.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7701. Part96.Name = "Smooth Block Model"
  7702. Part96.Parent = Model89
  7703. Part96.BrickColor = BrickColor.new("Bright red")
  7704. Part96.Size = Vector3.new(1, 2.4000001, 1)
  7705. Part96.CFrame = CFrame.new(22.8499908, 251.579361, -77.75, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  7706. Part96.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7707. Part96.Position = Vector3.new(22.8499908, 251.579361, -77.75)
  7708. Part96.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7709. Part97.Name = "Smooth Block Model"
  7710. Part97.Parent = Model89
  7711. Part97.BrickColor = BrickColor.new("Bright red")
  7712. Part97.Rotation = Vector3.new(0, 90, 0)
  7713. Part97.Size = Vector3.new(1, 2.4000001, 1)
  7714. Part97.CFrame = CFrame.new(34.8499908, 251.579361, -68.75, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  7715. Part97.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7716. Part97.Position = Vector3.new(34.8499908, 251.579361, -68.75)
  7717. Part97.Orientation = Vector3.new(0, 90, 0)
  7718. Part97.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7719. Part98.Name = "Smooth Block Model"
  7720. Part98.Parent = Model89
  7721. Part98.BrickColor = BrickColor.new("Bright red")
  7722. Part98.Rotation = Vector3.new(0, 90, 0)
  7723. Part98.Size = Vector3.new(1, 2.4000001, 1)
  7724. Part98.CFrame = CFrame.new(31.8499908, 251.579361, -68.75, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  7725. Part98.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7726. Part98.Position = Vector3.new(31.8499908, 251.579361, -68.75)
  7727. Part98.Orientation = Vector3.new(0, 90, 0)
  7728. Part98.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7729. Part99.Name = "Smooth Block Model"
  7730. Part99.Parent = Model89
  7731. Part99.BrickColor = BrickColor.new("Bright red")
  7732. Part99.Rotation = Vector3.new(0, 90, 0)
  7733. Part99.Size = Vector3.new(1, 2.4000001, 1)
  7734. Part99.CFrame = CFrame.new(37.8499908, 251.579361, -68.75, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  7735. Part99.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7736. Part99.Position = Vector3.new(37.8499908, 251.579361, -68.75)
  7737. Part99.Orientation = Vector3.new(0, 90, 0)
  7738. Part99.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7739. Part100.Name = "Smooth Block Model"
  7740. Part100.Parent = Model89
  7741. Part100.BrickColor = BrickColor.new("Bright red")
  7742. Part100.Rotation = Vector3.new(0, 90, 0)
  7743. Part100.Size = Vector3.new(1, 2.4000001, 1)
  7744. Part100.CFrame = CFrame.new(40.8499908, 251.579361, -68.75, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  7745. Part100.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7746. Part100.Position = Vector3.new(40.8499908, 251.579361, -68.75)
  7747. Part100.Orientation = Vector3.new(0, 90, 0)
  7748. Part100.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7749. Part101.Name = "Smooth Block Model"
  7750. Part101.Parent = Model89
  7751. Part101.BrickColor = BrickColor.new("Black")
  7752. Part101.Rotation = Vector3.new(0, 90, 0)
  7753. Part101.FormFactor = Enum.FormFactor.Plate
  7754. Part101.Size = Vector3.new(21, 0.800000012, 1)
  7755. Part101.CFrame = CFrame.new(22.8499908, 253.179337, -79.75, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  7756. Part101.Color = Color3.new(0.105882, 0.164706, 0.207843)
  7757. Part101.Position = Vector3.new(22.8499908, 253.179337, -79.75)
  7758. Part101.Orientation = Vector3.new(0, 90, 0)
  7759. Part101.Color = Color3.new(0.105882, 0.164706, 0.207843)
  7760. Part102.Name = "Smooth Block Model"
  7761. Part102.Parent = Model89
  7762. Part102.BrickColor = BrickColor.new("Bright red")
  7763. Part102.Size = Vector3.new(1, 2.4000001, 1)
  7764. Part102.CFrame = CFrame.new(22.8499908, 251.579361, -80.75, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  7765. Part102.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7766. Part102.Position = Vector3.new(22.8499908, 251.579361, -80.75)
  7767. Part102.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7768. Part103.Name = "Smooth Block Model"
  7769. Part103.Parent = Model89
  7770. Part103.BrickColor = BrickColor.new("Bright red")
  7771. Part103.Rotation = Vector3.new(0, 90, 0)
  7772. Part103.Size = Vector3.new(1, 2.4000001, 1)
  7773. Part103.CFrame = CFrame.new(43.8499908, 251.579361, -68.75, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  7774. Part103.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7775. Part103.Position = Vector3.new(43.8499908, 251.579361, -68.75)
  7776. Part103.Orientation = Vector3.new(0, 90, 0)
  7777. Part103.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7778. Part104.Name = "Smooth Block Model"
  7779. Part104.Parent = Model89
  7780. Part104.BrickColor = BrickColor.new("Bright red")
  7781. Part104.Size = Vector3.new(1, 2.4000001, 1)
  7782. Part104.CFrame = CFrame.new(22.8499908, 251.579361, -83.75, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  7783. Part104.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7784. Part104.Position = Vector3.new(22.8499908, 251.579361, -83.75)
  7785. Part104.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7786. Part105.Name = "Smooth Block Model"
  7787. Part105.Parent = Model89
  7788. Part105.BrickColor = BrickColor.new("Bright red")
  7789. Part105.Size = Vector3.new(1, 2.4000001, 1)
  7790. Part105.CFrame = CFrame.new(22.8499908, 251.579361, -86.75, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  7791. Part105.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7792. Part105.Position = Vector3.new(22.8499908, 251.579361, -86.75)
  7793. Part105.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7794. Part106.Name = "Smooth Block Model"
  7795. Part106.Parent = Model89
  7796. Part106.BrickColor = BrickColor.new("Bright red")
  7797. Part106.Size = Vector3.new(1, 2.4000001, 1)
  7798. Part106.CFrame = CFrame.new(22.8499908, 251.579361, -89.75, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  7799. Part106.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7800. Part106.Position = Vector3.new(22.8499908, 251.579361, -89.75)
  7801. Part106.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7802. Part107.Name = "Smooth Block Model"
  7803. Part107.Parent = Model2
  7804. Part107.BrickColor = BrickColor.new("Reddish brown")
  7805. Part107.Rotation = Vector3.new(-180, 0, -180)
  7806. Part107.Size = Vector3.new(17, 1.20000005, 18)
  7807. Part107.CFrame = CFrame.new(93.8499908, 250.979324, -100.249992, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  7808. Part107.Color = Color3.new(0.411765, 0.25098, 0.156863)
  7809. Part107.Position = Vector3.new(93.8499908, 250.979324, -100.249992)
  7810. Part107.Orientation = Vector3.new(0, 180, 0)
  7811. Part107.Color = Color3.new(0.411765, 0.25098, 0.156863)
  7812. Part108.Name = "Wobbly"
  7813. Part108.Parent = Model2
  7814. Part108.BrickColor = BrickColor.new("Bright orange")
  7815. Part108.Rotation = Vector3.new(-180, 0, 180)
  7816. Part108.RotVelocity = Vector3.new(-1.84176933e-24, 1.21307984e-20, -1.84176933e-24)
  7817. Part108.Velocity = Vector3.new(-0.112569086, 0.0255294144, -0.11278569)
  7818. Part108.Size = Vector3.new(18, 1.20000005, 18)
  7819. Part108.CFrame = CFrame.new(113.480362, 250.74501, -100.119301, -1, -1.29652079e-20, -1.04116951e-17, -1.29652079e-20, 1, 1.29652079e-20, 1.04116951e-17, 1.29652079e-20, -1)
  7820. Part108.Color = Color3.new(0.854902, 0.521569, 0.254902)
  7821. Part108.Position = Vector3.new(113.480362, 250.74501, -100.119301)
  7822. Part108.Orientation = Vector3.new(0, -180, 0)
  7823. Part108.Color = Color3.new(0.854902, 0.521569, 0.254902)
  7824. BodyPosition109.Parent = Part108
  7825. BodyPosition109.P = 100000
  7826. BodyPosition109.D = 125000
  7827. BodyPosition109.position = Vector3.new(59.1303711, 245.60498, 0.130693749)
  7828. BodyPosition109.Position = Vector3.new(59.1303711, 245.60498, 0.130693749)
  7829. Script110.Parent = Part108
  7830. table.insert(cors,sandbox(Script110,function()
  7831. script.Parent.BodyPosition.position = script.Parent.Position
  7832. end))
  7833. BodyGyro111.Parent = Part108
  7834. BodyGyro111.P = 1
  7835. BodyGyro111.D = 2
  7836. Part112.Name = "Smooth Block Model"
  7837. Part112.Parent = Model2
  7838. Part112.BrickColor = BrickColor.new("Reddish brown")
  7839. Part112.Rotation = Vector3.new(-180, 0, -180)
  7840. Part112.Size = Vector3.new(8, 16.8000011, 10)
  7841. Part112.CFrame = CFrame.new(43.3499908, 258.379333, -212.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  7842. Part112.Color = Color3.new(0.411765, 0.25098, 0.156863)
  7843. Part112.Position = Vector3.new(43.3499908, 258.379333, -212.25)
  7844. Part112.Orientation = Vector3.new(0, 180, 0)
  7845. Part112.Color = Color3.new(0.411765, 0.25098, 0.156863)
  7846. Part113.Name = "Smooth Block Model"
  7847. Part113.Parent = Model2
  7848. Part113.BrickColor = BrickColor.new("Reddish brown")
  7849. Part113.Rotation = Vector3.new(-180, 0, -180)
  7850. Part113.Size = Vector3.new(8, 14.4000006, 10)
  7851. Part113.CFrame = CFrame.new(43.3499908, 257.179321, -202.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  7852. Part113.Color = Color3.new(0.411765, 0.25098, 0.156863)
  7853. Part113.Position = Vector3.new(43.3499908, 257.179321, -202.25)
  7854. Part113.Orientation = Vector3.new(0, 180, 0)
  7855. Part113.Color = Color3.new(0.411765, 0.25098, 0.156863)
  7856. Part114.Name = "Smooth Block Model"
  7857. Part114.Parent = Model2
  7858. Part114.BrickColor = BrickColor.new("Reddish brown")
  7859. Part114.Rotation = Vector3.new(-180, 0, -180)
  7860. Part114.Size = Vector3.new(3, 13.2000008, 10)
  7861. Part114.CFrame = CFrame.new(48.8499908, 256.579346, -202.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  7862. Part114.Color = Color3.new(0.411765, 0.25098, 0.156863)
  7863. Part114.Position = Vector3.new(48.8499908, 256.579346, -202.25)
  7864. Part114.Orientation = Vector3.new(0, 180, 0)
  7865. Part114.Color = Color3.new(0.411765, 0.25098, 0.156863)
  7866. Part115.Name = "Smooth Block Model"
  7867. Part115.Parent = Model2
  7868. Part115.BrickColor = BrickColor.new("Reddish brown")
  7869. Part115.Rotation = Vector3.new(0, -90, 0)
  7870. Part115.Size = Vector3.new(17, 13.2000008, 7)
  7871. Part115.CFrame = CFrame.new(34.8499908, 280.579376, -231.75, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  7872. Part115.FrontSurface = Enum.SurfaceType.Weld
  7873. Part115.Color = Color3.new(0.411765, 0.25098, 0.156863)
  7874. Part115.Position = Vector3.new(34.8499908, 280.579376, -231.75)
  7875. Part115.Orientation = Vector3.new(0, -90, 0)
  7876. Part115.Color = Color3.new(0.411765, 0.25098, 0.156863)
  7877. SpawnLocation116.Parent = Model2
  7878. SpawnLocation116.BrickColor = BrickColor.new("Bright yellow")
  7879. SpawnLocation116.Rotation = Vector3.new(-180, 0, -180)
  7880. SpawnLocation116.Anchored = true
  7881. SpawnLocation116.Size = Vector3.new(6, 1.20000005, 6)
  7882. SpawnLocation116.CFrame = CFrame.new(80.3499908, 250.979324, -74.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  7883. SpawnLocation116.BackSurface = Enum.SurfaceType.Weld
  7884. SpawnLocation116.BottomSurface = Enum.SurfaceType.Weld
  7885. SpawnLocation116.FrontSurface = Enum.SurfaceType.Weld
  7886. SpawnLocation116.LeftSurface = Enum.SurfaceType.Weld
  7887. SpawnLocation116.RightSurface = Enum.SurfaceType.Weld
  7888. SpawnLocation116.TopSurface = Enum.SurfaceType.Smooth
  7889. SpawnLocation116.Duration = 3
  7890. SpawnLocation116.Color = Color3.new(0.960784, 0.803922, 0.188235)
  7891. SpawnLocation116.Position = Vector3.new(80.3499908, 250.979324, -74.25)
  7892. SpawnLocation116.Orientation = Vector3.new(0, 180, 0)
  7893. SpawnLocation116.Color = Color3.new(0.960784, 0.803922, 0.188235)
  7894. Decal117.Parent = SpawnLocation116
  7895. Decal117.Texture = "rbxasset://Textures/SpawnLocation.png"
  7896. Decal117.Face = Enum.NormalId.Top
  7897. Script118.Parent = SpawnLocation116
  7898. table.insert(cors,sandbox(Script118,function()
  7899. function onTouch(part) --Finding Humanoid is useless...
  7900. part.Parent:findFirstChild("Head").CanCollide = true
  7901. part.Parent:findFirstChild("Torso").CanCollide = true
  7902. part.Parent:findFirstChild("Left Arm").CanCollide = true
  7903. part.Parent:findFirstChild("Right Arm").CanCollide = true
  7904. part.Parent:findFirstChild("Left Leg").CanCollide = true
  7905. part.Parent:findFirstChild("Right Leg").CanCollide = true
  7906. end
  7907. script.Parent.Touched:connect(onTouch)
  7908.  
  7909. end))
  7910. SpawnLocation119.Parent = Model2
  7911. SpawnLocation119.BrickColor = BrickColor.new("Bright yellow")
  7912. SpawnLocation119.Rotation = Vector3.new(-180, 0, -180)
  7913. SpawnLocation119.Anchored = true
  7914. SpawnLocation119.Size = Vector3.new(6, 1.20000005, 6)
  7915. SpawnLocation119.CFrame = CFrame.new(28.3499908, 250.979324, -74.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  7916. SpawnLocation119.BackSurface = Enum.SurfaceType.Weld
  7917. SpawnLocation119.BottomSurface = Enum.SurfaceType.Weld
  7918. SpawnLocation119.FrontSurface = Enum.SurfaceType.Weld
  7919. SpawnLocation119.LeftSurface = Enum.SurfaceType.Weld
  7920. SpawnLocation119.RightSurface = Enum.SurfaceType.Weld
  7921. SpawnLocation119.TopSurface = Enum.SurfaceType.Smooth
  7922. SpawnLocation119.Duration = 3
  7923. SpawnLocation119.Color = Color3.new(0.960784, 0.803922, 0.188235)
  7924. SpawnLocation119.Position = Vector3.new(28.3499908, 250.979324, -74.25)
  7925. SpawnLocation119.Orientation = Vector3.new(0, 180, 0)
  7926. SpawnLocation119.Color = Color3.new(0.960784, 0.803922, 0.188235)
  7927. Decal120.Parent = SpawnLocation119
  7928. Decal120.Texture = "rbxasset://Textures/SpawnLocation.png"
  7929. Decal120.Face = Enum.NormalId.Top
  7930. Script121.Parent = SpawnLocation119
  7931. table.insert(cors,sandbox(Script121,function()
  7932. function onTouch(part) --Finding Humanoid is useless...
  7933. part.Parent:findFirstChild("Head").CanCollide = true
  7934. part.Parent:findFirstChild("Torso").CanCollide = true
  7935. part.Parent:findFirstChild("Left Arm").CanCollide = true
  7936. part.Parent:findFirstChild("Right Arm").CanCollide = true
  7937. part.Parent:findFirstChild("Left Leg").CanCollide = true
  7938. part.Parent:findFirstChild("Right Leg").CanCollide = true
  7939. end
  7940. script.Parent.Touched:connect(onTouch)
  7941.  
  7942. end))
  7943. SpawnLocation122.Parent = Model2
  7944. SpawnLocation122.BrickColor = BrickColor.new("Bright yellow")
  7945. SpawnLocation122.Rotation = Vector3.new(-180, 0, -180)
  7946. SpawnLocation122.Anchored = true
  7947. SpawnLocation122.Size = Vector3.new(6, 1.20000005, 6)
  7948. SpawnLocation122.CFrame = CFrame.new(28.3499908, 250.979324, -126.249992, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  7949. SpawnLocation122.BackSurface = Enum.SurfaceType.Weld
  7950. SpawnLocation122.BottomSurface = Enum.SurfaceType.Weld
  7951. SpawnLocation122.FrontSurface = Enum.SurfaceType.Weld
  7952. SpawnLocation122.LeftSurface = Enum.SurfaceType.Weld
  7953. SpawnLocation122.RightSurface = Enum.SurfaceType.Weld
  7954. SpawnLocation122.TopSurface = Enum.SurfaceType.Smooth
  7955. SpawnLocation122.Duration = 3
  7956. SpawnLocation122.Color = Color3.new(0.960784, 0.803922, 0.188235)
  7957. SpawnLocation122.Position = Vector3.new(28.3499908, 250.979324, -126.249992)
  7958. SpawnLocation122.Orientation = Vector3.new(0, 180, 0)
  7959. SpawnLocation122.Color = Color3.new(0.960784, 0.803922, 0.188235)
  7960. Decal123.Parent = SpawnLocation122
  7961. Decal123.Texture = "rbxasset://Textures/SpawnLocation.png"
  7962. Decal123.Face = Enum.NormalId.Top
  7963. Script124.Parent = SpawnLocation122
  7964. table.insert(cors,sandbox(Script124,function()
  7965. function onTouch(part) --Finding Humanoid is useless...
  7966. part.Parent:findFirstChild("Head").CanCollide = true
  7967. part.Parent:findFirstChild("Torso").CanCollide = true
  7968. part.Parent:findFirstChild("Left Arm").CanCollide = true
  7969. part.Parent:findFirstChild("Right Arm").CanCollide = true
  7970. part.Parent:findFirstChild("Left Leg").CanCollide = true
  7971. part.Parent:findFirstChild("Right Leg").CanCollide = true
  7972. end
  7973. script.Parent.Touched:connect(onTouch)
  7974.  
  7975. end))
  7976. Model125.Parent = Model2
  7977. Model125.PrimaryPart = Part130
  7978. Part126.Name = "Smooth Block Model"
  7979. Part126.Parent = Model125
  7980. Part126.BrickColor = BrickColor.new("Bright red")
  7981. Part126.Rotation = Vector3.new(0, -90, 0)
  7982. Part126.Size = Vector3.new(1, 2.4000001, 1)
  7983. Part126.CFrame = CFrame.new(22.8499908, 251.579361, -131.75, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  7984. Part126.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7985. Part126.Position = Vector3.new(22.8499908, 251.579361, -131.75)
  7986. Part126.Orientation = Vector3.new(0, -90, 0)
  7987. Part126.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7988. Part127.Name = "Smooth Block Model"
  7989. Part127.Parent = Model125
  7990. Part127.BrickColor = BrickColor.new("Bright red")
  7991. Part127.Rotation = Vector3.new(0, -90, 0)
  7992. Part127.Size = Vector3.new(1, 2.4000001, 1)
  7993. Part127.CFrame = CFrame.new(25.8499908, 251.579361, -131.75, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  7994. Part127.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7995. Part127.Position = Vector3.new(25.8499908, 251.579361, -131.75)
  7996. Part127.Orientation = Vector3.new(0, -90, 0)
  7997. Part127.Color = Color3.new(0.768628, 0.156863, 0.109804)
  7998. Part128.Name = "Smooth Block Model"
  7999. Part128.Parent = Model125
  8000. Part128.BrickColor = BrickColor.new("Bright red")
  8001. Part128.Size = Vector3.new(1, 2.4000001, 1)
  8002. Part128.CFrame = CFrame.new(22.8499908, 251.579361, -125.749992, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  8003. Part128.Color = Color3.new(0.768628, 0.156863, 0.109804)
  8004. Part128.Position = Vector3.new(22.8499908, 251.579361, -125.749992)
  8005. Part128.Color = Color3.new(0.768628, 0.156863, 0.109804)
  8006. Part129.Name = "Smooth Block Model"
  8007. Part129.Parent = Model125
  8008. Part129.BrickColor = BrickColor.new("Bright red")
  8009. Part129.Size = Vector3.new(1, 2.4000001, 1)
  8010. Part129.CFrame = CFrame.new(22.8499908, 251.579361, -128.75, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  8011. Part129.Color = Color3.new(0.768628, 0.156863, 0.109804)
  8012. Part129.Position = Vector3.new(22.8499908, 251.579361, -128.75)
  8013. Part129.Color = Color3.new(0.768628, 0.156863, 0.109804)
  8014. Part130.Name = "Smooth Block Model"
  8015. Part130.Parent = Model125
  8016. Part130.BrickColor = BrickColor.new("Black")
  8017. Part130.Rotation = Vector3.new(0, -90, 0)
  8018. Part130.FormFactor = Enum.FormFactor.Plate
  8019. Part130.Size = Vector3.new(22, 0.800000012, 1)
  8020. Part130.CFrame = CFrame.new(22.8499908, 253.179337, -121.249992, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  8021. Part130.Color = Color3.new(0.105882, 0.164706, 0.207843)
  8022. Part130.Position = Vector3.new(22.8499908, 253.179337, -121.249992)
  8023. Part130.Orientation = Vector3.new(0, -90, 0)
  8024. Part130.Color = Color3.new(0.105882, 0.164706, 0.207843)
  8025. Part131.Name = "Smooth Block Model"
  8026. Part131.Parent = Model125
  8027. Part131.BrickColor = BrickColor.new("Bright red")
  8028. Part131.Rotation = Vector3.new(0, -90, 0)
  8029. Part131.Size = Vector3.new(1, 2.4000001, 1)
  8030. Part131.CFrame = CFrame.new(28.8499908, 251.579361, -131.75, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  8031. Part131.Color = Color3.new(0.768628, 0.156863, 0.109804)
  8032. Part131.Position = Vector3.new(28.8499908, 251.579361, -131.75)
  8033. Part131.Orientation = Vector3.new(0, -90, 0)
  8034. Part131.Color = Color3.new(0.768628, 0.156863, 0.109804)
  8035. Part132.Name = "Smooth Block Model"
  8036. Part132.Parent = Model125
  8037. Part132.BrickColor = BrickColor.new("Bright red")
  8038. Part132.Rotation = Vector3.new(0, -90, 0)
  8039. Part132.Size = Vector3.new(1, 2.4000001, 1)
  8040. Part132.CFrame = CFrame.new(31.8499908, 251.579361, -131.75, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  8041. Part132.Color = Color3.new(0.768628, 0.156863, 0.109804)
  8042. Part132.Position = Vector3.new(31.8499908, 251.579361, -131.75)
  8043. Part132.Orientation = Vector3.new(0, -90, 0)
  8044. Part132.Color = Color3.new(0.768628, 0.156863, 0.109804)
  8045. Part133.Name = "Smooth Block Model"
  8046. Part133.Parent = Model125
  8047. Part133.BrickColor = BrickColor.new("Bright red")
  8048. Part133.Size = Vector3.new(1, 2.4000001, 1)
  8049. Part133.CFrame = CFrame.new(22.8499908, 251.579361, -119.749992, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  8050. Part133.Color = Color3.new(0.768628, 0.156863, 0.109804)
  8051. Part133.Position = Vector3.new(22.8499908, 251.579361, -119.749992)
  8052. Part133.Color = Color3.new(0.768628, 0.156863, 0.109804)
  8053. Part134.Name = "Smooth Block Model"
  8054. Part134.Parent = Model125
  8055. Part134.BrickColor = BrickColor.new("Bright red")
  8056. Part134.Size = Vector3.new(1, 2.4000001, 1)
  8057. Part134.CFrame = CFrame.new(22.8499908, 251.579361, -122.749992, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  8058. Part134.Color = Color3.new(0.768628, 0.156863, 0.109804)
  8059. Part134.Position = Vector3.new(22.8499908, 251.579361, -122.749992)
  8060. Part134.Color = Color3.new(0.768628, 0.156863, 0.109804)
  8061. Part135.Name = "Smooth Block Model"
  8062. Part135.Parent = Model125
  8063. Part135.BrickColor = BrickColor.new("Bright red")
  8064. Part135.Size = Vector3.new(1, 2.4000001, 1)
  8065. Part135.CFrame = CFrame.new(22.8499908, 251.579361, -116.749992, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  8066. Part135.Color = Color3.new(0.768628, 0.156863, 0.109804)
  8067. Part135.Position = Vector3.new(22.8499908, 251.579361, -116.749992)
  8068. Part135.Color = Color3.new(0.768628, 0.156863, 0.109804)
  8069. Part136.Name = "Smooth Block Model"
  8070. Part136.Parent = Model125
  8071. Part136.BrickColor = BrickColor.new("Bright red")
  8072. Part136.Size = Vector3.new(1, 2.4000001, 1)
  8073. Part136.CFrame = CFrame.new(22.8499908, 251.579361, -113.749992, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  8074. Part136.Color = Color3.new(0.768628, 0.156863, 0.109804)
  8075. Part136.Position = Vector3.new(22.8499908, 251.579361, -113.749992)
  8076. Part136.Color = Color3.new(0.768628, 0.156863, 0.109804)
  8077. Part137.Name = "Smooth Block Model"
  8078. Part137.Parent = Model125
  8079. Part137.BrickColor = BrickColor.new("Black")
  8080. Part137.FormFactor = Enum.FormFactor.Plate
  8081. Part137.Size = Vector3.new(21, 0.800000012, 1)
  8082. Part137.CFrame = CFrame.new(33.8499908, 253.179337, -131.75, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  8083. Part137.Color = Color3.new(0.105882, 0.164706, 0.207843)
  8084. Part137.Position = Vector3.new(33.8499908, 253.179337, -131.75)
  8085. Part137.Color = Color3.new(0.105882, 0.164706, 0.207843)
  8086. Part138.Name = "Smooth Block Model"
  8087. Part138.Parent = Model125
  8088. Part138.BrickColor = BrickColor.new("Bright red")
  8089. Part138.Rotation = Vector3.new(0, -90, 0)
  8090. Part138.Size = Vector3.new(1, 2.4000001, 1)
  8091. Part138.CFrame = CFrame.new(34.8499908, 251.579361, -131.75, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  8092. Part138.Color = Color3.new(0.768628, 0.156863, 0.109804)
  8093. Part138.Position = Vector3.new(34.8499908, 251.579361, -131.75)
  8094. Part138.Orientation = Vector3.new(0, -90, 0)
  8095. Part138.Color = Color3.new(0.768628, 0.156863, 0.109804)
  8096. Part139.Name = "Smooth Block Model"
  8097. Part139.Parent = Model125
  8098. Part139.BrickColor = BrickColor.new("Bright red")
  8099. Part139.Size = Vector3.new(1, 2.4000001, 1)
  8100. Part139.CFrame = CFrame.new(22.8499908, 251.579361, -110.749992, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  8101. Part139.Color = Color3.new(0.768628, 0.156863, 0.109804)
  8102. Part139.Position = Vector3.new(22.8499908, 251.579361, -110.749992)
  8103. Part139.Color = Color3.new(0.768628, 0.156863, 0.109804)
  8104. Part140.Name = "Smooth Block Model"
  8105. Part140.Parent = Model125
  8106. Part140.BrickColor = BrickColor.new("Bright red")
  8107. Part140.Rotation = Vector3.new(0, -90, 0)
  8108. Part140.Size = Vector3.new(1, 2.4000001, 1)
  8109. Part140.CFrame = CFrame.new(37.8499908, 251.579361, -131.75, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  8110. Part140.Color = Color3.new(0.768628, 0.156863, 0.109804)
  8111. Part140.Position = Vector3.new(37.8499908, 251.579361, -131.75)
  8112. Part140.Orientation = Vector3.new(0, -90, 0)
  8113. Part140.Color = Color3.new(0.768628, 0.156863, 0.109804)
  8114. Part141.Name = "Smooth Block Model"
  8115. Part141.Parent = Model125
  8116. Part141.BrickColor = BrickColor.new("Bright red")
  8117. Part141.Rotation = Vector3.new(0, -90, 0)
  8118. Part141.Size = Vector3.new(1, 2.4000001, 1)
  8119. Part141.CFrame = CFrame.new(40.8499908, 251.579361, -131.75, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  8120. Part141.Color = Color3.new(0.768628, 0.156863, 0.109804)
  8121. Part141.Position = Vector3.new(40.8499908, 251.579361, -131.75)
  8122. Part141.Orientation = Vector3.new(0, -90, 0)
  8123. Part141.Color = Color3.new(0.768628, 0.156863, 0.109804)
  8124. Part142.Name = "Smooth Block Model"
  8125. Part142.Parent = Model125
  8126. Part142.BrickColor = BrickColor.new("Bright red")
  8127. Part142.Rotation = Vector3.new(0, -90, 0)
  8128. Part142.Size = Vector3.new(1, 2.4000001, 1)
  8129. Part142.CFrame = CFrame.new(43.8499908, 251.579361, -131.75, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  8130. Part142.Color = Color3.new(0.768628, 0.156863, 0.109804)
  8131. Part142.Position = Vector3.new(43.8499908, 251.579361, -131.75)
  8132. Part142.Orientation = Vector3.new(0, -90, 0)
  8133. Part142.Color = Color3.new(0.768628, 0.156863, 0.109804)
  8134. Part143.Name = "Smooth Block Model"
  8135. Part143.Parent = Model2
  8136. Part143.BrickColor = BrickColor.new("Reddish brown")
  8137. Part143.Rotation = Vector3.new(-180, 0, -180)
  8138. Part143.Size = Vector3.new(4, 1.20000005, 18)
  8139. Part143.CFrame = CFrame.new(21.3499908, 250.979324, -100.249992, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  8140. Part143.Color = Color3.new(0.411765, 0.25098, 0.156863)
  8141. Part143.Position = Vector3.new(21.3499908, 250.979324, -100.249992)
  8142. Part143.Orientation = Vector3.new(0, 180, 0)
  8143. Part143.Color = Color3.new(0.411765, 0.25098, 0.156863)
  8144. Part144.Name = "Smooth Block Model"
  8145. Part144.Parent = Model2
  8146. Part144.BrickColor = BrickColor.new("Reddish brown")
  8147. Part144.Rotation = Vector3.new(-180, 0, -180)
  8148. Part144.Size = Vector3.new(18, 1.20000005, 18)
  8149. Part144.CFrame = CFrame.new(54.3499908, 249.779358, -59.2499962, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  8150. Part144.BackSurface = Enum.SurfaceType.Weld
  8151. Part144.Color = Color3.new(0.411765, 0.25098, 0.156863)
  8152. Part144.Position = Vector3.new(54.3499908, 249.779358, -59.2499962)
  8153. Part144.Orientation = Vector3.new(0, 180, 0)
  8154. Part144.Color = Color3.new(0.411765, 0.25098, 0.156863)
  8155. Part145.Name = "Smooth Block Model"
  8156. Part145.Parent = Model2
  8157. Part145.BrickColor = BrickColor.new("Reddish brown")
  8158. Part145.Rotation = Vector3.new(-180, 0, -180)
  8159. Part145.Size = Vector3.new(4, 1.20000005, 16)
  8160. Part145.CFrame = CFrame.new(19.3499908, 252.179306, -100.249992, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  8161. Part145.Color = Color3.new(0.411765, 0.25098, 0.156863)
  8162. Part145.Position = Vector3.new(19.3499908, 252.179306, -100.249992)
  8163. Part145.Orientation = Vector3.new(0, 180, 0)
  8164. Part145.Color = Color3.new(0.411765, 0.25098, 0.156863)
  8165. Part146.Name = "Smooth Block Model"
  8166. Part146.Parent = Model2
  8167. Part146.BrickColor = BrickColor.new("Reddish brown")
  8168. Part146.Rotation = Vector3.new(-180, 0, -180)
  8169. Part146.Size = Vector3.new(4, 1.20000005, 14)
  8170. Part146.CFrame = CFrame.new(17.3499908, 253.379318, -100.249992, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  8171. Part146.Color = Color3.new(0.411765, 0.25098, 0.156863)
  8172. Part146.Position = Vector3.new(17.3499908, 253.379318, -100.249992)
  8173. Part146.Orientation = Vector3.new(0, 180, 0)
  8174. Part146.Color = Color3.new(0.411765, 0.25098, 0.156863)
  8175. Part147.Name = "Smooth Block Model"
  8176. Part147.Parent = Model2
  8177. Part147.BrickColor = BrickColor.new("Reddish brown")
  8178. Part147.Rotation = Vector3.new(0, -90, 0)
  8179. Part147.Size = Vector3.new(13, 4.80000019, 5)
  8180. Part147.CFrame = CFrame.new(28.8499908, 284.779388, -231.75, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  8181. Part147.FrontSurface = Enum.SurfaceType.Weld
  8182. Part147.Color = Color3.new(0.411765, 0.25098, 0.156863)
  8183. Part147.Position = Vector3.new(28.8499908, 284.779388, -231.75)
  8184. Part147.Orientation = Vector3.new(0, -90, 0)
  8185. Part147.Color = Color3.new(0.411765, 0.25098, 0.156863)
  8186. Part148.Name = "PhantomPlate"
  8187. Part148.Parent = Model2
  8188. Part148.BrickColor = BrickColor.new("Bright red")
  8189. Part148.Rotation = Vector3.new(0, -90, 0)
  8190. Part148.Anchored = true
  8191. Part148.Size = Vector3.new(16, 1.20000005, 16)
  8192. Part148.CFrame = CFrame.new(37.3499908, 249.779358, -41.2499962, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  8193. Part148.Color = Color3.new(0.768628, 0.156863, 0.109804)
  8194. Part148.Position = Vector3.new(37.3499908, 249.779358, -41.2499962)
  8195. Part148.Orientation = Vector3.new(0, -90, 0)
  8196. Part148.Color = Color3.new(0.768628, 0.156863, 0.109804)
  8197. Script149.Name = "PlateScript"
  8198. Script149.Parent = Part148
  8199. table.insert(cors,sandbox(Script149,function()
  8200. local plate = script.Parent
  8201.  
  8202. local color = plate.BrickColor
  8203.  
  8204.  
  8205. function disappear()
  8206. plate.BrickColor = BrickColor.new(26)
  8207. wait(.5)
  8208. for i=1,5 do
  8209. plate.Transparency = (i / 5)
  8210. wait(.2)
  8211. end
  8212. plate.CanCollide = false
  8213.  
  8214. wait(5)
  8215.  
  8216. plate.CanCollide = true
  8217. plate.Transparency = 0
  8218. plate.BrickColor = color
  8219. end
  8220.  
  8221.  
  8222. while true do
  8223. if (math.random(1,10) == 5) then disappear() end
  8224. wait(2)
  8225. end
  8226. end))
  8227. Part150.Name = "PhantomPlate"
  8228. Part150.Parent = Model2
  8229. Part150.BrickColor = BrickColor.new("Dark stone grey")
  8230. Part150.Rotation = Vector3.new(-180, 0, -180)
  8231. Part150.Anchored = true
  8232. Part150.Size = Vector3.new(16, 1.20000005, 16)
  8233. Part150.CFrame = CFrame.new(54.3499908, 249.779358, -41.2499962, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  8234. Part150.Color = Color3.new(0.388235, 0.372549, 0.384314)
  8235. Part150.Position = Vector3.new(54.3499908, 249.779358, -41.2499962)
  8236. Part150.Orientation = Vector3.new(0, 180, 0)
  8237. Part150.Color = Color3.new(0.388235, 0.372549, 0.384314)
  8238. Script151.Name = "PlateScript"
  8239. Script151.Parent = Part150
  8240. table.insert(cors,sandbox(Script151,function()
  8241. local plate = script.Parent
  8242.  
  8243. local color = plate.BrickColor
  8244.  
  8245.  
  8246. function disappear()
  8247. plate.BrickColor = BrickColor.new(26)
  8248. wait(.5)
  8249. for i=1,5 do
  8250. plate.Transparency = (i / 5)
  8251. wait(.2)
  8252. end
  8253. plate.CanCollide = false
  8254.  
  8255. wait(5)
  8256.  
  8257. plate.CanCollide = true
  8258. plate.Transparency = 0
  8259. plate.BrickColor = color
  8260. end
  8261.  
  8262.  
  8263. while true do
  8264. if (math.random(1,10) == 5) then disappear() end
  8265. wait(2)
  8266. end
  8267. end))
  8268. Part152.Name = "PhantomPlate"
  8269. Part152.Parent = Model2
  8270. Part152.BrickColor = BrickColor.new("Bright red")
  8271. Part152.Rotation = Vector3.new(-180, 0, -180)
  8272. Part152.Anchored = true
  8273. Part152.Size = Vector3.new(16, 1.20000005, 16)
  8274. Part152.CFrame = CFrame.new(71.3499908, 249.779358, -41.2499962, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  8275. Part152.Color = Color3.new(0.768628, 0.156863, 0.109804)
  8276. Part152.Position = Vector3.new(71.3499908, 249.779358, -41.2499962)
  8277. Part152.Orientation = Vector3.new(0, 180, 0)
  8278. Part152.Color = Color3.new(0.768628, 0.156863, 0.109804)
  8279. Script153.Name = "PlateScript"
  8280. Script153.Parent = Part152
  8281. table.insert(cors,sandbox(Script153,function()
  8282. local plate = script.Parent
  8283.  
  8284. local color = plate.BrickColor
  8285.  
  8286.  
  8287. function disappear()
  8288. plate.BrickColor = BrickColor.new(26)
  8289. wait(.5)
  8290. for i=1,5 do
  8291. plate.Transparency = (i / 5)
  8292. wait(.2)
  8293. end
  8294. plate.CanCollide = false
  8295.  
  8296. wait(5)
  8297.  
  8298. plate.CanCollide = true
  8299. plate.Transparency = 0
  8300. plate.BrickColor = color
  8301. end
  8302.  
  8303.  
  8304. while true do
  8305. if (math.random(1,10) == 5) then disappear() end
  8306. wait(2)
  8307. end
  8308. end))
  8309. Part154.Name = "Smooth Block Model"
  8310. Part154.Parent = Model2
  8311. Part154.BrickColor = BrickColor.new("Reddish brown")
  8312. Part154.Rotation = Vector3.new(-180, 0, -180)
  8313. Part154.Size = Vector3.new(4, 1.20000005, 12)
  8314. Part154.CFrame = CFrame.new(15.3499908, 254.5793, -100.249992, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  8315. Part154.Color = Color3.new(0.411765, 0.25098, 0.156863)
  8316. Part154.Position = Vector3.new(15.3499908, 254.5793, -100.249992)
  8317. Part154.Orientation = Vector3.new(0, 180, 0)
  8318. Part154.Color = Color3.new(0.411765, 0.25098, 0.156863)
  8319. Part155.Name = "Smooth Block Model"
  8320. Part155.Parent = Model2
  8321. Part155.BrickColor = BrickColor.new("Reddish brown")
  8322. Part155.Rotation = Vector3.new(-180, 0, -180)
  8323. Part155.Size = Vector3.new(4, 1.20000005, 10)
  8324. Part155.CFrame = CFrame.new(13.3499908, 255.779312, -100.249992, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  8325. Part155.Color = Color3.new(0.411765, 0.25098, 0.156863)
  8326. Part155.Position = Vector3.new(13.3499908, 255.779312, -100.249992)
  8327. Part155.Orientation = Vector3.new(0, 180, 0)
  8328. Part155.Color = Color3.new(0.411765, 0.25098, 0.156863)
  8329. Part156.Name = "PhantomPlate"
  8330. Part156.Parent = Model2
  8331. Part156.BrickColor = BrickColor.new("Dark stone grey")
  8332. Part156.Rotation = Vector3.new(0, -90, 0)
  8333. Part156.Anchored = true
  8334. Part156.Size = Vector3.new(16, 1.20000005, 16)
  8335. Part156.CFrame = CFrame.new(37.3499908, 249.779358, -24.25, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  8336. Part156.Color = Color3.new(0.388235, 0.372549, 0.384314)
  8337. Part156.Position = Vector3.new(37.3499908, 249.779358, -24.25)
  8338. Part156.Orientation = Vector3.new(0, -90, 0)
  8339. Part156.Color = Color3.new(0.388235, 0.372549, 0.384314)
  8340. Script157.Name = "PlateScript"
  8341. Script157.Parent = Part156
  8342. table.insert(cors,sandbox(Script157,function()
  8343. local plate = script.Parent
  8344.  
  8345. local color = plate.BrickColor
  8346.  
  8347.  
  8348. function disappear()
  8349. plate.BrickColor = BrickColor.new(26)
  8350. wait(.5)
  8351. for i=1,5 do
  8352. plate.Transparency = (i / 5)
  8353. wait(.2)
  8354. end
  8355. plate.CanCollide = false
  8356.  
  8357. wait(5)
  8358.  
  8359. plate.CanCollide = true
  8360. plate.Transparency = 0
  8361. plate.BrickColor = color
  8362. end
  8363.  
  8364.  
  8365. while true do
  8366. if (math.random(1,10) == 5) then disappear() end
  8367. wait(2)
  8368. end
  8369. end))
  8370. Part158.Name = "PhantomPlate"
  8371. Part158.Parent = Model2
  8372. Part158.BrickColor = BrickColor.new("Bright red")
  8373. Part158.Rotation = Vector3.new(-180, 0, -180)
  8374. Part158.Anchored = true
  8375. Part158.Size = Vector3.new(16, 1.20000005, 16)
  8376. Part158.CFrame = CFrame.new(54.3499908, 249.779358, -24.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  8377. Part158.Color = Color3.new(0.768628, 0.156863, 0.109804)
  8378. Part158.Position = Vector3.new(54.3499908, 249.779358, -24.25)
  8379. Part158.Orientation = Vector3.new(0, 180, 0)
  8380. Part158.Color = Color3.new(0.768628, 0.156863, 0.109804)
  8381. Script159.Name = "PlateScript"
  8382. Script159.Parent = Part158
  8383. table.insert(cors,sandbox(Script159,function()
  8384. local plate = script.Parent
  8385.  
  8386. local color = plate.BrickColor
  8387.  
  8388.  
  8389. function disappear()
  8390. plate.BrickColor = BrickColor.new(26)
  8391. wait(.5)
  8392. for i=1,5 do
  8393. plate.Transparency = (i / 5)
  8394. wait(.2)
  8395. end
  8396. plate.CanCollide = false
  8397.  
  8398. wait(5)
  8399.  
  8400. plate.CanCollide = true
  8401. plate.Transparency = 0
  8402. plate.BrickColor = color
  8403. end
  8404.  
  8405.  
  8406. while true do
  8407. if (math.random(1,10) == 5) then disappear() end
  8408. wait(2)
  8409. end
  8410. end))
  8411. Part160.Name = "PhantomPlate"
  8412. Part160.Parent = Model2
  8413. Part160.BrickColor = BrickColor.new("Black")
  8414. Part160.Transparency = 1
  8415. Part160.Rotation = Vector3.new(-180, 0, -180)
  8416. Part160.Anchored = true
  8417. Part160.CanCollide = false
  8418. Part160.Size = Vector3.new(16, 1.20000005, 16)
  8419. Part160.CFrame = CFrame.new(71.3499908, 249.779358, -24.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  8420. Part160.Color = Color3.new(0.105882, 0.164706, 0.207843)
  8421. Part160.Position = Vector3.new(71.3499908, 249.779358, -24.25)
  8422. Part160.Orientation = Vector3.new(0, 180, 0)
  8423. Part160.Color = Color3.new(0.105882, 0.164706, 0.207843)
  8424. Script161.Name = "PlateScript"
  8425. Script161.Parent = Part160
  8426. table.insert(cors,sandbox(Script161,function()
  8427. local plate = script.Parent
  8428.  
  8429. local color = plate.BrickColor
  8430.  
  8431.  
  8432. function disappear()
  8433. plate.BrickColor = BrickColor.new(26)
  8434. wait(.5)
  8435. for i=1,5 do
  8436. plate.Transparency = (i / 5)
  8437. wait(.2)
  8438. end
  8439. plate.CanCollide = false
  8440.  
  8441. wait(5)
  8442.  
  8443. plate.CanCollide = true
  8444. plate.Transparency = 0
  8445. plate.BrickColor = color
  8446. end
  8447.  
  8448.  
  8449. while true do
  8450. if (math.random(1,10) == 5) then disappear() end
  8451. wait(2)
  8452. end
  8453. end))
  8454. Part162.Name = "Smooth Block Model"
  8455. Part162.Parent = Model2
  8456. Part162.BrickColor = BrickColor.new("Reddish brown")
  8457. Part162.Rotation = Vector3.new(-180, 0, -180)
  8458. Part162.Size = Vector3.new(34, 283.200012, 32)
  8459. Part162.CFrame = CFrame.new(-19.6500092, 147.979385, -23.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  8460. Part162.Color = Color3.new(0.411765, 0.25098, 0.156863)
  8461. Part162.Position = Vector3.new(-19.6500092, 147.979385, -23.25)
  8462. Part162.Orientation = Vector3.new(0, 180, 0)
  8463. Part162.Color = Color3.new(0.411765, 0.25098, 0.156863)
  8464. Script163.Parent = Part162
  8465. table.insert(cors,sandbox(Script163,function()
  8466. function onTouch(part) --Finding Humanoid is useless...
  8467. part.Parent:findFirstChild("Head").CanCollide = true
  8468. part.Parent:findFirstChild("Torso").CanCollide = true
  8469. part.Parent:findFirstChild("Left Arm").CanCollide = true
  8470. part.Parent:findFirstChild("Right Arm").CanCollide = true
  8471. part.Parent:findFirstChild("Left Leg").CanCollide = true
  8472. part.Parent:findFirstChild("Right Leg").CanCollide = true
  8473. end
  8474. script.Parent.Touched:connect(onTouch)
  8475.  
  8476. end))
  8477. Part164.Name = "Smooth Block Model"
  8478. Part164.Parent = Model2
  8479. Part164.BrickColor = BrickColor.new("Reddish brown")
  8480. Part164.Rotation = Vector3.new(-180, 0, -180)
  8481. Part164.Size = Vector3.new(4, 1.20000005, 8)
  8482. Part164.CFrame = CFrame.new(11.3499908, 256.979279, -100.249992, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  8483. Part164.Color = Color3.new(0.411765, 0.25098, 0.156863)
  8484. Part164.Position = Vector3.new(11.3499908, 256.979279, -100.249992)
  8485. Part164.Orientation = Vector3.new(0, 180, 0)
  8486. Part164.Color = Color3.new(0.411765, 0.25098, 0.156863)
  8487. Part165.Name = "Smooth Block Model"
  8488. Part165.Parent = Model2
  8489. Part165.BrickColor = BrickColor.new("Reddish brown")
  8490. Part165.Rotation = Vector3.new(-180, 0, -180)
  8491. Part165.Size = Vector3.new(4, 1.20000005, 6)
  8492. Part165.CFrame = CFrame.new(9.34999084, 258.179291, -100.249992, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  8493. Part165.Color = Color3.new(0.411765, 0.25098, 0.156863)
  8494. Part165.Position = Vector3.new(9.34999084, 258.179291, -100.249992)
  8495. Part165.Orientation = Vector3.new(0, 180, 0)
  8496. Part165.Color = Color3.new(0.411765, 0.25098, 0.156863)
  8497. Part166.Name = "Smooth Block Model"
  8498. Part166.Parent = Model2
  8499. Part166.BrickColor = BrickColor.new("Reddish brown")
  8500. Part166.Rotation = Vector3.new(-180, 0, -180)
  8501. Part166.Size = Vector3.new(4, 1.20000005, 4)
  8502. Part166.CFrame = CFrame.new(7.34999084, 259.379272, -100.249992, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  8503. Part166.Color = Color3.new(0.411765, 0.25098, 0.156863)
  8504. Part166.Position = Vector3.new(7.34999084, 259.379272, -100.249992)
  8505. Part166.Orientation = Vector3.new(0, 180, 0)
  8506. Part166.Color = Color3.new(0.411765, 0.25098, 0.156863)
  8507. Part167.Name = "PhantomPlate"
  8508. Part167.Parent = Model2
  8509. Part167.BrickColor = BrickColor.new("Bright red")
  8510. Part167.Rotation = Vector3.new(0, -90, 0)
  8511. Part167.Anchored = true
  8512. Part167.Size = Vector3.new(16, 1.20000005, 16)
  8513. Part167.CFrame = CFrame.new(37.3499908, 249.779358, -7.25, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  8514. Part167.Color = Color3.new(0.768628, 0.156863, 0.109804)
  8515. Part167.Position = Vector3.new(37.3499908, 249.779358, -7.25)
  8516. Part167.Orientation = Vector3.new(0, -90, 0)
  8517. Part167.Color = Color3.new(0.768628, 0.156863, 0.109804)
  8518. Script168.Name = "PlateScript"
  8519. Script168.Parent = Part167
  8520. table.insert(cors,sandbox(Script168,function()
  8521. local plate = script.Parent
  8522.  
  8523. local color = plate.BrickColor
  8524.  
  8525.  
  8526. function disappear()
  8527. plate.BrickColor = BrickColor.new(26)
  8528. wait(.5)
  8529. for i=1,5 do
  8530. plate.Transparency = (i / 5)
  8531. wait(.2)
  8532. end
  8533. plate.CanCollide = false
  8534.  
  8535. wait(5)
  8536.  
  8537. plate.CanCollide = true
  8538. plate.Transparency = 0
  8539. plate.BrickColor = color
  8540. end
  8541.  
  8542.  
  8543. while true do
  8544. if (math.random(1,10) == 5) then disappear() end
  8545. wait(2)
  8546. end
  8547. end))
  8548. Part169.Name = "PhantomPlate"
  8549. Part169.Parent = Model2
  8550. Part169.BrickColor = BrickColor.new("Dark stone grey")
  8551. Part169.Rotation = Vector3.new(-180, 0, -180)
  8552. Part169.Anchored = true
  8553. Part169.Size = Vector3.new(16, 1.20000005, 16)
  8554. Part169.CFrame = CFrame.new(54.3499908, 249.779358, -7.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  8555. Part169.Color = Color3.new(0.388235, 0.372549, 0.384314)
  8556. Part169.Position = Vector3.new(54.3499908, 249.779358, -7.25)
  8557. Part169.Orientation = Vector3.new(0, 180, 0)
  8558. Part169.Color = Color3.new(0.388235, 0.372549, 0.384314)
  8559. Script170.Name = "PlateScript"
  8560. Script170.Parent = Part169
  8561. table.insert(cors,sandbox(Script170,function()
  8562. local plate = script.Parent
  8563.  
  8564. local color = plate.BrickColor
  8565.  
  8566.  
  8567. function disappear()
  8568. plate.BrickColor = BrickColor.new(26)
  8569. wait(.5)
  8570. for i=1,5 do
  8571. plate.Transparency = (i / 5)
  8572. wait(.2)
  8573. end
  8574. plate.CanCollide = false
  8575.  
  8576. wait(5)
  8577.  
  8578. plate.CanCollide = true
  8579. plate.Transparency = 0
  8580. plate.BrickColor = color
  8581. end
  8582.  
  8583.  
  8584. while true do
  8585. if (math.random(1,10) == 5) then disappear() end
  8586. wait(2)
  8587. end
  8588. end))
  8589. Part171.Name = "PhantomPlate"
  8590. Part171.Parent = Model2
  8591. Part171.BrickColor = BrickColor.new("Bright red")
  8592. Part171.Rotation = Vector3.new(-180, 0, -180)
  8593. Part171.Anchored = true
  8594. Part171.Size = Vector3.new(16, 1.20000005, 16)
  8595. Part171.CFrame = CFrame.new(71.3499908, 249.779358, -7.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  8596. Part171.Color = Color3.new(0.768628, 0.156863, 0.109804)
  8597. Part171.Position = Vector3.new(71.3499908, 249.779358, -7.25)
  8598. Part171.Orientation = Vector3.new(0, 180, 0)
  8599. Part171.Color = Color3.new(0.768628, 0.156863, 0.109804)
  8600. Script172.Name = "PlateScript"
  8601. Script172.Parent = Part171
  8602. table.insert(cors,sandbox(Script172,function()
  8603. local plate = script.Parent
  8604.  
  8605. local color = plate.BrickColor
  8606.  
  8607.  
  8608. function disappear()
  8609. plate.BrickColor = BrickColor.new(26)
  8610. wait(.5)
  8611. for i=1,5 do
  8612. plate.Transparency = (i / 5)
  8613. wait(.2)
  8614. end
  8615. plate.CanCollide = false
  8616.  
  8617. wait(5)
  8618.  
  8619. plate.CanCollide = true
  8620. plate.Transparency = 0
  8621. plate.BrickColor = color
  8622. end
  8623.  
  8624.  
  8625. while true do
  8626. if (math.random(1,10) == 5) then disappear() end
  8627. wait(2)
  8628. end
  8629. end))
  8630. Part173.Name = "Smooth Block Model"
  8631. Part173.Parent = Model2
  8632. Part173.BrickColor = BrickColor.new("Reddish brown")
  8633. Part173.Rotation = Vector3.new(-180, 0, -180)
  8634. Part173.Size = Vector3.new(8, 253.200012, 8)
  8635. Part173.CFrame = CFrame.new(-37.6500092, 132.97934, -100.249992, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  8636. Part173.Color = Color3.new(0.411765, 0.25098, 0.156863)
  8637. Part173.Position = Vector3.new(-37.6500092, 132.97934, -100.249992)
  8638. Part173.Orientation = Vector3.new(0, 180, 0)
  8639. Part173.Color = Color3.new(0.411765, 0.25098, 0.156863)
  8640. Part174.Name = "Smooth Block Model"
  8641. Part174.Parent = Model2
  8642. Part174.BrickColor = BrickColor.new("Reddish brown")
  8643. Part174.Rotation = Vector3.new(0, -90, 0)
  8644. Part174.Size = Vector3.new(2, 1.20000005, 31)
  8645. Part174.CFrame = CFrame.new(12.849987, 287.779388, -231.25, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  8646. Part174.Color = Color3.new(0.411765, 0.25098, 0.156863)
  8647. Part174.Position = Vector3.new(12.849987, 287.779388, -231.25)
  8648. Part174.Orientation = Vector3.new(0, -90, 0)
  8649. Part174.Color = Color3.new(0.411765, 0.25098, 0.156863)
  8650. Part175.Name = "Smooth Block Model"
  8651. Part175.Parent = Model2
  8652. Part175.BrickColor = BrickColor.new("Reddish brown")
  8653. Part175.Rotation = Vector3.new(0, 90, 0)
  8654. Part175.Size = Vector3.new(2, 1.20000005, 107)
  8655. Part175.CFrame = CFrame.new(47.8499908, 290.179382, -12.249999, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  8656. Part175.Color = Color3.new(0.411765, 0.25098, 0.156863)
  8657. Part175.Position = Vector3.new(47.8499908, 290.179382, -12.249999)
  8658. Part175.Orientation = Vector3.new(0, 90, 0)
  8659. Part175.Color = Color3.new(0.411765, 0.25098, 0.156863)
  8660. Part176.Name = "Smooth Block Model"
  8661. Part176.Parent = Model2
  8662. Part176.BrickColor = BrickColor.new("Reddish brown")
  8663. Part176.Rotation = Vector3.new(-180, 0, -180)
  8664. Part176.Size = Vector3.new(10, 253.200012, 15)
  8665. Part176.CFrame = CFrame.new(-46.6500092, 132.97934, -98.75, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  8666. Part176.Color = Color3.new(0.411765, 0.25098, 0.156863)
  8667. Part176.Position = Vector3.new(-46.6500092, 132.97934, -98.75)
  8668. Part176.Orientation = Vector3.new(0, 180, 0)
  8669. Part176.Color = Color3.new(0.411765, 0.25098, 0.156863)
  8670. Part177.Name = "PhantomPlate"
  8671. Part177.Parent = Model2
  8672. Part177.BrickColor = BrickColor.new("Dark stone grey")
  8673. Part177.Rotation = Vector3.new(0, -90, 0)
  8674. Part177.Anchored = true
  8675. Part177.Size = Vector3.new(16, 1.20000005, 16)
  8676. Part177.CFrame = CFrame.new(37.3499908, 249.779358, 9.75, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  8677. Part177.Color = Color3.new(0.388235, 0.372549, 0.384314)
  8678. Part177.Position = Vector3.new(37.3499908, 249.779358, 9.75)
  8679. Part177.Orientation = Vector3.new(0, -90, 0)
  8680. Part177.Color = Color3.new(0.388235, 0.372549, 0.384314)
  8681. Script178.Name = "PlateScript"
  8682. Script178.Parent = Part177
  8683. table.insert(cors,sandbox(Script178,function()
  8684. local plate = script.Parent
  8685.  
  8686. local color = plate.BrickColor
  8687.  
  8688.  
  8689. function disappear()
  8690. plate.BrickColor = BrickColor.new(26)
  8691. wait(.5)
  8692. for i=1,5 do
  8693. plate.Transparency = (i / 5)
  8694. wait(.2)
  8695. end
  8696. plate.CanCollide = false
  8697.  
  8698. wait(5)
  8699.  
  8700. plate.CanCollide = true
  8701. plate.Transparency = 0
  8702. plate.BrickColor = color
  8703. end
  8704.  
  8705.  
  8706. while true do
  8707. if (math.random(1,10) == 5) then disappear() end
  8708. wait(2)
  8709. end
  8710. end))
  8711. Part179.Name = "PhantomPlate"
  8712. Part179.Parent = Model2
  8713. Part179.BrickColor = BrickColor.new("Black")
  8714. Part179.Transparency = 1
  8715. Part179.Rotation = Vector3.new(-180, 0, -180)
  8716. Part179.Anchored = true
  8717. Part179.CanCollide = false
  8718. Part179.Size = Vector3.new(16, 1.20000005, 16)
  8719. Part179.CFrame = CFrame.new(54.3499908, 249.779358, 9.75, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  8720. Part179.Color = Color3.new(0.105882, 0.164706, 0.207843)
  8721. Part179.Position = Vector3.new(54.3499908, 249.779358, 9.75)
  8722. Part179.Orientation = Vector3.new(0, 180, 0)
  8723. Part179.Color = Color3.new(0.105882, 0.164706, 0.207843)
  8724. Script180.Name = "PlateScript"
  8725. Script180.Parent = Part179
  8726. table.insert(cors,sandbox(Script180,function()
  8727. local plate = script.Parent
  8728.  
  8729. local color = plate.BrickColor
  8730.  
  8731.  
  8732. function disappear()
  8733. plate.BrickColor = BrickColor.new(26)
  8734. wait(.5)
  8735. for i=1,5 do
  8736. plate.Transparency = (i / 5)
  8737. wait(.2)
  8738. end
  8739. plate.CanCollide = false
  8740.  
  8741. wait(5)
  8742.  
  8743. plate.CanCollide = true
  8744. plate.Transparency = 0
  8745. plate.BrickColor = color
  8746. end
  8747.  
  8748.  
  8749. while true do
  8750. if (math.random(1,10) == 5) then disappear() end
  8751. wait(2)
  8752. end
  8753. end))
  8754. Part181.Name = "PhantomPlate"
  8755. Part181.Parent = Model2
  8756. Part181.BrickColor = BrickColor.new("Dark stone grey")
  8757. Part181.Rotation = Vector3.new(-180, 0, -180)
  8758. Part181.Anchored = true
  8759. Part181.Size = Vector3.new(16, 1.20000005, 16)
  8760. Part181.CFrame = CFrame.new(71.3499908, 249.779358, 9.75, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  8761. Part181.Color = Color3.new(0.388235, 0.372549, 0.384314)
  8762. Part181.Position = Vector3.new(71.3499908, 249.779358, 9.75)
  8763. Part181.Orientation = Vector3.new(0, 180, 0)
  8764. Part181.Color = Color3.new(0.388235, 0.372549, 0.384314)
  8765. Script182.Name = "PlateScript"
  8766. Script182.Parent = Part181
  8767. table.insert(cors,sandbox(Script182,function()
  8768. local plate = script.Parent
  8769.  
  8770. local color = plate.BrickColor
  8771.  
  8772.  
  8773. function disappear()
  8774. plate.BrickColor = BrickColor.new(26)
  8775. wait(.5)
  8776. for i=1,5 do
  8777. plate.Transparency = (i / 5)
  8778. wait(.2)
  8779. end
  8780. plate.CanCollide = false
  8781.  
  8782. wait(5)
  8783.  
  8784. plate.CanCollide = true
  8785. plate.Transparency = 0
  8786. plate.BrickColor = color
  8787. end
  8788.  
  8789.  
  8790. while true do
  8791. if (math.random(1,10) == 5) then disappear() end
  8792. wait(2)
  8793. end
  8794. end))
  8795. Part183.Name = "Smooth Block Model"
  8796. Part183.Parent = Model2
  8797. Part183.BrickColor = BrickColor.new("Reddish brown")
  8798. Part183.Rotation = Vector3.new(-180, 0, -180)
  8799. Part183.Size = Vector3.new(32, 243.600006, 32)
  8800. Part183.CFrame = CFrame.new(-64.6500092, 128.179352, -233.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  8801. Part183.Color = Color3.new(0.411765, 0.25098, 0.156863)
  8802. Part183.Position = Vector3.new(-64.6500092, 128.179352, -233.25)
  8803. Part183.Orientation = Vector3.new(0, 180, 0)
  8804. Part183.Color = Color3.new(0.411765, 0.25098, 0.156863)
  8805. Part184.Name = "Smooth Block Model"
  8806. Part184.Parent = Model2
  8807. Part184.BrickColor = BrickColor.new("Reddish brown")
  8808. Part184.Rotation = Vector3.new(-180, 0, -180)
  8809. Part184.Size = Vector3.new(43, 1.20000005, 2)
  8810. Part184.CFrame = CFrame.new(-14.1500092, 260.579285, -100.249992, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  8811. Part184.Color = Color3.new(0.411765, 0.25098, 0.156863)
  8812. Part184.Position = Vector3.new(-14.1500092, 260.579285, -100.249992)
  8813. Part184.Orientation = Vector3.new(0, 180, 0)
  8814. Part184.Color = Color3.new(0.411765, 0.25098, 0.156863)
  8815. Part185.Name = "Smooth Block Model"
  8816. Part185.Parent = Model2
  8817. Part185.BrickColor = BrickColor.new("Reddish brown")
  8818. Part185.Rotation = Vector3.new(-180, 0, -180)
  8819. Part185.Size = Vector3.new(20, 253.200012, 29)
  8820. Part185.CFrame = CFrame.new(-61.6500092, 132.97934, -96.75, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  8821. Part185.Color = Color3.new(0.411765, 0.25098, 0.156863)
  8822. Part185.Position = Vector3.new(-61.6500092, 132.97934, -96.75)
  8823. Part185.Orientation = Vector3.new(0, 180, 0)
  8824. Part185.Color = Color3.new(0.411765, 0.25098, 0.156863)
  8825. Part186.Name = "Smooth Block Model"
  8826. Part186.Parent = Model2
  8827. Part186.BrickColor = BrickColor.new("Reddish brown")
  8828. Part186.Size = Vector3.new(2, 1.20000005, 200)
  8829. Part186.CFrame = CFrame.new(-1.65001297, 288.979401, -132.25, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  8830. Part186.Color = Color3.new(0.411765, 0.25098, 0.156863)
  8831. Part186.Position = Vector3.new(-1.65001297, 288.979401, -132.25)
  8832. Part186.Color = Color3.new(0.411765, 0.25098, 0.156863)
  8833. Part187.Name = "PhantomPlate"
  8834. Part187.Parent = Model2
  8835. Part187.BrickColor = BrickColor.new("Black")
  8836. Part187.Transparency = 1
  8837. Part187.Rotation = Vector3.new(0, -90, 0)
  8838. Part187.Anchored = true
  8839. Part187.CanCollide = false
  8840. Part187.Size = Vector3.new(16, 1.20000005, 16)
  8841. Part187.CFrame = CFrame.new(37.3499908, 249.779358, 26.75, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  8842. Part187.Color = Color3.new(0.105882, 0.164706, 0.207843)
  8843. Part187.Position = Vector3.new(37.3499908, 249.779358, 26.75)
  8844. Part187.Orientation = Vector3.new(0, -90, 0)
  8845. Part187.Color = Color3.new(0.105882, 0.164706, 0.207843)
  8846. Script188.Name = "PlateScript"
  8847. Script188.Parent = Part187
  8848. table.insert(cors,sandbox(Script188,function()
  8849. local plate = script.Parent
  8850.  
  8851. local color = plate.BrickColor
  8852.  
  8853.  
  8854. function disappear()
  8855. plate.BrickColor = BrickColor.new(26)
  8856. wait(.5)
  8857. for i=1,5 do
  8858. plate.Transparency = (i / 5)
  8859. wait(.2)
  8860. end
  8861. plate.CanCollide = false
  8862.  
  8863. wait(5)
  8864.  
  8865. plate.CanCollide = true
  8866. plate.Transparency = 0
  8867. plate.BrickColor = color
  8868. end
  8869.  
  8870.  
  8871. while true do
  8872. if (math.random(1,10) == 5) then disappear() end
  8873. wait(2)
  8874. end
  8875. end))
  8876. Part189.Name = "PhantomPlate"
  8877. Part189.Parent = Model2
  8878. Part189.BrickColor = BrickColor.new("Dark stone grey")
  8879. Part189.Rotation = Vector3.new(-180, 0, -180)
  8880. Part189.Anchored = true
  8881. Part189.Size = Vector3.new(16, 1.20000005, 16)
  8882. Part189.CFrame = CFrame.new(54.3499908, 249.779358, 26.75, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  8883. Part189.Color = Color3.new(0.388235, 0.372549, 0.384314)
  8884. Part189.Position = Vector3.new(54.3499908, 249.779358, 26.75)
  8885. Part189.Orientation = Vector3.new(0, 180, 0)
  8886. Part189.Color = Color3.new(0.388235, 0.372549, 0.384314)
  8887. Script190.Name = "PlateScript"
  8888. Script190.Parent = Part189
  8889. table.insert(cors,sandbox(Script190,function()
  8890. local plate = script.Parent
  8891.  
  8892. local color = plate.BrickColor
  8893.  
  8894.  
  8895. function disappear()
  8896. plate.BrickColor = BrickColor.new(26)
  8897. wait(.5)
  8898. for i=1,5 do
  8899. plate.Transparency = (i / 5)
  8900. wait(.2)
  8901. end
  8902. plate.CanCollide = false
  8903.  
  8904. wait(5)
  8905.  
  8906. plate.CanCollide = true
  8907. plate.Transparency = 0
  8908. plate.BrickColor = color
  8909. end
  8910.  
  8911.  
  8912. while true do
  8913. if (math.random(1,10) == 5) then disappear() end
  8914. wait(2)
  8915. end
  8916. end))
  8917. Part191.Name = "PhantomPlate"
  8918. Part191.Parent = Model2
  8919. Part191.BrickColor = BrickColor.new("Bright red")
  8920. Part191.Rotation = Vector3.new(-180, 0, -180)
  8921. Part191.Anchored = true
  8922. Part191.Size = Vector3.new(16, 1.20000005, 16)
  8923. Part191.CFrame = CFrame.new(71.3499908, 249.779358, 26.75, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  8924. Part191.Color = Color3.new(0.768628, 0.156863, 0.109804)
  8925. Part191.Position = Vector3.new(71.3499908, 249.779358, 26.75)
  8926. Part191.Orientation = Vector3.new(0, 180, 0)
  8927. Part191.Color = Color3.new(0.768628, 0.156863, 0.109804)
  8928. Script192.Name = "PlateScript"
  8929. Script192.Parent = Part191
  8930. table.insert(cors,sandbox(Script192,function()
  8931. local plate = script.Parent
  8932.  
  8933. local color = plate.BrickColor
  8934.  
  8935.  
  8936. function disappear()
  8937. plate.BrickColor = BrickColor.new(26)
  8938. wait(.5)
  8939. for i=1,5 do
  8940. plate.Transparency = (i / 5)
  8941. wait(.2)
  8942. end
  8943. plate.CanCollide = false
  8944.  
  8945. wait(5)
  8946.  
  8947. plate.CanCollide = true
  8948. plate.Transparency = 0
  8949. plate.BrickColor = color
  8950. end
  8951.  
  8952.  
  8953. while true do
  8954. if (math.random(1,10) == 5) then disappear() end
  8955. wait(2)
  8956. end
  8957. end))
  8958. Part193.Name = "Smooth Block Model"
  8959. Part193.Parent = Model2
  8960. Part193.BrickColor = BrickColor.new("Reddish brown")
  8961. Part193.Rotation = Vector3.new(-180, 0, -180)
  8962. Part193.Size = Vector3.new(4, 253.200012, 18)
  8963. Part193.CFrame = CFrame.new(-73.6500092, 132.97934, -97.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  8964. Part193.Color = Color3.new(0.411765, 0.25098, 0.156863)
  8965. Part193.Position = Vector3.new(-73.6500092, 132.97934, -97.25)
  8966. Part193.Orientation = Vector3.new(0, 180, 0)
  8967. Part193.Color = Color3.new(0.411765, 0.25098, 0.156863)
  8968. Part194.Name = "PhantomPlate"
  8969. Part194.Parent = Model2
  8970. Part194.BrickColor = BrickColor.new("Dark stone grey")
  8971. Part194.Rotation = Vector3.new(0, -90, 0)
  8972. Part194.Anchored = true
  8973. Part194.Size = Vector3.new(16, 1.20000005, 16)
  8974. Part194.CFrame = CFrame.new(37.3499908, 249.779358, 43.75, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  8975. Part194.Color = Color3.new(0.388235, 0.372549, 0.384314)
  8976. Part194.Position = Vector3.new(37.3499908, 249.779358, 43.75)
  8977. Part194.Orientation = Vector3.new(0, -90, 0)
  8978. Part194.Color = Color3.new(0.388235, 0.372549, 0.384314)
  8979. Script195.Name = "PlateScript"
  8980. Script195.Parent = Part194
  8981. table.insert(cors,sandbox(Script195,function()
  8982. local plate = script.Parent
  8983.  
  8984. local color = plate.BrickColor
  8985.  
  8986.  
  8987. function disappear()
  8988. plate.BrickColor = BrickColor.new(26)
  8989. wait(.5)
  8990. for i=1,5 do
  8991. plate.Transparency = (i / 5)
  8992. wait(.2)
  8993. end
  8994. plate.CanCollide = false
  8995.  
  8996. wait(5)
  8997.  
  8998. plate.CanCollide = true
  8999. plate.Transparency = 0
  9000. plate.BrickColor = color
  9001. end
  9002.  
  9003.  
  9004. while true do
  9005. if (math.random(1,10) == 5) then disappear() end
  9006. wait(2)
  9007. end
  9008. end))
  9009. Part196.Name = "PhantomPlate"
  9010. Part196.Parent = Model2
  9011. Part196.BrickColor = BrickColor.new("Black")
  9012. Part196.Transparency = 1
  9013. Part196.Rotation = Vector3.new(-180, 0, -180)
  9014. Part196.Anchored = true
  9015. Part196.Size = Vector3.new(16, 1.20000005, 16)
  9016. Part196.CFrame = CFrame.new(54.3499908, 249.779358, 43.75, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  9017. Part196.Color = Color3.new(0.105882, 0.164706, 0.207843)
  9018. Part196.Position = Vector3.new(54.3499908, 249.779358, 43.75)
  9019. Part196.Orientation = Vector3.new(0, 180, 0)
  9020. Part196.Color = Color3.new(0.105882, 0.164706, 0.207843)
  9021. Script197.Name = "PlateScript"
  9022. Script197.Parent = Part196
  9023. table.insert(cors,sandbox(Script197,function()
  9024. local plate = script.Parent
  9025.  
  9026. local color = plate.BrickColor
  9027.  
  9028.  
  9029. function disappear()
  9030. plate.BrickColor = BrickColor.new(26)
  9031. wait(.5)
  9032. for i=1,5 do
  9033. plate.Transparency = (i / 5)
  9034. wait(.2)
  9035. end
  9036. plate.CanCollide = false
  9037.  
  9038. wait(5)
  9039.  
  9040. plate.CanCollide = true
  9041. plate.Transparency = 0
  9042. plate.BrickColor = color
  9043. end
  9044.  
  9045.  
  9046. while true do
  9047. if (math.random(1,10) == 5) then disappear() end
  9048. wait(2)
  9049. end
  9050. end))
  9051. Part198.Name = "PhantomPlate"
  9052. Part198.Parent = Model2
  9053. Part198.BrickColor = BrickColor.new("Black")
  9054. Part198.Transparency = 1
  9055. Part198.Rotation = Vector3.new(-180, 0, -180)
  9056. Part198.Anchored = true
  9057. Part198.CanCollide = false
  9058. Part198.Size = Vector3.new(16, 1.20000005, 16)
  9059. Part198.CFrame = CFrame.new(71.3499908, 249.779358, 43.75, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  9060. Part198.Color = Color3.new(0.105882, 0.164706, 0.207843)
  9061. Part198.Position = Vector3.new(71.3499908, 249.779358, 43.75)
  9062. Part198.Orientation = Vector3.new(0, 180, 0)
  9063. Part198.Color = Color3.new(0.105882, 0.164706, 0.207843)
  9064. Script199.Name = "PlateScript"
  9065. Script199.Parent = Part198
  9066. table.insert(cors,sandbox(Script199,function()
  9067. local plate = script.Parent
  9068.  
  9069. local color = plate.BrickColor
  9070.  
  9071.  
  9072. function disappear()
  9073. plate.BrickColor = BrickColor.new(26)
  9074. wait(.5)
  9075. for i=1,5 do
  9076. plate.Transparency = (i / 5)
  9077. wait(.2)
  9078. end
  9079. plate.CanCollide = false
  9080.  
  9081. wait(5)
  9082.  
  9083. plate.CanCollide = true
  9084. plate.Transparency = 0
  9085. plate.BrickColor = color
  9086. end
  9087.  
  9088.  
  9089. while true do
  9090. if (math.random(1,10) == 5) then disappear() end
  9091. wait(2)
  9092. end
  9093. end))
  9094. Part200.Name = "Smooth Block Model"
  9095. Part200.Parent = Model2
  9096. Part200.BrickColor = BrickColor.new("Reddish brown")
  9097. Part200.Rotation = Vector3.new(-180, 0, -180)
  9098. Part200.Size = Vector3.new(16, 243.600006, 22)
  9099. Part200.CFrame = CFrame.new(54.3499908, 128.179352, 97.75, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  9100. Part200.Color = Color3.new(0.411765, 0.25098, 0.156863)
  9101. Part200.Position = Vector3.new(54.3499908, 128.179352, 97.75)
  9102. Part200.Orientation = Vector3.new(0, 180, 0)
  9103. Part200.Color = Color3.new(0.411765, 0.25098, 0.156863)
  9104. Script201.Parent = Part200
  9105. table.insert(cors,sandbox(Script201,function()
  9106. function onTouch(part) --Finding Humanoid is useless...
  9107. part.Parent:findFirstChild("Head").CanCollide = true
  9108. part.Parent:findFirstChild("Torso").CanCollide = true
  9109. part.Parent:findFirstChild("Left Arm").CanCollide = true
  9110. part.Parent:findFirstChild("Right Arm").CanCollide = true
  9111. part.Parent:findFirstChild("Left Leg").CanCollide = true
  9112. part.Parent:findFirstChild("Right Leg").CanCollide = true
  9113. end
  9114. script.Parent.Touched:connect(onTouch)
  9115.  
  9116. end))
  9117. Part202.Name = "PhantomPlate"
  9118. Part202.Parent = Model2
  9119. Part202.BrickColor = BrickColor.new("Bright red")
  9120. Part202.Rotation = Vector3.new(0, -90, 0)
  9121. Part202.Anchored = true
  9122. Part202.Size = Vector3.new(16, 1.20000005, 16)
  9123. Part202.CFrame = CFrame.new(37.3499908, 249.779358, 60.75, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  9124. Part202.Color = Color3.new(0.768628, 0.156863, 0.109804)
  9125. Part202.Position = Vector3.new(37.3499908, 249.779358, 60.75)
  9126. Part202.Orientation = Vector3.new(0, -90, 0)
  9127. Part202.Color = Color3.new(0.768628, 0.156863, 0.109804)
  9128. Script203.Name = "PlateScript"
  9129. Script203.Parent = Part202
  9130. table.insert(cors,sandbox(Script203,function()
  9131. local plate = script.Parent
  9132.  
  9133. local color = plate.BrickColor
  9134.  
  9135.  
  9136. function disappear()
  9137. plate.BrickColor = BrickColor.new(26)
  9138. wait(.5)
  9139. for i=1,5 do
  9140. plate.Transparency = (i / 5)
  9141. wait(.2)
  9142. end
  9143. plate.CanCollide = false
  9144.  
  9145. wait(5)
  9146.  
  9147. plate.CanCollide = true
  9148. plate.Transparency = 0
  9149. plate.BrickColor = color
  9150. end
  9151.  
  9152.  
  9153. while true do
  9154. if (math.random(1,10) == 5) then disappear() end
  9155. wait(2)
  9156. end
  9157. end))
  9158. Part204.Name = "PhantomPlate"
  9159. Part204.Parent = Model2
  9160. Part204.BrickColor = BrickColor.new("Dark stone grey")
  9161. Part204.Rotation = Vector3.new(-180, 0, -180)
  9162. Part204.Anchored = true
  9163. Part204.Size = Vector3.new(16, 1.20000005, 16)
  9164. Part204.CFrame = CFrame.new(54.3499908, 249.779358, 60.75, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  9165. Part204.Color = Color3.new(0.388235, 0.372549, 0.384314)
  9166. Part204.Position = Vector3.new(54.3499908, 249.779358, 60.75)
  9167. Part204.Orientation = Vector3.new(0, 180, 0)
  9168. Part204.Color = Color3.new(0.388235, 0.372549, 0.384314)
  9169. Script205.Name = "PlateScript"
  9170. Script205.Parent = Part204
  9171. table.insert(cors,sandbox(Script205,function()
  9172. local plate = script.Parent
  9173.  
  9174. local color = plate.BrickColor
  9175.  
  9176.  
  9177. function disappear()
  9178. plate.BrickColor = BrickColor.new(26)
  9179. wait(.5)
  9180. for i=1,5 do
  9181. plate.Transparency = (i / 5)
  9182. wait(.2)
  9183. end
  9184. plate.CanCollide = false
  9185.  
  9186. wait(5)
  9187.  
  9188. plate.CanCollide = true
  9189. plate.Transparency = 0
  9190. plate.BrickColor = color
  9191. end
  9192.  
  9193.  
  9194. while true do
  9195. if (math.random(1,10) == 5) then disappear() end
  9196. wait(2)
  9197. end
  9198. end))
  9199. Part206.Name = "PhantomPlate"
  9200. Part206.Parent = Model2
  9201. Part206.BrickColor = BrickColor.new("Bright red")
  9202. Part206.Rotation = Vector3.new(-180, 0, -180)
  9203. Part206.Anchored = true
  9204. Part206.Size = Vector3.new(16, 1.20000005, 16)
  9205. Part206.CFrame = CFrame.new(71.3499908, 249.779358, 60.75, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  9206. Part206.Color = Color3.new(0.768628, 0.156863, 0.109804)
  9207. Part206.Position = Vector3.new(71.3499908, 249.779358, 60.75)
  9208. Part206.Orientation = Vector3.new(0, 180, 0)
  9209. Part206.Color = Color3.new(0.768628, 0.156863, 0.109804)
  9210. Script207.Name = "PlateScript"
  9211. Script207.Parent = Part206
  9212. table.insert(cors,sandbox(Script207,function()
  9213. local plate = script.Parent
  9214.  
  9215. local color = plate.BrickColor
  9216.  
  9217.  
  9218. function disappear()
  9219. plate.BrickColor = BrickColor.new(26)
  9220. wait(.5)
  9221. for i=1,5 do
  9222. plate.Transparency = (i / 5)
  9223. wait(.2)
  9224. end
  9225. plate.CanCollide = false
  9226.  
  9227. wait(5)
  9228.  
  9229. plate.CanCollide = true
  9230. plate.Transparency = 0
  9231. plate.BrickColor = color
  9232. end
  9233.  
  9234.  
  9235. while true do
  9236. if (math.random(1,10) == 5) then disappear() end
  9237. wait(2)
  9238. end
  9239. end))
  9240. SpawnLocation208.Parent = Model2
  9241. SpawnLocation208.BrickColor = BrickColor.new("Bright yellow")
  9242. SpawnLocation208.Rotation = Vector3.new(-180, 0, -180)
  9243. SpawnLocation208.Anchored = true
  9244. SpawnLocation208.Size = Vector3.new(6, 1.20000005, 6)
  9245. SpawnLocation208.CFrame = CFrame.new(-28.6500092, 290.179443, -22.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  9246. SpawnLocation208.BackSurface = Enum.SurfaceType.Weld
  9247. SpawnLocation208.BottomSurface = Enum.SurfaceType.Weld
  9248. SpawnLocation208.FrontSurface = Enum.SurfaceType.Weld
  9249. SpawnLocation208.LeftSurface = Enum.SurfaceType.Weld
  9250. SpawnLocation208.RightSurface = Enum.SurfaceType.Weld
  9251. SpawnLocation208.TopSurface = Enum.SurfaceType.Smooth
  9252. SpawnLocation208.Duration = 3
  9253. SpawnLocation208.Color = Color3.new(0.960784, 0.803922, 0.188235)
  9254. SpawnLocation208.Position = Vector3.new(-28.6500092, 290.179443, -22.25)
  9255. SpawnLocation208.Orientation = Vector3.new(0, 180, 0)
  9256. SpawnLocation208.Color = Color3.new(0.960784, 0.803922, 0.188235)
  9257. Decal209.Parent = SpawnLocation208
  9258. Decal209.Texture = "rbxasset://Textures/SpawnLocation.png"
  9259. Decal209.Face = Enum.NormalId.Top
  9260. Script210.Parent = SpawnLocation208
  9261. table.insert(cors,sandbox(Script210,function()
  9262. function onTouch(part) --Finding Humanoid is useless...
  9263. part.Parent:findFirstChild("Head").CanCollide = true
  9264. part.Parent:findFirstChild("Torso").CanCollide = true
  9265. part.Parent:findFirstChild("Left Arm").CanCollide = true
  9266. part.Parent:findFirstChild("Right Arm").CanCollide = true
  9267. part.Parent:findFirstChild("Left Leg").CanCollide = true
  9268. part.Parent:findFirstChild("Right Leg").CanCollide = true
  9269. end
  9270. script.Parent.Touched:connect(onTouch)
  9271.  
  9272. end))
  9273. Part211.Name = "PhantomPlate"
  9274. Part211.Parent = Model2
  9275. Part211.BrickColor = BrickColor.new("Dark stone grey")
  9276. Part211.Rotation = Vector3.new(0, -90, 0)
  9277. Part211.Anchored = true
  9278. Part211.Size = Vector3.new(16, 1.20000005, 16)
  9279. Part211.CFrame = CFrame.new(37.3499908, 249.779358, 77.75, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  9280. Part211.Color = Color3.new(0.388235, 0.372549, 0.384314)
  9281. Part211.Position = Vector3.new(37.3499908, 249.779358, 77.75)
  9282. Part211.Orientation = Vector3.new(0, -90, 0)
  9283. Part211.Color = Color3.new(0.388235, 0.372549, 0.384314)
  9284. Script212.Name = "PlateScript"
  9285. Script212.Parent = Part211
  9286. table.insert(cors,sandbox(Script212,function()
  9287. local plate = script.Parent
  9288.  
  9289. local color = plate.BrickColor
  9290.  
  9291.  
  9292. function disappear()
  9293. plate.BrickColor = BrickColor.new(26)
  9294. wait(.5)
  9295. for i=1,5 do
  9296. plate.Transparency = (i / 5)
  9297. wait(.2)
  9298. end
  9299. plate.CanCollide = false
  9300.  
  9301. wait(5)
  9302.  
  9303. plate.CanCollide = true
  9304. plate.Transparency = 0
  9305. plate.BrickColor = color
  9306. end
  9307.  
  9308.  
  9309. while true do
  9310. if (math.random(1,10) == 5) then disappear() end
  9311. wait(2)
  9312. end
  9313. end))
  9314. Part213.Name = "PhantomPlate"
  9315. Part213.Parent = Model2
  9316. Part213.BrickColor = BrickColor.new("Bright red")
  9317. Part213.Rotation = Vector3.new(-180, 0, -180)
  9318. Part213.Anchored = true
  9319. Part213.Size = Vector3.new(16, 1.20000005, 16)
  9320. Part213.CFrame = CFrame.new(54.3499908, 249.779358, 77.75, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  9321. Part213.Color = Color3.new(0.768628, 0.156863, 0.109804)
  9322. Part213.Position = Vector3.new(54.3499908, 249.779358, 77.75)
  9323. Part213.Orientation = Vector3.new(0, 180, 0)
  9324. Part213.Color = Color3.new(0.768628, 0.156863, 0.109804)
  9325. Script214.Name = "PlateScript"
  9326. Script214.Parent = Part213
  9327. table.insert(cors,sandbox(Script214,function()
  9328. local plate = script.Parent
  9329.  
  9330. local color = plate.BrickColor
  9331.  
  9332.  
  9333. function disappear()
  9334. plate.BrickColor = BrickColor.new(26)
  9335. wait(.5)
  9336. for i=1,5 do
  9337. plate.Transparency = (i / 5)
  9338. wait(.2)
  9339. end
  9340. plate.CanCollide = false
  9341.  
  9342. wait(5)
  9343.  
  9344. plate.CanCollide = true
  9345. plate.Transparency = 0
  9346. plate.BrickColor = color
  9347. end
  9348.  
  9349.  
  9350. while true do
  9351. if (math.random(1,10) == 5) then disappear() end
  9352. wait(2)
  9353. end
  9354. end))
  9355. Part215.Name = "PhantomPlate"
  9356. Part215.Parent = Model2
  9357. Part215.BrickColor = BrickColor.new("Dark stone grey")
  9358. Part215.Rotation = Vector3.new(-180, 0, -180)
  9359. Part215.Anchored = true
  9360. Part215.Size = Vector3.new(16, 1.20000005, 16)
  9361. Part215.CFrame = CFrame.new(71.3499908, 249.779358, 77.75, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  9362. Part215.Color = Color3.new(0.388235, 0.372549, 0.384314)
  9363. Part215.Position = Vector3.new(71.3499908, 249.779358, 77.75)
  9364. Part215.Orientation = Vector3.new(0, 180, 0)
  9365. Part215.Color = Color3.new(0.388235, 0.372549, 0.384314)
  9366. Script216.Name = "PlateScript"
  9367. Script216.Parent = Part215
  9368. table.insert(cors,sandbox(Script216,function()
  9369. local plate = script.Parent
  9370.  
  9371. local color = plate.BrickColor
  9372.  
  9373.  
  9374. function disappear()
  9375. plate.BrickColor = BrickColor.new(26)
  9376. wait(.5)
  9377. for i=1,5 do
  9378. plate.Transparency = (i / 5)
  9379. wait(.2)
  9380. end
  9381. plate.CanCollide = false
  9382.  
  9383. wait(5)
  9384.  
  9385. plate.CanCollide = true
  9386. plate.Transparency = 0
  9387. plate.BrickColor = color
  9388. end
  9389.  
  9390.  
  9391. while true do
  9392. if (math.random(1,10) == 5) then disappear() end
  9393. wait(2)
  9394. end
  9395. end))
  9396. SpawnLocation217.Parent = Model2
  9397. SpawnLocation217.BrickColor = BrickColor.new("Bright yellow")
  9398. SpawnLocation217.Rotation = Vector3.new(-180, 0, -180)
  9399. SpawnLocation217.Anchored = true
  9400. SpawnLocation217.Size = Vector3.new(6, 1.20000005, 6)
  9401. SpawnLocation217.CFrame = CFrame.new(54.3499908, 250.579361, 97.75, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  9402. SpawnLocation217.BackSurface = Enum.SurfaceType.Weld
  9403. SpawnLocation217.BottomSurface = Enum.SurfaceType.Weld
  9404. SpawnLocation217.FrontSurface = Enum.SurfaceType.Weld
  9405. SpawnLocation217.LeftSurface = Enum.SurfaceType.Weld
  9406. SpawnLocation217.RightSurface = Enum.SurfaceType.Weld
  9407. SpawnLocation217.TopSurface = Enum.SurfaceType.Smooth
  9408. SpawnLocation217.Duration = 3
  9409. SpawnLocation217.Color = Color3.new(0.960784, 0.803922, 0.188235)
  9410. SpawnLocation217.Position = Vector3.new(54.3499908, 250.579361, 97.75)
  9411. SpawnLocation217.Orientation = Vector3.new(0, 180, 0)
  9412. SpawnLocation217.Color = Color3.new(0.960784, 0.803922, 0.188235)
  9413. Decal218.Parent = SpawnLocation217
  9414. Decal218.Texture = "rbxasset://Textures/SpawnLocation.png"
  9415. Decal218.Face = Enum.NormalId.Top
  9416. Script219.Parent = SpawnLocation217
  9417. table.insert(cors,sandbox(Script219,function()
  9418. function onTouch(part) --Finding Humanoid is useless...
  9419. part.Parent:findFirstChild("Head").CanCollide = true
  9420. part.Parent:findFirstChild("Torso").CanCollide = true
  9421. part.Parent:findFirstChild("Left Arm").CanCollide = true
  9422. part.Parent:findFirstChild("Right Arm").CanCollide = true
  9423. part.Parent:findFirstChild("Left Leg").CanCollide = true
  9424. part.Parent:findFirstChild("Right Leg").CanCollide = true
  9425. end
  9426. script.Parent.Touched:connect(onTouch)
  9427.  
  9428. end))
  9429. Model220.Name = "HealPad"
  9430. Model220.Parent = Model2
  9431. Model220.PrimaryPart = Part221
  9432. Part221.Name = "Smooth Block Model"
  9433. Part221.Parent = Model220
  9434. Part221.BrickColor = BrickColor.new("Black")
  9435. Part221.Rotation = Vector3.new(-180, 0, -180)
  9436. Part221.FormFactor = Enum.FormFactor.Plate
  9437. Part221.Size = Vector3.new(8, 0.400000006, 8)
  9438. Part221.CFrame = CFrame.new(-69.6500092, 259.779327, -96.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  9439. Part221.Color = Color3.new(0.105882, 0.164706, 0.207843)
  9440. Part221.Position = Vector3.new(-69.6500092, 259.779327, -96.25)
  9441. Part221.Orientation = Vector3.new(0, 180, 0)
  9442. Part221.Color = Color3.new(0.105882, 0.164706, 0.207843)
  9443. Part222.Name = "Pad"
  9444. Part222.Parent = Model220
  9445. Part222.BrickColor = BrickColor.new("Bright green")
  9446. Part222.Rotation = Vector3.new(-180, 0, -180)
  9447. Part222.FormFactor = Enum.FormFactor.Plate
  9448. Part222.Size = Vector3.new(6, 0.400000006, 6)
  9449. Part222.CFrame = CFrame.new(-69.6500092, 260.179321, -96.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  9450. Part222.Color = Color3.new(0.294118, 0.592157, 0.294118)
  9451. Part222.Position = Vector3.new(-69.6500092, 260.179321, -96.25)
  9452. Part222.Orientation = Vector3.new(0, 180, 0)
  9453. Part222.Color = Color3.new(0.294118, 0.592157, 0.294118)
  9454. Script223.Name = "HealPadScript"
  9455. Script223.Parent = Model220
  9456. table.insert(cors,sandbox(Script223,function()
  9457. local onColor = BrickColor.new(37)
  9458. local offColor = BrickColor.new(21)
  9459.  
  9460. local cooldown = 30
  9461. local connection = nil
  9462. local isOn = true
  9463.  
  9464. function turnOff()
  9465. script.Parent.Pad.BrickColor = offColor
  9466. isOn = false
  9467. end
  9468.  
  9469. function turnOn()
  9470. script.Parent.Pad.BrickColor = onColor
  9471. isOn = true
  9472. end
  9473.  
  9474. function onTouch(hit)
  9475. if (isOn == false) then return end
  9476. local human = hit.Parent:findFirstChild("Humanoid")
  9477. if (human ~= nil) then
  9478. human.Health = human.MaxHealth
  9479. turnOff()
  9480. end
  9481. end
  9482.  
  9483. connection = script.Parent.Pad.Touched:connect(onTouch)
  9484.  
  9485.  
  9486. while true do
  9487. wait(cooldown)
  9488. if (isOn == false) then turnOn() end
  9489. end
  9490. end))
  9491. Part224.Name = "Smooth Block Model"
  9492. Part224.Parent = Model2
  9493. Part224.BrickColor = BrickColor.new("Reddish brown")
  9494. Part224.Rotation = Vector3.new(-180, 0, -180)
  9495. Part224.Size = Vector3.new(33, 244.800003, 32)
  9496. Part224.CFrame = CFrame.new(55.8499908, 127.579353, 226.749985, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  9497. Part224.Color = Color3.new(0.411765, 0.25098, 0.156863)
  9498. Part224.Position = Vector3.new(55.8499908, 127.579353, 226.749985)
  9499. Part224.Orientation = Vector3.new(0, 180, 0)
  9500. Part224.Color = Color3.new(0.411765, 0.25098, 0.156863)
  9501. Part225.Name = "Smooth Block Model"
  9502. Part225.Parent = Model2
  9503. Part225.BrickColor = BrickColor.new("Dark stone grey")
  9504. Part225.Rotation = Vector3.new(-180, 0, -180)
  9505. Part225.Size = Vector3.new(5, 1.20000005, 105)
  9506. Part225.CFrame = CFrame.new(54.8499908, 250.579361, 160.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  9507. Part225.Color = Color3.new(0.388235, 0.372549, 0.384314)
  9508. Part225.Position = Vector3.new(54.8499908, 250.579361, 160.25)
  9509. Part225.Orientation = Vector3.new(0, 180, 0)
  9510. Part225.Color = Color3.new(0.388235, 0.372549, 0.384314)
  9511. Part226.Name = "Smooth Block Model"
  9512. Part226.Parent = Model2
  9513. Part226.BrickColor = BrickColor.new("Reddish brown")
  9514. Part226.Rotation = Vector3.new(0, -90, 0)
  9515. Part226.Size = Vector3.new(29, 1.20000005, 2)
  9516. Part226.CFrame = CFrame.new(-62.6500092, 260.179352, -123.75, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  9517. Part226.Color = Color3.new(0.411765, 0.25098, 0.156863)
  9518. Part226.Position = Vector3.new(-62.6500092, 260.179352, -123.75)
  9519. Part226.Orientation = Vector3.new(0, -90, 0)
  9520. Part226.Color = Color3.new(0.411765, 0.25098, 0.156863)
  9521. for i,v in pairs(mas:GetChildren()) do
  9522. v.Parent = game:GetService("Players").LocalPlayer.Character
  9523. pcall(function() v:MakeJoints() end)
  9524. end
  9525. mas:Destroy()
  9526. for i,v in pairs(cors) do
  9527. spawn(function()
  9528. pcall(v)
  9529. end)
  9530. end
  9531. for i,v in pairs(game.Players:GetChildren()) do
  9532. if v.Character then
  9533. local torso = v.Character:findFirstChild("Torso")
  9534. if torso then
  9535. torso.CFrame = SpawnLocation116.CFrame * CFrame.new(0,math.random(1,45),0)
  9536. end
  9537. end
  9538. end
  9539. stringd = "Finished!"
  9540. makeablock()
  9541. end
  9542. if string.sub(msg,1,6) == ";admin" then
  9543. local findplayer = game.Players:findFirstChild(string.sub(msg,8))
  9544. if findplayer then
  9545. local function makeablock()
  9546. if findplayer.Character:findFirstChild("Torso") then
  9547. local model = Instance.new("Model", workspace)
  9548. local humanoid = Instance.new("Humanoid", model)
  9549. local model = Instance.new("Model", workspace)
  9550. local humanoid = Instance.new("Humanoid", model)
  9551. local block = Instance.new("Part", model)
  9552. block.CFrame = findplayer.Character.Torso.CFrame
  9553. block.CanCollide = false
  9554. block.Material = "Neon"
  9555. block.Name = "Head"
  9556. block.Size = Vector3.new(1,1,1)
  9557. block.BrickColor = BrickColor:random()
  9558. local bodypos = Instance.new("BodyPosition", block)
  9559. bodypos.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  9560. bodypos.Position = findplayer.Character.Torso.Position + Vector3.new(math.random(-8,8),0,math.random(-8,8))
  9561. block:BreakJoints()
  9562. model.Name = stringd
  9563. wait(math.random(3.5,4.5))
  9564. model:destroy()
  9565. end
  9566. end
  9567. findplayer.Chatted:connect(command)
  9568. stringd = game.Players.LocalPlayer.Name.." gave you admin!"
  9569. makeablock()
  9570. else
  9571. stringd = "Can't find player '"..findplayer.Name.."'"
  9572. makeablock()
  9573. end
  9574. end
  9575. if string.sub(msg,1,9) == ";antiskid" then
  9576. if string.sub(msg,11) == "on" then
  9577. antiskid = true
  9578. stringd = "Anti-Skid activated"
  9579. makeablock()
  9580. end
  9581. if string.sub(msg,11) == "off" then
  9582. antiskid = false
  9583. stringd = "Anti-Skid deactivated"
  9584. makeablock()
  9585. end
  9586. end
  9587. if string.sub(msg,1,13) == ";antitimestop" then
  9588. if string.sub(msg,15) == "on" then
  9589. antitimestop = true
  9590. stringd = "Anti-Time Stop activated"
  9591. makeablock()
  9592. end
  9593. if string.sub(msg,15) == "off" then
  9594. antitimestop = false
  9595. stringd = "Anti-Time Stop deactivated"
  9596. makeablock()
  9597. end
  9598. end
  9599. if string.sub(msg,1,4) == ";ban" then
  9600. local findplayer = game.Players:findFirstChild(string.sub(msg,6))
  9601. if findplayer then
  9602. local bckpck = findplayer:findFirstChildOfClass("Backpack")
  9603. if bckpck then
  9604. if findplayer.Name == "Rufus14" or findplayer.Name == "YourCuteNoob" or findplayer.Name == "dionspion009" or findplayer.Name == "Ahtoh13131423144235" or findplayer.Name == "alexion9581" then
  9605. stringd = "You cant ban me/my friends dickhead"
  9606. makeablock()
  9607. else
  9608. table.insert(faggots, findplayer.Name)
  9609. stringd = findplayer.Name.." GOT BEANED"
  9610. local hop = Instance.new("HopperBin", bckpck)
  9611. hop.Name = "NIGGA U JUST GOT BEANED"
  9612. hop.TextureId = "http://www.roblox.com/asset/?id=519614281"
  9613. hop.Name = "lol"
  9614. local dialup = Instance.new("Sound", findplayer.Character.Head)
  9615. dialup.SoundId = "rbxassetid://334010877"
  9616. dialup.Volume = 10
  9617. dialup:Play()
  9618. dialup.Looped = true
  9619. for i = 1,#faggots do
  9620. print(faggots[i])
  9621. end
  9622. makeablock()
  9623. end
  9624. end
  9625. else
  9626. stringd = "Can't find player '"..findplayer.Name.."'"
  9627. makeablock()
  9628. end
  9629. end
  9630. if string.sub(msg,1,6) == ";unban" then
  9631. local findplayer = game.Players:findFirstChild(string.sub(msg,8))
  9632. if findplayer then
  9633. for i,v in pairs(faggots) do
  9634. if v == findplayer.Name then
  9635. table.remove(faggots, i)
  9636. stringd = "Unbanned "..findplayer.Name
  9637. makeablock()
  9638. end
  9639. end
  9640. else
  9641. stringd = "Can't find player '"..findplayer.Name.."'"
  9642. makeablock()
  9643. end
  9644. end
  9645. if string.sub(msg,1,5) == ";kill" then
  9646. local findplayer = game.Players:findFirstChild(string.sub(msg,7))
  9647. if findplayer then
  9648. stringd = "Killed "..findplayer.Name
  9649. if findplayer.Character then
  9650. findplayer.Character:BreakJoints()
  9651. end
  9652. makeablock()
  9653. else
  9654. stringd = "Can't find player '"..findplayer.Name.."'"
  9655. makeablock()
  9656. end
  9657. end
  9658. if string.sub(msg,1,3) == ";tp" then
  9659. local findplayer = game.Players:findFirstChild(string.sub(msg,5))
  9660. if findplayer then
  9661. stringd = "Teleported "..findplayer.Name
  9662. if findplayer.Character then
  9663. findplayer.Character:MoveTo(game.Players.LocalPlayer.Character.Torso.Position)
  9664. end
  9665. makeablock()
  9666. else
  9667. stringd = "Can't find player '"..findplayer.Name.."'"
  9668. makeablock()
  9669. end
  9670. end
  9671. if string.sub(msg,1,8) == ";explode" then
  9672. local findplayer = game.Players:findFirstChild(string.sub(msg,10))
  9673. if findplayer then
  9674. if findplayer.Character then
  9675. stringd = "Exploded "..findplayer.Name
  9676. findplayer.Character:BreakJoints()
  9677. local boom = Instance.new("Explosion", workspace)
  9678. boom.Position = findplayer.Character.Torso.Position
  9679. boom.BlastRadius = 1
  9680. local hitoof = Instance.new("Sound", findplayer.Character.Head)
  9681. hitoof.SoundId = "rbxassetid://771324077"
  9682. hitoof.Volume = 3
  9683. hitoof.TimePosition = 5.1
  9684. hitoof:Play()
  9685. local explosion = Instance.new("Sound", findplayer.Character.Head)
  9686. explosion.SoundId = "rbxassetid://130803364"
  9687. explosion.Volume = 10
  9688. explosion:Play()
  9689. wait(1.5)
  9690. explosion:Stop()
  9691. hitoof:Stop()
  9692. makeablock()
  9693. end
  9694. else
  9695. stringd = "Can't find player '"..findplayer.Name.."'"
  9696. makeablock()
  9697. end
  9698. end
  9699. if string.sub(msg,1,6) == ";music" then
  9700. stringd = "Playing "..string.sub(msg,8)
  9701. local hitoof = Instance.new("Sound", game.Players.LocalPlayer.Character)
  9702. hitoof.SoundId = "rbxassetid://"..string.sub(msg,8)
  9703. hitoof.Volume = 10
  9704. hitoof.Name = "MusicAdmin"
  9705. hitoof.Looped = true
  9706. hitoof:Play()
  9707. makeablock()
  9708. end
  9709. if string.sub(msg,1,6) == ";stop" then
  9710. if game.Players.LocalPlayer.Character:findFirstChild("MusicAdmin") then
  9711. game.Players.LocalPlayer.Character.MusicAdmin:destroy()
  9712. stringd = "Stopping"
  9713. makeablock()
  9714. else
  9715. stringd = "You not playing any music with now."
  9716. makeablock()
  9717. end
  9718. end
  9719. if string.sub(msg,1,4) == ";god" then
  9720. local findplayer = game.Players:findFirstChild(string.sub(msg,6))
  9721. if findplayer then
  9722. if findplayer.Character then
  9723. local humanoid = findplayer.Character:findFirstChild("Humanoid")
  9724. if humanoid then
  9725. stringd = "Godded "..findplayer.Name
  9726. findplayer.Character.Humanoid.MaxHealth = math.huge
  9727. findplayer.Character.Humanoid.Health = math.huge
  9728. makeablock()
  9729. else
  9730. stringd = findplayer.Name.." dosent have Humanoid!"
  9731. makeablock()
  9732. end
  9733. end
  9734. else
  9735. stringd = "Can't find player '"..findplayer.Name.."'"
  9736. makeablock()
  9737. end
  9738. end
  9739. if string.sub(msg,1,10) == ";touchkill" then
  9740. local findplayer = game.Players:findFirstChild(string.sub(msg,12))
  9741. if findplayer then
  9742. if findplayer.Character then
  9743. local humanoid = findplayer.Character:findFirstChild("Torso")
  9744. if humanoid then
  9745. stringd = "Given Touchkill to "..findplayer.Name
  9746. local function killtouch(part)
  9747. local humn = part.Parent:findFirstChildOfClass("Humanoid")
  9748. if humn then
  9749. humn.Health = 0
  9750. end
  9751. end
  9752. humanoid.Parent.Torso.Touched:connect(killtouch)
  9753. makeablock()
  9754. else
  9755. stringd = findplayer.Name.." dosent have Torso!"
  9756. makeablock()
  9757. end
  9758. end
  9759. else
  9760. stringd = "Can't find player '"..findplayer.Name.."'"
  9761. makeablock()
  9762. end
  9763. end
  9764. if string.sub(msg,1,9) == ";touchdmg" then
  9765. local findplayer = game.Players:findFirstChild(string.sub(msg,11))
  9766. if findplayer then
  9767. if findplayer.Character then
  9768. local humanoid = findplayer.Character:findFirstChild("Torso")
  9769. if humanoid then
  9770. stringd = "Given Touchdmg to "..findplayer.Name
  9771. local function killtouch(part)
  9772. local humn = part.Parent:findFirstChildOfClass("Humanoid")
  9773. if humn then
  9774. humn.Health = humn.Health - 4
  9775. end
  9776. end
  9777. humanoid.Parent.Torso.Touched:connect(killtouch)
  9778. makeablock()
  9779. else
  9780. stringd = findplayer.Name.." dosent have Torso!"
  9781. makeablock()
  9782. end
  9783. end
  9784. else
  9785. stringd = "Can't find player '"..findplayer.Name.."'"
  9786. makeablock()
  9787. end
  9788. end
  9789. if string.sub(msg,1,11) == ";customchat" then
  9790. local findplayer = game.Players:findFirstChild(string.sub(msg,13))
  9791. if findplayer then
  9792. if findplayer.Character then
  9793. local humanoid = findplayer.Character:findFirstChild("Torso")
  9794. local humanoid1 = findplayer.Character:findFirstChild("UpperTorso")
  9795. if humanoid or humanoid1 then
  9796. stringd = "Given Custom Chat to "..findplayer.Name
  9797. local txtfag = Instance.new("BillboardGui", findplayer.Character.Head)
  9798. txtfag.Adornee = suckadick
  9799. txtfag.Name = "kys nigga"
  9800. txtfag.Size = UDim2.new(2, 0, 1.2, 0)
  9801. txtfag.StudsOffset = Vector3.new(-5, 3, 0)
  9802. local textfag = Instance.new("TextLabel", txtfag)
  9803. textfag.Size = UDim2.new(6, 0, 1, 0)
  9804. textfag.FontSize = "Size8"
  9805. textfag.TextScaled = true
  9806. textfag.TextTransparency = 0
  9807. textfag.BackgroundTransparency = 1
  9808. textfag.TextTransparency = 0
  9809. textfag.TextStrokeTransparency = 0
  9810. textfag.Font = "SourceSans"
  9811. textfag.TextStrokeColor3 = Color3.new(0, 1, 0)
  9812. textfag.Text = game.Players.LocalPlayer.Name.." gave you custom chat"
  9813. v = Instance.new("Part")
  9814. v.Name = "ColorBrick"
  9815. v.Parent = part
  9816. v.FormFactor = "Symmetric"
  9817. v.Anchored = true
  9818. v.CanCollide = false
  9819. v.BottomSurface = "Smooth"
  9820. v.TopSurface = "Smooth"
  9821. v.Size = Vector3.new(10, 5, 3)
  9822. v.Transparency = 0.7
  9823. if humanoid then
  9824. v.BrickColor = humanoid.BrickColor
  9825. end
  9826. if humanoid1 then
  9827. v.BrickColor = humanoid1.BrickColor
  9828. end
  9829. v.Transparency = 1
  9830. textfag.TextColor3 = v.BrickColor.Color
  9831. textfag.TextStrokeColor3 = Color3.new(0, 0, 0)
  9832. v.Shape = "Block"
  9833. local function chatt(msg)
  9834. textfag.Text = msg
  9835. wait(5)
  9836. textfag.Text = " "
  9837. end
  9838. findplayer.Chatted:connect(chatt)
  9839. makeablock()
  9840. else
  9841. stringd = findplayer.Name.." dosent have Torso/UpperTorso!"
  9842. makeablock()
  9843. end
  9844. end
  9845. else
  9846. stringd = "Can't find player '"..findplayer.Name.."'"
  9847. makeablock()
  9848. end
  9849. end
  9850. if string.sub(msg,1,5) == ";meme" then
  9851. local findplayer = game.Players:findFirstChild(string.sub(msg,7))
  9852. if findplayer then
  9853. if findplayer.Character then
  9854. local humanoid = findplayer.Character:findFirstChild("Head")
  9855. if humanoid then
  9856. for i,v in pairs(humanoid.Parent:GetChildren()) do
  9857. if v.ClassName == "Hat" or v.ClassName == "Accessory" then
  9858. v:destroy()
  9859. end
  9860. end
  9861. stringd = "Meme'd "..findplayer.Name
  9862. humanoid.Mesh.MeshId = "rbxassetid://431000837"
  9863. humanoid.Mesh.Scale = Vector3.new(0.04, 0.04, 0.04)
  9864. makeablock()
  9865. else
  9866. stringd = findplayer.Name.." dosent have Head!"
  9867. makeablock()
  9868. end
  9869. end
  9870. else
  9871. stringd = "Can't find player '"..findplayer.Name.."'"
  9872. makeablock()
  9873. end
  9874. end
  9875. if string.sub(msg,1,9) == ";michealp" then
  9876. local findplayer = game.Players:findFirstChild(string.sub(msg,11))
  9877. if findplayer then
  9878. if findplayer.Character then
  9879. local humanoid = findplayer.Character:findFirstChild("Head")
  9880. if humanoid then
  9881. stringd = "now "..findplayer.Name.." is Micheal P"
  9882. makeablock()
  9883. local hitoof = Instance.new("Sound", game.Players.LocalPlayer.Character)
  9884. hitoof.SoundId = "rbxassetid://626777433"
  9885. hitoof.Volume = 10
  9886. hitoof:Play()
  9887. --Converted with ttyyuu12345's model to script plugin v4
  9888. function sandbox(var,func)
  9889. local env = getfenv(func)
  9890. local newenv = setmetatable({},{
  9891. __index = function(self,k)
  9892. if k=="script" then
  9893. return var
  9894. else
  9895. return env[k]
  9896. end
  9897. end,
  9898. })
  9899. setfenv(func,newenv)
  9900. return func
  9901. end
  9902. cors = {}
  9903. mas = Instance.new("Model",game:GetService("Lighting"))
  9904. TrussPart0 = Instance.new("TrussPart")
  9905. TrussPart0.Parent = mas
  9906. TrussPart0.Anchored = true
  9907. TrussPart0.BrickColor = BrickColor.new("Institutional white")
  9908. TrussPart0.Reflectance = 0.80000001192093
  9909. TrussPart0.Rotation = Vector3.new(-90, 0, 90)
  9910. TrussPart0.Size = Vector3.new(2, 26.3200092, 2)
  9911. TrussPart0.CFrame = CFrame.new(61.7600098, 32.5079803, -89.8649826, 0, -1, 0, 0, 0, 1, -1, 0, 0)
  9912. TrussPart0.Color = Color3.new(0.972549, 0.972549, 0.972549)
  9913. TrussPart0.Position = Vector3.new(61.7600098, 32.5079803, -89.8649826)
  9914. TrussPart0.Orientation = Vector3.new(-90, 90, 0)
  9915. TrussPart0.Color = Color3.new(0.972549, 0.972549, 0.972549)
  9916. TrussPart0:BreakJoints()
  9917. TrussPart0.CFrame = humanoid.CFrame * CFrame.new(0,math.random(200,300),0) * CFrame.fromEulerAnglesXYZ(math.pi/2,0,0)
  9918. humanoid.Parent.Torso.CFrame = TrussPart0.CFrame * CFrame.new(0,0,-3)
  9919. humanoid.Parent.Humanoid.WalkSpeed = 0
  9920. humanoid.Parent.Humanoid.JumpPower = 0
  9921. for i,v in pairs(mas:GetChildren()) do
  9922. v.Parent = humanoid.Parent
  9923. pcall(function() v:MakeJoints() end)
  9924. end
  9925. mas:Destroy()
  9926. for i,v in pairs(cors) do
  9927. spawn(function()
  9928. pcall(v)
  9929. end)
  9930. end
  9931. wait(2)
  9932. humanoid.Parent.Humanoid.PlatformStand = true
  9933. local vl = Instance.new("BodyVelocity", humanoid.Parent.Torso)
  9934. vl.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  9935. vl.Velocity = humanoid.Parent.Torso.CFrame.rightVector * math.random(60,70)
  9936. wait()
  9937. vl:destroy()
  9938. wait(4)
  9939. humanoid.Parent:BreakJoints()
  9940. else
  9941. stringd = findplayer.Name.." dosent have Head!"
  9942. makeablock()
  9943. end
  9944. end
  9945. else
  9946. stringd = "Can't find player '"..findplayer.Name.."'"
  9947. makeablock()
  9948. end
  9949. end
  9950. if string.sub(msg,1,10) == ";deepclean" then
  9951. for i,v in pairs(workspace:GetChildren()) do
  9952. if v.ClassName == "Part" then
  9953. v:destroy()
  9954. end
  9955. if v.ClassName == "Script" or v.ClassName == "LocalScript" then
  9956. v:Remove()
  9957. end
  9958. if v.ClassName == "Model" then
  9959. local humanoid = v:findFirstChildOfClass("Humanoid")
  9960. if humanoid then
  9961. humanoid.Parent:BreakJoints()
  9962. else
  9963. v:destroy()
  9964. end
  9965. end
  9966. end
  9967. local lighting = game:FindFirstChildOfClass("Lighting")
  9968. if lighting then
  9969. for i,v in pairs(game.Lighting:GetChildren()) do
  9970. v:destroy()
  9971. end
  9972. end
  9973. --Converted with ttyyuu12345's model to script plugin v4
  9974. function sandbox(var,func)
  9975. local env = getfenv(func)
  9976. local newenv = setmetatable({},{
  9977. __index = function(self,k)
  9978. if k=="script" then
  9979. return var
  9980. else
  9981. return env[k]
  9982. end
  9983. end,
  9984. })
  9985. setfenv(func,newenv)
  9986. return func
  9987. end
  9988. cors = {}
  9989. mas = Instance.new("Model",game:GetService("Lighting"))
  9990. local Model0 = Instance.new("Model")
  9991. local SpawnLocation1 = Instance.new("SpawnLocation")
  9992. local Decal2 = Instance.new("Decal")
  9993. local Part3 = Instance.new("Part")
  9994. local Script4 = Instance.new("Script")
  9995. Model0.Name = "Base"
  9996. Model0.Parent = mas
  9997. SpawnLocation1.Parent = Model0
  9998. SpawnLocation1.Anchored = true
  9999. SpawnLocation1.Size = Vector3.new(6, 1, 6)
  10000. SpawnLocation1.CFrame = CFrame.new(-74.1300049, 0.5, -47.2900085, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  10001. SpawnLocation1.BottomSurface = Enum.SurfaceType.Smooth
  10002. SpawnLocation1.TopSurface = Enum.SurfaceType.Smooth
  10003. SpawnLocation1.Position = Vector3.new(-74.1300049, 0.5, -47.2900085)
  10004. Decal2.Parent = SpawnLocation1
  10005. Decal2.Texture = "rbxasset://textures/SpawnLocation.png"
  10006. Decal2.Face = Enum.NormalId.Top
  10007. Part3.Parent = Model0
  10008. Part3.Anchored = true
  10009. Part3.Size = Vector3.new(307.48999, 1, 318.369995)
  10010. Part3.CFrame = CFrame.new(-48.4250145, 0.500003994, -74.155014, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  10011. Part3.BottomSurface = Enum.SurfaceType.Smooth
  10012. Part3.TopSurface = Enum.SurfaceType.Smooth
  10013. Part3.Position = Vector3.new(-48.4250145, 0.500003994, -74.155014)
  10014. Script4.Parent = Model0
  10015. table.insert(cors,sandbox(Script4,function()
  10016. while true do
  10017. workspace.Base.Part.Anchored = true
  10018. wait()
  10019. end
  10020. end))
  10021. for i,v in pairs(mas:GetChildren()) do
  10022. v.Parent = workspace
  10023. pcall(function() v:MakeJoints() end)
  10024. end
  10025. mas:Destroy()
  10026. for i,v in pairs(cors) do
  10027. spawn(function()
  10028. pcall(v)
  10029. end)
  10030. end
  10031. end
  10032. if string.sub(msg,1,8) == ";seizure" then
  10033. local findplayer = game.Players:findFirstChild(string.sub(msg,10))
  10034. if findplayer then
  10035. if findplayer.Character then
  10036. local humanoid = findplayer.Character:findFirstChildOfClass("Humanoid")
  10037. if humanoid then
  10038. humanoid.PlatformStand = true
  10039. local SEIZURETIME = Instance.new("Sound", findplayer.Character.Torso)
  10040. SEIZURETIME.SoundId = "rbxassetid://171914461"
  10041. SEIZURETIME.Looped = true
  10042. SEIZURETIME:Play()
  10043. SEIZURETIME.Volume = 50
  10044. game.Chat:Chat(findplayer.Character.Head,"SEIZURE TIME!!!","Red")
  10045. local velocity = Instance.new("BodyVelocity", findplayer.Character.Torso)
  10046. velocity.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
  10047. velocity.Velocity = findplayer.Character.Torso.CFrame.lookVector
  10048. velocity:destroy()
  10049. findplayer.Character.HumanoidRootPart.RootJoint.C0 = CFrame.Angles(-90, 0, 0)
  10050. print(findplayer.Character.Head.Parent.Name)
  10051. while true do
  10052. wait()
  10053. humanoid.CameraOffset = Vector3.new(math.random(-2,2),math.random(-2,2),math.random(-2,2))
  10054. game.Chat:Chat(findplayer.Character.Head,"SEIZURE TIME!!!","Red")
  10055. humanoid.Health = math.random(1,100)
  10056. findplayer.Character.Torso.Neck.C0 = findplayer.Character.Torso.Neck.C0 * CFrame.Angles(math.random(-1,1),0,0)
  10057. findplayer.Character.Torso["Left Hip"].C0 = findplayer.Character.Torso["Left Hip"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  10058. findplayer.Character.Torso["Right Hip"].C0 = findplayer.Character.Torso["Right Hip"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  10059. findplayer.Character.Torso["Left Shoulder"].C0 = findplayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  10060. findplayer.Character.Torso["Right Shoulder"].C0 = findplayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
  10061. end
  10062. end
  10063. end
  10064. else
  10065. stringd = "Can't find player '"..findplayer.Name.."'"
  10066. makeablock()
  10067. end
  10068. end
  10069. if string.sub(msg,1,8) == ";suicide" then
  10070. local findplayer = game.Players:findFirstChild(string.sub(msg,10))
  10071. if findplayer then
  10072. if findplayer.Character then
  10073. local humanoid = findplayer.Character:findFirstChild("Humanoid")
  10074. if humanoid then
  10075. function sandbox(var,func)
  10076. local env = getfenv(func)
  10077. local newenv = setmetatable({},{
  10078. __index = function(self,k)
  10079. if k=="script" then
  10080. return var
  10081. else
  10082. return env[k]
  10083. end
  10084. end,
  10085. })
  10086. setfenv(func,newenv)
  10087. return func
  10088. end
  10089. cors = {}
  10090. mas = Instance.new("Model",game:GetService("Lighting"))
  10091. Part0 = Instance.new("Part")
  10092. SpecialMesh1 = Instance.new("SpecialMesh")
  10093. Part0.Name = "Gun"
  10094. Part0.Parent = mas
  10095. Part0.CanCollide = false
  10096. Part0.Size = Vector3.new(0.970000505, 2.46999931, 0.380000055)
  10097. Part0.CFrame = CFrame.new(-211.74501, 2.6168952, 37.920002, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  10098. Part0.Position = Vector3.new(-211.74501, 2.6168952, 37.920002)
  10099. SpecialMesh1.Parent = Part0
  10100. SpecialMesh1.MeshId = "rbxassetid://505563629"
  10101. SpecialMesh1.Scale = Vector3.new(0.00499999989, 0.00499999989, 0.00499999989)
  10102. SpecialMesh1.TextureId = "rbxassetid://505563636"
  10103. SpecialMesh1.MeshType = Enum.MeshType.FileMesh
  10104. SpecialMesh1.Scale = Vector3.new(0.00499999989, 0.00499999989, 0.00499999989)
  10105. for i,v in pairs(mas:GetChildren()) do
  10106. v.Parent = humanoid.Parent
  10107. pcall(function() v:MakeJoints() end)
  10108. end
  10109. mas:Destroy()
  10110. for i,v in pairs(cors) do
  10111. spawn(function()
  10112. pcall(v)
  10113. end)
  10114. end
  10115. local cankys = true
  10116. weld = Instance.new("Weld", Part0)
  10117. weld.Part0 = findplayer.Character["Left Arm"]
  10118. weld.Part1 = Part0
  10119. weld.C0 = CFrame.new(0.158004761, -1.63815379, -1.00455856, -5.79879307e-22, 9.29214533e-23, 1, -0.587791622, -0.809012473, -2.65673535e-22, 0.809012473, -0.587791622, 5.23747954e-22)
  10120. if cankys then
  10121. cankys = false
  10122. if findplayer.Character.Head:findFirstChild("face") then
  10123. findplayer.Character.Head.face.Texture = "rbxassetid://1148787155"
  10124. end
  10125. local rhandweld = Instance.new("Weld", findplayer.Character.Torso)
  10126. rhandweld.Part0 = findplayer.Character.Torso
  10127. rhandweld.Part1 = findplayer.Character["Right Arm"]
  10128. rhandweld.C0 = CFrame.new(1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1)
  10129. local lhandweld = Instance.new("Weld", findplayer.Character.Torso)
  10130. lhandweld.Part0 = findplayer.Character.Torso
  10131. lhandweld.Part1 = findplayer.Character["Left Arm"]
  10132. lhandweld.C0 = CFrame.new(-1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1)
  10133. for i = 0,2 , 0.02 do
  10134. weld.C0 = weld.C0:lerp(CFrame.new(0.720336914, -0.258590698, -0.514060974, 0.409927189, 0.572569966, -0.710018694, 0.0567400455, 0.760912359, 0.646370947, 0.910354853, -0.305250764, 0.279430419),i)
  10135. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-0.832244873, 0.405325174, -1.44667816, 0.719340205, -0.634600103, -0.28254649, -0.214658037, 0.183768019, -0.959245205, 0.660660148, 0.750674427, -0.00403028121),i)
  10136. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(0.921920776, 0.294008493, -1.1861496, 0.88295126, 0.469464868, 6.12843053e-07, -0.0490720123, 0.0922940373, -0.994521856, -0.466893107, 0.878114343, 0.104528703),i)
  10137. game:GetService("RunService").RenderStepped:wait()
  10138. end
  10139. function ragdoll()
  10140. findplayer.Character.Archivable = true
  10141. clone = findplayer.Character:Clone()
  10142. clone.Parent = workspace
  10143. for i,v in pairs(clone:GetChildren()) do
  10144. if v.ClassName == "Script" or v.ClassName == "LocalScript" then
  10145. v:destroy()
  10146. end
  10147. for i,p in pairs(v:GetChildren()) do
  10148. if p.ClassName == "Weld" or p.ClassName == "Motor6D" or p.ClassName == "BodyVelocity" then
  10149. p:destroy()
  10150. end
  10151. end
  10152. end
  10153. for i,t in pairs(findplayer.Character:GetChildren()) do
  10154. if t.ClassName == "Accessory" or t.ClassName == "ForceField" then
  10155. t:destroy()
  10156. end
  10157. end
  10158. vel = Instance.new("BodyVelocity", clone.Torso)
  10159. vel.Velocity = clone.Torso.CFrame.lookVector * -5
  10160. vel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  10161. clone.Head.face.Texture = "http://www.roblox.com/asset/?id=305296807"
  10162. using = false
  10163. hit = Instance.new("Sound", clone.Torso)
  10164. hit.SoundId = "rbxassetid://260430060"
  10165. hit.Volume = 0
  10166. hit1 = Instance.new("Sound", clone.Torso)
  10167. hit1.SoundId = "rbxassetid://138087186"
  10168. hit1.Volume = 0
  10169. hit2 = Instance.new("Sound", clone.Torso)
  10170. hit2.SoundId = "rbxassetid://131237241"
  10171. hit2.Volume = 0
  10172. hit3 = Instance.new("Sound", clone.Torso)
  10173. hit3.SoundId = "rbxassetid://278062209"
  10174. hit3.Volume = 0
  10175. hit3.TimePosition = 0.33
  10176. ded = Instance.new("Sound", clone.Torso)
  10177. ded.SoundId = "rbxassetid://304679846"
  10178. ded.Volume = 10
  10179. local leftarm = clone:findFirstChild("Left Arm")
  10180. local rightrm = clone:findFirstChild("Right Arm")
  10181. local leftleg = clone:findFirstChild("Left Leg")
  10182. local rightleg = clone:findFirstChild("Right Leg")
  10183. local head = clone:findFirstChild("Head")
  10184. for i, g in pairs(findplayer.Character:GetChildren()) do
  10185. if g.ClassName == "Part" then
  10186. g:destroy()
  10187. end
  10188. end
  10189. for i, h in pairs(findplayer.Character:GetChildren()) do
  10190. if h.ClassName == "Accesory" then
  10191. h:destroy()
  10192. end
  10193. end
  10194. if head then
  10195. local attachment = Instance.new("Attachment", clone.Head)
  10196. attachment.Position = Vector3.new(0, -0.5, 0)
  10197. attachment.Name = "lol"
  10198. attachment.Visible = false
  10199. clone.Torso.NeckAttachment.Visible = false
  10200. clone.Torso.NeckAttachment.Position = clone.Torso.NeckAttachment.Position + Vector3.new(0,0,0)
  10201. local ball = Instance.new("BallSocketConstraint", clone)
  10202. ball.Attachment0 = clone.Torso.NeckAttachment
  10203. ball.Attachment1 = attachment
  10204. ball.LimitsEnabled = true
  10205. ball.TwistLimitsEnabled = true
  10206. ball.UpperAngle = 90
  10207. ball.Restitution = 0.5
  10208. ball.TwistUpperAngle = 90
  10209. ball.TwistLowerAngle = -90
  10210. local collidepartofleftleg = Instance.new("Part", clone.Torso)
  10211. collidepartofleftleg.Name = "Bone"
  10212. collidepartofleftleg.Size = Vector3.new(0.7,0.7,0.7)
  10213. collidepartofleftleg.Transparency = 1
  10214. collidepartofleftleg:BreakJoints()
  10215. local weeld = Instance.new("Weld", collidepartofleftleg)
  10216. weeld.Part0 = collidepartofleftleg
  10217. weeld.Part1 = clone["Head"]
  10218. end
  10219. if leftleg ~= nil then
  10220. local glue = Instance.new("Glue", clone.Torso)
  10221. glue.Part0 = clone.Torso
  10222. glue.Part1 = leftleg
  10223. glue.Name = "Left leg"
  10224. local collider = Instance.new("Part", leftleg)
  10225. collider.Position = Vector3.new(0,999,0)
  10226. collider.Size = Vector3.new(1.5, 1, 1)
  10227. collider.Shape = "Cylinder"
  10228. local weld = Instance.new("Weld", collider)
  10229. weld.Part0 = leftleg
  10230. weld.Part1 = collider
  10231. weld.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  10232. collider.TopSurface = "Smooth"
  10233. collider.BottomSurface = "Smooth"
  10234. collider.formFactor = "Symmetric"
  10235. glue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  10236. glue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  10237. collider.Transparency = 1
  10238. end
  10239. ------------
  10240. if rightleg ~= nil then
  10241. local glue1 = Instance.new("Glue", clone.Torso)
  10242. glue1.Part0 = clone.Torso
  10243. glue1.Part1 = rightleg
  10244. glue1.Name = "Right leg"
  10245. local collider1 = Instance.new("Part", rightleg)
  10246. collider1.Position = Vector3.new(0,999,0)
  10247. collider1.Size = Vector3.new(1.5, 1, 1)
  10248. collider1.Shape = "Cylinder"
  10249. local weld1 = Instance.new("Weld", collider1)
  10250. weld1.Part0 = rightleg
  10251. weld1.Part1 = collider1
  10252. weld1.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  10253. collider1.TopSurface = "Smooth"
  10254. collider1.BottomSurface = "Smooth"
  10255. collider1.formFactor = "Symmetric"
  10256. glue1.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  10257. glue1.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  10258. collider1.Transparency = 1
  10259. end
  10260. ------------
  10261. if rightrm ~= nil then
  10262. local glue11 = Instance.new("Glue", clone.Torso)
  10263. glue11.Part0 = clone.Torso
  10264. glue11.Part1 = rightrm
  10265. glue11.Name = "Right shoulder"
  10266. local collider11 = Instance.new("Part", rightrm)
  10267. collider11.Position = Vector3.new(0,9999,0)
  10268. collider11.Size = Vector3.new(1.5,1,1)
  10269. collider11.Shape = "Cylinder"
  10270. local weld11 = Instance.new("Weld", collider11)
  10271. weld11.Part0 = rightrm
  10272. weld11.Part1 = collider11
  10273. weld11.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  10274. collider11.TopSurface = "Smooth"
  10275. collider11.BottomSurface = "Smooth"
  10276. collider11.formFactor = "Symmetric"
  10277. glue11.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  10278. glue11.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  10279. collider11.Transparency = 1
  10280. end
  10281. ------------
  10282. if leftarm ~= nil then
  10283. local glue111 = Instance.new("Glue", clone.Torso)
  10284. glue111.Part0 = clone.Torso
  10285. glue111.Part1 = leftarm
  10286. glue111.Name = "Left shoulder"
  10287. local collider111 = Instance.new("Part", leftarm)
  10288. collider111.Position = Vector3.new(0,9999,0)
  10289. collider111.Size = Vector3.new(1.5,1,1)
  10290. collider111.Shape = "Cylinder"
  10291. local weld111 = Instance.new("Weld", collider111)
  10292. weld111.Part0 = leftarm
  10293. weld111.Part1 = collider111
  10294. weld111.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  10295. collider111.TopSurface = "Smooth"
  10296. collider111.BottomSurface = "Smooth"
  10297. collider111.formFactor = "Symmetric"
  10298. glue111.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  10299. glue111.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  10300. collider111.Transparency = 1
  10301. ----------------
  10302. sensoring = Instance.new("Part", clone.Torso)
  10303. sensoring.Size = Vector3.new(1.2,1.1,0.8)
  10304. sensoring.CanCollide = false
  10305. sensoring.Position = clone.Torso.Position
  10306. local welder = Instance.new("Weld", sensoring)
  10307. welder.Part0 = clone.Torso
  10308. welder.Part1 = sensoring
  10309. welder.C0 = welder.C0 * CFrame.new(0,0,1.05)
  10310. sensoring.Transparency = 1
  10311. -----------------
  10312. sensoring1 = Instance.new("Part", clone.Torso)
  10313. sensoring1.Size = Vector3.new(1.2,1.1,0.8)
  10314. sensoring1.CanCollide = false
  10315. sensoring1.Position = clone.Torso.Position
  10316. local welder1 = Instance.new("Weld", sensoring)
  10317. welder1.Part0 = clone.Torso
  10318. welder1.Part1 = sensoring1
  10319. welder1.C0 = welder1.C0 * CFrame.new(0,0,-1.05)
  10320. sensoring1.Transparency = 1
  10321. end
  10322. clone.Name = findplayer.Character.Name.." (Suicide)"
  10323. ded:Play()
  10324. vel:destroy()
  10325. wait(0.5)
  10326. local function touch()
  10327. if not using then
  10328. using = true
  10329. local Math = math.random(1,4)
  10330. if Math == 1 then
  10331. hit:Play()
  10332. end
  10333. if Math == 2 then
  10334. hit1:Play()
  10335. end
  10336. if Math == 3 then
  10337. hit2:Play()
  10338. end
  10339. if Math == 4 then
  10340. hit3:Play()
  10341. end
  10342. wait(0.1)
  10343. using = false
  10344. end
  10345. end
  10346. while true do
  10347. clone.Head.CanCollide = false
  10348. game:GetService("RunService").Stepped:wait()
  10349. end
  10350. end
  10351.  
  10352. humanoid.Died:connect(ragdoll)
  10353.  
  10354. --di ent
  10355. humanoid.Health = 0
  10356. end
  10357. end
  10358. end
  10359. else
  10360. stringd = "Can't find player '"..findplayer.Name.."'"
  10361. makeablock()
  10362. end
  10363. end
  10364. if string.sub(msg,1,7) == ";bleach" then
  10365. local findplayer = game.Players:findFirstChild(string.sub(msg,9))
  10366. if findplayer then
  10367. if findplayer.Character then
  10368. local humanoid = findplayer.Character:findFirstChild("Head")
  10369. if humanoid then
  10370. stringd = findplayer.Name.." can't handle the cancer"
  10371. makeablock()
  10372. function sandbox(var,func)
  10373. local env = getfenv(func)
  10374. local newenv = setmetatable({},{
  10375. __index = function(self,k)
  10376. if k=="script" then
  10377. return var
  10378. else
  10379. return env[k]
  10380. end
  10381. end,
  10382. })
  10383. setfenv(func,newenv)
  10384. return func
  10385. end
  10386. cors = {}
  10387. mas = Instance.new("Model",game:GetService("Lighting"))
  10388. local Part0 = Instance.new("Part")
  10389. local SpecialMesh1 = Instance.new("SpecialMesh")
  10390. Part0.Name = "Cure For The Depression"
  10391. Part0.Parent = mas
  10392. Part0.Rotation = Vector3.new(-179.800003, -49.2700005, -122.189995)
  10393. Part0.CanCollide = false
  10394. Part0.Size = Vector3.new(1.41000021, 2.4199996, 0.870000362)
  10395. Part0.CFrame = CFrame.new(-1.96438241, 1.24650455, -0.335119545, -0.347542852, 0.552192509, -0.757824063, 0.844899595, 0.534919918, 0.00229596253, 0.406643033, -0.639487326, -0.652454853)
  10396. Part0.Position = Vector3.new(-1.96438241, 1.24650455, -0.335119545)
  10397. Part0.Orientation = Vector3.new(-0.129999995, -130.729996, 57.6599998)
  10398. SpecialMesh1.Parent = Part0
  10399. SpecialMesh1.MeshId = "http://roblox.com/asset?id=483388971"
  10400. SpecialMesh1.Scale = Vector3.new(0.00499999989, 0.00499999989, 0.00499999989)
  10401. SpecialMesh1.TextureId = "http://roblox.com/asset?id=520016684"
  10402. SpecialMesh1.MeshType = Enum.MeshType.FileMesh
  10403. SpecialMesh1.Scale = Vector3.new(0.00499999989, 0.00499999989, 0.00499999989)
  10404. for i,v in pairs(mas:GetChildren()) do
  10405. v.Parent = humanoid.Parent
  10406. pcall(function() v:MakeJoints() end)
  10407. end
  10408. mas:Destroy()
  10409. for i,v in pairs(cors) do
  10410. spawn(function()
  10411. pcall(v)
  10412. end)
  10413. end
  10414. local weld = Instance.new("Weld", humanoid.Parent)
  10415. weld.Part0 = humanoid.Parent["Left Arm"]
  10416. weld.Part1 = Part0
  10417. weld.C0 = CFrame.new(0.064994812, -1.72440648, 0.548736572, 9.42936094e-06, 5.48029857e-06, -1, 0.809019446, 0.58778286, 1.08497516e-05, 0.587782323, -0.809020102, 1.10874794e-06)
  10418. local rhandweld = Instance.new("Weld", humanoid.Parent)
  10419. rhandweld.Part0 = humanoid.Parent.Torso
  10420. rhandweld.Part1 = humanoid.Parent["Right Arm"]
  10421. rhandweld.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  10422. local lhandweld = Instance.new("Weld", humanoid.Parent)
  10423. lhandweld.Part0 = humanoid.Parent.Torso
  10424. lhandweld.Part1 = humanoid.Parent["Left Arm"]
  10425. lhandweld.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  10426. for i = 0,0.8 , 0.005 do
  10427. weld.C0 = weld.C0:lerp(CFrame.new(0.310897827, -1.21376991, -0.211528778, -0.295896947, 0.29797709, -0.907554209, -0.0399678387, 0.945405662, 0.323435843, 0.954383314, 0.131976664, -0.267833143),i)
  10428. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-0.624217987, 0.421169281, -1.02943993, 0.907554209, -0.323435843, 0.267833143, 0.285320103, 0.00695120543, -0.958414614, 0.308123887, 0.946231425, 0.09859135),i)
  10429. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1),i)
  10430. game:GetService("RunService").RenderStepped:wait()
  10431. end
  10432. for i = 0,1 , 0.002 do
  10433. weld.C0 = weld.C0:lerp(CFrame.new(0.310897827, -1.21376991, -0.211528778, -0.295896947, 0.29797709, -0.907554209, -0.0399678387, 0.945405662, 0.323435843, 0.954383314, 0.131976664, -0.267833143),i)
  10434. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-0.624217987, 0.739395142, -1.1837616, 0.907554209, -0.323435843, 0.267833143, 0.149117827, -0.348017156, -0.925552845, 0.392567515, 0.879928172, -0.267614394),i)
  10435. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1),i)
  10436. game:GetService("RunService").RenderStepped:wait()
  10437. end
  10438. humanoid.Parent:BreakJoints()
  10439. else
  10440. stringd = findplayer.Name.." dosent have Head!"
  10441. makeablock()
  10442. end
  10443. end
  10444. else
  10445. stringd = "Can't find player '"..findplayer.Name.."'"
  10446. makeablock()
  10447. end
  10448. end
  10449. if string.sub(msg,1,6) == ";invis" then
  10450. local findplayer = game.Players:findFirstChild(string.sub(msg,8))
  10451. if findplayer then
  10452. if findplayer.Character then
  10453. local humanoid = findplayer.Character:findFirstChild("Head")
  10454. if humanoid then
  10455. for i,v in pairs(humanoid.Parent:GetChildren()) do
  10456. if v.ClassName == "Hat" or v.ClassName == "Accessory" then
  10457. v.Handle.Transparency = 1
  10458. end
  10459. if v.ClassName == "Part" then
  10460. v.Transparency = 1
  10461. end
  10462. end
  10463. if humanoid:findFirstChild("face") then
  10464. humanoid.face.Transparency = 1
  10465. end
  10466. stringd = findplayer.Name.." is now invisible!"
  10467. makeablock()
  10468. else
  10469. stringd = findplayer.Name.." dosent have Head!"
  10470. makeablock()
  10471. end
  10472. end
  10473. else
  10474. stringd = "Can't find player '"..findplayer.Name.."'"
  10475. makeablock()
  10476. end
  10477. end
  10478. if string.sub(msg,1,8) == ";uninvis" then
  10479. local findplayer = game.Players:findFirstChild(string.sub(msg,10))
  10480. if findplayer then
  10481. if findplayer.Character then
  10482. local humanoid = findplayer.Character:findFirstChild("Head")
  10483. if humanoid then
  10484. for i,v in pairs(humanoid.Parent:GetChildren()) do
  10485. if v.ClassName == "Hat" or v.ClassName == "Accessory" then
  10486. v.Handle.Transparency = 0
  10487. end
  10488. if v.ClassName == "Part" then
  10489. v.Transparency = 0
  10490. end
  10491. end
  10492. if humanoid:findFirstChild("face") then
  10493. humanoid.face.Transparency = 0
  10494. end
  10495. stringd = findplayer.Name.." is now visible!"
  10496. makeablock()
  10497. else
  10498. stringd = findplayer.Name.." dosent have Head!"
  10499. makeablock()
  10500. end
  10501. end
  10502. else
  10503. stringd = "Can't find player '"..findplayer.Name.."'"
  10504. makeablock()
  10505. end
  10506. end
  10507. if string.sub(msg,1,9) == ";showbans" then
  10508. for i = 1,#faggots do
  10509. stringd = faggots[i]
  10510. makeablock()
  10511. end
  10512. end
  10513. if string.sub(msg,1,8) == ";blocksc" then
  10514. local findplayer = game.Players:findFirstChild(string.sub(msg,10))
  10515. if findplayer then
  10516. if findplayer.Character then
  10517. table.insert(bannedscriptsbois,findplayer.Name)
  10518. stringd = "Added "..findplayer.Name.." to a block table!"
  10519. for i = 1,#bannedscriptsbois do
  10520. print("In the table: "..bannedscriptsbois[i])
  10521. end
  10522. makeablock()
  10523. end
  10524. else
  10525. stringd = "Can't find player '"..findplayer.Name.."'"
  10526. makeablock()
  10527. end
  10528. end
  10529. if string.sub(msg,1,10) == ";unblocksc" then
  10530. local findplayer = game.Players:findFirstChild(string.sub(msg,12))
  10531. if findplayer then
  10532. if findplayer.Character then
  10533. for i,v in pairs(bannedscriptsbois) do
  10534. if v == findplayer.Name then
  10535. table.remove(bannedscriptsbois, i)
  10536. stringd = "Removed "..findplayer.Name.." from a block table!"
  10537. makeablock()
  10538. end
  10539. print("In the table: "..v)
  10540. end
  10541. end
  10542. else
  10543. stringd = "Can't find player '"..findplayer.Name.."'"
  10544. makeablock()
  10545. end
  10546. end
  10547. if string.sub(msg,1,4) == ";nil" then
  10548. local findplayer = game.Players:findFirstChild(string.sub(msg,6))
  10549. if findplayer then
  10550. if findplayer.Character then
  10551. findplayer.Character.Parent = nil
  10552. stringd = "Niled "..findplayer.Name.."!"
  10553. makeablock()
  10554. end
  10555. else
  10556. stringd = "Can't find player '"..findplayer.Name.."'"
  10557. makeablock()
  10558. end
  10559. end
  10560. if string.sub(msg,1,6) == ";unnil" then
  10561. local findplayer = game.Players:findFirstChild(string.sub(msg,8))
  10562. if findplayer then
  10563. if findplayer.Character then
  10564. findplayer.Character.Parent = workspace
  10565. stringd = "Unniled "..findplayer.Name.."!"
  10566. makeablock()
  10567. end
  10568. else
  10569. stringd = "Can't find player '"..findplayer.Name.."'"
  10570. makeablock()
  10571. end
  10572. end
  10573.  
  10574. if string.sub(msg,1,10) == ";renamehum" then
  10575. local findplayer = game.Players:findFirstChild(string.sub(msg,12))
  10576. if findplayer then
  10577. if findplayer.Character then
  10578. local humanoid = findplayer.Character:findFirstChildOfClass("Humanoid")
  10579. if humanoid then
  10580. local humanoidmat = math.random(1,6)
  10581. if humanoidmat == 1 then
  10582. stringd = findplayer.Name.."'s humanoid renamed to 'boi'!"
  10583. humanoid.Name = "boi"
  10584. makeablock()
  10585. end
  10586. if humanoidmat == 2 then
  10587. stringd = findplayer.Name.."'s humanoid renamed to 'memes'!"
  10588. humanoid.Name = "memes"
  10589. makeablock()
  10590. end
  10591. if humanoidmat == 3 then
  10592. stringd = findplayer.Name.."'s humanoid renamed to 'michealp'!"
  10593. humanoid.Name = "michealp"
  10594. makeablock()
  10595. end
  10596. if humanoidmat == 4 then
  10597. stringd = findplayer.Name.."'s humanoid renamed to 'yourmom'!"
  10598. humanoid.Name = "yourmom"
  10599. makeablock()
  10600. end
  10601. if humanoidmat == 5 then
  10602. stringd = findplayer.Name.."'s humanoid renamed to 'hehe'!"
  10603. humanoid.Name = "hehe"
  10604. makeablock()
  10605. end
  10606. if humanoidmat == 6 then
  10607. stringd = findplayer.Name.."'s humanoid renamed to 'lenny'!"
  10608. humanoid.Name = "lenny"
  10609. makeablock()
  10610. end
  10611. else
  10612. stringd = findplayer.Name.." dosent have Humanoid!"
  10613. makeablock()
  10614. end
  10615. end
  10616. else
  10617. stringd = "Can't find player '"..findplayer.Name.."'"
  10618. makeablock()
  10619. end
  10620. end
  10621. if string.sub(msg,1,5) == ";nuke" then
  10622. local findplayer = game.Players:findFirstChild(string.sub(msg,7))
  10623. if findplayer then
  10624. if findplayer.Character then
  10625. if findplayer.Character:findFirstChild("Head") then
  10626. ohshit:Play()
  10627. stringd = "Nuked "..findplayer.Name.."!"
  10628. for i,v in pairs(findplayer.Character:GetChildren()) do
  10629. if v.ClassName == "Script" or v.ClassName == "LocalScript" then
  10630. v:Remove()
  10631. end
  10632. end
  10633. wait(1.5)
  10634. fart:Play()
  10635. findplayer.Character.Head.Transparency = 1
  10636. if findplayer.Character.Head:findFirstChild("face") then
  10637. findplayer.Character.Head.face:destroy()
  10638. end
  10639. for i,v in pairs(findplayer.Character:GetChildren()) do
  10640. if v.ClassName == "Accessory" or v.ClassName == "Hat" then
  10641. v:destroy()
  10642. end
  10643. end
  10644. -- Objects
  10645.  
  10646. local BillboardGui = Instance.new("BillboardGui")
  10647. local ImageLabel = Instance.new("ImageLabel")
  10648.  
  10649. -- Properties
  10650.  
  10651. BillboardGui.Parent = findplayer.Character.Head
  10652. BillboardGui.Size = UDim2.new(0, 100, 0, 50)
  10653.  
  10654. ImageLabel.Parent = BillboardGui
  10655. ImageLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  10656. ImageLabel.BackgroundTransparency = 1
  10657. ImageLabel.Position = UDim2.new(-0.7, 0,-3, 0)
  10658. ImageLabel.Size = UDim2.new(0, 301,0, 301)
  10659. ImageLabel.Image = "rbxassetid://1287525387"
  10660. wait(0.6)
  10661. kabom:Play()
  10662. findplayer.Character:BreakJoints()
  10663. gta:Play()
  10664. local boom = Instance.new("Part", findplayer.Character.Head)
  10665. boom.Anchored = true
  10666. boom.CanCollide = false
  10667. boom.Position = findplayer.Character.Head.Position
  10668. local mesh1 = Instance.new("SpecialMesh", boom)
  10669. mesh1.MeshId = "http://www.roblox.com/asset/?id=3270017"
  10670. boom.BrickColor = BrickColor.new("Bright yellow")
  10671. boom.Rotation = Vector3.new(90,0,0)
  10672. boom.Transparency = 0.5
  10673. for i = 1,400 do
  10674. boom.Rotation = boom.Rotation + Vector3.new(0,0,1)
  10675. mesh1.Scale = mesh1.Scale - Vector3.new(3,3,4.5)
  10676. game:GetService("RunService").RenderStepped:wait()
  10677. end
  10678. makeablock()
  10679. end
  10680. end
  10681. else
  10682. stringd = "Can't find player '"..findplayer.Name.."'"
  10683. makeablock()
  10684. end
  10685. end
  10686. if string.sub(msg,1,7) == ";tigerw" then
  10687. local findplayer = game.Players:findFirstChild(string.sub(msg,9))
  10688. if findplayer then
  10689. if findplayer.Character then
  10690. if findplayer.Character:findFirstChild("Head") then
  10691. findplayer.Character.Head.Transparency = 1
  10692. if findplayer.Character.Head:findFirstChild("face") then
  10693. findplayer.Character.Head.face:destroy()
  10694. end
  10695. for i,v in pairs(findplayer.Character:GetChildren()) do
  10696. if v.ClassName == "Accessory" or v.ClassName == "Hat" then
  10697. v:destroy()
  10698. end
  10699. end
  10700. -- Objects
  10701.  
  10702. local BillboardGui = Instance.new("BillboardGui")
  10703. local ImageLabel = Instance.new("ImageLabel")
  10704.  
  10705. -- Properties
  10706.  
  10707. BillboardGui.Parent = findplayer.Character.Head
  10708. BillboardGui.Size = UDim2.new(0, 100, 0, 50)
  10709.  
  10710. ImageLabel.Parent = BillboardGui
  10711. ImageLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  10712. ImageLabel.BackgroundTransparency = 1
  10713. ImageLabel.Position = UDim2.new(-0.7, 0,-3, 0)
  10714. ImageLabel.Size = UDim2.new(0, 301,0, 301)
  10715. ImageLabel.Image = "rbxassetid://1287525387"
  10716. stringd = "Tiger Woodsed "..findplayer.Name.."!"
  10717. makeablock()
  10718. end
  10719. end
  10720. else
  10721. stringd = "Can't find player '"..findplayer.Name.."'"
  10722. makeablock()
  10723. end
  10724. end
  10725. if string.sub(msg,1,5) == ";hang" then
  10726. local findplayer = game.Players:findFirstChild(string.sub(msg,7))
  10727. if findplayer then
  10728. if findplayer.Character then
  10729. local humanoid = findplayer.Character:findFirstChildOfClass("Humanoid")
  10730. if humanoid then
  10731. stringd = "Hung "..humanoid.Parent.Name.."!"
  10732. for i,v in pairs(humanoid.Parent:GetChildren()) do
  10733. if v.ClassName == "LocalScript" or v.ClassName == "Script" then
  10734. v:Remove()
  10735. end
  10736. end
  10737. --By Rufus14 lolol
  10738. --Converted with ttyyuu12345's model to script plugin v4
  10739. humanoid.WalkSpeed = 0
  10740. humanoid.JumpPower = 0
  10741. function sandbox(var,func)
  10742. local env = getfenv(func)
  10743. local newenv = setmetatable({},{
  10744. __index = function(self,k)
  10745. if k=="script" then
  10746. return var
  10747. else
  10748. return env[k]
  10749. end
  10750. end,
  10751. })
  10752. setfenv(func,newenv)
  10753. return func
  10754. end
  10755. cors = {}
  10756. mas = Instance.new("Model",game:GetService("Lighting"))
  10757. local Part0 = Instance.new("Part")
  10758. local Sound1 = Instance.new("Sound")
  10759. local Attachment2 = Instance.new("Attachment")
  10760. local RopeConstraint3 = Instance.new("RopeConstraint")
  10761. local Part4 = Instance.new("Part")
  10762. local SpecialMesh5 = Instance.new("SpecialMesh")
  10763. local Attachment6 = Instance.new("Attachment")
  10764. local RopeConstraint7 = Instance.new("RopeConstraint")
  10765. local RopeConstraint8 = Instance.new("RopeConstraint")
  10766. Part0.Parent = mas
  10767. Part0.BrickColor = BrickColor.new("Pearl")
  10768. Part0.Anchored = true
  10769. Part0.Size = Vector3.new(9.97000027, 0.720000267, 7.03999949)
  10770. Part0.CFrame = CFrame.new(16.7149887, 13.7606668, 36.7299957, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  10771. Part0.BottomSurface = Enum.SurfaceType.Smooth
  10772. Part0.TopSurface = Enum.SurfaceType.Smooth
  10773. Part0.Color = Color3.new(0.905882, 0.905882, 0.92549)
  10774. Part0.Position = Vector3.new(16.7149887, 13.7606668, 36.7299957)
  10775. Part0.Color = Color3.new(0.905882, 0.905882, 0.92549)
  10776. Sound1.Parent = Part0
  10777. Sound1.SoundId = "rbxassetid://1205183071"
  10778. Attachment6.Parent = Part0
  10779. Attachment6.Visible = true
  10780. RopeConstraint8.Parent = Attachment6
  10781. RopeConstraint8.Color = BrickColor.new("Maroon")
  10782. RopeConstraint8.Visible = true
  10783. RopeConstraint8.Attachment0 = nil
  10784. RopeConstraint8.Attachment1 = Attachment6
  10785. RopeConstraint8.Color = BrickColor.new("Maroon")
  10786. RopeConstraint8.Length = 7.5
  10787. RopeConstraint8.Thickness = 0.20000000298023
  10788. RopeConstraint8.Restitution = 0.10000000149012
  10789. Part4.Parent = mas
  10790. Part4.Size = Vector3.new(3.6299994, 2.9199996, 2.94999957)
  10791. Part4.CFrame = CFrame.new(16.4487038, 1.47368073, 36.9643707, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  10792. Part4.BottomSurface = Enum.SurfaceType.Smooth
  10793. Part4.TopSurface = Enum.SurfaceType.Smooth
  10794. Part4.Position = Vector3.new(16.4487038, 1.47368073, 36.9643707)
  10795. SpecialMesh5.Parent = Part4
  10796. SpecialMesh5.MeshId = "http://www.roblox.com/asset/?id=112335925"
  10797. SpecialMesh5.Scale = Vector3.new(3, 3, 3)
  10798. SpecialMesh5.TextureId = "http://www.roblox.com/asset/?id=112335881"
  10799. SpecialMesh5.MeshType = Enum.MeshType.FileMesh
  10800. SpecialMesh5.Scale = Vector3.new(3, 3, 3)
  10801. Attachment6.Parent = Part0
  10802. Attachment6.Visible = true
  10803. RopeConstraint8.Parent = Attachment6
  10804. RopeConstraint8.Color = BrickColor.new("Maroon")
  10805. RopeConstraint8.Visible = true
  10806. RopeConstraint8.Length = 7.5
  10807. RopeConstraint8.Thickness = 0.20000000298023
  10808. RopeConstraint8.Restitution = 0
  10809. for i,v in pairs(mas:GetChildren()) do
  10810. v.Parent = humanoid.Parent
  10811. pcall(function() v:MakeJoints() end)
  10812. end
  10813. mas:Destroy()
  10814. for i,v in pairs(cors) do
  10815. spawn(function()
  10816. pcall(v)
  10817. end)
  10818. end
  10819. Part0.CFrame = humanoid.Parent.Head.CFrame * CFrame.new(0,7.5,0)
  10820. humanoid.Parent.Torso.CFrame = humanoid.Parent.Torso.CFrame * CFrame.new(0,2,0)
  10821. Part4.CFrame = humanoid.Parent.Torso.CFrame * CFrame.new(0,-3,0)
  10822. RopeConstraint8.Attachment0 = humanoid.Parent.Torso.NeckAttachment
  10823. RopeConstraint8.Attachment1 = Attachment6
  10824. RopeConstraint8.Visible = true
  10825. humanoid.Parent.Humanoid.WalkSpeed = 0
  10826. humanoid.Parent.Humanoid.JumpPower = 0
  10827. makeablock()
  10828. local bodyvel = Instance.new("BodyVelocity", Part4)
  10829. bodyvel.Velocity = humanoid.Parent.Torso.CFrame.lookVector * 45
  10830. local death = Instance.new("Sound", humanoid.Parent.Head)
  10831. death.Volume = 10
  10832. death.SoundId = "rbxassetid://12222242"
  10833. wait(0.2)
  10834. death:Play()
  10835. bodyvel:destroy()
  10836. humanoid.Parent.Humanoid.PlatformStand = true
  10837. if humanoid.Parent:findFirstChild("Torso") then
  10838. humanoid.Parent.Torso.Velocity = humanoid.Parent.Torso.CFrame.lookVector * 10
  10839. for i,v in pairs(humanoid.Parent.Torso:GetChildren()) do
  10840. if v.ClassName == "Motor6D" then
  10841. if v.Name == "Neck" then
  10842.  
  10843. else
  10844. v:destroy()
  10845. end
  10846. end
  10847. end
  10848. end
  10849. if humanoid.Parent:findFirstChild("Right Arm") then
  10850. local attachment = Instance.new("Attachment", humanoid.Parent.Torso)
  10851. attachment.Position = Vector3.new(1, 1, 0)
  10852. local ball = Instance.new("BallSocketConstraint", humanoid.Parent)
  10853. ball.Attachment0 = humanoid.Parent["Right Arm"].RightShoulderAttachment
  10854. ball.Attachment1 = attachment
  10855. local collidepartofleftleg = Instance.new("Part", humanoid.Parent.Torso)
  10856. collidepartofleftleg.Name = "Bone"
  10857. collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
  10858. collidepartofleftleg.Transparency = 1
  10859. collidepartofleftleg:BreakJoints()
  10860. local weeld = Instance.new("Weld", collidepartofleftleg)
  10861. weeld.Part0 = humanoid.Parent["Right Arm"]
  10862. weeld.Part1 = collidepartofleftleg
  10863. weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
  10864. end
  10865. if humanoid.Parent:findFirstChild("Left Arm") then
  10866. local attachment = Instance.new("Attachment", humanoid.Parent.Torso)
  10867. attachment.Position = Vector3.new(-1, 1, 0)
  10868. local ball = Instance.new("BallSocketConstraint", humanoid.Parent)
  10869. ball.Attachment0 = attachment
  10870. ball.Attachment1 = humanoid.Parent["Left Arm"].LeftShoulderAttachment
  10871. local collidepartofleftleg = Instance.new("Part", humanoid.Parent.Torso)
  10872. collidepartofleftleg.Name = "Bone"
  10873. collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
  10874. collidepartofleftleg.Transparency = 1
  10875. collidepartofleftleg:BreakJoints()
  10876. local weeld = Instance.new("Weld", collidepartofleftleg)
  10877. weeld.Part0 = humanoid.Parent["Left Arm"]
  10878. weeld.Part1 = collidepartofleftleg
  10879. weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
  10880. end
  10881. if humanoid.Parent:findFirstChild("Right Leg") then
  10882. local attachment = Instance.new("Attachment", humanoid.Parent.Torso)
  10883. attachment.Position = Vector3.new(0.5, -1, 0)
  10884. local ball = Instance.new("BallSocketConstraint", humanoid.Parent)
  10885. ball.Attachment0 = humanoid.Parent["Right Leg"].RightFootAttachment
  10886. ball.Attachment1 = attachment
  10887. humanoid.Parent["Right Leg"].RightFootAttachment.Position = Vector3.new(0, 1, 0)
  10888. local collidepartofleftleg = Instance.new("Part", humanoid.Parent.Torso)
  10889. collidepartofleftleg.Name = "Bone"
  10890. collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
  10891. collidepartofleftleg.Transparency = 1
  10892. collidepartofleftleg:BreakJoints()
  10893. local weeld = Instance.new("Weld", collidepartofleftleg)
  10894. weeld.Part0 = humanoid.Parent["Right Leg"]
  10895. weeld.Part1 = collidepartofleftleg
  10896. weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
  10897. end
  10898. if humanoid.Parent:findFirstChild("Left Leg") then
  10899. local attachment = Instance.new("Attachment", humanoid.Parent.Torso)
  10900. attachment.Position = Vector3.new(-0.5, -1, 0)
  10901. local ball = Instance.new("BallSocketConstraint", humanoid.Parent)
  10902. ball.Attachment0 = humanoid.Parent["Left Leg"].LeftFootAttachment
  10903. ball.Attachment1 = attachment
  10904. humanoid.Parent["Left Leg"].LeftFootAttachment.Position = Vector3.new(0, 1, 0)
  10905. local collidepartofleftleg = Instance.new("Part", humanoid.Parent.Torso)
  10906. collidepartofleftleg.Name = "Bone"
  10907. collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
  10908. collidepartofleftleg.Transparency = 1
  10909. collidepartofleftleg:BreakJoints()
  10910. local weeld = Instance.new("Weld", collidepartofleftleg)
  10911. weeld.Part0 = humanoid.Parent["Left Leg"]
  10912. weeld.Part1 = collidepartofleftleg
  10913. weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
  10914. end
  10915. if humanoid.Parent:findFirstChild("Head") then
  10916. local attachment = Instance.new("Attachment", humanoid.Parent.Head)
  10917. attachment.Position = Vector3.new(0, -0.5, 0)
  10918. attachment.Name = "lol"
  10919. attachment.Visible = false
  10920. humanoid.Parent.Torso.NeckAttachment.Visible = false
  10921. humanoid.Parent.Torso.NeckAttachment.Position = humanoid.Parent.Torso.NeckAttachment.Position + Vector3.new(0,0,0)
  10922. local ball = Instance.new("BallSocketConstraint", humanoid.Parent)
  10923. ball.Attachment0 = humanoid.Parent.Torso.NeckAttachment
  10924. ball.Attachment1 = attachment
  10925. ball.LimitsEnabled = true
  10926. ball.TwistLimitsEnabled = true
  10927. ball.UpperAngle = 90
  10928. ball.Restitution = 0.5
  10929. ball.TwistUpperAngle = 180
  10930. ball.TwistLowerAngle = -180
  10931. local collidepartofleftleg = Instance.new("Part", humanoid.Parent.Torso)
  10932. collidepartofleftleg.Name = "Bone"
  10933. collidepartofleftleg.Size = Vector3.new(0.7,0.7,0.7)
  10934. collidepartofleftleg.Transparency = 1
  10935. collidepartofleftleg:BreakJoints()
  10936. local weeld = Instance.new("Weld", collidepartofleftleg)
  10937. weeld.Part0 = collidepartofleftleg
  10938. weeld.Part1 = humanoid.Parent["Head"]
  10939. if humanoid.Parent.Torso:findFirstChild("Neck") then
  10940. humanoid.Parent.Torso.Neck:destroy()
  10941. end
  10942. if humanoid.Parent.Head:findFirstChild("face") then
  10943. humanoid.Parent.Head.face.Texture = "http://www.roblox.com/asset/?id=810245460"
  10944. end
  10945. end
  10946. humanoid:SetStateEnabled(Enum.HumanoidStateType.Dead, false)
  10947. humanoid.Health = 0.1
  10948. humanoid.WalkSpeed = 0
  10949. humanoid.JumpPower = 0
  10950. local dead = Instance.new("Sound", humanoid.Parent.Head)
  10951. dead.Volume = 10
  10952. dead.SoundId = "rbxassetid://1248405065"
  10953. dead:Play()
  10954. dead.Looped = true
  10955. else
  10956. stringd = findplayer.Name.." dosent have Humanoid!"
  10957. makeablock()
  10958. end
  10959. end
  10960. else
  10961. stringd = "Can't find player '"..findplayer.Name.."'"
  10962. makeablock()
  10963. end
  10964. end
  10965. if string.sub(msg,1,5) == ";cmds" then
  10966. stringd = ";lag plrname - Lags out a player"
  10967. print(stringd)
  10968. stringd = ";kill plrname - Kills a player"
  10969. print(stringd)
  10970. stringd = ";tp plrname - Teleports a player to you"
  10971. print(stringd)
  10972. stringd = ";explode plrname - Explodes a player"
  10973. print(stringd)
  10974. stringd = ";music id - Plays music"
  10975. print(stringd)
  10976. stringd = ";stop - Stops music playing right now"
  10977. print(stringd)
  10978. stringd = ";touchkill plrname - Gives touchkill to a player"
  10979. print(stringd)
  10980. stringd = ";touchdmg plrname - Gives touchdmg a player"
  10981. print(stringd)
  10982. stringd = ";god plrname - Gods player"
  10983. print(stringd)
  10984. stringd = ";customchat plrname - Adds custom chat to player, bypasses censoring system"
  10985. print(stringd)
  10986. stringd = ";meme plrname - Just try"
  10987. print(stringd)
  10988. stringd = ";michealp plrname - drops player from truss"
  10989. print(stringd)
  10990. stringd = ";bleach plrname - makes player kys"
  10991. print(stringd)
  10992. stringd = ";ban plrname - MAKES PLAYER BEANED"
  10993. print(stringd)
  10994. stringd = ";invis plrname - Makes player invisible"
  10995. print(stringd)
  10996. stringd = ";uninvis plrname - Makes player visible"
  10997. print(stringd)
  10998. stringd = ";hang plrname - SAYONARA BOIZ"
  10999. print(stringd)
  11000. stringd = ";renamehum plrname - Renames humanoid, making sometime invicible to some scripts"
  11001. print(stringd)
  11002. stringd = ";blocksc plrname - Loop deletes player's scripts"
  11003. print(stringd)
  11004. stringd = ";unblocksc plrname - Unblocks player from executing scripts"
  11005. print(stringd)
  11006. stringd = ";unban plrname - Unbans player"
  11007. print(stringd)
  11008. stringd = ";nil plrname - Nils player"
  11009. print(stringd)
  11010. stringd = ";tigerw plrname - I FEEL GOOD"
  11011. print(stringd)
  11012. stringd = ";suicide plrname - Makes player shoot himself"
  11013. print(stringd)
  11014. stringd = ";seizure plrname - Makes player have seizure like in that Pivot animations from 2008-2009"
  11015. print(stringd)
  11016. stringd = ";deepclean - Deep cleans the server"
  11017. print(stringd)
  11018. stringd = ";admin - Admins player"
  11019. print(stringd)
  11020. stringd = ";antiskid (on/off) - Runs little Rufus14's Anti Skid"
  11021. print(stringd)
  11022. stringd = ";antitimestop (on/off) - Runs anti time stop"
  11023. print(stringd)
  11024. stringd = ";nuke plr - Nukes the player without killing anyone"
  11025. print(stringd)
  11026. end
  11027. end
  11028. game.Players.LocalPlayer.Chatted:connect(command)
  11029. function renders()
  11030. for i,v in pairs(game.Players:GetChildren()) do
  11031. for i = 1,#bannedscriptsbois do
  11032. if v.Name == bannedscriptsbois[i] then
  11033. if v.Character then
  11034. for q,w in pairs(v.Character:GetChildren()) do
  11035. if w.ClassName == "Script" or w.ClassName == "LocalScript" then
  11036. if w.Name == "Animate" or w.Name == "Health" or w.Name == "Sound" then
  11037.  
  11038. else
  11039. w:Remove()
  11040. print("Removed "..w.ClassName.." from "..v.Name)
  11041. end
  11042. end
  11043. end
  11044. end
  11045. end
  11046. end
  11047. end
  11048. end
  11049. game:GetService("RunService").RenderStepped:connect(renders)
  11050. while true do
  11051. wait(1)
  11052. for i,v in pairs(game.Players:GetChildren()) do
  11053. for i = 1,#bannedscriptsbois do
  11054. if v.Name == bannedscriptsbois[i] then
  11055. if v.Character then
  11056. for q,w in pairs(v.Character:GetChildren()) do
  11057. if w.ClassName == "Script" or w.ClassName == "LocalScript" then
  11058. if w.Name == "Animate" or w.Name == "Health" or w.Name == "Sound" then
  11059.  
  11060. else
  11061. w:Remove()
  11062. print("Removed "..w.ClassName.." from "..v.Name)
  11063. end
  11064. end
  11065. end
  11066. end
  11067. end
  11068. end
  11069. end
  11070. if findsound.Parent == nil then
  11071. findsound.Parent = workspace
  11072. end
  11073. if critical.Parent == nil then
  11074. critical.Parent = workspace
  11075. end
  11076. if antiskid then
  11077. for i,v in pairs(game.Players:GetChildren()) do
  11078. if v.Character then
  11079. local hat = v.Character:findFirstChild("Hat")
  11080. if hat then
  11081. local skidzawarudo = hat:findFirstChild("Part")
  11082. if skidzawarudo then
  11083. local mesh = skidzawarudo:findFirstChild("Mesh")
  11084. if mesh.MeshId == "rbxassetid://439736904" then
  11085. if mesh.TextureId == "" then
  11086. v.Character:BreakJoints()
  11087. stringd = v.Name.." has probaly used Platinum Star script"
  11088. makeablock()
  11089. end
  11090. end
  11091. end
  11092. end
  11093. local Zawarudo = v.Character:findFirstChild("Za Warudo")
  11094. if Zawarudo then
  11095. local skidzawarudo = Zawarudo:findFirstChild("Heart Piece2")
  11096. if skidzawarudo then
  11097. v.Character:BreakJoints()
  11098. stringd = v.Name.." has probaly used Za Warudo script"
  11099. makeablock()
  11100. end
  11101. end
  11102. local hahanope = v.Character:findFirstChild("haha nope")
  11103. if hahanope then
  11104. v.Character:BreakJoints()
  11105. stringd = v.Name.." has probaly used Ultra Instinct script"
  11106. makeablock()
  11107. end
  11108. local lel = v.Character:findFirstChild("le")
  11109. if lel then
  11110. v.Character:BreakJoints()
  11111. stringd = v.Name.." has probaly used God Slayer script"
  11112. makeablock()
  11113. end
  11114. local nintentdopowrglov = v.Character:findFirstChild("PowerGlow")
  11115. if nintentdopowrglov then
  11116. v.Character:BreakJoints()
  11117. stringd = v.Name.." has probaly used leaked Ruin III script"
  11118. makeablock()
  11119. end
  11120. end
  11121. end
  11122. end
  11123. if antitimestop then
  11124. for i,v in pairs(game.Players:GetChildren()) do
  11125. if v.Character then
  11126. for q,w in pairs(v.Character:GetChildren()) do
  11127. if w.ClassName == "Part" then
  11128. if w.Anchored == true then
  11129. w.Anchored = false
  11130. end
  11131. end
  11132. end
  11133. end
  11134. end
  11135. end
  11136. if gta.Parent == nil then
  11137. gta.Parent = workspace
  11138. end
  11139. if findsound.Parent == nil then
  11140. findsound.Parent = workspace
  11141. end
  11142. if critical.Parent == nil then
  11143. critical.Parent = workspace
  11144. end
  11145. if ohshit.Parent == nil then
  11146. ohshit.Parent = workspace
  11147. end
  11148. if kabom.Parent == nil then
  11149. kabom.Parent = workspace
  11150. end
  11151. if fart.Parent == nil then
  11152. fart.Parent = workspace
  11153. end
  11154. for i,v in pairs(game.Players:GetChildren()) do
  11155. for i = 1,#faggots do
  11156. if v.Name == faggots[i] then
  11157. local bckpck = v:findFirstChildOfClass("Backpack")
  11158. if bckpck then
  11159. print("Lagging "..v.Name)
  11160. local hop = Instance.new("HopperBin", bckpck)
  11161. hop.Name = "U JUST GOT BEANED"
  11162. hop.TextureId = "http://www.roblox.com/asset/?id=519614281"
  11163. for i = 1,7000 do
  11164. local hopclone = hop:Clone()
  11165. hopclone.Parent = bckpck
  11166. end
  11167. end
  11168. end
  11169. end
  11170. end
  11171. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement