Advertisement
firebudgy

Untitled

May 26th, 2018
546
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 102.19 KB | None | 0 0
  1.  
  2. --Converted with ttyyuu12345's model to script plugin v4
  3. function sandbox(var,func)
  4. local env = getfenv(func)
  5. local newenv = setmetatable({},{
  6. __index = function(self,k)
  7. if k=="script" then
  8. return var
  9. else
  10. return env[k]
  11. end
  12. end,
  13. })
  14. setfenv(func,newenv)
  15. return func
  16. end
  17. cors = {}
  18. mas = Instance.new("Model",game:GetService("Lighting"))
  19. Model0 = Instance.new("Model")
  20. Model1 = Instance.new("Model")
  21. Part2 = Instance.new("Part")
  22. BlockMesh3 = Instance.new("BlockMesh")
  23. Part4 = Instance.new("Part")
  24. BlockMesh5 = Instance.new("BlockMesh")
  25. Part6 = Instance.new("Part")
  26. BlockMesh7 = Instance.new("BlockMesh")
  27. Part8 = Instance.new("Part")
  28. BlockMesh9 = Instance.new("BlockMesh")
  29. Model10 = Instance.new("Model")
  30. Part11 = Instance.new("Part")
  31. ClickDetector12 = Instance.new("ClickDetector")
  32. BlockMesh13 = Instance.new("BlockMesh")
  33. Script14 = Instance.new("Script")
  34. NumberValue15 = Instance.new("NumberValue")
  35. Model16 = Instance.new("Model")
  36. Part17 = Instance.new("Part")
  37. ClickDetector18 = Instance.new("ClickDetector")
  38. Decal19 = Instance.new("Decal")
  39. BlockMesh20 = Instance.new("BlockMesh")
  40. Part21 = Instance.new("Part")
  41. ClickDetector22 = Instance.new("ClickDetector")
  42. Decal23 = Instance.new("Decal")
  43. BlockMesh24 = Instance.new("BlockMesh")
  44. Part25 = Instance.new("Part")
  45. ClickDetector26 = Instance.new("ClickDetector")
  46. Decal27 = Instance.new("Decal")
  47. BlockMesh28 = Instance.new("BlockMesh")
  48. Part29 = Instance.new("Part")
  49. ClickDetector30 = Instance.new("ClickDetector")
  50. Decal31 = Instance.new("Decal")
  51. BlockMesh32 = Instance.new("BlockMesh")
  52. Part33 = Instance.new("Part")
  53. ClickDetector34 = Instance.new("ClickDetector")
  54. Decal35 = Instance.new("Decal")
  55. BlockMesh36 = Instance.new("BlockMesh")
  56. Part37 = Instance.new("Part")
  57. ClickDetector38 = Instance.new("ClickDetector")
  58. Decal39 = Instance.new("Decal")
  59. BlockMesh40 = Instance.new("BlockMesh")
  60. Part41 = Instance.new("Part")
  61. ClickDetector42 = Instance.new("ClickDetector")
  62. Decal43 = Instance.new("Decal")
  63. BlockMesh44 = Instance.new("BlockMesh")
  64. Part45 = Instance.new("Part")
  65. ClickDetector46 = Instance.new("ClickDetector")
  66. Decal47 = Instance.new("Decal")
  67. BlockMesh48 = Instance.new("BlockMesh")
  68. Part49 = Instance.new("Part")
  69. ClickDetector50 = Instance.new("ClickDetector")
  70. Decal51 = Instance.new("Decal")
  71. BlockMesh52 = Instance.new("BlockMesh")
  72. Part53 = Instance.new("Part")
  73. ClickDetector54 = Instance.new("ClickDetector")
  74. Decal55 = Instance.new("Decal")
  75. BlockMesh56 = Instance.new("BlockMesh")
  76. Part57 = Instance.new("Part")
  77. ClickDetector58 = Instance.new("ClickDetector")
  78. Decal59 = Instance.new("Decal")
  79. BlockMesh60 = Instance.new("BlockMesh")
  80. Part61 = Instance.new("Part")
  81. ClickDetector62 = Instance.new("ClickDetector")
  82. Decal63 = Instance.new("Decal")
  83. BlockMesh64 = Instance.new("BlockMesh")
  84. Script65 = Instance.new("Script")
  85. Part66 = Instance.new("Part")
  86. BlockMesh67 = Instance.new("BlockMesh")
  87. Part68 = Instance.new("Part")
  88. BlockMesh69 = Instance.new("BlockMesh")
  89. Part70 = Instance.new("Part")
  90. BlockMesh71 = Instance.new("BlockMesh")
  91. Part72 = Instance.new("Part")
  92. BlockMesh73 = Instance.new("BlockMesh")
  93. Part74 = Instance.new("Part")
  94. BlockMesh75 = Instance.new("BlockMesh")
  95. Model76 = Instance.new("Model")
  96. Model77 = Instance.new("Model")
  97. Humanoid78 = Instance.new("Humanoid")
  98. Part79 = Instance.new("Part")
  99. Model80 = Instance.new("Model")
  100. Part81 = Instance.new("Part")
  101. Part82 = Instance.new("Part")
  102. Part83 = Instance.new("Part")
  103. Tool84 = Instance.new("Tool")
  104. Script85 = Instance.new("Script")
  105. Part86 = Instance.new("Part")
  106. SpecialMesh87 = Instance.new("SpecialMesh")
  107. Script88 = Instance.new("Script")
  108. Part89 = Instance.new("Part")
  109. Part90 = Instance.new("Part")
  110. Part91 = Instance.new("Part")
  111. Script92 = Instance.new("Script")
  112. Model93 = Instance.new("Model")
  113. Model94 = Instance.new("Model")
  114. Model95 = Instance.new("Model")
  115. Part96 = Instance.new("Part")
  116. Part97 = Instance.new("Part")
  117. CylinderMesh98 = Instance.new("CylinderMesh")
  118. Part99 = Instance.new("Part")
  119. SpecialMesh100 = Instance.new("SpecialMesh")
  120. Part101 = Instance.new("Part")
  121. SpecialMesh102 = Instance.new("SpecialMesh")
  122. Part103 = Instance.new("Part")
  123. SpecialMesh104 = Instance.new("SpecialMesh")
  124. Part105 = Instance.new("Part")
  125. SpecialMesh106 = Instance.new("SpecialMesh")
  126. Part107 = Instance.new("Part")
  127. BlockMesh108 = Instance.new("BlockMesh")
  128. Part109 = Instance.new("Part")
  129. BlockMesh110 = Instance.new("BlockMesh")
  130. Part111 = Instance.new("Part")
  131. BlockMesh112 = Instance.new("BlockMesh")
  132. Part113 = Instance.new("Part")
  133. CylinderMesh114 = Instance.new("CylinderMesh")
  134. Part115 = Instance.new("Part")
  135. CylinderMesh116 = Instance.new("CylinderMesh")
  136. Part117 = Instance.new("Part")
  137. CylinderMesh118 = Instance.new("CylinderMesh")
  138. Part119 = Instance.new("Part")
  139. CylinderMesh120 = Instance.new("CylinderMesh")
  140. Part121 = Instance.new("Part")
  141. SpecialMesh122 = Instance.new("SpecialMesh")
  142. Part123 = Instance.new("Part")
  143. SpecialMesh124 = Instance.new("SpecialMesh")
  144. Part125 = Instance.new("Part")
  145. CylinderMesh126 = Instance.new("CylinderMesh")
  146. Part127 = Instance.new("Part")
  147. CylinderMesh128 = Instance.new("CylinderMesh")
  148. Part129 = Instance.new("Part")
  149. CylinderMesh130 = Instance.new("CylinderMesh")
  150. Part131 = Instance.new("Part")
  151. CylinderMesh132 = Instance.new("CylinderMesh")
  152. Part133 = Instance.new("Part")
  153. CylinderMesh134 = Instance.new("CylinderMesh")
  154. Part135 = Instance.new("Part")
  155. SpecialMesh136 = Instance.new("SpecialMesh")
  156. Part137 = Instance.new("Part")
  157. SpecialMesh138 = Instance.new("SpecialMesh")
  158. Part139 = Instance.new("Part")
  159. SpecialMesh140 = Instance.new("SpecialMesh")
  160. Part141 = Instance.new("Part")
  161. SpecialMesh142 = Instance.new("SpecialMesh")
  162. Part143 = Instance.new("Part")
  163. CylinderMesh144 = Instance.new("CylinderMesh")
  164. Part145 = Instance.new("Part")
  165. SpecialMesh146 = Instance.new("SpecialMesh")
  166. Part147 = Instance.new("Part")
  167. SpecialMesh148 = Instance.new("SpecialMesh")
  168. Part149 = Instance.new("Part")
  169. CylinderMesh150 = Instance.new("CylinderMesh")
  170. Part151 = Instance.new("Part")
  171. Script152 = Instance.new("Script")
  172. Script153 = Instance.new("Script")
  173. Script154 = Instance.new("Script")
  174. Script155 = Instance.new("Script")
  175. Script156 = Instance.new("Script")
  176. CylinderMesh157 = Instance.new("CylinderMesh")
  177. Script158 = Instance.new("Script")
  178. Script159 = Instance.new("Script")
  179. Script160 = Instance.new("Script")
  180. Sound161 = Instance.new("Sound")
  181. Model162 = Instance.new("Model")
  182. Model163 = Instance.new("Model")
  183. Model164 = Instance.new("Model")
  184. Part165 = Instance.new("Part")
  185. Part166 = Instance.new("Part")
  186. Part167 = Instance.new("Part")
  187. Part168 = Instance.new("Part")
  188. Part169 = Instance.new("Part")
  189. Part170 = Instance.new("Part")
  190. Script171 = Instance.new("Script")
  191. Model172 = Instance.new("Model")
  192. Humanoid173 = Instance.new("Humanoid")
  193. Part174 = Instance.new("Part")
  194. Tool175 = Instance.new("Tool")
  195. Part176 = Instance.new("Part")
  196. Sound177 = Instance.new("Sound")
  197. Sound178 = Instance.new("Sound")
  198. SpecialMesh179 = Instance.new("SpecialMesh")
  199. Weld180 = Instance.new("Weld")
  200. Weld181 = Instance.new("Weld")
  201. Script182 = Instance.new("Script")
  202. NumberValue183 = Instance.new("NumberValue")
  203. NumberValue184 = Instance.new("NumberValue")
  204. NumberValue185 = Instance.new("NumberValue")
  205. Part186 = Instance.new("Part")
  206. SpecialMesh187 = Instance.new("SpecialMesh")
  207. Weld188 = Instance.new("Weld")
  208. Weld189 = Instance.new("Weld")
  209. Part190 = Instance.new("Part")
  210. LocalScript191 = Instance.new("LocalScript")
  211. Script192 = Instance.new("Script")
  212. LocalScript193 = Instance.new("LocalScript")
  213. Script194 = Instance.new("Script")
  214. LocalScript195 = Instance.new("LocalScript")
  215. Script196 = Instance.new("Script")
  216. Model0.Parent = mas
  217. Model1.Name = "Code Room"
  218. Model1.Parent = Model0
  219. Part2.Parent = Model1
  220. Part2.Rotation = Vector3.new(0, 90, 0)
  221. Part2.FormFactor = Enum.FormFactor.Symmetric
  222. Part2.Size = Vector3.new(24, 1, 39)
  223. Part2.CFrame = CFrame.new(24.5, 12.4999876, 98, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  224. Part2.BottomSurface = Enum.SurfaceType.Smooth
  225. Part2.TopSurface = Enum.SurfaceType.Smooth
  226. Part2.Position = Vector3.new(24.5, 12.4999876, 98)
  227. Part2.Orientation = Vector3.new(0, 90, 0)
  228. BlockMesh3.Parent = Part2
  229. Part4.Parent = Model1
  230. Part4.Rotation = Vector3.new(0, 90, 0)
  231. Part4.FormFactor = Enum.FormFactor.Symmetric
  232. Part4.Size = Vector3.new(16, 11, 1)
  233. Part4.CFrame = CFrame.new(5.5, 6.49999714, 102, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  234. Part4.BottomSurface = Enum.SurfaceType.Smooth
  235. Part4.TopSurface = Enum.SurfaceType.Smooth
  236. Part4.Position = Vector3.new(5.5, 6.49999714, 102)
  237. Part4.Orientation = Vector3.new(0, 90, 0)
  238. BlockMesh5.Parent = Part4
  239. Part6.Parent = Model1
  240. Part6.Rotation = Vector3.new(0, 90, 0)
  241. Part6.FormFactor = Enum.FormFactor.Symmetric
  242. Part6.Size = Vector3.new(6, 3, 1)
  243. Part6.CFrame = CFrame.new(5.5, 10.4999876, 91, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  244. Part6.BottomSurface = Enum.SurfaceType.Smooth
  245. Part6.TopSurface = Enum.SurfaceType.Smooth
  246. Part6.Position = Vector3.new(5.5, 10.4999876, 91)
  247. Part6.Orientation = Vector3.new(0, 90, 0)
  248. BlockMesh7.Parent = Part6
  249. Part8.Parent = Model1
  250. Part8.Rotation = Vector3.new(0, 90, 0)
  251. Part8.FormFactor = Enum.FormFactor.Symmetric
  252. Part8.Size = Vector3.new(2, 11, 1)
  253. Part8.CFrame = CFrame.new(5.5, 6.49999714, 87, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  254. Part8.BottomSurface = Enum.SurfaceType.Smooth
  255. Part8.TopSurface = Enum.SurfaceType.Smooth
  256. Part8.Position = Vector3.new(5.5, 6.49999714, 87)
  257. Part8.Orientation = Vector3.new(0, 90, 0)
  258. BlockMesh9.Parent = Part8
  259. Model10.Name = "Code Door"
  260. Model10.Parent = Model1
  261. Part11.Name = "Open"
  262. Part11.Parent = Model10
  263. Part11.BrickColor = BrickColor.new("Bright green")
  264. Part11.Rotation = Vector3.new(-90, 0, 90)
  265. Part11.FormFactor = Enum.FormFactor.Plate
  266. Part11.Size = Vector3.new(1, 0.400000006, 1)
  267. Part11.CFrame = CFrame.new(6.20001221, 5.49440289, 96.5, -1.6631635e-09, -1, -2.36461347e-07, 5.3455733e-07, 2.36461347e-07, 1, -1, -1.6631635e-09, -5.3455733e-07)
  268. Part11.BackSurface = Enum.SurfaceType.Weld
  269. Part11.BottomSurface = Enum.SurfaceType.Weld
  270. Part11.FrontSurface = Enum.SurfaceType.Weld
  271. Part11.LeftSurface = Enum.SurfaceType.Weld
  272. Part11.RightSurface = Enum.SurfaceType.Weld
  273. Part11.TopSurface = Enum.SurfaceType.Weld
  274. Part11.Color = Color3.new(0.294118, 0.592157, 0.294118)
  275. Part11.Position = Vector3.new(6.20001221, 5.49440289, 96.5)
  276. Part11.Orientation = Vector3.new(-90, 90, 0)
  277. Part11.Color = Color3.new(0.294118, 0.592157, 0.294118)
  278. ClickDetector12.Parent = Part11
  279. ClickDetector12.MaxActivationDistance = 5
  280. BlockMesh13.Parent = Part11
  281. Script14.Parent = Part11
  282. table.insert(cors,sandbox(Script14,function()
  283. door = script.Parent.Parent.Door
  284.  
  285. function clicked()
  286. if script.Value.Value == 0 then
  287. print("Opened")
  288. script.Value.Value = 1
  289. local door = script.Parent.Parent.Door
  290.  
  291. door.CanCollide = false
  292. door.Transparency = door.Transparency + 0.1
  293. wait(0.1)
  294. door.Transparency = door.Transparency + 0.1
  295. wait(0.1)
  296. door.Transparency = door.Transparency + 0.1
  297. wait(0.1)
  298. door.Transparency = door.Transparency + 0.1
  299. wait(0.1)
  300. door.Transparency = door.Transparency + 0.1
  301. wait(0.1)
  302. door.Transparency = door.Transparency + 0.1
  303. wait(0.1)
  304. door.Transparency = door.Transparency + 0.1
  305. wait(0.1)
  306. door.Transparency = 0.8
  307. wait(3)--
  308. door.Transparency = door.Transparency - 0.1
  309. wait(0.1)
  310. door.Transparency = door.Transparency - 0.1
  311. wait(0.1)
  312. door.Transparency = door.Transparency - 0.1
  313. wait(0.1)
  314. door.Transparency = door.Transparency - 0.1
  315. wait(0.1)
  316. door.Transparency = door.Transparency - 0.1
  317. wait(0.1)
  318. door.Transparency = door.Transparency - 0.1
  319. wait(0.1)
  320. door.Transparency = door.Transparency - 0.1
  321. wait(0.1)
  322. door.Transparency = 0
  323. door.CanCollide = true
  324. script.Value.Value = 0
  325. end
  326. end
  327.  
  328.  
  329. script.Parent.ClickDetector.MouseClick:connect(clicked)
  330. end))
  331. NumberValue15.Parent = Script14
  332. Model16.Name = "KeyPad"
  333. Model16.Parent = Model10
  334. Part17.Name = "B9"
  335. Part17.Parent = Model16
  336. Part17.BrickColor = BrickColor.new("Institutional white")
  337. Part17.Rotation = Vector3.new(-90, 0, 90)
  338. Part17.FormFactor = Enum.FormFactor.Plate
  339. Part17.Size = Vector3.new(1, 0.400000006, 1)
  340. Part17.CFrame = CFrame.new(4.79998779, 5.69462347, 97.5, -4.1577905e-10, -1, -5.91153366e-08, 1.33639332e-07, 5.91153366e-08, 1, -1, -4.1577905e-10, -1.33639332e-07)
  341. Part17.BottomSurface = Enum.SurfaceType.Weld
  342. Part17.TopSurface = Enum.SurfaceType.Smooth
  343. Part17.Color = Color3.new(0.972549, 0.972549, 0.972549)
  344. Part17.Position = Vector3.new(4.79998779, 5.69462347, 97.5)
  345. Part17.Orientation = Vector3.new(-90, 90, 0)
  346. Part17.Color = Color3.new(0.972549, 0.972549, 0.972549)
  347. ClickDetector18.Parent = Part17
  348. ClickDetector18.MaxActivationDistance = 20
  349. Decal19.Parent = Part17
  350. Decal19.Texture = "http://www.roblox.com/asset/?id=2761971"
  351. Decal19.Face = Enum.NormalId.Top
  352. BlockMesh20.Parent = Part17
  353. Part21.Name = "B7"
  354. Part21.Parent = Model16
  355. Part21.BrickColor = BrickColor.new("Institutional white")
  356. Part21.Rotation = Vector3.new(-90, 0, 90)
  357. Part21.FormFactor = Enum.FormFactor.Plate
  358. Part21.Size = Vector3.new(1, 0.400000006, 1)
  359. Part21.CFrame = CFrame.new(4.79998779, 5.69462395, 95.5, -4.1577905e-10, -1, -5.91153366e-08, 1.33639332e-07, 5.91153366e-08, 1, -1, -4.1577905e-10, -1.33639332e-07)
  360. Part21.BottomSurface = Enum.SurfaceType.Weld
  361. Part21.TopSurface = Enum.SurfaceType.Smooth
  362. Part21.Color = Color3.new(0.972549, 0.972549, 0.972549)
  363. Part21.Position = Vector3.new(4.79998779, 5.69462395, 95.5)
  364. Part21.Orientation = Vector3.new(-90, 90, 0)
  365. Part21.Color = Color3.new(0.972549, 0.972549, 0.972549)
  366. ClickDetector22.Parent = Part21
  367. ClickDetector22.MaxActivationDistance = 20
  368. Decal23.Parent = Part21
  369. Decal23.Texture = "http://www.roblox.com/asset/?id=2761956"
  370. Decal23.Face = Enum.NormalId.Top
  371. BlockMesh24.Parent = Part21
  372. Part25.Name = "B8"
  373. Part25.Parent = Model16
  374. Part25.BrickColor = BrickColor.new("Institutional white")
  375. Part25.Rotation = Vector3.new(-90, 0, 90)
  376. Part25.FormFactor = Enum.FormFactor.Plate
  377. Part25.Size = Vector3.new(1, 0.400000006, 1)
  378. Part25.CFrame = CFrame.new(4.79998779, 5.69462395, 96.5, -4.1577905e-10, -1, -5.91153366e-08, 1.33639332e-07, 5.91153366e-08, 1, -1, -4.1577905e-10, -1.33639332e-07)
  379. Part25.BottomSurface = Enum.SurfaceType.Weld
  380. Part25.TopSurface = Enum.SurfaceType.Smooth
  381. Part25.Color = Color3.new(0.972549, 0.972549, 0.972549)
  382. Part25.Position = Vector3.new(4.79998779, 5.69462395, 96.5)
  383. Part25.Orientation = Vector3.new(-90, 90, 0)
  384. Part25.Color = Color3.new(0.972549, 0.972549, 0.972549)
  385. ClickDetector26.Parent = Part25
  386. ClickDetector26.MaxActivationDistance = 20
  387. Decal27.Parent = Part25
  388. Decal27.Texture = "http://www.roblox.com/asset/?id=2761961"
  389. Decal27.Face = Enum.NormalId.Top
  390. BlockMesh28.Parent = Part25
  391. Part29.Name = "B6"
  392. Part29.Parent = Model16
  393. Part29.BrickColor = BrickColor.new("Institutional white")
  394. Part29.Rotation = Vector3.new(-90, 0, 90)
  395. Part29.FormFactor = Enum.FormFactor.Plate
  396. Part29.Size = Vector3.new(1, 0.400000006, 1)
  397. Part29.CFrame = CFrame.new(4.79998779, 6.69462347, 97.5, -4.1577905e-10, -1, -5.91153366e-08, 1.33639332e-07, 5.91153366e-08, 1, -1, -4.1577905e-10, -1.33639332e-07)
  398. Part29.BottomSurface = Enum.SurfaceType.Weld
  399. Part29.TopSurface = Enum.SurfaceType.Smooth
  400. Part29.Color = Color3.new(0.972549, 0.972549, 0.972549)
  401. Part29.Position = Vector3.new(4.79998779, 6.69462347, 97.5)
  402. Part29.Orientation = Vector3.new(-90, 90, 0)
  403. Part29.Color = Color3.new(0.972549, 0.972549, 0.972549)
  404. ClickDetector30.Parent = Part29
  405. ClickDetector30.MaxActivationDistance = 20
  406. Decal31.Parent = Part29
  407. Decal31.Texture = "http://www.roblox.com/asset/?id=2761948"
  408. Decal31.Face = Enum.NormalId.Top
  409. BlockMesh32.Parent = Part29
  410. Part33.Name = "B5"
  411. Part33.Parent = Model16
  412. Part33.BrickColor = BrickColor.new("Institutional white")
  413. Part33.Rotation = Vector3.new(-90, 0, 90)
  414. Part33.FormFactor = Enum.FormFactor.Plate
  415. Part33.Size = Vector3.new(1, 0.400000006, 1)
  416. Part33.CFrame = CFrame.new(4.79998779, 6.69462395, 96.5, -4.1577905e-10, -1, -5.91153366e-08, 1.33639332e-07, 5.91153366e-08, 1, -1, -4.1577905e-10, -1.33639332e-07)
  417. Part33.BottomSurface = Enum.SurfaceType.Weld
  418. Part33.TopSurface = Enum.SurfaceType.Smooth
  419. Part33.Color = Color3.new(0.972549, 0.972549, 0.972549)
  420. Part33.Position = Vector3.new(4.79998779, 6.69462395, 96.5)
  421. Part33.Orientation = Vector3.new(-90, 90, 0)
  422. Part33.Color = Color3.new(0.972549, 0.972549, 0.972549)
  423. ClickDetector34.Parent = Part33
  424. ClickDetector34.MaxActivationDistance = 20
  425. Decal35.Parent = Part33
  426. Decal35.Texture = "http://www.roblox.com/asset/?id=2761943"
  427. Decal35.Face = Enum.NormalId.Top
  428. BlockMesh36.Parent = Part33
  429. Part37.Name = "B4"
  430. Part37.Parent = Model16
  431. Part37.BrickColor = BrickColor.new("Institutional white")
  432. Part37.Rotation = Vector3.new(-90, 0, 90)
  433. Part37.FormFactor = Enum.FormFactor.Plate
  434. Part37.Size = Vector3.new(1, 0.400000006, 1)
  435. Part37.CFrame = CFrame.new(4.79998779, 6.69462395, 95.5, -4.1577905e-10, -1, -5.91153366e-08, 1.33639332e-07, 5.91153366e-08, 1, -1, -4.1577905e-10, -1.33639332e-07)
  436. Part37.BottomSurface = Enum.SurfaceType.Weld
  437. Part37.TopSurface = Enum.SurfaceType.Smooth
  438. Part37.Color = Color3.new(0.972549, 0.972549, 0.972549)
  439. Part37.Position = Vector3.new(4.79998779, 6.69462395, 95.5)
  440. Part37.Orientation = Vector3.new(-90, 90, 0)
  441. Part37.Color = Color3.new(0.972549, 0.972549, 0.972549)
  442. ClickDetector38.Parent = Part37
  443. ClickDetector38.MaxActivationDistance = 10
  444. Decal39.Parent = Part37
  445. Decal39.Texture = "http://www.roblox.com/asset/?id=2761938"
  446. Decal39.Face = Enum.NormalId.Top
  447. BlockMesh40.Parent = Part37
  448. Part41.Name = "B3"
  449. Part41.Parent = Model16
  450. Part41.BrickColor = BrickColor.new("Institutional white")
  451. Part41.Rotation = Vector3.new(-90, 0, 90)
  452. Part41.FormFactor = Enum.FormFactor.Plate
  453. Part41.Size = Vector3.new(1, 0.400000006, 1)
  454. Part41.CFrame = CFrame.new(4.79998732, 7.69513083, 97.5, -1.66316216e-09, -1, -2.36461347e-07, 5.3455733e-07, 2.36461347e-07, 1, -1, -1.66316216e-09, -5.3455733e-07)
  455. Part41.BottomSurface = Enum.SurfaceType.Weld
  456. Part41.TopSurface = Enum.SurfaceType.Smooth
  457. Part41.Color = Color3.new(0.972549, 0.972549, 0.972549)
  458. Part41.Position = Vector3.new(4.79998732, 7.69513083, 97.5)
  459. Part41.Orientation = Vector3.new(-90, 90, 0)
  460. Part41.Color = Color3.new(0.972549, 0.972549, 0.972549)
  461. ClickDetector42.Parent = Part41
  462. ClickDetector42.MaxActivationDistance = 20
  463. Decal43.Parent = Part41
  464. Decal43.Texture = "http://www.roblox.com/asset/?id=2761927"
  465. Decal43.Face = Enum.NormalId.Top
  466. BlockMesh44.Parent = Part41
  467. Part45.Name = "B1"
  468. Part45.Parent = Model16
  469. Part45.BrickColor = BrickColor.new("Institutional white")
  470. Part45.Rotation = Vector3.new(-90, 0, -90)
  471. Part45.FormFactor = Enum.FormFactor.Plate
  472. Part45.Size = Vector3.new(1, 0.400000006, 1)
  473. Part45.CFrame = CFrame.new(4.80004883, 7.69486523, 95.5, 1.45526047e-09, 1, -2.06903678e-07, -4.67737664e-07, -2.06903678e-07, 1, 1, 1.45526069e-09, -4.67737664e-07)
  474. Part45.BottomSurface = Enum.SurfaceType.Smooth
  475. Part45.TopSurface = Enum.SurfaceType.Weld
  476. Part45.Color = Color3.new(0.972549, 0.972549, 0.972549)
  477. Part45.Position = Vector3.new(4.80004883, 7.69486523, 95.5)
  478. Part45.Orientation = Vector3.new(-90, -90, 0)
  479. Part45.Color = Color3.new(0.972549, 0.972549, 0.972549)
  480. ClickDetector46.Parent = Part45
  481. ClickDetector46.MaxActivationDistance = 20
  482. Decal47.Parent = Part45
  483. Decal47.Texture = "http://www.roblox.com/asset/?id=2761913"
  484. Decal47.Face = Enum.NormalId.Bottom
  485. BlockMesh48.Parent = Part45
  486. Part49.Name = "B0"
  487. Part49.Parent = Model16
  488. Part49.BrickColor = BrickColor.new("Institutional white")
  489. Part49.Rotation = Vector3.new(-90, 0, 90)
  490. Part49.FormFactor = Enum.FormFactor.Plate
  491. Part49.Size = Vector3.new(1, 0.400000006, 1)
  492. Part49.CFrame = CFrame.new(4.79998779, 4.69462395, 96.5, -4.1577905e-10, -1, -5.91153366e-08, 1.33639332e-07, 5.91153366e-08, 1, -1, -4.1577905e-10, -1.33639332e-07)
  493. Part49.BottomSurface = Enum.SurfaceType.Weld
  494. Part49.TopSurface = Enum.SurfaceType.Smooth
  495. Part49.Color = Color3.new(0.972549, 0.972549, 0.972549)
  496. Part49.Position = Vector3.new(4.79998779, 4.69462395, 96.5)
  497. Part49.Orientation = Vector3.new(-90, 90, 0)
  498. Part49.Color = Color3.new(0.972549, 0.972549, 0.972549)
  499. ClickDetector50.Parent = Part49
  500. ClickDetector50.MaxActivationDistance = 20
  501. Decal51.Parent = Part49
  502. Decal51.Texture = "http://www.roblox.com/asset/?id=2761903"
  503. Decal51.Face = Enum.NormalId.Top
  504. BlockMesh52.Parent = Part49
  505. Part53.Name = "Enter"
  506. Part53.Parent = Model16
  507. Part53.BrickColor = BrickColor.new("Lime green")
  508. Part53.Rotation = Vector3.new(-90, 0, 90)
  509. Part53.FormFactor = Enum.FormFactor.Plate
  510. Part53.Size = Vector3.new(1, 0.400000006, 1)
  511. Part53.CFrame = CFrame.new(4.79998779, 4.69462395, 95.5, -4.1577905e-10, -1, -5.91153366e-08, 1.33639332e-07, 5.91153366e-08, 1, -1, -4.1577905e-10, -1.33639332e-07)
  512. Part53.BottomSurface = Enum.SurfaceType.Weld
  513. Part53.TopSurface = Enum.SurfaceType.Smooth
  514. Part53.Color = Color3.new(0, 1, 0)
  515. Part53.Position = Vector3.new(4.79998779, 4.69462395, 95.5)
  516. Part53.Orientation = Vector3.new(-90, 90, 0)
  517. Part53.Color = Color3.new(0, 1, 0)
  518. ClickDetector54.Parent = Part53
  519. ClickDetector54.MaxActivationDistance = 20
  520. Decal55.Parent = Part53
  521. Decal55.Texture = "http://www.roblox.com/asset/?id=2761987"
  522. Decal55.Face = Enum.NormalId.Top
  523. BlockMesh56.Parent = Part53
  524. Part57.Name = "Clear"
  525. Part57.Parent = Model16
  526. Part57.BrickColor = BrickColor.new("Really red")
  527. Part57.Rotation = Vector3.new(-90, 0, 90)
  528. Part57.FormFactor = Enum.FormFactor.Plate
  529. Part57.Size = Vector3.new(1, 0.400000006, 1)
  530. Part57.CFrame = CFrame.new(4.79980803, 4.69280481, 97.4997559, -3.31343273e-08, -1, 1.08014401e-05, 1.24996932e-05, 1.12743628e-05, 1, -1, 2.99313498e-08, 1.14305785e-05)
  531. Part57.BottomSurface = Enum.SurfaceType.Weld
  532. Part57.TopSurface = Enum.SurfaceType.Smooth
  533. Part57.Color = Color3.new(1, 0, 0)
  534. Part57.Position = Vector3.new(4.79980803, 4.69280481, 97.4997559)
  535. Part57.Orientation = Vector3.new(-90, 90, 0)
  536. Part57.Color = Color3.new(1, 0, 0)
  537. ClickDetector58.Parent = Part57
  538. ClickDetector58.MaxActivationDistance = 20
  539. Decal59.Parent = Part57
  540. Decal59.Texture = "http://www.roblox.com/asset/?id=2761996"
  541. Decal59.Face = Enum.NormalId.Top
  542. BlockMesh60.Parent = Part57
  543. Part61.Name = "B2"
  544. Part61.Parent = Model16
  545. Part61.BrickColor = BrickColor.new("Institutional white")
  546. Part61.Rotation = Vector3.new(-90, 0, 90)
  547. Part61.FormFactor = Enum.FormFactor.Plate
  548. Part61.Size = Vector3.new(1, 0.400000006, 1)
  549. Part61.CFrame = CFrame.new(4.79998732, 7.6951313, 96.5, -1.66316216e-09, -1, -2.36461347e-07, 5.3455733e-07, 2.36461347e-07, 1, -1, -1.66316216e-09, -5.3455733e-07)
  550. Part61.BottomSurface = Enum.SurfaceType.Weld
  551. Part61.TopSurface = Enum.SurfaceType.Smooth
  552. Part61.Color = Color3.new(0.972549, 0.972549, 0.972549)
  553. Part61.Position = Vector3.new(4.79998732, 7.6951313, 96.5)
  554. Part61.Orientation = Vector3.new(-90, 90, 0)
  555. Part61.Color = Color3.new(0.972549, 0.972549, 0.972549)
  556. ClickDetector62.Parent = Part61
  557. ClickDetector62.MaxActivationDistance = 20
  558. Decal63.Parent = Part61
  559. Decal63.Texture = "http://www.roblox.com/asset/?id=2761922"
  560. Decal63.Face = Enum.NormalId.Top
  561. BlockMesh64.Parent = Part61
  562. Script65.Name = "MasterScript"
  563. Script65.Parent = Model16
  564. table.insert(cors,sandbox(Script65,function()
  565. Code = "1337" --change To any numbers You like
  566. Input = ("Cleared")
  567.  
  568.  
  569. --This Is for my buddys 00dino and imaginary50cent
  570.  
  571. --created by theboodog1
  572. ------------------------------------------
  573. --Clear And Enter
  574.  
  575. function Clear()
  576. print("Cleared")
  577. Input = ""
  578. end
  579.  
  580. script.Parent.Clear.ClickDetector.MouseClick:connect(Clear)
  581.  
  582.  
  583.  
  584.  
  585. function Enter()
  586. if Input == Code then
  587. print("Entered")
  588. Input = ""
  589.  
  590. local door = script.Parent.Parent.Door
  591.  
  592. door.CanCollide = false
  593. door.Transparency = door.Transparency + 0.1
  594. wait(0.1)
  595. door.Transparency = door.Transparency + 0.1
  596. wait(0.1)
  597. door.Transparency = door.Transparency + 0.1
  598. wait(0.1)
  599. door.Transparency = door.Transparency + 0.1
  600. wait(0.1)
  601. door.Transparency = door.Transparency + 0.1
  602. wait(0.1)
  603. door.Transparency = door.Transparency + 0.1
  604. wait(0.1)
  605. door.Transparency = door.Transparency + 0.1
  606. wait(0.1)
  607. door.Transparency = 0.8
  608. wait(3)--
  609. door.Transparency = door.Transparency - 0.1
  610. wait(0.1)
  611. door.Transparency = door.Transparency - 0.1
  612. wait(0.1)
  613. door.Transparency = door.Transparency - 0.1
  614. wait(0.1)
  615. door.Transparency = door.Transparency - 0.1
  616. wait(0.1)
  617. door.Transparency = door.Transparency - 0.1
  618. wait(0.1)
  619. door.Transparency = door.Transparency - 0.1
  620. wait(0.1)
  621. door.Transparency = door.Transparency - 0.1
  622. wait(0.1)
  623. door.Transparency = 0
  624. door.CanCollide = true
  625.  
  626.  
  627.  
  628. return end
  629. Input = ""
  630. print("Wrong Code")
  631. end
  632.  
  633.  
  634.  
  635.  
  636. script.Parent.Enter.ClickDetector.MouseClick:connect(Enter)
  637.  
  638. ------------------------------------------
  639. --Digets
  640.  
  641.  
  642. function Click0()
  643. Input = Input..0
  644. print("0")
  645. script.Parent.B0.Decal.Texture = "http://www.roblox.com/asset/?id=2767674"
  646. wait(0.1)
  647. script.Parent.B0.Decal.Texture = "http://www.roblox.com/asset/?id=2761903"
  648. end
  649.  
  650. script.Parent.B0.ClickDetector.MouseClick:connect(Click0)
  651.  
  652. function Click1()
  653. Input = Input..1
  654. print("1")
  655. script.Parent.B1.Decal.Texture = "http://www.roblox.com/asset/?id=2767677"
  656. wait(0.1)
  657. script.Parent.B1.Decal.Texture = "http://www.roblox.com/asset/?id=2761913"
  658. end
  659.  
  660. script.Parent.B1.ClickDetector.MouseClick:connect(Click1)
  661.  
  662. function Click2()
  663. Input = Input..2
  664. print("2")
  665. script.Parent.B2.Decal.Texture = "http://www.roblox.com/asset/?id=2767680"
  666. wait(0.1)
  667. script.Parent.B2.Decal.Texture = "http://www.roblox.com/asset/?id=2761922"
  668. end
  669.  
  670. script.Parent.B2.ClickDetector.MouseClick:connect(Click2)
  671.  
  672. function Click3()
  673. Input = Input..3
  674. print("3")
  675. script.Parent.B3.Decal.Texture = "http://www.roblox.com/asset/?id=2767686"
  676. wait(0.1)
  677. script.Parent.B3.Decal.Texture = "http://www.roblox.com/asset/?id=2761927"
  678. end
  679.  
  680. script.Parent.B3.ClickDetector.MouseClick:connect(Click3)
  681.  
  682. function Click4()
  683. Input = Input..4
  684. print("4")
  685. script.Parent.B4.Decal.Texture = "http://www.roblox.com/asset/?id=2767693"
  686. wait(0.1)
  687. script.Parent.B4.Decal.Texture = "http://www.roblox.com/asset/?id=2761938"
  688. end
  689.  
  690. script.Parent.B4.ClickDetector.MouseClick:connect(Click4)
  691.  
  692. function Click5()
  693. Input = Input..5
  694. print("5")
  695. script.Parent.B5.Decal.Texture = "http://www.roblox.com/asset/?id=2767695"
  696. wait(0.1)
  697. script.Parent.B5.Decal.Texture = "http://www.roblox.com/asset/?id=2761943"
  698. end
  699.  
  700. script.Parent.B5.ClickDetector.MouseClick:connect(Click5)
  701.  
  702. function Click6()
  703. Input = Input..6
  704. print("6")
  705. script.Parent.B6.Decal.Texture = "http://www.roblox.com/asset/?id=2767699"
  706. wait(0.1)
  707. script.Parent.B6.Decal.Texture = "http://www.roblox.com/asset/?id=2761948"
  708. end
  709.  
  710. script.Parent.B6.ClickDetector.MouseClick:connect(Click6)
  711.  
  712. function Click7()
  713. Input = Input..7
  714. print("7")
  715. script.Parent.B7.Decal.Texture = "http://www.roblox.com/asset/?id=2767701"
  716. wait(0.1)
  717. script.Parent.B7.Decal.Texture = "http://www.roblox.com/asset/?id=2761956"
  718. end
  719.  
  720. script.Parent.B7.ClickDetector.MouseClick:connect(Click7)
  721.  
  722. function Click8()
  723. Input = Input..8
  724. print("8")
  725. script.Parent.B8.Decal.Texture = "http://www.roblox.com/asset/?id=2767707"
  726. wait(0.1)
  727. script.Parent.B8.Decal.Texture = "http://www.roblox.com/asset/?id=2761961"
  728. end
  729.  
  730. script.Parent.B8.ClickDetector.MouseClick:connect(Click8)
  731.  
  732. function Click9()
  733. Input = Input..9
  734. print("9")
  735. script.Parent.B9.Decal.Texture = "http://www.roblox.com/asset/?id=2767714"
  736. wait(0.1)
  737. script.Parent.B9.Decal.Texture = "http://www.roblox.com/asset/?id=2761971"
  738. end
  739.  
  740. script.Parent.B9.ClickDetector.MouseClick:connect(Click9)
  741. end))
  742. Part66.Name = "Door"
  743. Part66.Parent = Model10
  744. Part66.BrickColor = BrickColor.new("Dark stone grey")
  745. Part66.Rotation = Vector3.new(0, 90, 0)
  746. Part66.FormFactor = Enum.FormFactor.Symmetric
  747. Part66.Size = Vector3.new(6, 8, 1)
  748. Part66.CFrame = CFrame.new(5.5, 4.99999714, 91, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  749. Part66.BottomSurface = Enum.SurfaceType.Smooth
  750. Part66.TopSurface = Enum.SurfaceType.Smooth
  751. Part66.Color = Color3.new(0.388235, 0.372549, 0.384314)
  752. Part66.Position = Vector3.new(5.5, 4.99999714, 91)
  753. Part66.Orientation = Vector3.new(0, 90, 0)
  754. Part66.Color = Color3.new(0.388235, 0.372549, 0.384314)
  755. BlockMesh67.Parent = Part66
  756. Part68.Parent = Model1
  757. Part68.Rotation = Vector3.new(0, 90, 0)
  758. Part68.FormFactor = Enum.FormFactor.Symmetric
  759. Part68.Size = Vector3.new(24, 11, 1)
  760. Part68.CFrame = CFrame.new(43.5, 6.49999714, 98, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  761. Part68.BottomSurface = Enum.SurfaceType.Smooth
  762. Part68.TopSurface = Enum.SurfaceType.Smooth
  763. Part68.Position = Vector3.new(43.5, 6.49999714, 98)
  764. Part68.Orientation = Vector3.new(0, 90, 0)
  765. BlockMesh69.Parent = Part68
  766. Part70.Parent = Model1
  767. Part70.FormFactor = Enum.FormFactor.Symmetric
  768. Part70.Size = Vector3.new(39, 1, 24)
  769. Part70.CFrame = CFrame.new(24.5, 0.500002861, 98, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  770. Part70.BottomSurface = Enum.SurfaceType.Smooth
  771. Part70.TopSurface = Enum.SurfaceType.Smooth
  772. Part70.Position = Vector3.new(24.5, 0.500002861, 98)
  773. BlockMesh71.Parent = Part70
  774. Part72.Parent = Model1
  775. Part72.FormFactor = Enum.FormFactor.Symmetric
  776. Part72.Size = Vector3.new(37, 11, 1)
  777. Part72.CFrame = CFrame.new(24.5, 6.49999714, 109.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  778. Part72.BottomSurface = Enum.SurfaceType.Smooth
  779. Part72.TopSurface = Enum.SurfaceType.Smooth
  780. Part72.Position = Vector3.new(24.5, 6.49999714, 109.5)
  781. BlockMesh73.Parent = Part72
  782. Part74.Parent = Model1
  783. Part74.FormFactor = Enum.FormFactor.Symmetric
  784. Part74.Size = Vector3.new(37, 11, 1)
  785. Part74.CFrame = CFrame.new(24.5, 6.49999714, 86.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  786. Part74.BottomSurface = Enum.SurfaceType.Smooth
  787. Part74.TopSurface = Enum.SurfaceType.Smooth
  788. Part74.Position = Vector3.new(24.5, 6.49999714, 86.5)
  789. BlockMesh75.Parent = Part74
  790. Model76.Parent = Model0
  791. Model77.Name = "For the engineer (Sentry owner)"
  792. Model77.Parent = Model76
  793. Humanoid78.Parent = Model77
  794. Humanoid78.Health = 0
  795. Humanoid78.MaxHealth = 0
  796. Part79.Name = "Head"
  797. Part79.Parent = Model77
  798. Part79.Anchored = true
  799. Part79.FormFactor = Enum.FormFactor.Plate
  800. Part79.Size = Vector3.new(1, 0.400000006, 5)
  801. Part79.CFrame = CFrame.new(29.4999352, 4.51494884, 90.4980469, 1, -2.47658818e-06, -3.31050796e-06, 2.4766216e-06, 1, 1.00969046e-05, 3.31048295e-06, -1.00969128e-05, 1)
  802. Part79.Position = Vector3.new(29.4999352, 4.51494884, 90.4980469)
  803. Model80.Parent = Model76
  804. Model80.PrimaryPart = Part91
  805. Part81.Name = "Smooth Block Model"
  806. Part81.Parent = Model80
  807. Part81.BrickColor = BrickColor.new("Black")
  808. Part81.Transparency = 0.30000001192093
  809. Part81.Rotation = Vector3.new(0, -90, 0)
  810. Part81.Anchored = true
  811. Part81.Size = Vector3.new(3, 6, 1)
  812. Part81.CFrame = CFrame.new(28.4997082, 4.01009321, 90.4998932, -3.19125729e-06, -2.54163842e-06, -1, 9.91143315e-06, 1, -2.54167003e-06, 1, -9.91144134e-06, -3.19123205e-06)
  813. Part81.Color = Color3.new(0.105882, 0.164706, 0.207843)
  814. Part81.Position = Vector3.new(28.4997082, 4.01009321, 90.4998932)
  815. Part81.Orientation = Vector3.new(0, -90, 0)
  816. Part81.Color = Color3.new(0.105882, 0.164706, 0.207843)
  817. Part82.Name = "Smooth Block Model"
  818. Part82.Parent = Model80
  819. Part82.BrickColor = BrickColor.new("Black")
  820. Part82.Transparency = 0.30000001192093
  821. Part82.Anchored = true
  822. Part82.Size = Vector3.new(3, 6, 1)
  823. Part82.CFrame = CFrame.new(27.4997234, 4.0101819, 92.4998856, 1, 1.00761536e-05, -1.37016641e-05, -1.00756979e-05, 1, 3.31164192e-05, 1.37019988e-05, -3.31162773e-05, 1)
  824. Part82.Color = Color3.new(0.105882, 0.164706, 0.207843)
  825. Part82.Position = Vector3.new(27.4997234, 4.0101819, 92.4998856)
  826. Part82.Color = Color3.new(0.105882, 0.164706, 0.207843)
  827. Part83.Name = "PUT THE WEAPON IN THIS BRICK"
  828. Part83.Parent = Model80
  829. Part83.BrickColor = BrickColor.new("White")
  830. Part83.Rotation = Vector3.new(-179.98999, 0, -180)
  831. Part83.Anchored = true
  832. Part83.Size = Vector3.new(1, 1.20000005, 5)
  833. Part83.CFrame = CFrame.new(29.4999371, 3.71529794, 90.4979553, -1, 4.05925384e-05, 1.37055304e-05, 4.05941719e-05, 1, 0.000119471595, -1.37006791e-05, 0.000119472148, -1)
  834. Part83.TopSurface = Enum.SurfaceType.Smooth
  835. Part83.Color = Color3.new(0.94902, 0.952941, 0.952941)
  836. Part83.Position = Vector3.new(29.4999371, 3.71529794, 90.4979553)
  837. Part83.Orientation = Vector3.new(-0.00999999978, 180, 0)
  838. Part83.Color = Color3.new(0.94902, 0.952941, 0.952941)
  839. Tool84.Name = "Heal sentry"
  840. Tool84.Parent = Part83
  841. Tool84.TextureId = "rbxasset://icons/configure.png"
  842. Tool84.GripForward = Vector3.new(-1, -0, -0)
  843. Tool84.GripPos = Vector3.new(0, 0, -0.699999988)
  844. Tool84.GripRight = Vector3.new(-0, 1, 0)
  845. Tool84.GripUp = Vector3.new(0, -0, 1)
  846. Script85.Name = "SwordScript"
  847. Script85.Parent = Tool84
  848. table.insert(cors,sandbox(Script85,function()
  849. -------- OMG HAX
  850.  
  851. r = game:service("RunService")
  852.  
  853.  
  854. local damage = -20
  855.  
  856.  
  857. local slash_damage = -1
  858.  
  859.  
  860. sword = script.Parent.Handle
  861. Tool = script.Parent
  862.  
  863.  
  864.  
  865. function attack()
  866. local anim = Instance.new("StringValue")
  867. anim.Name = "toolanim"
  868. anim.Value = "Slash"
  869. anim.Parent = Tool
  870. end
  871.  
  872.  
  873. function swordUp()
  874. Tool.GripForward = Vector3.new(-1,0,0)
  875. Tool.GripRight = Vector3.new(0,1,0)
  876. Tool.GripUp = Vector3.new(0,0,1)
  877. end
  878.  
  879. function swordOut()
  880. Tool.GripForward = Vector3.new(0,0,1)
  881. Tool.GripRight = Vector3.new(0,-1,0)
  882. Tool.GripUp = Vector3.new(-1,0,0)
  883. end
  884.  
  885.  
  886.  
  887. Tool.Enabled = true
  888.  
  889. function onActivated()
  890.  
  891. if not Tool.Enabled then
  892. return
  893. end
  894.  
  895. Tool.Enabled = false
  896.  
  897. local character = Tool.Parent;
  898. local humanoid = character.Humanoid
  899. if humanoid == nil then
  900. print("Humanoid not found")
  901. return
  902. end
  903.  
  904.  
  905.  
  906. attack()
  907.  
  908. wait(1)
  909.  
  910. Tool.Enabled = true
  911. end
  912.  
  913.  
  914. function onEquipped()
  915. end
  916.  
  917.  
  918. script.Parent.Activated:connect(onActivated)
  919. script.Parent.Equipped:connect(onEquipped)
  920.  
  921.  
  922. end))
  923. Part86.Name = "Handle"
  924. Part86.Parent = Tool84
  925. Part86.BrickColor = BrickColor.new("Dark stone grey")
  926. Part86.Rotation = Vector3.new(0, -1.41999996, -180)
  927. Part86.FormFactor = Enum.FormFactor.Plate
  928. Part86.Size = Vector3.new(1, 0.800000012, 2)
  929. Part86.CFrame = CFrame.new(27.2261753, 1.40000772, 90.8597488, -0.999694765, 2.55693067e-06, -0.0247051679, -2.79356777e-06, -1, 9.54393818e-06, -0.0247051679, 9.61004025e-06, 0.999694824)
  930. Part86.BottomSurface = Enum.SurfaceType.Smooth
  931. Part86.TopSurface = Enum.SurfaceType.Smooth
  932. Part86.Color = Color3.new(0.388235, 0.372549, 0.384314)
  933. Part86.Position = Vector3.new(27.2261753, 1.40000772, 90.8597488)
  934. Part86.Orientation = Vector3.new(0, -1.41999996, -180)
  935. Part86.Color = Color3.new(0.388235, 0.372549, 0.384314)
  936. SpecialMesh87.Parent = Part86
  937. SpecialMesh87.MeshId = "http://www.roblox.com/asset/?id=16884681"
  938. SpecialMesh87.Scale = Vector3.new(0.600000024, 0.600000024, 0.600000024)
  939. SpecialMesh87.TextureId = "http://www.roblox.com/asset/?id=16884673"
  940. SpecialMesh87.MeshType = Enum.MeshType.FileMesh
  941. SpecialMesh87.Scale = Vector3.new(0.600000024, 0.600000024, 0.600000024)
  942. Script88.Name = "PUT THIS IN THE WEAPON"
  943. Script88.Parent = Tool84
  944. table.insert(cors,sandbox(Script88,function()
  945. local debounce = false
  946.  
  947. function getPlayer(humanoid)
  948. local players = game.Players:children()
  949. for i = 1, #players do
  950. if players[i].Character.Humanoid == humanoid then return players[i] end
  951. end
  952. return nil
  953. end
  954.  
  955. function onTouch(part)
  956.  
  957. local human = part.Parent:findFirstChild("Humanoid")
  958. if (human ~= nil) and debounce == false then
  959.  
  960. debounce = true
  961.  
  962. local player = getPlayer(human)
  963.  
  964. if (player == nil) then return end
  965.  
  966. script.Parent:clone().Parent = player.Backpack
  967.  
  968. wait(2)
  969. debounce = false
  970. end
  971. end
  972.  
  973.  
  974. script.Parent.Parent.Touched:connect(onTouch)
  975.  
  976. end))
  977. Part89.Name = "Smooth Block Model"
  978. Part89.Parent = Model80
  979. Part89.BrickColor = BrickColor.new("Black")
  980. Part89.Transparency = 0.30000001192093
  981. Part89.Rotation = Vector3.new(0, -90, 0)
  982. Part89.Anchored = true
  983. Part89.Size = Vector3.new(5, 6, 1)
  984. Part89.CFrame = CFrame.new(25.4997425, 4.01008558, 90.4999008, -3.19125729e-06, -2.54163842e-06, -1, 9.91143315e-06, 1, -2.54167003e-06, 1, -9.91144134e-06, -3.19123205e-06)
  985. Part89.Color = Color3.new(0.105882, 0.164706, 0.207843)
  986. Part89.Position = Vector3.new(25.4997425, 4.01008558, 90.4999008)
  987. Part89.Orientation = Vector3.new(0, -90, 0)
  988. Part89.Color = Color3.new(0.105882, 0.164706, 0.207843)
  989. Part90.Name = "Smooth Block Model"
  990. Part90.Parent = Model80
  991. Part90.BrickColor = BrickColor.new("Black")
  992. Part90.Transparency = 0.30000001192093
  993. Part90.Anchored = true
  994. Part90.Size = Vector3.new(3, 6, 1)
  995. Part90.CFrame = CFrame.new(27.4997749, 4.01004887, 88.4999466, 1, 1.00761536e-05, -1.37016641e-05, -1.00756979e-05, 1, 3.31164192e-05, 1.37019988e-05, -3.31162773e-05, 1)
  996. Part90.Color = Color3.new(0.105882, 0.164706, 0.207843)
  997. Part90.Position = Vector3.new(27.4997749, 4.01004887, 88.4999466)
  998. Part90.Color = Color3.new(0.105882, 0.164706, 0.207843)
  999. Part91.Name = "Smooth Block Model"
  1000. Part91.Parent = Model80
  1001. Part91.BrickColor = BrickColor.new("Black")
  1002. Part91.Transparency = 0.30000001192093
  1003. Part91.Rotation = Vector3.new(0, -90, 0)
  1004. Part91.Anchored = true
  1005. Part91.Size = Vector3.new(5, 1.20000005, 4)
  1006. Part91.CFrame = CFrame.new(26.9997177, 7.6100812, 90.4998627, -3.19125729e-06, -2.54163842e-06, -1, 9.91143315e-06, 1, -2.54167003e-06, 1, -9.91144134e-06, -3.19123205e-06)
  1007. Part91.TopSurface = Enum.SurfaceType.Smooth
  1008. Part91.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1009. Part91.Position = Vector3.new(26.9997177, 7.6100812, 90.4998627)
  1010. Part91.Orientation = Vector3.new(0, -90, 0)
  1011. Part91.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1012. Script92.Name = "READ ME FOR INSTRUCTIONS"
  1013. Script92.Parent = Model80
  1014. table.insert(cors,sandbox(Script92,function()
  1015. --DONT PUT THIS IN ANYTHING IT'S JUST INSTRUCTIONS.
  1016. --First Place the "PUT THIS IN THE WEAPON" script in your Weapon or Tool.
  1017. --Then place your Weapon or Tool in the "PUT THE WEAPON IN THIS BRICK" brick.
  1018.  
  1019. --IMPORTANT (OPTINAL)
  1020. --Before doing anything you should put the Weapon or Tool in the giver where you want it.
  1021. end))
  1022. Model93.Name = "Sentry Morph"
  1023. Model93.Parent = Model0
  1024. Model94.Parent = Model93
  1025. Model95.Name = "Chest"
  1026. Model95.Parent = Model94
  1027. Part96.Name = "Middle"
  1028. Part96.Parent = Model95
  1029. Part96.Transparency = 1
  1030. Part96.Rotation = Vector3.new(0, -90, 0)
  1031. Part96.Anchored = true
  1032. Part96.CanCollide = false
  1033. Part96.FormFactor = Enum.FormFactor.Symmetric
  1034. Part96.Size = Vector3.new(2, 2, 1)
  1035. Part96.CFrame = CFrame.new(23.4997311, 4.00063705, 98.9999695, -3.19126411e-06, -2.54162683e-06, -1, 9.91143406e-06, 1, -2.5416814e-06, 1, -9.91144225e-06, -3.19123501e-06)
  1036. Part96.Position = Vector3.new(23.4997311, 4.00063705, 98.9999695)
  1037. Part96.Orientation = Vector3.new(0, -90, 0)
  1038. Part97.Parent = Model95
  1039. Part97.BrickColor = BrickColor.new("Bright red")
  1040. Part97.Rotation = Vector3.new(180, 0.0299999993, -180)
  1041. Part97.Anchored = true
  1042. Part97.FormFactor = Enum.FormFactor.Symmetric
  1043. Part97.Size = Vector3.new(2, 1, 2)
  1044. Part97.CFrame = CFrame.new(22.5592613, 4.45000982, 99.0204544, -0.999999881, 3.25373844e-06, 0.000490826205, 3.25132714e-06, 1, -4.86587351e-06, -0.000490826205, -4.86427689e-06, -0.999999881)
  1045. Part97.BottomSurface = Enum.SurfaceType.Smooth
  1046. Part97.TopSurface = Enum.SurfaceType.Smooth
  1047. Part97.Color = Color3.new(0.768628, 0.156863, 0.109804)
  1048. Part97.Position = Vector3.new(22.5592613, 4.45000982, 99.0204544)
  1049. Part97.Orientation = Vector3.new(0, 179.970001, 0)
  1050. Part97.Color = Color3.new(0.768628, 0.156863, 0.109804)
  1051. CylinderMesh98.Parent = Part97
  1052. CylinderMesh98.Scale = Vector3.new(2, 1.10000002, 1)
  1053. CylinderMesh98.Scale = Vector3.new(2, 1.10000002, 1)
  1054. Part99.Parent = Model95
  1055. Part99.BrickColor = BrickColor.new("Really black")
  1056. Part99.Rotation = Vector3.new(180, 90, 0)
  1057. Part99.Anchored = true
  1058. Part99.CanCollide = false
  1059. Part99.FormFactor = Enum.FormFactor.Symmetric
  1060. Part99.Size = Vector3.new(1, 1, 1)
  1061. Part99.CFrame = CFrame.new(22.7997417, 2.34000945, 99.019989, -3.19126411e-06, 2.55553618e-06, 1, 1.00624275e-05, -1, 2.55559166e-06, 1, 1.00624347e-05, 3.19123501e-06)
  1062. Part99.BottomSurface = Enum.SurfaceType.Smooth
  1063. Part99.TopSurface = Enum.SurfaceType.Smooth
  1064. Part99.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1065. Part99.Position = Vector3.new(22.7997417, 2.34000945, 99.019989)
  1066. Part99.Orientation = Vector3.new(0, 90, 180)
  1067. Part99.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1068. SpecialMesh100.Parent = Part99
  1069. SpecialMesh100.Scale = Vector3.new(0.699999988, 0.200000003, 0.200000003)
  1070. SpecialMesh100.MeshType = Enum.MeshType.Brick
  1071. SpecialMesh100.Scale = Vector3.new(0.699999988, 0.200000003, 0.200000003)
  1072. Part101.Parent = Model95
  1073. Part101.BrickColor = BrickColor.new("Really black")
  1074. Part101.Rotation = Vector3.new(90, 45, -90)
  1075. Part101.Anchored = true
  1076. Part101.FormFactor = Enum.FormFactor.Symmetric
  1077. Part101.Size = Vector3.new(1, 2, 1)
  1078. Part101.CFrame = CFrame.new(22.6997623, 2.20001411, 99.1999969, 2.93747871e-06, 0.707100153, 0.707113504, -9.6610147e-06, 0.707113445, -0.707100093, -1, -4.75440174e-06, 8.90842057e-06)
  1079. Part101.BottomSurface = Enum.SurfaceType.Smooth
  1080. Part101.TopSurface = Enum.SurfaceType.Smooth
  1081. Part101.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1082. Part101.Position = Vector3.new(22.6997623, 2.20001411, 99.1999969)
  1083. Part101.Orientation = Vector3.new(45, 90, 0)
  1084. Part101.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1085. SpecialMesh102.Parent = Part101
  1086. SpecialMesh102.Scale = Vector3.new(0.200000003, 1, 0.200000003)
  1087. SpecialMesh102.MeshType = Enum.MeshType.Brick
  1088. SpecialMesh102.Scale = Vector3.new(0.200000003, 1, 0.200000003)
  1089. Part103.Parent = Model95
  1090. Part103.BrickColor = BrickColor.new("Really black")
  1091. Part103.Rotation = Vector3.new(90, 45, -90)
  1092. Part103.Anchored = true
  1093. Part103.FormFactor = Enum.FormFactor.Symmetric
  1094. Part103.Size = Vector3.new(1, 2, 1)
  1095. Part103.CFrame = CFrame.new(22.6997585, 2.20000911, 98.7999954, 2.93747871e-06, 0.707100153, 0.707113504, -9.6610147e-06, 0.707113445, -0.707100093, -1, -4.75440174e-06, 8.90842057e-06)
  1096. Part103.BottomSurface = Enum.SurfaceType.Smooth
  1097. Part103.TopSurface = Enum.SurfaceType.Smooth
  1098. Part103.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1099. Part103.Position = Vector3.new(22.6997585, 2.20000911, 98.7999954)
  1100. Part103.Orientation = Vector3.new(45, 90, 0)
  1101. Part103.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1102. SpecialMesh104.Parent = Part103
  1103. SpecialMesh104.Scale = Vector3.new(0.200000003, 1, 0.200000003)
  1104. SpecialMesh104.MeshType = Enum.MeshType.Brick
  1105. SpecialMesh104.Scale = Vector3.new(0.200000003, 1, 0.200000003)
  1106. Part105.Parent = Model95
  1107. Part105.BrickColor = BrickColor.new("Really black")
  1108. Part105.Rotation = Vector3.new(180, 90, 0)
  1109. Part105.Anchored = true
  1110. Part105.FormFactor = Enum.FormFactor.Plate
  1111. Part105.Size = Vector3.new(1, 0.400000006, 1)
  1112. Part105.CFrame = CFrame.new(22.0997543, 1.38000965, 99.0199966, -3.19126411e-06, 2.55553618e-06, 1, 1.00624275e-05, -1, 2.55559166e-06, 1, 1.00624347e-05, 3.19123501e-06)
  1113. Part105.BottomSurface = Enum.SurfaceType.Smooth
  1114. Part105.TopSurface = Enum.SurfaceType.Smooth
  1115. Part105.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1116. Part105.Position = Vector3.new(22.0997543, 1.38000965, 99.0199966)
  1117. Part105.Orientation = Vector3.new(0, 90, 180)
  1118. Part105.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1119. SpecialMesh106.Parent = Part105
  1120. SpecialMesh106.Scale = Vector3.new(0.699999988, 0.600000024, 0.200000003)
  1121. SpecialMesh106.MeshType = Enum.MeshType.Brick
  1122. SpecialMesh106.Scale = Vector3.new(0.699999988, 0.600000024, 0.200000003)
  1123. Part107.Parent = Model95
  1124. Part107.BrickColor = BrickColor.new("Really black")
  1125. Part107.Rotation = Vector3.new(180, 0, -130.839996)
  1126. Part107.Anchored = true
  1127. Part107.CanCollide = false
  1128. Part107.FormFactor = Enum.FormFactor.Symmetric
  1129. Part107.Size = Vector3.new(1, 1, 1)
  1130. Part107.CFrame = CFrame.new(22.9997501, 3.4600172, 99.0099792, -0.653958857, 0.756530166, 3.23622953e-06, 0.756530166, 0.653958857, -9.97038296e-06, -9.65924119e-06, -4.07194602e-06, -1)
  1131. Part107.BottomSurface = Enum.SurfaceType.Smooth
  1132. Part107.TopSurface = Enum.SurfaceType.Smooth
  1133. Part107.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1134. Part107.Position = Vector3.new(22.9997501, 3.4600172, 99.0099792)
  1135. Part107.Orientation = Vector3.new(0, 180, 49.1599998)
  1136. Part107.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1137. BlockMesh108.Parent = Part107
  1138. BlockMesh108.Scale = Vector3.new(0.150000006, 0.5, 0.150000006)
  1139. BlockMesh108.Scale = Vector3.new(0.150000006, 0.5, 0.150000006)
  1140. Part109.Parent = Model95
  1141. Part109.BrickColor = BrickColor.new("Really black")
  1142. Part109.Rotation = Vector3.new(180, 0, 134)
  1143. Part109.Anchored = true
  1144. Part109.CanCollide = false
  1145. Part109.FormFactor = Enum.FormFactor.Symmetric
  1146. Part109.Size = Vector3.new(1, 1, 1)
  1147. Part109.CFrame = CFrame.new(22.6997356, 3.39999676, 99.009964, -0.694651663, -0.719346344, 3.22109554e-06, -0.719346344, 0.694651604, -1.00034513e-05, 4.95839049e-06, -9.26596113e-06, -1)
  1148. Part109.BottomSurface = Enum.SurfaceType.Smooth
  1149. Part109.TopSurface = Enum.SurfaceType.Smooth
  1150. Part109.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1151. Part109.Position = Vector3.new(22.6997356, 3.39999676, 99.009964)
  1152. Part109.Orientation = Vector3.new(0, 180, -46)
  1153. Part109.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1154. BlockMesh110.Parent = Part109
  1155. BlockMesh110.Scale = Vector3.new(0.150000006, 0.5, 0.150000006)
  1156. BlockMesh110.Scale = Vector3.new(0.150000006, 0.5, 0.150000006)
  1157. Part111.Parent = Model95
  1158. Part111.BrickColor = BrickColor.new("Really black")
  1159. Part111.Rotation = Vector3.new(180, 0, -130.599991)
  1160. Part111.Anchored = true
  1161. Part111.CanCollide = false
  1162. Part111.FormFactor = Enum.FormFactor.Symmetric
  1163. Part111.Size = Vector3.new(1, 1, 1)
  1164. Part111.CFrame = CFrame.new(23.0997524, 3.32000875, 99.0099792, -0.650784791, 0.759262264, 3.23637505e-06, 0.759262323, 0.650784791, -9.97026564e-06, -9.67617962e-06, -4.03128797e-06, -1)
  1165. Part111.BottomSurface = Enum.SurfaceType.Smooth
  1166. Part111.TopSurface = Enum.SurfaceType.Smooth
  1167. Part111.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1168. Part111.Position = Vector3.new(23.0997524, 3.32000875, 99.0099792)
  1169. Part111.Orientation = Vector3.new(0, 180, 49.3999977)
  1170. Part111.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1171. BlockMesh112.Parent = Part111
  1172. BlockMesh112.Scale = Vector3.new(0.150000006, 0.5, 0.150000006)
  1173. BlockMesh112.Scale = Vector3.new(0.150000006, 0.5, 0.150000006)
  1174. Part113.Parent = Model95
  1175. Part113.BrickColor = BrickColor.new("Really black")
  1176. Part113.Rotation = Vector3.new(-90, 0, -0.0299999993)
  1177. Part113.Anchored = true
  1178. Part113.CanCollide = false
  1179. Part113.FormFactor = Enum.FormFactor.Symmetric
  1180. Part113.Size = Vector3.new(1, 1, 1)
  1181. Part113.CFrame = CFrame.new(23.2090054, 3.54998422, 99.0102081, 0.999999881, 0.000490993785, 3.35083337e-06, -3.3484373e-06, -4.83305303e-06, 1, 0.000490993785, -0.999999881, -4.83140821e-06)
  1182. Part113.BottomSurface = Enum.SurfaceType.Smooth
  1183. Part113.TopSurface = Enum.SurfaceType.Smooth
  1184. Part113.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1185. Part113.Position = Vector3.new(23.2090054, 3.54998422, 99.0102081)
  1186. Part113.Orientation = Vector3.new(-90, -0.0299999993, 0)
  1187. Part113.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1188. CylinderMesh114.Parent = Part113
  1189. CylinderMesh114.Scale = Vector3.new(0.300000012, 0.100000001, 1)
  1190. CylinderMesh114.Scale = Vector3.new(0.300000012, 0.100000001, 1)
  1191. Part115.Parent = Model95
  1192. Part115.BrickColor = BrickColor.new("Really black")
  1193. Part115.Rotation = Vector3.new(-90, 0, -0.0299999993)
  1194. Part115.Anchored = true
  1195. Part115.CanCollide = false
  1196. Part115.FormFactor = Enum.FormFactor.Symmetric
  1197. Part115.Size = Vector3.new(1, 1, 1)
  1198. Part115.CFrame = CFrame.new(22.9090195, 3.25997663, 99.0102234, 0.999999881, 0.000490993785, 3.35083337e-06, -3.3484373e-06, -4.83305303e-06, 1, 0.000490993785, -0.999999881, -4.83140821e-06)
  1199. Part115.BottomSurface = Enum.SurfaceType.Smooth
  1200. Part115.TopSurface = Enum.SurfaceType.Smooth
  1201. Part115.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1202. Part115.Position = Vector3.new(22.9090195, 3.25997663, 99.0102234)
  1203. Part115.Orientation = Vector3.new(-90, -0.0299999993, 0)
  1204. Part115.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1205. CylinderMesh116.Parent = Part115
  1206. CylinderMesh116.Scale = Vector3.new(0.300000012, 0.100000001, 1)
  1207. CylinderMesh116.Scale = Vector3.new(0.300000012, 0.100000001, 1)
  1208. Part117.Parent = Model95
  1209. Part117.BrickColor = BrickColor.new("Really black")
  1210. Part117.Rotation = Vector3.new(-90, 0, -0.0299999993)
  1211. Part117.Anchored = true
  1212. Part117.CanCollide = false
  1213. Part117.FormFactor = Enum.FormFactor.Symmetric
  1214. Part117.Size = Vector3.new(1, 1, 1)
  1215. Part117.CFrame = CFrame.new(22.5090313, 3.8499999, 99.0102158, 0.999999881, 0.000490993785, 3.35083337e-06, -3.3484373e-06, -4.83305303e-06, 1, 0.000490993785, -0.999999881, -4.83140821e-06)
  1216. Part117.BottomSurface = Enum.SurfaceType.Smooth
  1217. Part117.TopSurface = Enum.SurfaceType.Smooth
  1218. Part117.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1219. Part117.Position = Vector3.new(22.5090313, 3.8499999, 99.0102158)
  1220. Part117.Orientation = Vector3.new(-90, -0.0299999993, 0)
  1221. Part117.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1222. CylinderMesh118.Parent = Part117
  1223. CylinderMesh118.Scale = Vector3.new(0.75, 0.100000001, 1)
  1224. CylinderMesh118.Scale = Vector3.new(0.75, 0.100000001, 1)
  1225. Part119.Parent = Model95
  1226. Part119.BrickColor = BrickColor.new("Really black")
  1227. Part119.Rotation = Vector3.new(180, 0.0299999993, -180)
  1228. Part119.Anchored = true
  1229. Part119.CanCollide = false
  1230. Part119.FormFactor = Enum.FormFactor.Symmetric
  1231. Part119.Size = Vector3.new(1, 2, 1)
  1232. Part119.CFrame = CFrame.new(23.5592556, 3.54999828, 99.0204468, -0.999999881, 3.25839505e-06, 0.000490826205, 3.25598376e-06, 1, -4.86587578e-06, -0.000490826205, -4.86427689e-06, -0.999999881)
  1233. Part119.BottomSurface = Enum.SurfaceType.Smooth
  1234. Part119.TopSurface = Enum.SurfaceType.Smooth
  1235. Part119.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1236. Part119.Position = Vector3.new(23.5592556, 3.54999828, 99.0204468)
  1237. Part119.Orientation = Vector3.new(0, 179.970001, 0)
  1238. Part119.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1239. CylinderMesh120.Parent = Part119
  1240. CylinderMesh120.Scale = Vector3.new(0.5, 1, 1)
  1241. CylinderMesh120.Scale = Vector3.new(0.5, 1, 1)
  1242. Part121.Parent = Model95
  1243. Part121.BrickColor = BrickColor.new("Really black")
  1244. Part121.Rotation = Vector3.new(90, 0, -90)
  1245. Part121.Anchored = true
  1246. Part121.CanCollide = false
  1247. Part121.FormFactor = Enum.FormFactor.Symmetric
  1248. Part121.Size = Vector3.new(1, 1, 1)
  1249. Part121.CFrame = CFrame.new(24.3997059, 4.57000685, 99.4399643, 3.23497807e-06, 1, 2.56598537e-06, -9.91142588e-06, 2.56604017e-06, -1, -1, 3.23494896e-06, 9.91143406e-06)
  1250. Part121.BottomSurface = Enum.SurfaceType.Smooth
  1251. Part121.TopSurface = Enum.SurfaceType.Smooth
  1252. Part121.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1253. Part121.Position = Vector3.new(24.3997059, 4.57000685, 99.4399643)
  1254. Part121.Orientation = Vector3.new(90, 90, 0)
  1255. Part121.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1256. SpecialMesh122.Parent = Part121
  1257. SpecialMesh122.Scale = Vector3.new(0.0120000001, 0.0250000004, 0.0120000001)
  1258. SpecialMesh122.MeshType = Enum.MeshType.FileMesh
  1259. SpecialMesh122.Scale = Vector3.new(0.0120000001, 0.0250000004, 0.0120000001)
  1260. Part123.Parent = Model95
  1261. Part123.BrickColor = BrickColor.new("Really black")
  1262. Part123.Rotation = Vector3.new(90, 0, -90)
  1263. Part123.Anchored = true
  1264. Part123.CanCollide = false
  1265. Part123.FormFactor = Enum.FormFactor.Symmetric
  1266. Part123.Size = Vector3.new(1, 1, 1)
  1267. Part123.CFrame = CFrame.new(24.379734, 4.29000521, 99.2499771, 3.23497807e-06, 1, 2.56598537e-06, -9.91142588e-06, 2.56604017e-06, -1, -1, 3.23494896e-06, 9.91143406e-06)
  1268. Part123.BottomSurface = Enum.SurfaceType.Smooth
  1269. Part123.TopSurface = Enum.SurfaceType.Smooth
  1270. Part123.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1271. Part123.Position = Vector3.new(24.379734, 4.29000521, 99.2499771)
  1272. Part123.Orientation = Vector3.new(90, 90, 0)
  1273. Part123.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1274. SpecialMesh124.Parent = Part123
  1275. SpecialMesh124.Scale = Vector3.new(0.0120000001, 0.0250000004, 0.0120000001)
  1276. SpecialMesh124.MeshType = Enum.MeshType.FileMesh
  1277. SpecialMesh124.Scale = Vector3.new(0.0120000001, 0.0250000004, 0.0120000001)
  1278. Part125.Parent = Model95
  1279. Part125.BrickColor = BrickColor.new("Really black")
  1280. Part125.Rotation = Vector3.new(0, 0.0299999993, -90)
  1281. Part125.Anchored = true
  1282. Part125.CanCollide = false
  1283. Part125.FormFactor = Enum.FormFactor.Symmetric
  1284. Part125.Size = Vector3.new(1, 1, 1)
  1285. Part125.CFrame = CFrame.new(24.1297112, 4.29000425, 99.2499847, 9.45569809e-06, 0.999999881, 0.000485621917, -1, 9.45585271e-06, -2.68687472e-07, -2.73279966e-07, -0.000485621917, 0.999999881)
  1286. Part125.BottomSurface = Enum.SurfaceType.Smooth
  1287. Part125.TopSurface = Enum.SurfaceType.Smooth
  1288. Part125.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1289. Part125.Position = Vector3.new(24.1297112, 4.29000425, 99.2499847)
  1290. Part125.Orientation = Vector3.new(0, 0.0299999993, -90)
  1291. Part125.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1292. CylinderMesh126.Parent = Part125
  1293. CylinderMesh126.Scale = Vector3.new(0.150000006, 0.5, 0.150000006)
  1294. CylinderMesh126.Scale = Vector3.new(0.150000006, 0.5, 0.150000006)
  1295. Part127.Parent = Model95
  1296. Part127.BrickColor = BrickColor.new("Really red")
  1297. Part127.Rotation = Vector3.new(0, 0.0299999993, -90)
  1298. Part127.Anchored = true
  1299. Part127.CanCollide = false
  1300. Part127.FormFactor = Enum.FormFactor.Symmetric
  1301. Part127.Size = Vector3.new(1, 1, 1)
  1302. Part127.CFrame = CFrame.new(24.1597157, 4.57000542, 99.4399796, 9.45569809e-06, 0.999999881, 0.000485621917, -1, 9.45585271e-06, -2.68687472e-07, -2.73279966e-07, -0.000485621917, 0.999999881)
  1303. Part127.BottomSurface = Enum.SurfaceType.Smooth
  1304. Part127.TopSurface = Enum.SurfaceType.Smooth
  1305. Part127.Color = Color3.new(1, 0, 0)
  1306. Part127.Position = Vector3.new(24.1597157, 4.57000542, 99.4399796)
  1307. Part127.Orientation = Vector3.new(0, 0.0299999993, -90)
  1308. Part127.Color = Color3.new(1, 0, 0)
  1309. CylinderMesh128.Parent = Part127
  1310. CylinderMesh128.Scale = Vector3.new(0.129999995, 0.5, 0.150000006)
  1311. CylinderMesh128.Scale = Vector3.new(0.129999995, 0.5, 0.150000006)
  1312. Part129.Parent = Model95
  1313. Part129.BrickColor = BrickColor.new("Really black")
  1314. Part129.Rotation = Vector3.new(180, 0.0299999993, -180)
  1315. Part129.Anchored = true
  1316. Part129.FormFactor = Enum.FormFactor.Symmetric
  1317. Part129.Size = Vector3.new(2, 1, 2)
  1318. Part129.CFrame = CFrame.new(22.5592766, 4.45000982, 99.0204544, -0.999999881, 3.25560109e-06, 0.000490826205, 3.25318979e-06, 1, -4.86587442e-06, -0.000490826205, -4.86427689e-06, -0.999999881)
  1319. Part129.BottomSurface = Enum.SurfaceType.Smooth
  1320. Part129.TopSurface = Enum.SurfaceType.Smooth
  1321. Part129.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1322. Part129.Position = Vector3.new(22.5592766, 4.45000982, 99.0204544)
  1323. Part129.Orientation = Vector3.new(0, 179.970001, 0)
  1324. Part129.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1325. CylinderMesh130.Parent = Part129
  1326. CylinderMesh130.Scale = Vector3.new(0.300000012, 1.12, 1)
  1327. CylinderMesh130.Scale = Vector3.new(0.300000012, 1.12, 1)
  1328. Part131.Parent = Model95
  1329. Part131.BrickColor = BrickColor.new("Really black")
  1330. Part131.Rotation = Vector3.new(90, 0, -90)
  1331. Part131.Anchored = true
  1332. Part131.FormFactor = Enum.FormFactor.Symmetric
  1333. Part131.Size = Vector3.new(1, 1, 1)
  1334. Part131.CFrame = CFrame.new(23.9597206, 4.50000477, 98.7000046, 2.58578802e-06, 1, 9.48024899e-06, 3.65645519e-07, 9.48027082e-06, -1, -1, 2.58575892e-06, -3.65620963e-07)
  1335. Part131.BottomSurface = Enum.SurfaceType.Smooth
  1336. Part131.TopSurface = Enum.SurfaceType.Smooth
  1337. Part131.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1338. Part131.Position = Vector3.new(23.9597206, 4.50000477, 98.7000046)
  1339. Part131.Orientation = Vector3.new(90, 90, 0)
  1340. Part131.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1341. CylinderMesh132.Parent = Part131
  1342. CylinderMesh132.Scale = Vector3.new(0.5, 1, 0.5)
  1343. CylinderMesh132.Scale = Vector3.new(0.5, 1, 0.5)
  1344. Part133.Parent = Model95
  1345. Part133.BrickColor = BrickColor.new("Dark stone grey")
  1346. Part133.Rotation = Vector3.new(180, 0.0299999993, -180)
  1347. Part133.Anchored = true
  1348. Part133.FormFactor = Enum.FormFactor.Symmetric
  1349. Part133.Size = Vector3.new(2, 1, 2)
  1350. Part133.CFrame = CFrame.new(22.5592766, 4.45000982, 99.0204544, -0.999999881, 3.25466976e-06, 0.000490826205, 3.25225847e-06, 1, -4.86587396e-06, -0.000490826205, -4.86427689e-06, -0.999999881)
  1351. Part133.BottomSurface = Enum.SurfaceType.Smooth
  1352. Part133.TopSurface = Enum.SurfaceType.Smooth
  1353. Part133.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1354. Part133.Position = Vector3.new(22.5592766, 4.45000982, 99.0204544)
  1355. Part133.Orientation = Vector3.new(0, 179.970001, 0)
  1356. Part133.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1357. CylinderMesh134.Parent = Part133
  1358. CylinderMesh134.Scale = Vector3.new(0.699999988, 1.11000001, 1)
  1359. CylinderMesh134.Scale = Vector3.new(0.699999988, 1.11000001, 1)
  1360. Part135.Parent = Model95
  1361. Part135.BrickColor = BrickColor.new("Bright red")
  1362. Part135.Rotation = Vector3.new(0, -90, 0)
  1363. Part135.Anchored = true
  1364. Part135.FormFactor = Enum.FormFactor.Symmetric
  1365. Part135.Size = Vector3.new(2, 1, 1)
  1366. Part135.CFrame = CFrame.new(23.1597252, 4.45002127, 99.0199814, 2.32591992e-06, -1.01272308e-05, -1, -5.16581622e-07, 1, -1.01272544e-05, 1, 5.16605724e-07, 2.32591992e-06)
  1367. Part135.BottomSurface = Enum.SurfaceType.Smooth
  1368. Part135.TopSurface = Enum.SurfaceType.Smooth
  1369. Part135.Color = Color3.new(0.768628, 0.156863, 0.109804)
  1370. Part135.Position = Vector3.new(23.1597252, 4.45002127, 99.0199814)
  1371. Part135.Orientation = Vector3.new(0, -90, 0)
  1372. Part135.Color = Color3.new(0.768628, 0.156863, 0.109804)
  1373. SpecialMesh136.Parent = Part135
  1374. SpecialMesh136.Scale = Vector3.new(0.810000002, 1.00999999, 1.00999999)
  1375. SpecialMesh136.MeshType = Enum.MeshType.Brick
  1376. SpecialMesh136.Scale = Vector3.new(0.810000002, 1.00999999, 1.00999999)
  1377. Part137.Parent = Model95
  1378. Part137.BrickColor = BrickColor.new("Really black")
  1379. Part137.Rotation = Vector3.new(0, -90, 0)
  1380. Part137.Anchored = true
  1381. Part137.FormFactor = Enum.FormFactor.Symmetric
  1382. Part137.Size = Vector3.new(2, 1, 1)
  1383. Part137.CFrame = CFrame.new(23.8597221, 4.44996166, 99.0200119, 2.32103048e-06, -1.01270871e-05, -1, -6.25062457e-05, 1, -1.01272544e-05, 1, 6.25062748e-05, 2.3204484e-06)
  1384. Part137.BottomSurface = Enum.SurfaceType.Smooth
  1385. Part137.TopSurface = Enum.SurfaceType.Smooth
  1386. Part137.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1387. Part137.Position = Vector3.new(23.8597221, 4.44996166, 99.0200119)
  1388. Part137.Orientation = Vector3.new(0, -90, 0)
  1389. Part137.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1390. SpecialMesh138.Parent = Part137
  1391. SpecialMesh138.Scale = Vector3.new(0.800000012, 1, 1)
  1392. SpecialMesh138.MeshType = Enum.MeshType.Brick
  1393. SpecialMesh138.Scale = Vector3.new(0.800000012, 1, 1)
  1394. Part139.Parent = Model95
  1395. Part139.BrickColor = BrickColor.new("Bright red")
  1396. Part139.Rotation = Vector3.new(0.0399999991, -90, 0)
  1397. Part139.Anchored = true
  1398. Part139.FormFactor = Enum.FormFactor.Symmetric
  1399. Part139.Size = Vector3.new(2, 1, 1)
  1400. Part139.CFrame = CFrame.new(23.9197197, 4.4507246, 99.0203476, -1.67620601e-06, -9.34959462e-06, -1, -0.000703145808, 0.999999821, -9.34843592e-06, 0.999999762, 0.000703145866, -1.68272527e-06)
  1401. Part139.BottomSurface = Enum.SurfaceType.Smooth
  1402. Part139.TopSurface = Enum.SurfaceType.Smooth
  1403. Part139.Color = Color3.new(0.768628, 0.156863, 0.109804)
  1404. Part139.Position = Vector3.new(23.9197197, 4.4507246, 99.0203476)
  1405. Part139.Orientation = Vector3.new(0, -90, -0.0399999991)
  1406. Part139.Color = Color3.new(0.768628, 0.156863, 0.109804)
  1407. SpecialMesh140.Parent = Part139
  1408. SpecialMesh140.Scale = Vector3.new(0.699999988, 0.899999976, 0.899999976)
  1409. SpecialMesh140.MeshType = Enum.MeshType.Brick
  1410. SpecialMesh140.Scale = Vector3.new(0.699999988, 0.899999976, 0.899999976)
  1411. Part141.Parent = Model95
  1412. Part141.BrickColor = BrickColor.new("Really black")
  1413. Part141.Rotation = Vector3.new(90, 0, -90)
  1414. Part141.Anchored = true
  1415. Part141.FormFactor = Enum.FormFactor.Symmetric
  1416. Part141.Size = Vector3.new(1, 1, 1)
  1417. Part141.CFrame = CFrame.new(24.4997139, 4.50002766, 98.6999741, 3.23497807e-06, 1, 2.56598537e-06, -9.91142588e-06, 2.56604017e-06, -1, -1, 3.23494896e-06, 9.91143406e-06)
  1418. Part141.BottomSurface = Enum.SurfaceType.Smooth
  1419. Part141.TopSurface = Enum.SurfaceType.Smooth
  1420. Part141.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1421. Part141.Position = Vector3.new(24.4997139, 4.50002766, 98.6999741)
  1422. Part141.Orientation = Vector3.new(90, 90, 0)
  1423. Part141.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1424. SpecialMesh142.Parent = Part141
  1425. SpecialMesh142.Scale = Vector3.new(0.0350000001, 0.150000006, 0.0350000001)
  1426. SpecialMesh142.MeshType = Enum.MeshType.FileMesh
  1427. SpecialMesh142.Scale = Vector3.new(0.0350000001, 0.150000006, 0.0350000001)
  1428. Part143.Parent = Model95
  1429. Part143.BrickColor = BrickColor.new("Really black")
  1430. Part143.Rotation = Vector3.new(0, -90, 0)
  1431. Part143.Anchored = true
  1432. Part143.FormFactor = Enum.FormFactor.Plate
  1433. Part143.Size = Vector3.new(1, 0.400000006, 1)
  1434. Part143.CFrame = CFrame.new(24.2997112, 1.40000486, 98.0500336, -3.23497807e-06, -2.69262023e-06, -1, 9.76042611e-06, 1, -2.69267457e-06, 1, -9.7604352e-06, -3.23494896e-06)
  1435. Part143.BottomSurface = Enum.SurfaceType.Smooth
  1436. Part143.TopSurface = Enum.SurfaceType.Smooth
  1437. Part143.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1438. Part143.Position = Vector3.new(24.2997112, 1.40000486, 98.0500336)
  1439. Part143.Orientation = Vector3.new(0, -90, 0)
  1440. Part143.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1441. CylinderMesh144.Parent = Part143
  1442. CylinderMesh144.Scale = Vector3.new(0.75, 0.600000024, 1)
  1443. CylinderMesh144.Scale = Vector3.new(0.75, 0.600000024, 1)
  1444. Part145.Parent = Model95
  1445. Part145.BrickColor = BrickColor.new("Really black")
  1446. Part145.Rotation = Vector3.new(-90, 60, 120)
  1447. Part145.Anchored = true
  1448. Part145.CanCollide = false
  1449. Part145.FormFactor = Enum.FormFactor.Symmetric
  1450. Part145.Size = Vector3.new(1, 2, 1)
  1451. Part145.CFrame = CFrame.new(23.9595146, 2.25002503, 98.5202332, -0.249995679, -0.433005959, 0.866030037, 0.433018655, 0.750001907, 0.499992043, -0.86602366, 0.50000298, 2.45153205e-06)
  1452. Part145.BottomSurface = Enum.SurfaceType.Smooth
  1453. Part145.TopSurface = Enum.SurfaceType.Smooth
  1454. Part145.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1455. Part145.Position = Vector3.new(23.9595146, 2.25002503, 98.5202332)
  1456. Part145.Orientation = Vector3.new(-30, 90, 30)
  1457. Part145.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1458. SpecialMesh146.Parent = Part145
  1459. SpecialMesh146.Scale = Vector3.new(0.300000012, 1, 0.300000012)
  1460. SpecialMesh146.MeshType = Enum.MeshType.Brick
  1461. SpecialMesh146.Scale = Vector3.new(0.300000012, 1, 0.300000012)
  1462. Part147.Parent = Model95
  1463. Part147.BrickColor = BrickColor.new("Really black")
  1464. Part147.Rotation = Vector3.new(-90, 60, 60)
  1465. Part147.Anchored = true
  1466. Part147.CanCollide = false
  1467. Part147.FormFactor = Enum.FormFactor.Symmetric
  1468. Part147.Size = Vector3.new(1, 2, 1)
  1469. Part147.CFrame = CFrame.new(23.9595261, 2.25002122, 99.5202179, 0.250000089, -0.433003426, 0.866030037, -0.433018029, 0.750002325, 0.499992013, -0.866022706, -0.500004649, 2.38377834e-06)
  1470. Part147.BottomSurface = Enum.SurfaceType.Smooth
  1471. Part147.TopSurface = Enum.SurfaceType.Smooth
  1472. Part147.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1473. Part147.Position = Vector3.new(23.9595261, 2.25002122, 99.5202179)
  1474. Part147.Orientation = Vector3.new(-30, 90, -30)
  1475. Part147.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1476. SpecialMesh148.Parent = Part147
  1477. SpecialMesh148.Scale = Vector3.new(0.300000012, 1, 0.300000012)
  1478. SpecialMesh148.MeshType = Enum.MeshType.Brick
  1479. SpecialMesh148.Scale = Vector3.new(0.300000012, 1, 0.300000012)
  1480. Part149.Parent = Model95
  1481. Part149.BrickColor = BrickColor.new("Really black")
  1482. Part149.Rotation = Vector3.new(0, -90, 0)
  1483. Part149.Anchored = true
  1484. Part149.FormFactor = Enum.FormFactor.Plate
  1485. Part149.Size = Vector3.new(1, 0.400000006, 1)
  1486. Part149.CFrame = CFrame.new(24.2996979, 1.40002513, 100.050011, -3.23497807e-06, -2.69262023e-06, -1, 9.76042611e-06, 1, -2.69267457e-06, 1, -9.7604352e-06, -3.23494896e-06)
  1487. Part149.BottomSurface = Enum.SurfaceType.Smooth
  1488. Part149.TopSurface = Enum.SurfaceType.Smooth
  1489. Part149.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1490. Part149.Position = Vector3.new(24.2996979, 1.40002513, 100.050011)
  1491. Part149.Orientation = Vector3.new(0, -90, 0)
  1492. Part149.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1493. CylinderMesh150.Parent = Part149
  1494. CylinderMesh150.Scale = Vector3.new(0.75, 0.600000024, 1)
  1495. CylinderMesh150.Scale = Vector3.new(0.75, 0.600000024, 1)
  1496. Part151.Name = "TheButton"
  1497. Part151.Parent = Model94
  1498. Part151.BrickColor = BrickColor.new("Bright red")
  1499. Part151.Rotation = Vector3.new(0, 90, 0)
  1500. Part151.Anchored = true
  1501. Part151.CanCollide = false
  1502. Part151.FormFactor = Enum.FormFactor.Plate
  1503. Part151.Size = Vector3.new(2, 0.400000006, 2)
  1504. Part151.CFrame = CFrame.new(26.9996758, 1.20002389, 99.2000275, 3.23497807e-06, -2.54162683e-06, 1, -9.91142588e-06, 1, 2.54168208e-06, -1, -9.91143497e-06, 3.23494896e-06)
  1505. Part151.BottomSurface = Enum.SurfaceType.Smooth
  1506. Part151.TopSurface = Enum.SurfaceType.Smooth
  1507. Part151.Color = Color3.new(0.768628, 0.156863, 0.109804)
  1508. Part151.Position = Vector3.new(26.9996758, 1.20002389, 99.2000275)
  1509. Part151.Orientation = Vector3.new(0, 90, 0)
  1510. Part151.Color = Color3.new(0.768628, 0.156863, 0.109804)
  1511. Script152.Name = "Torso"
  1512. Script152.Parent = Part151
  1513. table.insert(cors,sandbox(Script152,function()
  1514. function onTouched(hit)
  1515. if hit.Parent:findFirstChild("Humanoid") ~= nil and hit.Parent:findFirstChild("Chest") == nil then
  1516. local g = script.Parent.Parent.Chest:clone()
  1517. g.Parent = hit.Parent
  1518. local C = g:GetChildren()
  1519. for i=1, #C do
  1520. if C[i].className == "Part" then
  1521. local W = Instance.new("Weld")
  1522. W.Part0 = g.Middle
  1523. W.Part1 = C[i]
  1524. local CJ = CFrame.new(g.Middle.Position)
  1525. local C0 = g.Middle.CFrame:inverse()*CJ
  1526. local C1 = C[i].CFrame:inverse()*CJ
  1527. W.C0 = C0
  1528. W.C1 = C1
  1529. W.Parent = g.Middle
  1530. end
  1531. local Y = Instance.new("Weld")
  1532. Y.Part0 = hit.Parent.Torso
  1533. Y.Part1 = g.Middle
  1534. Y.C0 = CFrame.new(0, 0, 0)
  1535. Y.Parent = Y.Part0
  1536. end
  1537.  
  1538. local h = g:GetChildren()
  1539. for i = 1, # h do
  1540. h[i].Anchored = false
  1541. h[i].CanCollide = false
  1542. end
  1543.  
  1544. end
  1545. end
  1546.  
  1547. script.Parent.Touched:connect(onTouched)
  1548. end))
  1549. Script153.Name = "Arms"
  1550. Script153.Parent = Part151
  1551. table.insert(cors,sandbox(Script153,function()
  1552. function onTouched(hit)
  1553. if hit.Parent:findFirstChild("Humanoid") ~= nil and hit.Parent:findFirstChild("Arm1") == nil then
  1554. local g = script.Parent.Parent.Arm1:clone()
  1555. g.Parent = hit.Parent
  1556. local C = g:GetChildren()
  1557. for i=1, #C do
  1558. if C[i].className == "Part" then
  1559. local W = Instance.new("Weld")
  1560. W.Part0 = g.Middle
  1561. W.Part1 = C[i]
  1562. local CJ = CFrame.new(g.Middle.Position)
  1563. local C0 = g.Middle.CFrame:inverse()*CJ
  1564. local C1 = C[i].CFrame:inverse()*CJ
  1565. W.C0 = C0
  1566. W.C1 = C1
  1567. W.Parent = g.Middle
  1568. end
  1569. local Y = Instance.new("Weld")
  1570. Y.Part0 = hit.Parent["Left Arm"]
  1571. Y.Part1 = g.Middle
  1572. Y.C0 = CFrame.new(0, 0, 0)
  1573. Y.Parent = Y.Part0
  1574. end
  1575.  
  1576. local h = g:GetChildren()
  1577. for i = 1, # h do
  1578. h[i].Anchored = false
  1579. h[i].CanCollide = false
  1580. end
  1581.  
  1582. end
  1583.  
  1584. if hit.Parent:findFirstChild("Humanoid") ~= nil and hit.Parent:findFirstChild("Arm2") == nil then
  1585. local g = script.Parent.Parent.Arm2:clone()
  1586. g.Parent = hit.Parent
  1587. local C = g:GetChildren()
  1588. for i=1, #C do
  1589. if C[i].className == "Part" then
  1590. local W = Instance.new("Weld")
  1591. W.Part0 = g.Middle
  1592. W.Part1 = C[i]
  1593. local CJ = CFrame.new(g.Middle.Position)
  1594. local C0 = g.Middle.CFrame:inverse()*CJ
  1595. local C1 = C[i].CFrame:inverse()*CJ
  1596. W.C0 = C0
  1597. W.C1 = C1
  1598. W.Parent = g.Middle
  1599. end
  1600. local Y = Instance.new("Weld")
  1601. Y.Part0 = hit.Parent["Right Arm"]
  1602. Y.Part1 = g.Middle
  1603. Y.C0 = CFrame.new(0, 0, 0)
  1604. Y.Parent = Y.Part0
  1605. end
  1606.  
  1607. local h = g:GetChildren()
  1608. for i = 1, # h do
  1609. h[i].Anchored = false
  1610. h[i].CanCollide = false
  1611. end
  1612.  
  1613. end
  1614. end
  1615.  
  1616. script.Parent.Touched:connect(onTouched)
  1617. end))
  1618. Script154.Name = "Legs"
  1619. Script154.Parent = Part151
  1620. table.insert(cors,sandbox(Script154,function()
  1621. function onTouched(hit)
  1622. if hit.Parent:findFirstChild("Humanoid") ~= nil and hit.Parent:findFirstChild("Leg1") == nil then
  1623. local g = script.Parent.Parent.Leg1:clone()
  1624. g.Parent = hit.Parent
  1625. local C = g:GetChildren()
  1626. for i=1, #C do
  1627. if C[i].className == "Part" then
  1628. local W = Instance.new("Weld")
  1629. W.Part0 = g.Middle
  1630. W.Part1 = C[i]
  1631. local CJ = CFrame.new(g.Middle.Position)
  1632. local C0 = g.Middle.CFrame:inverse()*CJ
  1633. local C1 = C[i].CFrame:inverse()*CJ
  1634. W.C0 = C0
  1635. W.C1 = C1
  1636. W.Parent = g.Middle
  1637. end
  1638. local Y = Instance.new("Weld")
  1639. Y.Part0 = hit.Parent["Left Leg"]
  1640. Y.Part1 = g.Middle
  1641. Y.C0 = CFrame.new(0, 0, 0)
  1642. Y.Parent = Y.Part0
  1643. end
  1644.  
  1645. local h = g:GetChildren()
  1646. for i = 1, # h do
  1647. h[i].Anchored = false
  1648. h[i].CanCollide = false
  1649. end
  1650.  
  1651. end
  1652.  
  1653. if hit.Parent:findFirstChild("Humanoid") ~= nil and hit.Parent:findFirstChild("Leg2") == nil then
  1654. local g = script.Parent.Parent.Leg2:clone()
  1655. g.Parent = hit.Parent
  1656. local C = g:GetChildren()
  1657. for i=1, #C do
  1658. if C[i].className == "Part" then
  1659. local W = Instance.new("Weld")
  1660. W.Part0 = g.Middle
  1661. W.Part1 = C[i]
  1662. local CJ = CFrame.new(g.Middle.Position)
  1663. local C0 = g.Middle.CFrame:inverse()*CJ
  1664. local C1 = C[i].CFrame:inverse()*CJ
  1665. W.C0 = C0
  1666. W.C1 = C1
  1667. W.Parent = g.Middle
  1668. end
  1669. local Y = Instance.new("Weld")
  1670. Y.Part0 = hit.Parent["Right Leg"]
  1671. Y.Part1 = g.Middle
  1672. Y.C0 = CFrame.new(0, 0, 0)
  1673. Y.Parent = Y.Part0
  1674. end
  1675.  
  1676. local h = g:GetChildren()
  1677. for i = 1, # h do
  1678. h[i].Anchored = false
  1679. h[i].CanCollide = false
  1680. end
  1681.  
  1682. end
  1683. end
  1684.  
  1685. script.Parent.Touched:connect(onTouched)
  1686. end))
  1687. Script155.Name = "WalkSpeed Script"
  1688. Script155.Parent = Part151
  1689. table.insert(cors,sandbox(Script155,function()
  1690. local debounce = false
  1691.  
  1692. function onTouch(part)
  1693.  
  1694. local human = part.Parent:findFirstChild("Humanoid")
  1695. if (human ~= nil) and debounce == false then
  1696.  
  1697. debounce = true
  1698.  
  1699. human.WalkSpeed = 20 -- or whatever number
  1700.  
  1701. wait(2)
  1702. debounce = false
  1703. end
  1704. end
  1705.  
  1706.  
  1707. script.Parent.Touched:connect(onTouch)
  1708.  
  1709. end))
  1710. Script156.Name = "Invisble"
  1711. Script156.Parent = Part151
  1712. table.insert(cors,sandbox(Script156,function()
  1713. -- UAEmaple
  1714.  
  1715.  
  1716.  
  1717. function onTouch(part)
  1718. local human = part.Parent:findFirstChild("Humanoid")
  1719. if human ~= nil then
  1720. part.Parent:findFirstChild("Head").Transparency = 1
  1721. part.Parent:findFirstChild("Torso").Transparency = 1
  1722. part.Parent:findFirstChild("Left Arm").Transparency = 1
  1723. part.Parent:findFirstChild("Right Arm").Transparency = 1
  1724. part.Parent:findFirstChild("Left Leg").Transparency = 1
  1725. part.Parent:findFirstChild("Right Leg").Transparency = 1
  1726. if part.Parent:findFirstChild("Torso"):findFirstChild("roblox") == nil then return end
  1727. part.Parent:findFirstChild("Torso"):findFirstChild("roblox"):remove()
  1728. end
  1729. end
  1730. script.Parent.Touched:connect(onTouch)
  1731. end))
  1732. CylinderMesh157.Parent = Part151
  1733. Script158.Name = "HatRemover"
  1734. Script158.Parent = Part151
  1735. table.insert(cors,sandbox(Script158,function()
  1736. function onTouched(hit)
  1737. local d = hit.Parent:GetChildren()
  1738. for i=1, #d do
  1739. if (d[i].className == "Hat") then
  1740. d[i]:remove()
  1741. end
  1742. end
  1743. end
  1744.  
  1745. script.Parent.Touched:connect(onTouched)
  1746. end))
  1747. Script159.Name = "Head"
  1748. Script159.Parent = Part151
  1749. table.insert(cors,sandbox(Script159,function()
  1750. function onTouched(hit)
  1751. if hit.Parent:findFirstChild("Humanoid") ~= nil and hit.Parent:findFirstChild("xHead") == nil then
  1752. local g = script.Parent.Parent.xHead:clone()
  1753. g.Parent = hit.Parent
  1754. local C = g:GetChildren()
  1755. for i=1, #C do
  1756. if C[i].className == "Part" then
  1757. local W = Instance.new("Weld")
  1758. W.Part0 = g.Middle
  1759. W.Part1 = C[i]
  1760. local CJ = CFrame.new(g.Middle.Position)
  1761. local C0 = g.Middle.CFrame:inverse()*CJ
  1762. local C1 = C[i].CFrame:inverse()*CJ
  1763. W.C0 = C0
  1764. W.C1 = C1
  1765. W.Parent = g.Middle
  1766. end
  1767. local Y = Instance.new("Weld")
  1768. Y.Part0 = hit.Parent.Head
  1769. Y.Part1 = g.Middle
  1770. Y.C0 = CFrame.new(0, 0, 0)
  1771. Y.Parent = Y.Part0
  1772. end
  1773.  
  1774. local h = g:GetChildren()
  1775. for i = 1, # h do
  1776. h[i].Anchored = false
  1777. h[i].CanCollide = false
  1778. end
  1779.  
  1780. end
  1781. end
  1782.  
  1783. script.Parent.Touched:connect(onTouched)
  1784. end))
  1785. Script160.Parent = Part151
  1786. table.insert(cors,sandbox(Script160,function()
  1787. -- declarations
  1788.  
  1789. local head = script.Parent
  1790. local sound = head:findFirstChild("Victory")
  1791.  
  1792. function onTouched(part)
  1793. local h = part.Parent:findFirstChild("Humanoid")
  1794. if h~=nil then
  1795. sound:play()
  1796. if part.Parent:findFirstChild("Head"):findFirstChild("face").Texture == nil then return end
  1797. part.Parent:findFirstChild("Head"):findFirstChild("face").Texture=""
  1798. end
  1799. end
  1800.  
  1801. script.Parent.Touched:connect(onTouched)
  1802. end))
  1803. Sound161.Name = "Victory"
  1804. Sound161.Parent = Part151
  1805. Sound161.SoundId = "rbxasset://sounds/victory.wav"
  1806. Sound161.Volume = 0
  1807. Model162.Parent = Model0
  1808. Model163.Parent = Model162
  1809. Model164.Parent = Model163
  1810. Model164.PrimaryPart = Part170
  1811. Part165.Name = "Smooth Block Model"
  1812. Part165.Parent = Model164
  1813. Part165.BrickColor = BrickColor.new("Black")
  1814. Part165.Transparency = 0.30000001192093
  1815. Part165.Rotation = Vector3.new(0, -90, 0)
  1816. Part165.Anchored = true
  1817. Part165.Size = Vector3.new(3, 6, 1)
  1818. Part165.CFrame = CFrame.new(26.4997463, 4.80859756, 105.500015, -3.19125729e-06, -2.54163842e-06, -1, 9.91143315e-06, 1, -2.54167003e-06, 1, -9.91144134e-06, -3.19123205e-06)
  1819. Part165.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1820. Part165.Position = Vector3.new(26.4997463, 4.80859756, 105.500015)
  1821. Part165.Orientation = Vector3.new(0, -90, 0)
  1822. Part165.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1823. Part166.Name = "Smooth Block Model"
  1824. Part166.Parent = Model164
  1825. Part166.BrickColor = BrickColor.new("Black")
  1826. Part166.Transparency = 0.30000001192093
  1827. Part166.Anchored = true
  1828. Part166.Size = Vector3.new(3, 6, 1)
  1829. Part166.CFrame = CFrame.new(25.499754, 4.80859661, 107.500015, 1, 1.00761536e-05, -1.37016632e-05, -1.0075697e-05, 1, 3.31164229e-05, 1.37019997e-05, -3.31162773e-05, 1)
  1830. Part166.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1831. Part166.Position = Vector3.new(25.499754, 4.80859661, 107.500015)
  1832. Part166.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1833. Part167.Name = "PUT THE WEAPON IN THIS BRICK"
  1834. Part167.Parent = Model164
  1835. Part167.BrickColor = BrickColor.new("White")
  1836. Part167.Rotation = Vector3.new(-179.98999, 0, -180)
  1837. Part167.Anchored = true
  1838. Part167.Size = Vector3.new(1, 1.20000005, 5)
  1839. Part167.CFrame = CFrame.new(27.4999523, 4.51375055, 105.498085, -1, 4.05925348e-05, 1.37055313e-05, 4.05941646e-05, 1, 0.000119471551, -1.370068e-05, 0.000119472104, -1)
  1840. Part167.TopSurface = Enum.SurfaceType.Smooth
  1841. Part167.Color = Color3.new(0.94902, 0.952941, 0.952941)
  1842. Part167.Position = Vector3.new(27.4999523, 4.51375055, 105.498085)
  1843. Part167.Orientation = Vector3.new(-0.00999999978, 180, 0)
  1844. Part167.Color = Color3.new(0.94902, 0.952941, 0.952941)
  1845. Part168.Name = "Smooth Block Model"
  1846. Part168.Parent = Model164
  1847. Part168.BrickColor = BrickColor.new("Black")
  1848. Part168.Transparency = 0.30000001192093
  1849. Part168.Rotation = Vector3.new(0, -90, 0)
  1850. Part168.Anchored = true
  1851. Part168.Size = Vector3.new(5, 6, 1)
  1852. Part168.CFrame = CFrame.new(23.4997845, 4.80858994, 105.500023, -3.19125729e-06, -2.54163842e-06, -1, 9.91143315e-06, 1, -2.54167003e-06, 1, -9.91144134e-06, -3.19123205e-06)
  1853. Part168.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1854. Part168.Position = Vector3.new(23.4997845, 4.80858994, 105.500023)
  1855. Part168.Orientation = Vector3.new(0, -90, 0)
  1856. Part168.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1857. Part169.Name = "Smooth Block Model"
  1858. Part169.Parent = Model164
  1859. Part169.BrickColor = BrickColor.new("Black")
  1860. Part169.Transparency = 0.30000001192093
  1861. Part169.Anchored = true
  1862. Part169.Size = Vector3.new(3, 6, 1)
  1863. Part169.CFrame = CFrame.new(25.4998055, 4.80846691, 103.500061, 1, 1.00761536e-05, -1.37016632e-05, -1.0075697e-05, 1, 3.31164229e-05, 1.37019997e-05, -3.31162773e-05, 1)
  1864. Part169.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1865. Part169.Position = Vector3.new(25.4998055, 4.80846691, 103.500061)
  1866. Part169.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1867. Part170.Name = "Smooth Block Model"
  1868. Part170.Parent = Model164
  1869. Part170.BrickColor = BrickColor.new("Black")
  1870. Part170.Transparency = 0.30000001192093
  1871. Part170.Rotation = Vector3.new(0, -90, 0)
  1872. Part170.Anchored = true
  1873. Part170.Size = Vector3.new(5, 1.20000005, 4)
  1874. Part170.CFrame = CFrame.new(24.9997559, 8.40858841, 105.499992, -3.19125729e-06, -2.54163842e-06, -1, 9.91143315e-06, 1, -2.54167003e-06, 1, -9.91144134e-06, -3.19123205e-06)
  1875. Part170.TopSurface = Enum.SurfaceType.Smooth
  1876. Part170.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1877. Part170.Position = Vector3.new(24.9997559, 8.40858841, 105.499992)
  1878. Part170.Orientation = Vector3.new(0, -90, 0)
  1879. Part170.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1880. Script171.Name = "READ ME FOR INSTRUCTIONS"
  1881. Script171.Parent = Model164
  1882. table.insert(cors,sandbox(Script171,function()
  1883. --DONT PUT THIS IN ANYTHING IT'S JUST INSTRUCTIONS.
  1884. --First Place the "PUT THIS IN THE WEAPON" script in your Weapon or Tool.
  1885. --Then place your Weapon or Tool in the "PUT THE WEAPON IN THIS BRICK" brick.
  1886.  
  1887. --IMPORTANT (OPTINAL)
  1888. --Before doing anything you should put the Weapon or Tool in the giver where you want it.
  1889. end))
  1890. Model172.Name = "For the sentry"
  1891. Model172.Parent = Model163
  1892. Humanoid173.Parent = Model172
  1893. Humanoid173.Health = 0
  1894. Humanoid173.MaxHealth = 0
  1895. Part174.Name = "Head"
  1896. Part174.Parent = Model172
  1897. Part174.Anchored = true
  1898. Part174.FormFactor = Enum.FormFactor.Plate
  1899. Part174.Size = Vector3.new(1, 0.400000006, 5)
  1900. Part174.CFrame = CFrame.new(27.4999886, 5.31335354, 105.498138, 1, 1.00761536e-05, -1.37016632e-05, -1.0075697e-05, 1, 3.31164229e-05, 1.37019997e-05, -3.31162773e-05, 1)
  1901. Part174.Position = Vector3.new(27.4999886, 5.31335354, 105.498138)
  1902. Tool175.Name = "Pistol [300][900]"
  1903. Tool175.Parent = Model162
  1904. Tool175.GripForward = Vector3.new(-0.2430062, 0, -0.970024765)
  1905. Tool175.GripPos = Vector3.new(0.25, -0.349999994, -0.100000001)
  1906. Tool175.GripRight = Vector3.new(0.970024765, 0, -0.2430062)
  1907. Part176.Name = "Handle"
  1908. Part176.Parent = Tool175
  1909. Part176.BrickColor = BrickColor.new("Black")
  1910. Part176.Transparency = 1
  1911. Part176.Rotation = Vector3.new(-0.049999997, 3.01999998, -90.0799942)
  1912. Part176.FormFactor = Enum.FormFactor.Symmetric
  1913. Part176.Size = Vector3.new(1, 1, 2)
  1914. Part176.CFrame = CFrame.new(24.917944, 2.30156422, 105.635521, -0.00146743178, 0.99860853, 0.0526022948, -0.99999094, -0.00151362014, 0.000867165858, 0.000945956679, -0.0526013039, 0.998604119)
  1915. Part176.BottomSurface = Enum.SurfaceType.Smooth
  1916. Part176.TopSurface = Enum.SurfaceType.Smooth
  1917. Part176.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1918. Part176.Position = Vector3.new(24.917944, 2.30156422, 105.635521)
  1919. Part176.Orientation = Vector3.new(-0.049999997, 3.01999998, -90.0899963)
  1920. Part176.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1921. Sound177.Name = "Fire"
  1922. Sound177.Parent = Part176
  1923. Sound177.Volume = 1
  1924. Sound178.Name = "Reload"
  1925. Sound178.Parent = Part176
  1926. Sound178.SoundId = "http://www.roblox.com/asset/?id=2697432"
  1927. Sound178.Volume = 1
  1928. SpecialMesh179.Parent = Part176
  1929. SpecialMesh179.MeshId = "http://www.roblox.com/asset/?id=4372594"
  1930. SpecialMesh179.Scale = Vector3.new(1.20000005, 1.20000005, 1.20000005)
  1931. SpecialMesh179.MeshType = Enum.MeshType.FileMesh
  1932. SpecialMesh179.Scale = Vector3.new(1.20000005, 1.20000005, 1.20000005)
  1933. Weld180.Parent = Part176
  1934. Weld180.C0 = CFrame.new(1310.99353, 8911.64844, 88.3400421, 0.970335543, -0.0125135863, 0.241438046, -0.0102670854, -0.9998914, -0.0105605181, 0.241543993, 0.00776838139, -0.97035861)
  1935. Weld180.C1 = CFrame.new(8911.24902, -89.9400482, -1310.99365, -0.0102670854, -0.9998914, -0.0105605181, -0.241543993, -0.00776838139, 0.97035861, -0.970335662, 0.0125135882, -0.241438076)
  1936. Weld181.Parent = Part176
  1937. Weld181.C0 = CFrame.new(6.69330931, -201.102859, -203.469696, -0.000109314919, -0.99999994, 0.000103125349, 0.998273194, -0.000115156174, -0.05874075, 0.0587407574, 9.65222716e-05, 0.998273253)
  1938. Weld181.C1 = CFrame.new(-201.503693, 201.869843, -6.69340611, 0.998271644, -0.000114983872, -0.0587406829, -0.0587405898, -9.5731506e-05, -0.998270094, 0.000109517299, 0.999997854, -0.000102420796)
  1939. Weld181.Part0 = Part176
  1940. Weld181.Part1 = Part186
  1941. Script182.Name = "Bullet"
  1942. Script182.Parent = Tool175
  1943. Script182.Disabled = true
  1944. table.insert(cors,sandbox(Script182,function()
  1945. ball = script.Parent
  1946. damage = math.random(30,50)
  1947.  
  1948.  
  1949.  
  1950. function onTouched(hit)
  1951. local humanoid = hit.Parent:findFirstChild("Humanoid")
  1952.  
  1953. if hit.Parent.className == "Hat" or hit.Parent.className == "Tool" or hit.CanCollide == false then return end
  1954.  
  1955. if humanoid ~= nil then
  1956. tagHumanoid(humanoid)
  1957. if hit.Name == "Head" then
  1958. humanoid:TakeDamage(damage * 2)
  1959. elseif hit.Name == "Torso" then
  1960. humanoid:TakeDamage(damage * 1.5)
  1961. end
  1962. wait(2)
  1963. untagHumanoid(humanoid)
  1964. end
  1965.  
  1966. connection:disconnect()
  1967. ball.Parent = nil
  1968. end
  1969.  
  1970. function tagHumanoid(humanoid)
  1971. -- todo: make tag expire
  1972. local tag = ball:findFirstChild("creator")
  1973. if tag ~= nil then
  1974. local new_tag = tag:clone()
  1975. new_tag.Parent = humanoid
  1976. end
  1977. end
  1978.  
  1979.  
  1980. function untagHumanoid(humanoid)
  1981. if humanoid ~= nil then
  1982. local tag = humanoid:findFirstChild("creator")
  1983. if tag ~= nil then
  1984. tag.Parent = nil
  1985. end
  1986. end
  1987. end
  1988.  
  1989. connection = ball.Touched:connect(onTouched)
  1990.  
  1991. wait(8)
  1992. ball.Parent = nil
  1993. end))
  1994. NumberValue183.Name = "Ammo"
  1995. NumberValue183.Parent = Tool175
  1996. NumberValue183.Value = 300
  1997. NumberValue184.Name = "MaxAmmo"
  1998. NumberValue184.Parent = Tool175
  1999. NumberValue184.Value = 300
  2000. NumberValue185.Name = "StoredAmmo"
  2001. NumberValue185.Parent = Tool175
  2002. NumberValue185.Value = 900
  2003. Part186.Name = "Flash"
  2004. Part186.Parent = Tool175
  2005. Part186.BrickColor = BrickColor.new("New Yeller")
  2006. Part186.Transparency = 1
  2007. Part186.Rotation = Vector3.new(-90.0499954, 0.0799999982, 3.01999998)
  2008. Part186.CanCollide = false
  2009. Part186.Size = Vector3.new(1, 1.20000005, 1)
  2010. Part186.CFrame = CFrame.new(25.234417, 2.29949975, 104.017433, 0.998610258, -0.052602496, 0.0014672773, -0.00151381118, -0.000866457354, 0.999993145, -0.0526014045, -0.998607337, -0.00094515516)
  2011. Part186.BottomSurface = Enum.SurfaceType.Smooth
  2012. Part186.TopSurface = Enum.SurfaceType.Smooth
  2013. Part186.Color = Color3.new(1, 1, 0)
  2014. Part186.Position = Vector3.new(25.234417, 2.29949975, 104.017433)
  2015. Part186.Orientation = Vector3.new(-89.7900009, 122.790001, -119.790001)
  2016. Part186.Color = Color3.new(1, 1, 0)
  2017. SpecialMesh187.Parent = Part186
  2018. SpecialMesh187.Scale = Vector3.new(0.5, 1.5, 0.5)
  2019. SpecialMesh187.MeshType = Enum.MeshType.Sphere
  2020. SpecialMesh187.Scale = Vector3.new(0.5, 1.5, 0.5)
  2021. Weld188.Parent = Part186
  2022. Weld188.C0 = CFrame.new(8911.24512, -89.9400635, -1310.99402, -0.0102670835, -0.999891162, -0.0105605144, -0.241543934, -0.00776837906, 0.970358253, -0.970335662, 0.0125135882, -0.241438046)
  2023. Weld188.C1 = CFrame.new(88.4400635, 8911.54492, -1310.19446, 0.241543934, 0.00776837906, -0.970358253, -0.0102670835, -0.999891162, -0.0105605144, -0.97033602, 0.0125135928, -0.241438136)
  2024. Weld189.Parent = Part186
  2025. Weld189.C0 = CFrame.new(-201.503006, 201.868546, -6.69343758, 0.998271465, -0.000114956201, -0.0587406829, -0.0587405786, -9.57277298e-05, -0.998270035, 0.000109544657, 0.999997735, -0.000102426166)
  2026. Weld189.C1 = CFrame.new(-203.370468, -201.208191, -5.8937273, 0.058740478, 9.50747417e-05, 0.998268664, 0.99827081, -0.000114791488, -0.0587406307, 0.000109737979, 0.999996901, -0.00010181508)
  2027. Weld189.Part0 = Part186
  2028. Weld189.Part1 = Part190
  2029. Part190.Name = "Chamber"
  2030. Part190.Parent = Tool175
  2031. Part190.BrickColor = BrickColor.new("Bright green")
  2032. Part190.Transparency = 1
  2033. Part190.Rotation = Vector3.new(-90.0499954, 0.0799999982, -86.9799957)
  2034. Part190.CanCollide = false
  2035. Part190.Size = Vector3.new(1, 1.20000005, 1)
  2036. Part190.CFrame = CFrame.new(25.018795, 1.50134993, 105.535095, 0.0526029281, 0.99861455, 0.00146674435, 0.000865929585, -0.00151439081, 0.99999851, 0.998615205, -0.0526015796, -0.000944391126)
  2037. Part190.FrontSurface = Enum.SurfaceType.Hinge
  2038. Part190.Color = Color3.new(0.294118, 0.592157, 0.294118)
  2039. Part190.Position = Vector3.new(25.018795, 1.50134993, 105.535095)
  2040. Part190.Orientation = Vector3.new(-89.9000015, 122.779999, 150.23999)
  2041. Part190.Color = Color3.new(0.294118, 0.592157, 0.294118)
  2042. LocalScript191.Name = "Shooter"
  2043. LocalScript191.Parent = Tool175
  2044. table.insert(cors,sandbox(LocalScript191,function()
  2045. Tool = script.Parent
  2046.  
  2047. local arms = nil
  2048. local torso = nil
  2049. local weld33 = nil -- right arm
  2050. local weld55 = nil -- left arm
  2051. local welds = {}
  2052. local reloading = false
  2053.  
  2054. function ReloadSequence() -- this will be a pain in my blocky butt.
  2055. local mag = Instance.new("Part")
  2056. mag.Size = Vector3.new(1,1,1)
  2057. mag.BrickColor = BrickColor.new(26)
  2058. mag.CFrame = Tool.Handle.CFrame
  2059. mag.Parent = game.Workspace
  2060. local magmesh = Instance.new("BlockMesh")
  2061. magmesh.Scale = Vector3.new(.2,.75,.3)
  2062. magmesh.Parent = mag
  2063. game:GetService("Debris"):addItem(mag,6)
  2064. wait(.05)
  2065. weld55.C1 = CFrame.new(-0.35, 0.5, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(290), -0.2, math.rad(-90))
  2066. wait(.05)
  2067. weld55.C1 = CFrame.new(-0.35, 0.5, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(290), -0.4, math.rad(-90))
  2068. wait(.05)
  2069. weld55.C1 = CFrame.new(-0.35, 0.5, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(290), -0.6, math.rad(-90))
  2070. wait(.05)
  2071. weld55.C1 = CFrame.new(-0.35, 0.5, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(290), -0.8, math.rad(-80))
  2072. wait(.05)
  2073. weld55.C1 = CFrame.new(-0.35, 0.5, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(280), -1, math.rad(-70))
  2074. wait(.05)
  2075. weld55.C1 = CFrame.new(-0.35, 0.5, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(270), -1.2, math.rad(-60))
  2076. wait(.05)
  2077. local mag2 = Instance.new("Part")
  2078. mag2.Size = Vector3.new(1,1,1)
  2079. mag2.BrickColor = BrickColor.new(26)
  2080. mag2.Parent = game.Workspace
  2081. local magmesh2 = Instance.new("BlockMesh")
  2082. magmesh2.Scale = Vector3.new(.2,.75,.3)
  2083. magmesh2.Parent = mag2
  2084. local magweld = Instance.new("Weld")
  2085. leftarm = Tool.Parent["Left Arm"]
  2086. magweld.Parent = mag2
  2087. magweld.Part0 = mag2
  2088. magweld.Part1 = leftarm
  2089. magweld.C0 = CFrame.new(-1,0,0.3)
  2090. magweld.C0 = magweld.C0 * CFrame.fromEulerAnglesXYZ(0,0.6,1.6)
  2091. weld55.C1 = CFrame.new(-0.35, 0.5, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(260), -1.2, math.rad(-50))
  2092. wait(.1)
  2093. weld55.C1 = CFrame.new(-0.35, 0.5, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(270), -1, math.rad(-60))
  2094. wait(.05)
  2095. weld55.C1 = CFrame.new(-0.35, 0.5, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(280), -0.8, math.rad(-70))
  2096. wait(.05)
  2097. weld55.C1 = CFrame.new(-0.35, 0.5, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(290), -0.6, math.rad(-80))
  2098. wait(.05)
  2099. weld55.C1 = CFrame.new(-0.35, 0.5, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(290), -0.4, math.rad(-90))
  2100. wait(.05)
  2101. weld55.C1 = CFrame.new(-0.35, 0.5, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(290), -0.2, math.rad(-90))
  2102. wait(.05)
  2103. mag2:remove()
  2104. weld55.C1 = CFrame.new(-0.35, 0.5, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(290), 0, math.rad(-90))
  2105. wait(.1)
  2106. weld55.C1 = CFrame.new(-0.35, 0.5, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(290), 0.2, math.rad(-90))
  2107. wait(.05)
  2108. weld55.C1 = CFrame.new(-0.35, 0.5, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(290), 0.4, math.rad(-90))
  2109. wait(.3)
  2110. weld55.C1 = CFrame.new(-0.35, 0.1, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(290), 0.4, math.rad(-90))
  2111. wait(.2)
  2112. weld55.C1 = CFrame.new(-0.35, 0.5, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(290), 0.4, math.rad(-90))
  2113. wait(.2)
  2114. weld55.C1 = CFrame.new(-0.35, 0.5, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(290), 0.4, math.rad(-90))
  2115. wait(.05)
  2116. weld55.C1 = CFrame.new(-0.35, 0.5, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(290), 0.2, math.rad(-90))
  2117. wait(.05)
  2118. weld55.C1 = CFrame.new(-0.35, 0.5, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(290), 0, math.rad(-90))
  2119. end
  2120.  
  2121. function Reload()
  2122. if script.Parent.Ammo.Value < script.Parent.MaxAmmo.Value and reloading == false and script.Parent.StoredAmmo.Value >= 1 then
  2123. reloading = true
  2124. script.Parent.Ammo.Value = 0
  2125. Tool.Handle.Reload:play()
  2126. ReloadSequence()
  2127. -- ...
  2128. if script.Parent.StoredAmmo.Value >= script.Parent.MaxAmmo.Value then
  2129. script.Parent.Ammo.Value = script.Parent.MaxAmmo.Value
  2130. script.Parent.StoredAmmo.Value = script.Parent.StoredAmmo.Value - script.Parent.MaxAmmo.Value
  2131. script.Parent.Recoil.Value = 5
  2132. elseif script.Parent.StoredAmmo.Value < script.Parent.MaxAmmo.Value and script.Parent.StoredAmmo.Value >= 1 then
  2133. script.Parent.Ammo.Value = script.Parent.StoredAmmo.Value
  2134. script.Parent.StoredAmmo.Value = 0
  2135. script.Parent.Recoil.Value = 5
  2136. end
  2137. reloading = false
  2138. end
  2139. end
  2140.  
  2141. function Equip(mouse)
  2142. wait(0.01)
  2143. arms = {Tool.Parent:FindFirstChild("Left Arm"), Tool.Parent:FindFirstChild("Right Arm")}
  2144. torso = Tool.Parent:FindFirstChild("Torso")
  2145. if arms ~= nil and torso ~= nil then
  2146. local sh = {torso:FindFirstChild("Left Shoulder"), torso:FindFirstChild("Right Shoulder")}
  2147. if sh ~= nil then
  2148. local yes = true
  2149. if yes then
  2150. yes = false
  2151. sh[1].Part1 = nil
  2152. sh[2].Part1 = nil
  2153. local weld1 = Instance.new("Weld") -- left arm
  2154. weld55 = weld1
  2155. weld1.Part0 = torso
  2156. weld1.Parent = torso
  2157. weld1.Part1 = arms[1]
  2158. weld1.C1 = CFrame.new(-0.35, 0.5, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(290), 0, math.rad(-90))
  2159. welds[1] = weld1
  2160. local weld2 = Instance.new("Weld") -- right arm
  2161. weld33 = weld2
  2162. weld2.Part0 = torso
  2163. weld2.Parent = torso
  2164. weld2.Part1 = arms[2]
  2165. weld2.C1 = CFrame.new(-0.75, 0.5, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-15), 0)
  2166. welds[2] = weld2
  2167. end
  2168. else
  2169. print("sh")
  2170. end
  2171. else
  2172. print("arms")
  2173. end
  2174. end
  2175.  
  2176. function Unequip(mouse)
  2177. if arms ~= nil and torso ~= nil then
  2178. local sh = {torso:FindFirstChild("Left Shoulder"), torso:FindFirstChild("Right Shoulder")}
  2179. if sh ~= nil then
  2180. local yes = true
  2181. if yes then
  2182. yes = false
  2183. sh[1].Part1 = arms[1]
  2184. sh[2].Part1 = arms[2]
  2185. welds[1].Parent = nil
  2186. welds[2].Parent = nil
  2187. end
  2188. else
  2189. print("sh")
  2190. end
  2191. else
  2192. print("arms")
  2193. end
  2194. end
  2195.  
  2196. function fire(v)
  2197.  
  2198. Tool.Handle.Fire:play()
  2199.  
  2200.  
  2201. local vCharacter = Tool.Parent
  2202. local vPlayer = game.Players:playerFromCharacter(vCharacter)
  2203.  
  2204. local missile = Instance.new("Part")
  2205.  
  2206.  
  2207.  
  2208. local spawnPos = vCharacter.PrimaryPart.Position
  2209.  
  2210.  
  2211.  
  2212. spawnPos = spawnPos + (v * 8)
  2213.  
  2214. missile.Position = spawnPos
  2215. missile.Size = Vector3.new(1,1,1)
  2216. missile.Velocity = v * 400 + (Vector3.new(math.random(-1,1) * script.Parent.Recoil.Value,math.random(-1,1) * script.Parent.Recoil.Value,math.random(-1,1) * script.Parent.Recoil.Value))
  2217. missile.BrickColor = BrickColor.new(26)
  2218. missile.Shape = 0
  2219. missile.BottomSurface = 0
  2220. missile.TopSurface = 0
  2221. missile.Name = "Bullet"
  2222. missile.Elasticity = 0
  2223. missile.Reflectance = 0
  2224. missile.Friction = .9
  2225.  
  2226. local shell = Instance.new("Part")
  2227. shell.CFrame = Tool.Chamber.CFrame * CFrame.fromEulerAnglesXYZ(1.5,0,0)
  2228. shell.Size = Vector3.new(1,1,1)
  2229. shell.BrickColor = BrickColor.new(24)
  2230. shell.BottomSurface = 0
  2231. shell.TopSurface = 0
  2232. shell.Name = "Shell"
  2233. shell.Velocity = Tool.Chamber.CFrame.lookVector * 30 + Vector3.new(math.random(-10,10),20,math.random(-10,10))
  2234. shell.RotVelocity = Vector3.new(0,200,0)
  2235.  
  2236. local shellmesh = Instance.new("SpecialMesh")
  2237. shellmesh.Scale = Vector3.new(.3,.75,.3)
  2238. shellmesh.Parent = shell
  2239.  
  2240. local force = Instance.new("BodyForce")
  2241. force.force = Vector3.new(0,missile:getMass() * 196,0)
  2242. force.Parent = missile
  2243.  
  2244. local mesh = Instance.new("SpecialMesh")
  2245. mesh.Scale = Vector3.new(.2,.2,.2)
  2246. mesh.MeshType = "Sphere"
  2247. mesh.Parent = missile
  2248.  
  2249. local new_script = script.Parent.Bullet:clone()
  2250. new_script.Disabled = false
  2251. new_script.Parent = missile
  2252.  
  2253. local creator_tag = Instance.new("ObjectValue")
  2254. creator_tag.Value = vPlayer
  2255. creator_tag.Name = "creator"
  2256. creator_tag.Parent = missile
  2257.  
  2258.  
  2259.  
  2260. missile.Parent = game.Workspace
  2261. shell.Parent = game.Workspace
  2262. game:GetService("Debris"):addItem(shell,6)
  2263.  
  2264. weld33.C1 = CFrame.new(-0.75, 0.5, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-100), math.rad(-15),0)
  2265. weld55.C1 = CFrame.new(-0.35, 0.5, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(290), 0.2, math.rad(-90))
  2266. Tool.Flash.Mesh.Scale = Vector3.new(1, 2, 1)
  2267. Tool.Flash.Transparency = .3
  2268. wait(0.025)
  2269. weld33.C1 = CFrame.new(-0.75, 0.5, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-110), math.rad(-15),0)
  2270. weld55.C1 = CFrame.new(-0.35, 0.5, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(290), 0.4, math.rad(-90))
  2271. Tool.Flash.Mesh.Scale = Vector3.new(.75, 1.5, .75)
  2272. Tool.Flash.Transparency = .5
  2273. wait(0.025)
  2274. weld33.C1 = CFrame.new(-0.75, 0.5, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-100), math.rad(-15),0)
  2275. weld55.C1 = CFrame.new(-0.35, 0.5, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(290), 0.2, math.rad(-90))
  2276. Tool.Flash.Mesh.Scale = Vector3.new(.5, 1.5, .5)
  2277. Tool.Flash.Transparency = .8
  2278. wait(0.025)
  2279. weld33.C1 = CFrame.new(-0.75, 0.5, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-15),0)
  2280. weld55.C1 = CFrame.new(-0.35, 0.5, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(290), 0, math.rad(-90))
  2281. Tool.Flash.Transparency = 1
  2282. end
  2283.  
  2284. function KeyDownFunctions(key)
  2285. if key == "r" then
  2286. Reload()
  2287. end
  2288. end
  2289.  
  2290. Tool.Enabled = true
  2291. function onActivated()
  2292.  
  2293. if not Tool.Enabled then
  2294. return
  2295. end
  2296.  
  2297. Tool.Enabled = false
  2298.  
  2299. local character = Tool.Parent;
  2300. local humanoid = character.Humanoid
  2301. if humanoid == nil then
  2302. print("Humanoid not found")
  2303. return
  2304. end
  2305. local ammo = script.Parent.Ammo
  2306. local maxammo = script.Parent.MaxAmmo
  2307. if reloading == false and humanoid.Health >= 1 then
  2308. if ammo.Value >= 1 then
  2309. ammo.Value = ammo.Value - 1
  2310. local targetPos = humanoid.TargetPoint
  2311. local lookAt = (targetPos - character.Head.Position).unit
  2312. if script.Parent.Recoil.Value < 20 then
  2313. script.Parent.Recoil.Value = script.Parent.Recoil.Value + math.random(1,3)
  2314. end
  2315. fire(lookAt)
  2316. else
  2317. Reload()
  2318. end
  2319. end
  2320. Tool.Enabled = true
  2321. end
  2322.  
  2323. function onEquippedLocal(mouse)
  2324.  
  2325. if mouse == nil then
  2326. print("Mouse not found")
  2327. return
  2328. end
  2329.  
  2330. mouse.Icon = "rbxasset://textures\\GunCursor.png"
  2331. mouse.Button1Down:connect(function() onButton1Down(mouse) end)
  2332. mouse.KeyDown:connect(KeyDownFunctions)
  2333. while true do
  2334. wait()
  2335. script.Parent.Name = "Pistol ["..script.Parent.Ammo.Value.."]["..script.Parent.StoredAmmo.Value.."]"
  2336. end
  2337. end
  2338.  
  2339.  
  2340. Tool.Equipped:connect(onEquippedLocal)
  2341.  
  2342.  
  2343. script.Parent.Activated:connect(onActivated)
  2344. Tool.Equipped:connect(Equip)
  2345. Tool.Unequipped:connect(Unequip)
  2346.  
  2347. end))
  2348. Script192.Name = "Weld"
  2349. Script192.Parent = Tool175
  2350. table.insert(cors,sandbox(Script192,function()
  2351. local prev
  2352. local parts = script.Parent:GetChildren()
  2353. for i = 1,#parts do
  2354. --remove any of the following parts that say "(parts[i].className == [className])" if you want to exclude that particular className type from the Weld
  2355. if ((parts[i].className == "Part") or (parts[i].className == "Seat") or (parts[i].className == "TrussPart") or (parts[i].className == "VehicleSeat") or (parts[i].className == "SkateboardPlatform")) then
  2356. if (prev ~= nil) then
  2357. local weld = Instance.new("Weld")
  2358. weld.Part0 = prev
  2359. weld.Part1 = parts[i]
  2360. weld.C0 = prev.CFrame:inverse()
  2361. weld.C1 = parts[i].CFrame:inverse()
  2362. weld.Parent = prev
  2363. parts[i].Anchored = false
  2364. end
  2365. prev = parts[i]
  2366. end
  2367. end
  2368. wait(3)
  2369.  
  2370. end))
  2371. LocalScript193.Name = "Crouch"
  2372. LocalScript193.Parent = Tool175
  2373. table.insert(cors,sandbox(LocalScript193,function()
  2374. on = 0
  2375. Tool = script.Parent
  2376. welds = {}
  2377. sh = {}
  2378. arms = nil
  2379. torso = nil
  2380. f = nil
  2381. function Crouch(ison)
  2382. if arms == nil and torso == nil then
  2383. arms = {Tool.Parent:FindFirstChild("Left Leg"), Tool.Parent:FindFirstChild("Right Leg")}
  2384. torso = Tool.Parent:FindFirstChild("Torso")
  2385. end
  2386. if arms ~= nil and torso ~= nil then
  2387. sh = {torso:FindFirstChild("Left Hip"), torso:FindFirstChild("Right Hip")}
  2388. if sh ~= nil then
  2389. local yes = true
  2390. if yes then
  2391. yes = false
  2392. if ison == 1 then
  2393. sh[1].Part1 = nil
  2394. sh[2].Part1 = nil
  2395. local weld1 = Instance.new("Weld")
  2396. weld1.Part0 = torso
  2397. weld1.Parent = torso
  2398. weld1.Part1 = arms[1]
  2399. weld1.C1 = CFrame.new(-0.5, 0.75, 1)
  2400. arms[1].Name = "LDave"
  2401. arms[1].CanCollide = true
  2402. welds[1] = weld1
  2403. -------------------------------------------
  2404. local weld2 = Instance.new("Weld")
  2405. weld2.Part0 = torso
  2406. weld2.Parent = torso
  2407. weld2.Part1 = arms[2]
  2408. weld2.C1 = CFrame.new(0.5,0.495,1.25) * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0)
  2409. arms[2].Name = "RDave"
  2410. arms[2].CanCollide = true
  2411. welds[2] = weld2
  2412. ---------------------------------
  2413. local force = Instance.new("BodyForce")
  2414. force.Parent = torso
  2415. f = force
  2416. wait(0.01)
  2417. elseif ison == 0 then
  2418. if arms then
  2419. sh[1].Part1 = arms[1]
  2420. sh[2].Part1 = arms[2]
  2421. f.Parent = nil
  2422. arms[2].Name = "Right Leg"
  2423. arms[1].Name = "Left Leg"
  2424. welds[1].Parent = nil
  2425. welds[2].Parent = nil
  2426. end
  2427. end
  2428. --
  2429. end
  2430. else
  2431. print("sh")
  2432. end
  2433. else
  2434. print("arms")
  2435. end
  2436. end
  2437. function Key(key)
  2438. if key then
  2439. key = string.lower(key)
  2440. if (key=="c") then
  2441. if on == 1 then
  2442. on = 0
  2443. elseif on == 0 then
  2444. on = 1
  2445. end
  2446. Crouch(on)
  2447. end
  2448. end
  2449. end
  2450. function Equip(mouse)
  2451. mouse.KeyDown:connect(Key)
  2452. end
  2453. script.Parent.Equipped:connect(Equip)
  2454.  
  2455.  
  2456. end))
  2457. Script194.Name = "LocalMelee"
  2458. Script194.Parent = Tool175
  2459. table.insert(cors,sandbox(Script194,function()
  2460. --[[
  2461.  
  2462. Dax,
  2463.  
  2464. See the MeleeScript.
  2465.  
  2466. ]]
  2467.  
  2468. local canmelee = true;
  2469. local tool = script.Parent;
  2470.  
  2471. function onKeyDown(key)
  2472. key:lower();
  2473. if key == "v" then
  2474. if canmelee == false then
  2475. return;
  2476. end
  2477.  
  2478. tool.Melee:play()
  2479.  
  2480. canmelee = false;
  2481.  
  2482. local rgrip = tool.Parent["Right Arm"].RightGrip;
  2483.  
  2484. script.melee.Value = true;
  2485.  
  2486. for i = 1,6 do
  2487. rgrip.C1 = rgrip.C1 * CFrame.fromEulerAnglesXYZ(-0.55,0,0);
  2488. wait();
  2489. end
  2490.  
  2491. wait(0.25);
  2492.  
  2493. for i = 1, 6 do
  2494. rgrip.C1 = rgrip.C1 * CFrame.fromEulerAnglesXYZ(0.55,0,0);
  2495. wait();
  2496. end
  2497.  
  2498. script.melee.Value = false;
  2499.  
  2500. wait(0.5);
  2501.  
  2502. canmelee = true;
  2503. end
  2504. end
  2505.  
  2506. function onSelect(mouse)
  2507. mouse.KeyDown:connect(onKeyDown);
  2508. end
  2509.  
  2510.  
  2511. function blow(hit)
  2512. local humanoid = hit.Parent:findFirstChild("Humanoid")
  2513. if not humanoid then return end
  2514. local vCharacter = Tool.Parent
  2515. local vPlayer = game.Players:playerFromCharacter(vCharacter)
  2516. local hum = vCharacter:findFirstChild("Humanoid") -- non-nil if tool held by a character
  2517. if humanoid ~= hum and hum ~= nil and game.Players:playerFromCharacter(humanoid.Parent) and game.Players:playerFromCharacter(humanoid.Parent).TeamColor~=cc then
  2518. tagHumanoid(humanoid, vPlayer)
  2519. humanoid:TakeDamage(300)
  2520. wait(1)
  2521. untagHumanoid(humanoid)
  2522. end
  2523. end
  2524.  
  2525.  
  2526. tool.Equipped:connect(onSelect);
  2527.  
  2528. end))
  2529. LocalScript195.Parent = Tool175
  2530. table.insert(cors,sandbox(LocalScript195,function()
  2531. --by kickinpoo
  2532. MaxDistance = 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999--The max distance you can fire
  2533. Tool = script.Parent
  2534. TouchDamage = 20 -- Disabled, but optional.
  2535. DirectDamage = 15 -- The damage dealed if someone is hit directly.
  2536.  
  2537. function fireLaser(pos, obj)
  2538.  
  2539. local part = Instance.new("Part")
  2540. part.Anchored = true
  2541. part.CanCollide = false
  2542. part.formFactor = "Symmetric"
  2543. part.TopSurface = 0
  2544. part.BottomSurface = 0
  2545. part.BrickColor = BrickColor.new("Really red")
  2546. part.Transparency = 0.9
  2547. part.Name = "Laser Shot"
  2548. part.Locked = true
  2549. part.Size = Vector3.new(1,1,(pos - obj.Position).magnitude)
  2550. part.CFrame = CFrame.new(((obj.Position + pos)/2) + 1 * (pos - obj.Position).unit, pos)
  2551.  
  2552. local mesh = Instance.new("BlockMesh")
  2553. mesh.Scale = Vector3.new(0.25,0.25,1)
  2554. mesh.Parent = part
  2555.  
  2556. part.Parent = workspace
  2557. --Optional: Laser will damage others than the target.
  2558. --part.Touched:connect(onTouch)
  2559.  
  2560. getTarget(pos)
  2561.  
  2562. for v=1, 10 do
  2563. part.Transparency = 0.1 * v
  2564. wait(0.05)
  2565. end
  2566.  
  2567. part:remove()
  2568. end
  2569.  
  2570. function getTarget(pos)
  2571. local child = workspace:getChildren()
  2572. for i,v in pairs(child) do
  2573. local h = getHumanoid(v)
  2574. if h ~= nil and v ~= Tool.Parent then
  2575. local torso = v:findFirstChild("Torso")
  2576. if torso ~= nil then
  2577. if (torso.Position - pos).magnitude <= 3 then
  2578. local player = game.Players:findFirstChild(Tool.Parent.Name)
  2579. if player ~= nil then
  2580. tagHumanoid(h)
  2581. end
  2582. h:takeDamage(DirectDamage)
  2583. wait(0.05)
  2584. untagHumanoid(h)
  2585. end
  2586. end
  2587. end
  2588. end
  2589. end
  2590.  
  2591.  
  2592. function getHumanoid(obj)
  2593. local child = obj:getChildren()
  2594. for i=1, #child do
  2595. if child[i].className == "Humanoid" then
  2596. return child[i]
  2597. end
  2598. end
  2599. return nil
  2600. end
  2601.  
  2602. db = false
  2603. function onTouch(hit)
  2604. if db then return end
  2605. db = true
  2606. if hit.Parent ~= Tool.Parent then
  2607. local h = getHumanoid(hit.Parent)
  2608. if h ~= nil then
  2609. local player = game.Players:findFirstChild(Tool.Parent.Name)
  2610. if player ~= nil then
  2611. tagHumanoid(h, player)
  2612. end
  2613. h:takeDamage(TouchDamage)
  2614. wait(0.1)
  2615. untagHumanoid(h)
  2616. end
  2617. end
  2618. wait(0.9)
  2619. db = false
  2620. end
  2621.  
  2622.  
  2623. function tagHumanoid(humanoid, player)
  2624. local creator_tag = Instance.new("ObjectValue")
  2625. creator_tag.Value = player
  2626. creator_tag.Name = "creator"
  2627. creator_tag.Parent = humanoid
  2628. end
  2629.  
  2630. function untagHumanoid(humanoid)
  2631. if humanoid ~= nil then
  2632. local tag = humanoid:findFirstChild("creator")
  2633. if tag ~= nil then
  2634. tag.Parent = nil
  2635. end
  2636. end
  2637. end
  2638.  
  2639. enabled = true
  2640. function onActivated(mouse)
  2641. if not enabled then return end
  2642. enabled = false
  2643. local handle = Tool:findFirstChild("Handle")
  2644. local human = Tool.Parent:findFirstChild("Humanoid")
  2645. if handle ~= nil and human ~= nil then
  2646. if (handle.Position - human.TargetPoint).magnitude <= MaxDistance then
  2647. handle.Fire:play()
  2648. fireLaser(human.TargetPoint, handle)
  2649. end
  2650. end
  2651. enabled = true
  2652. end
  2653.  
  2654. mouseabled = true
  2655. function onButton1Down(mouse)
  2656. if not mouseabled or mouse.Target == nil then return end
  2657. mouseabled = false
  2658. mouse.Icon = "rbxasset://textures/GunWaitCursor.png"
  2659. wait(0.5)
  2660. mouseabled = true
  2661. mouse.Icon = "rbxasset://textures/GunCursor.png"
  2662. end
  2663.  
  2664. zoom = false
  2665. function onKeyDown(key)
  2666. key:lower()
  2667. if key == "q" then -- Some of these I took from the awp because I didn't know how to modify the camera, since there are not tutorials in the wiki.
  2668. if not zoom then
  2669. zoom = true
  2670.  
  2671. local obj = Instance.new("Part")
  2672. obj.Parent = Tool.Parent
  2673. obj.Size = Vector3.new(1,1,1)
  2674. obj.Transparency = 1
  2675. obj.CanCollide = false
  2676. obj.Anchored = true
  2677. obj.Name = "Zoom"
  2678. obj.CFrame = CFrame.new(Tool.Parent.Humanoid.TargetPoint)
  2679.  
  2680. Tool.Parent.Torso.Anchored = true
  2681.  
  2682. cam = workspace.CurrentCamera:Clone()
  2683. cam.Parent = workspace
  2684. workspace.CurrentCamera.CameraSubject = obj
  2685. workspace.CurrentCamera.CameraType = 4
  2686. else
  2687. zoom = false
  2688.  
  2689. local check = Tool.Parent:findFirstChild("Zoom")
  2690. if check ~= nil then
  2691. check:remove()
  2692. end
  2693.  
  2694. Tool.Parent.Torso.Anchored = false
  2695.  
  2696. workspace.CurrentCamera.CameraSubject = Tool.Parent.Humanoid
  2697. workspace.CurrentCamera:Remove()
  2698. workspace.CurrentCamera = cam
  2699. end
  2700. end
  2701. end
  2702.  
  2703. function onSelected(mouse)
  2704. connection = script.Parent.Activated:connect(onActivated)
  2705. mouse.KeyDown:connect(onKeyDown)
  2706. mouse.Button1Down:connect(function() onButton1Down(mouse) end)
  2707.  
  2708. mouse.Icon = "rbxasset://textures/GunCursor.png"
  2709. end
  2710.  
  2711. function onDeselected()
  2712. connection:disconnect()
  2713. end
  2714.  
  2715. script.Parent.Equipped:connect(onSelected)
  2716. script.Parent.Unequipped:connect(onDeselected)
  2717. end))
  2718. Script196.Name = "PUT THIS IN THE WEAPON"
  2719. Script196.Parent = Tool175
  2720. table.insert(cors,sandbox(Script196,function()
  2721. local debounce = false
  2722.  
  2723. function getPlayer(humanoid)
  2724. local players = game.Players:children()
  2725. for i = 1, #players do
  2726. if players[i].Character.Humanoid == humanoid then return players[i] end
  2727. end
  2728. return nil
  2729. end
  2730.  
  2731. function onTouch(part)
  2732.  
  2733. local human = part.Parent:findFirstChild("Humanoid")
  2734. if (human ~= nil) and debounce == false then
  2735.  
  2736. debounce = true
  2737.  
  2738. local player = getPlayer(human)
  2739.  
  2740. if (player == nil) then return end
  2741.  
  2742. script.Parent:clone().Parent = player.Backpack
  2743.  
  2744. wait(2)
  2745. debounce = false
  2746. end
  2747. end
  2748.  
  2749.  
  2750. script.Parent.Parent.Touched:connect(onTouch)
  2751.  
  2752. end))
  2753. for i,v in pairs(mas:GetChildren()) do
  2754. v.Parent = workspace
  2755. pcall(function() v:MakeJoints() end)
  2756. end
  2757. mas:Destroy()
  2758. for i,v in pairs(cors) do
  2759. spawn(function()
  2760. pcall(v)
  2761. end)
  2762. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement