Dark_EccentricYT

Untitled

Mar 5th, 2018
1,796
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 71.29 KB | None | 0 0
  1. cors = {}
  2. mas = Instance.new("Model",game:GetService("Lighting"))
  3. mas.Name = "CompiledModel"
  4. o1 = Instance.new("Model")
  5. o2 = Instance.new("Part")
  6. o3 = Instance.new("CylinderMesh")
  7. o4 = Instance.new("Part")
  8. o5 = Instance.new("CylinderMesh")
  9. o6 = Instance.new("Part")
  10. o7 = Instance.new("CylinderMesh")
  11. o8 = Instance.new("Part")
  12. o9 = Instance.new("CylinderMesh")
  13. o10 = Instance.new("Part")
  14. o11 = Instance.new("CylinderMesh")
  15. o12 = Instance.new("Part")
  16. o13 = Instance.new("CylinderMesh")
  17. o14 = Instance.new("Part")
  18. o15 = Instance.new("CylinderMesh")
  19. o16 = Instance.new("Part")
  20. o17 = Instance.new("SpecialMesh")
  21. o18 = Instance.new("Part")
  22. o19 = Instance.new("CylinderMesh")
  23. o20 = Instance.new("Part")
  24. o21 = Instance.new("CylinderMesh")
  25. o22 = Instance.new("Part")
  26. o23 = Instance.new("BlockMesh")
  27. o24 = Instance.new("Part")
  28. o25 = Instance.new("Part")
  29. o26 = Instance.new("BlockMesh")
  30. o27 = Instance.new("Part")
  31. o28 = Instance.new("BlockMesh")
  32. o29 = Instance.new("Part")
  33. o30 = Instance.new("BlockMesh")
  34. o31 = Instance.new("Part")
  35. o32 = Instance.new("SpecialMesh")
  36. o33 = Instance.new("Part")
  37. o34 = Instance.new("SpecialMesh")
  38. o35 = Instance.new("Part")
  39. o36 = Instance.new("Part")
  40. o37 = Instance.new("BlockMesh")
  41. o38 = Instance.new("Part")
  42. o39 = Instance.new("CylinderMesh")
  43. o40 = Instance.new("Part")
  44. o41 = Instance.new("Part")
  45. o42 = Instance.new("SpecialMesh")
  46. o43 = Instance.new("Part")
  47. o44 = Instance.new("Part")
  48. o45 = Instance.new("BlockMesh")
  49. o46 = Instance.new("Part")
  50. o47 = Instance.new("CylinderMesh")
  51. o48 = Instance.new("Part")
  52. o49 = Instance.new("BlockMesh")
  53. o50 = Instance.new("Part")
  54. o51 = Instance.new("BlockMesh")
  55. o52 = Instance.new("Part")
  56. o53 = Instance.new("Part")
  57. o54 = Instance.new("CylinderMesh")
  58. o55 = Instance.new("Part")
  59. o56 = Instance.new("Part")
  60. o57 = Instance.new("SpecialMesh")
  61. o58 = Instance.new("Part")
  62. o59 = Instance.new("BlockMesh")
  63. o60 = Instance.new("Part")
  64. o61 = Instance.new("SpecialMesh")
  65. o62 = Instance.new("Part")
  66. o63 = Instance.new("SpecialMesh")
  67. o64 = Instance.new("Part")
  68. o65 = Instance.new("BlockMesh")
  69. o66 = Instance.new("Part")
  70. o67 = Instance.new("CylinderMesh")
  71. o68 = Instance.new("Part")
  72. o69 = Instance.new("CylinderMesh")
  73. o70 = Instance.new("Part")
  74. o71 = Instance.new("BlockMesh")
  75. o72 = Instance.new("Part")
  76. o73 = Instance.new("BlockMesh")
  77. o74 = Instance.new("Part")
  78. o75 = Instance.new("BlockMesh")
  79. o76 = Instance.new("Part")
  80. o77 = Instance.new("Part")
  81. o78 = Instance.new("BlockMesh")
  82. o79 = Instance.new("Part")
  83. o80 = Instance.new("SpecialMesh")
  84. o81 = Instance.new("Part")
  85. o82 = Instance.new("SpecialMesh")
  86. o83 = Instance.new("Part")
  87. o84 = Instance.new("SpecialMesh")
  88. o85 = Instance.new("Part")
  89. o86 = Instance.new("SpecialMesh")
  90. o87 = Instance.new("Part")
  91. o88 = Instance.new("CylinderMesh")
  92. o89 = Instance.new("Part")
  93. o90 = Instance.new("BlockMesh")
  94. o1.Name = "Revolver"
  95. o1.Parent = mas
  96. o2.Name = "A6"
  97. o2.Parent = o1
  98. o2.Material = Enum.Material.Neon
  99. o2.BrickColor = BrickColor.new("Toothpaste")
  100. o2.Position = Vector3.new(51.2299995, 4, 5.23000002)
  101. o2.Rotation = Vector3.new(-0, 0, 90)
  102. o2.Anchored = true
  103. o2.CanCollide = false
  104. o2.Shape = Enum.PartType.Cylinder
  105. o2.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  106. o2.CFrame = CFrame.new(51.2299995, 4, 5.23000002, -4.37113883e-008, -1, 0, 1, -4.37113883e-008, 0, 0, 0, 1)
  107. o2.BottomSurface = Enum.SurfaceType.Smooth
  108. o2.TopSurface = Enum.SurfaceType.Smooth
  109. o2.Color = Color3.new(0, 1, 1)
  110. o2.Position = Vector3.new(51.2299995, 4, 5.23000002)
  111. o3.Parent = o2
  112. o3.Scale = Vector3.new(1, 1.54999995, 0.400000006)
  113. o4.Name = "A3"
  114. o4.Parent = o1
  115. o4.Material = Enum.Material.Neon
  116. o4.BrickColor = BrickColor.new("Toothpaste")
  117. o4.Position = Vector3.new(51.2299995, 3.9000001, 5.41499996)
  118. o4.Rotation = Vector3.new(-0, 0, 90)
  119. o4.Anchored = true
  120. o4.CanCollide = false
  121. o4.Shape = Enum.PartType.Cylinder
  122. o4.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  123. o4.CFrame = CFrame.new(51.2299995, 3.9000001, 5.41499996, -4.37113883e-008, -1, 0, 1, -4.37113883e-008, 0, 0, 0, 1)
  124. o4.BottomSurface = Enum.SurfaceType.Smooth
  125. o4.TopSurface = Enum.SurfaceType.Smooth
  126. o4.Color = Color3.new(0, 1, 1)
  127. o4.Position = Vector3.new(51.2299995, 3.9000001, 5.41499996)
  128. o5.Parent = o4
  129. o5.Scale = Vector3.new(1, 1.54999995, 0.400000006)
  130. o6.Name = "A2"
  131. o6.Parent = o1
  132. o6.Material = Enum.Material.Neon
  133. o6.BrickColor = BrickColor.new("Toothpaste")
  134. o6.Position = Vector3.new(51.2299995, 4, 5.41499996)
  135. o6.Rotation = Vector3.new(-0, 0, 90)
  136. o6.Anchored = true
  137. o6.CanCollide = false
  138. o6.Shape = Enum.PartType.Cylinder
  139. o6.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  140. o6.CFrame = CFrame.new(51.2299995, 4, 5.41499996, -4.37113883e-008, -1, 0, 1, -4.37113883e-008, 0, 0, 0, 1)
  141. o6.BottomSurface = Enum.SurfaceType.Smooth
  142. o6.TopSurface = Enum.SurfaceType.Smooth
  143. o6.Color = Color3.new(0, 1, 1)
  144. o6.Position = Vector3.new(51.2299995, 4, 5.41499996)
  145. o7.Parent = o6
  146. o7.Scale = Vector3.new(1, 1.54999995, 0.400000006)
  147. o8.Name = "A5"
  148. o8.Parent = o1
  149. o8.Material = Enum.Material.Neon
  150. o8.BrickColor = BrickColor.new("Toothpaste")
  151. o8.Position = Vector3.new(51.2299995, 3.9000001, 5.23000002)
  152. o8.Rotation = Vector3.new(-0, 0, 90)
  153. o8.Anchored = true
  154. o8.CanCollide = false
  155. o8.Shape = Enum.PartType.Cylinder
  156. o8.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  157. o8.CFrame = CFrame.new(51.2299995, 3.9000001, 5.23000002, -4.37113883e-008, -1, 0, 1, -4.37113883e-008, 0, 0, 0, 1)
  158. o8.BottomSurface = Enum.SurfaceType.Smooth
  159. o8.TopSurface = Enum.SurfaceType.Smooth
  160. o8.Color = Color3.new(0, 1, 1)
  161. o8.Position = Vector3.new(51.2299995, 3.9000001, 5.23000002)
  162. o9.Parent = o8
  163. o9.Scale = Vector3.new(1, 1.54999995, 0.400000006)
  164. o10.Name = "A4"
  165. o10.Parent = o1
  166. o10.Material = Enum.Material.Neon
  167. o10.BrickColor = BrickColor.new("Toothpaste")
  168. o10.Position = Vector3.new(51.2319984, 3.8599999, 5.32000017)
  169. o10.Rotation = Vector3.new(-0, 0, 90)
  170. o10.Anchored = true
  171. o10.CanCollide = false
  172. o10.Shape = Enum.PartType.Cylinder
  173. o10.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  174. o10.CFrame = CFrame.new(51.2319984, 3.8599999, 5.32000017, -4.37113883e-008, -1, 0, 1, -4.37113883e-008, 0, 0, 0, 1)
  175. o10.BottomSurface = Enum.SurfaceType.Smooth
  176. o10.TopSurface = Enum.SurfaceType.Smooth
  177. o10.Color = Color3.new(0, 1, 1)
  178. o10.Position = Vector3.new(51.2319984, 3.8599999, 5.32000017)
  179. o11.Parent = o10
  180. o11.Scale = Vector3.new(1, 1.54999995, 0.400000006)
  181. o12.Name = "Barrel"
  182. o12.Parent = o1
  183. o12.Material = Enum.Material.SmoothPlastic
  184. o12.BrickColor = BrickColor.new("Mid gray")
  185. o12.Position = Vector3.new(51.981369, 4.00200367, 5.31954384)
  186. o12.Rotation = Vector3.new(-0, 0, 90)
  187. o12.Anchored = true
  188. o12.CanCollide = false
  189. o12.Shape = Enum.PartType.Cylinder
  190. o12.Size = Vector3.new(0.200000003, 1, 0.200000003)
  191. o12.CFrame = CFrame.new(51.981369, 4.00200367, 5.31954384, -4.37113883e-008, -1, 0, 1, -4.37113883e-008, 0, 0, 0, 1)
  192. o12.BottomSurface = Enum.SurfaceType.Smooth
  193. o12.TopSurface = Enum.SurfaceType.Smooth
  194. o12.Color = Color3.new(0.803922, 0.803922, 0.803922)
  195. o12.Position = Vector3.new(51.981369, 4.00200367, 5.31954384)
  196. o13.Parent = o12
  197. o13.Scale = Vector3.new(0.899999976, 1, 0.899999976)
  198. o14.Name = "BarrelEnd"
  199. o14.Parent = o1
  200. o14.Material = Enum.Material.SmoothPlastic
  201. o14.BrickColor = BrickColor.new("Really black")
  202. o14.Position = Vector3.new(52.3849983, 4, 5.31954384)
  203. o14.Rotation = Vector3.new(-0, 0, 90)
  204. o14.Anchored = true
  205. o14.CanCollide = false
  206. o14.Shape = Enum.PartType.Cylinder
  207. o14.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  208. o14.CFrame = CFrame.new(52.3849983, 4, 5.31954384, -4.37113883e-008, -1, 0, 1, -4.37113883e-008, 0, 0, 0, 1)
  209. o14.BottomSurface = Enum.SurfaceType.Smooth
  210. o14.TopSurface = Enum.SurfaceType.Smooth
  211. o14.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  212. o14.Position = Vector3.new(52.3849983, 4, 5.31954384)
  213. o15.Parent = o14
  214. o15.Scale = Vector3.new(0.699999988, 1, 0.699999988)
  215. o16.Name = "T2"
  216. o16.Parent = o1
  217. o16.Material = Enum.Material.SmoothPlastic
  218. o16.BrickColor = BrickColor.new("Dark stone grey")
  219. o16.Position = Vector3.new(50.9799995, 3.38000011, 5.31954384)
  220. o16.Rotation = Vector3.new(-95.8101654, 58.8695641, -85.0219879)
  221. o16.Anchored = true
  222. o16.CanCollide = false
  223. o16.Size = Vector3.new(0.200000003, 0.223999992, 0.200000003)
  224. o16.CFrame = CFrame.new(50.9799995, 3.38000011, 5.31954384, 0.0448608175, 0.515038073, 0.855992556, 0.0269551426, -0.857167304, 0.514332235, 0.99862957, 3.7252903e-008, -0.0523361489)
  225. o16.BottomSurface = Enum.SurfaceType.Smooth
  226. o16.TopSurface = Enum.SurfaceType.Smooth
  227. o16.Color = Color3.new(0.388235, 0.372549, 0.384314)
  228. o16.Position = Vector3.new(50.9799995, 3.38000011, 5.31954384)
  229. o17.Parent = o16
  230. o17.Scale = Vector3.new(0.5, 0.5, 0.519999981)
  231. o17.MeshType = Enum.MeshType.Wedge
  232. o18.Name = "Chamber"
  233. o18.Parent = o1
  234. o18.Material = Enum.Material.SmoothPlastic
  235. o18.Position = Vector3.new(51.2313728, 3.95000005, 5.31954384)
  236. o18.Rotation = Vector3.new(-0, 0, 90)
  237. o18.Anchored = true
  238. o18.CanCollide = false
  239. o18.Shape = Enum.PartType.Cylinder
  240. o18.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  241. o18.CFrame = CFrame.new(51.2313728, 3.95000005, 5.31954384, -4.37113883e-008, -1, 0, 1, -4.37113883e-008, 0, 0, 0, 1)
  242. o18.BottomSurface = Enum.SurfaceType.Smooth
  243. o18.TopSurface = Enum.SurfaceType.Smooth
  244. o18.Position = Vector3.new(51.2313728, 3.95000005, 5.31954384)
  245. o19.Parent = o18
  246. o19.Scale = Vector3.new(1.5, 1.5, 1.5)
  247. o20.Name = "H1"
  248. o20.Parent = o1
  249. o20.Material = Enum.Material.SmoothPlastic
  250. o20.BrickColor = BrickColor.new("Dark stone grey")
  251. o20.Position = Vector3.new(50.8233681, 3.94829392, 5.31954384)
  252. o20.Rotation = Vector3.new(90, 90, 0)
  253. o20.Anchored = true
  254. o20.CanCollide = false
  255. o20.Shape = Enum.PartType.Cylinder
  256. o20.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  257. o20.CFrame = CFrame.new(50.8233681, 3.94829392, 5.31954384, -4.37113883e-008, 0, 1, 1, -4.37113883e-008, 4.37113883e-008, 4.37113883e-008, 1, 1.91068547e-015)
  258. o20.BottomSurface = Enum.SurfaceType.Smooth
  259. o20.TopSurface = Enum.SurfaceType.Smooth
  260. o20.Color = Color3.new(0.388235, 0.372549, 0.384314)
  261. o20.Position = Vector3.new(50.8233681, 3.94829392, 5.31954384)
  262. o21.Parent = o20
  263. o22.Name = "H2"
  264. o22.Parent = o1
  265. o22.Material = Enum.Material.SmoothPlastic
  266. o22.BrickColor = BrickColor.new("Dark stone grey")
  267. o22.Position = Vector3.new(50.7559967, 4.01956081, 5.31500006)
  268. o22.Rotation = Vector3.new(-0, 0, 44)
  269. o22.Anchored = true
  270. o22.CanCollide = false
  271. o22.Size = Vector3.new(0.200000003, 0.239000008, 0.200000003)
  272. o22.CFrame = CFrame.new(50.7559967, 4.01956081, 5.31500006, 0.719339788, -0.694658399, 0, 0.694658399, 0.719339788, 0, 0, 0, 1)
  273. o22.BottomSurface = Enum.SurfaceType.Smooth
  274. o22.TopSurface = Enum.SurfaceType.Smooth
  275. o22.Color = Color3.new(0.388235, 0.372549, 0.384314)
  276. o22.Position = Vector3.new(50.7559967, 4.01956081, 5.31500006)
  277. o23.Parent = o22
  278. o23.Scale = Vector3.new(0.5, 0.899999976, 0.5)
  279. o24.Name = "Handle"
  280. o24.Parent = o1
  281. o24.Material = Enum.Material.SmoothPlastic
  282. o24.BrickColor = BrickColor.new("Dark stone grey")
  283. o24.Position = Vector3.new(50.4970093, 3.37834263, 5.32154369)
  284. o24.Rotation = Vector3.new(-0, 0, 45)
  285. o24.Anchored = true
  286. o24.CanCollide = false
  287. o24.Size = Vector3.new(0.730000019, 0.300000072, 0.300000012)
  288. o24.CFrame = CFrame.new(50.4970093, 3.37834263, 5.32154369, 0.707106769, -0.707106769, 0, 0.707106769, 0.707106769, 0, 0, 0, 1)
  289. o24.BottomSurface = Enum.SurfaceType.Smooth
  290. o24.TopSurface = Enum.SurfaceType.Smooth
  291. o24.Color = Color3.new(0.388235, 0.372549, 0.384314)
  292. o24.Position = Vector3.new(50.4970093, 3.37834263, 5.32154369)
  293. o25.Parent = o1
  294. o25.Material = Enum.Material.SmoothPlastic
  295. o25.BrickColor = BrickColor.new("Mid gray")
  296. o25.Position = Vector3.new(51.2200012, 3.46000004, 5.31954384)
  297. o25.Rotation = Vector3.new(-0, 0, 150.000015)
  298. o25.Anchored = true
  299. o25.CanCollide = false
  300. o25.Size = Vector3.new(0.200000003, 0.321999997, 0.200000003)
  301. o25.CFrame = CFrame.new(51.2200012, 3.46000004, 5.31954384, -0.866025507, -0.499999821, 0, 0.499999821, -0.866025507, 0, 0, 0, 1)
  302. o25.BottomSurface = Enum.SurfaceType.Smooth
  303. o25.TopSurface = Enum.SurfaceType.Smooth
  304. o25.Color = Color3.new(0.803922, 0.803922, 0.803922)
  305. o25.Position = Vector3.new(51.2200012, 3.46000004, 5.31954384)
  306. o26.Parent = o25
  307. o26.Scale = Vector3.new(0.5, 1.5, 0.699999988)
  308. o27.Parent = o1
  309. o27.Material = Enum.Material.SmoothPlastic
  310. o27.BrickColor = BrickColor.new("Mid gray")
  311. o27.Position = Vector3.new(51.0099983, 3.2750001, 5.31954384)
  312. o27.Rotation = Vector3.new(-0, 0, 90)
  313. o27.Anchored = true
  314. o27.CanCollide = false
  315. o27.Size = Vector3.new(0.200000003, 0.223999992, 0.200000003)
  316. o27.CFrame = CFrame.new(51.0099983, 3.2750001, 5.31954384, -4.37113883e-008, -1, 0, 1, -4.37113883e-008, 0, 0, 0, 1)
  317. o27.BottomSurface = Enum.SurfaceType.Smooth
  318. o27.TopSurface = Enum.SurfaceType.Smooth
  319. o27.Color = Color3.new(0.803922, 0.803922, 0.803922)
  320. o27.Position = Vector3.new(51.0099983, 3.2750001, 5.31954384)
  321. o28.Parent = o27
  322. o28.Scale = Vector3.new(0.5, 1.20000005, 0.699999988)
  323. o29.Parent = o1
  324. o29.Material = Enum.Material.SmoothPlastic
  325. o29.BrickColor = BrickColor.new("Mid gray")
  326. o29.Position = Vector3.new(50.8295479, 3.33778, 5.31954384)
  327. o29.Rotation = Vector3.new(-0, 0, 48.0000038)
  328. o29.Anchored = true
  329. o29.CanCollide = false
  330. o29.Size = Vector3.new(0.200000003, 0.223999992, 0.200000003)
  331. o29.CFrame = CFrame.new(50.8295479, 3.33778, 5.31954384, 0.669130564, -0.74314487, 0, 0.74314487, 0.669130564, 0, 0, 0, 1)
  332. o29.BottomSurface = Enum.SurfaceType.Smooth
  333. o29.TopSurface = Enum.SurfaceType.Smooth
  334. o29.Color = Color3.new(0.803922, 0.803922, 0.803922)
  335. o29.Position = Vector3.new(50.8295479, 3.33778, 5.31954384)
  336. o30.Parent = o29
  337. o30.Scale = Vector3.new(0.5, 1, 0.699999988)
  338. o31.Parent = o1
  339. o31.Material = Enum.Material.SmoothPlastic
  340. o31.BrickColor = BrickColor.new("Mid gray")
  341. o31.Position = Vector3.new(49.8057709, 3.23564911, 5.30704403)
  342. o31.Rotation = Vector3.new(-0, -90, 0)
  343. o31.Anchored = true
  344. o31.CanCollide = false
  345. o31.Size = Vector3.new(0.200000003, 0.200000003, 0.204999998)
  346. o31.CFrame = CFrame.new(49.8057709, 3.23564911, 5.30704403, -4.37113883e-008, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-008)
  347. o31.BottomSurface = Enum.SurfaceType.Smooth
  348. o31.TopSurface = Enum.SurfaceType.Smooth
  349. o31.Color = Color3.new(0.803922, 0.803922, 0.803922)
  350. o31.Position = Vector3.new(49.8057709, 3.23564911, 5.30704403)
  351. o32.Parent = o31
  352. o32.Scale = Vector3.new(0.600000024, 0.349999994, 0.349999994)
  353. o32.MeshType = Enum.MeshType.Wedge
  354. o33.Parent = o1
  355. o33.Material = Enum.Material.SmoothPlastic
  356. o33.BrickColor = BrickColor.new("Mid gray")
  357. o33.Position = Vector3.new(49.8667717, 3.22244596, 5.30704403)
  358. o33.Rotation = Vector3.new(90, -45, 90)
  359. o33.Anchored = true
  360. o33.CanCollide = false
  361. o33.Size = Vector3.new(0.200000003, 0.200000003, 0.204999998)
  362. o33.CFrame = CFrame.new(49.8667717, 3.22244596, 5.30704403, -3.09086197e-008, -0.707106829, -0.707106769, -1.28027686e-008, 0.707106769, -0.707106829, 1, -1.28027686e-008, -3.09086197e-008)
  363. o33.BottomSurface = Enum.SurfaceType.Smooth
  364. o33.TopSurface = Enum.SurfaceType.Smooth
  365. o33.Color = Color3.new(0.803922, 0.803922, 0.803922)
  366. o33.Position = Vector3.new(49.8667717, 3.22244596, 5.30704403)
  367. o34.Parent = o33
  368. o34.Scale = Vector3.new(0.600000024, 0.349999994, 0.349999994)
  369. o34.MeshType = Enum.MeshType.Wedge
  370. o35.Parent = o1
  371. o35.Material = Enum.Material.SmoothPlastic
  372. o35.BrickColor = BrickColor.new("Mid gray")
  373. o35.Position = Vector3.new(50.4745674, 3.36495113, 5.38520098)
  374. o35.Rotation = Vector3.new(91.2115326, -45.6857071, 0.228031278)
  375. o35.Anchored = true
  376. o35.CanCollide = false
  377. o35.Size = Vector3.new(0.230000064, 0.200000003, 0.709999979)
  378. o35.CFrame = CFrame.new(50.4745674, 3.36495113, 5.38520098, 0.698588252, -0.00278032362, -0.715518475, -0.715436995, -0.0182964802, -0.698437631, -0.0111495871, 0.999828696, -0.0147708533)
  379. o35.BottomSurface = Enum.SurfaceType.Smooth
  380. o35.TopSurface = Enum.SurfaceType.Smooth
  381. o35.Color = Color3.new(0.803922, 0.803922, 0.803922)
  382. o35.Position = Vector3.new(50.4745674, 3.36495113, 5.38520098)
  383. o36.Parent = o1
  384. o36.Material = Enum.Material.Neon
  385. o36.BrickColor = BrickColor.new("Toothpaste")
  386. o36.Position = Vector3.new(50.7599983, 3.6400001, 5.20449972)
  387. o36.Rotation = Vector3.new(-0, 0, -44)
  388. o36.Anchored = true
  389. o36.CanCollide = false
  390. o36.Size = Vector3.new(0.203000054, 0.200000003, 0.200000003)
  391. o36.CFrame = CFrame.new(50.7599983, 3.6400001, 5.20449972, 0.719339788, 0.694658399, 0, -0.694658399, 0.719339788, 0, 0, 0, 1)
  392. o36.BottomSurface = Enum.SurfaceType.Smooth
  393. o36.TopSurface = Enum.SurfaceType.Smooth
  394. o36.Color = Color3.new(0, 1, 1)
  395. o36.Position = Vector3.new(50.7599983, 3.6400001, 5.20449972)
  396. o37.Parent = o36
  397. o37.Scale = Vector3.new(0.800000012, 0.300000012, 0.5)
  398. o38.Parent = o1
  399. o38.Material = Enum.Material.SmoothPlastic
  400. o38.BrickColor = BrickColor.new("Smoky grey")
  401. o38.Position = Vector3.new(51.2353706, 3.95000005, 5.31954384)
  402. o38.Rotation = Vector3.new(-0, 0, 90)
  403. o38.Anchored = true
  404. o38.CanCollide = false
  405. o38.Shape = Enum.PartType.Cylinder
  406. o38.Size = Vector3.new(0.200000003, 0.5, 0.200000003)
  407. o38.CFrame = CFrame.new(51.2353706, 3.95000005, 5.31954384, -4.37113883e-008, -1, 0, 1, -4.37113883e-008, 0, 0, 0, 1)
  408. o38.BottomSurface = Enum.SurfaceType.Smooth
  409. o38.TopSurface = Enum.SurfaceType.Smooth
  410. o38.Color = Color3.new(0.356863, 0.364706, 0.411765)
  411. o38.Position = Vector3.new(51.2353706, 3.95000005, 5.31954384)
  412. o39.Parent = o38
  413. o39.Scale = Vector3.new(1, 0.800000012, 0.600000024)
  414. o40.Parent = o1
  415. o40.Material = Enum.Material.SmoothPlastic
  416. o40.BrickColor = BrickColor.new("Mid gray")
  417. o40.Position = Vector3.new(51.0823708, 3.66909075, 5.31954384)
  418. o40.Anchored = true
  419. o40.CanCollide = false
  420. o40.Size = Vector3.new(0.868000031, 0.200000003, 0.264999986)
  421. o40.CFrame = CFrame.new(51.0823708, 3.66909075, 5.31954384, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  422. o40.BottomSurface = Enum.SurfaceType.Smooth
  423. o40.TopSurface = Enum.SurfaceType.Smooth
  424. o40.Color = Color3.new(0.803922, 0.803922, 0.803922)
  425. o40.Position = Vector3.new(51.0823708, 3.66909075, 5.31954384)
  426. o41.Parent = o1
  427. o41.Material = Enum.Material.SmoothPlastic
  428. o41.BrickColor = BrickColor.new("Mid gray")
  429. o41.Position = Vector3.new(49.8017693, 3.35193205, 5.30704403)
  430. o41.Rotation = Vector3.new(-90, 0, -90)
  431. o41.Anchored = true
  432. o41.CanCollide = false
  433. o41.Size = Vector3.new(0.200000003, 0.200000003, 0.204999998)
  434. o41.CFrame = CFrame.new(49.8017693, 3.35193205, 5.30704403, -4.37113883e-008, 1, 0, 4.37113883e-008, 1.91068547e-015, 1, 1, 4.37113883e-008, -4.37113883e-008)
  435. o41.BottomSurface = Enum.SurfaceType.Smooth
  436. o41.TopSurface = Enum.SurfaceType.Smooth
  437. o41.Color = Color3.new(0.803922, 0.803922, 0.803922)
  438. o41.Position = Vector3.new(49.8017693, 3.35193205, 5.30704403)
  439. o42.Parent = o41
  440. o42.Scale = Vector3.new(0.600000024, 0.349999994, 0.349999994)
  441. o42.MeshType = Enum.MeshType.Wedge
  442. o43.Parent = o1
  443. o43.Material = Enum.Material.SmoothPlastic
  444. o43.BrickColor = BrickColor.new("Dark stone grey")
  445. o43.Position = Vector3.new(50.2837715, 3.10236478, 5.31154442)
  446. o43.Rotation = Vector3.new(-0, 0, -20.9999962)
  447. o43.Anchored = true
  448. o43.CanCollide = false
  449. o43.Size = Vector3.new(0.410000026, 0.200000003, 0.400000006)
  450. o43.CFrame = CFrame.new(50.2837715, 3.10236478, 5.31154442, 0.933580458, 0.35836789, 0, -0.35836789, 0.933580458, 0, 0, 0, 1)
  451. o43.BottomSurface = Enum.SurfaceType.Smooth
  452. o43.TopSurface = Enum.SurfaceType.Smooth
  453. o43.Color = Color3.new(0.388235, 0.372549, 0.384314)
  454. o43.Position = Vector3.new(50.2837715, 3.10236478, 5.31154442)
  455. o44.Parent = o1
  456. o44.Material = Enum.Material.SmoothPlastic
  457. o44.BrickColor = BrickColor.new("Black")
  458. o44.Position = Vector3.new(50.8300018, 3.80446577, 5.31500006)
  459. o44.Rotation = Vector3.new(-0, 0, -35.0000076)
  460. o44.Anchored = true
  461. o44.CanCollide = false
  462. o44.Size = Vector3.new(0.206999987, 0.435000002, 0.264999986)
  463. o44.CFrame = CFrame.new(50.8300018, 3.80446577, 5.31500006, 0.819151998, 0.57357651, 0, -0.57357651, 0.819151998, 0, 0, 0, 1)
  464. o44.BottomSurface = Enum.SurfaceType.Smooth
  465. o44.TopSurface = Enum.SurfaceType.Smooth
  466. o44.Color = Color3.new(0.105882, 0.164706, 0.207843)
  467. o44.Position = Vector3.new(50.8300018, 3.80446577, 5.31500006)
  468. o45.Parent = o44
  469. o45.Scale = Vector3.new(1, 1, 0.800000012)
  470. o46.Parent = o1
  471. o46.Material = Enum.Material.SmoothPlastic
  472. o46.BrickColor = BrickColor.new("Mid gray")
  473. o46.Position = Vector3.new(49.8587685, 3.29909968, 5.30704403)
  474. o46.Rotation = Vector3.new(90, 0, -0)
  475. o46.Anchored = true
  476. o46.CanCollide = false
  477. o46.Shape = Enum.PartType.Cylinder
  478. o46.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  479. o46.CFrame = CFrame.new(49.8587685, 3.29909968, 5.30704403, 1, 0, 0, 0, -4.37113883e-008, -1, 0, 1, -4.37113883e-008)
  480. o46.BottomSurface = Enum.SurfaceType.Smooth
  481. o46.TopSurface = Enum.SurfaceType.Smooth
  482. o46.Color = Color3.new(0.803922, 0.803922, 0.803922)
  483. o46.Position = Vector3.new(49.8587685, 3.29909968, 5.30704403)
  484. o47.Parent = o46
  485. o47.Scale = Vector3.new(0.899999976, 0.550000012, 0.899999976)
  486. o48.Parent = o1
  487. o48.Material = Enum.Material.SmoothPlastic
  488. o48.BrickColor = BrickColor.new("Black")
  489. o48.Position = Vector3.new(50.9568748, 3.94950008, 5.31954384)
  490. o48.Anchored = true
  491. o48.CanCollide = false
  492. o48.Size = Vector3.new(0.226999998, 0.358999997, 0.264999986)
  493. o48.CFrame = CFrame.new(50.9568748, 3.94950008, 5.31954384, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  494. o48.BottomSurface = Enum.SurfaceType.Smooth
  495. o48.TopSurface = Enum.SurfaceType.Smooth
  496. o48.Color = Color3.new(0.105882, 0.164706, 0.207843)
  497. o48.Position = Vector3.new(50.9568748, 3.94950008, 5.31954384)
  498. o49.Parent = o48
  499. o49.Scale = Vector3.new(0.699999988, 1, 0.800000012)
  500. o50.Parent = o1
  501. o50.Material = Enum.Material.SmoothPlastic
  502. o50.BrickColor = BrickColor.new("Mid gray")
  503. o50.Position = Vector3.new(50.0637703, 3.18861699, 5.30704403)
  504. o50.Rotation = Vector3.new(-0, 0, -28.9999962)
  505. o50.Anchored = true
  506. o50.CanCollide = false
  507. o50.Size = Vector3.new(0.410000026, 0.200000003, 0.204999998)
  508. o50.CFrame = CFrame.new(50.0637703, 3.18861699, 5.30704403, 0.874619722, 0.484809577, 0, -0.484809577, 0.874619722, 0, 0, 0, 1)
  509. o50.BottomSurface = Enum.SurfaceType.Smooth
  510. o50.TopSurface = Enum.SurfaceType.Smooth
  511. o50.Color = Color3.new(0.803922, 0.803922, 0.803922)
  512. o50.Position = Vector3.new(50.0637703, 3.18861699, 5.30704403)
  513. o51.Parent = o50
  514. o51.Scale = Vector3.new(1, 0.5, 0.5)
  515. o52.Parent = o1
  516. o52.Material = Enum.Material.SmoothPlastic
  517. o52.BrickColor = BrickColor.new("Mid gray")
  518. o52.Position = Vector3.new(50.4745674, 3.3599999, 5.24100018)
  519. o52.Rotation = Vector3.new(91.2115326, -45.6857071, 0.228031278)
  520. o52.Anchored = true
  521. o52.CanCollide = false
  522. o52.Size = Vector3.new(0.230000064, 0.200000003, 0.709999979)
  523. o52.CFrame = CFrame.new(50.4745674, 3.3599999, 5.24100018, 0.698588252, -0.00278032362, -0.715518475, -0.715436995, -0.0182964802, -0.698437631, -0.0111495871, 0.999828696, -0.0147708533)
  524. o52.BottomSurface = Enum.SurfaceType.Smooth
  525. o52.TopSurface = Enum.SurfaceType.Smooth
  526. o52.Color = Color3.new(0.803922, 0.803922, 0.803922)
  527. o52.Position = Vector3.new(50.4745674, 3.3599999, 5.24100018)
  528. o53.Parent = o1
  529. o53.Material = Enum.Material.SmoothPlastic
  530. o53.Position = Vector3.new(51.2313728, 3.87404203, 5.31954384)
  531. o53.Rotation = Vector3.new(-0, 0, 90)
  532. o53.Anchored = true
  533. o53.CanCollide = false
  534. o53.Shape = Enum.PartType.Cylinder
  535. o53.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  536. o53.CFrame = CFrame.new(51.2313728, 3.87404203, 5.31954384, -4.37113883e-008, -1, 0, 1, -4.37113883e-008, 0, 0, 0, 1)
  537. o53.BottomSurface = Enum.SurfaceType.Smooth
  538. o53.TopSurface = Enum.SurfaceType.Smooth
  539. o53.Position = Vector3.new(51.2313728, 3.87404203, 5.31954384)
  540. o54.Parent = o53
  541. o54.Scale = Vector3.new(1, 0.800000012, 0.600000024)
  542. o55.Parent = o1
  543. o55.Material = Enum.Material.SmoothPlastic
  544. o55.BrickColor = BrickColor.new("Mid gray")
  545. o55.Position = Vector3.new(50.6496391, 3.44902349, 5.3220439)
  546. o55.Rotation = Vector3.new(-0, 0, 46)
  547. o55.Anchored = true
  548. o55.CanCollide = false
  549. o55.Size = Vector3.new(0.605000019, 0.200000003, 0.200000003)
  550. o55.CFrame = CFrame.new(50.6496391, 3.44902349, 5.3220439, 0.694658399, -0.719339788, 0, 0.719339788, 0.694658399, 0, 0, 0, 1)
  551. o55.BottomSurface = Enum.SurfaceType.Smooth
  552. o55.TopSurface = Enum.SurfaceType.Smooth
  553. o55.Color = Color3.new(0.803922, 0.803922, 0.803922)
  554. o55.Position = Vector3.new(50.6496391, 3.44902349, 5.3220439)
  555. o56.Parent = o1
  556. o56.Material = Enum.Material.SmoothPlastic
  557. o56.BrickColor = BrickColor.new("Black")
  558. o56.Position = Vector3.new(52.3800011, 4.23000002, 5.32000017)
  559. o56.Anchored = true
  560. o56.CanCollide = false
  561. o56.Size = Vector3.new(0.200000003, 0.200000003, 0.204999983)
  562. o56.CFrame = CFrame.new(52.3800011, 4.23000002, 5.32000017, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  563. o56.BottomSurface = Enum.SurfaceType.Smooth
  564. o56.TopSurface = Enum.SurfaceType.Smooth
  565. o56.Color = Color3.new(0.105882, 0.164706, 0.207843)
  566. o56.Position = Vector3.new(52.3800011, 4.23000002, 5.32000017)
  567. o57.Parent = o56
  568. o57.Scale = Vector3.new(0.800000012, 0.400000006, 0.25)
  569. o57.MeshType = Enum.MeshType.Torso
  570. o58.Parent = o1
  571. o58.Material = Enum.Material.SmoothPlastic
  572. o58.BrickColor = BrickColor.new("Black")
  573. o58.Position = Vector3.new(52.3800011, 4.14001513, 5.32000017)
  574. o58.Anchored = true
  575. o58.CanCollide = false
  576. o58.Size = Vector3.new(0.200000003, 0.200000003, 0.204999983)
  577. o58.CFrame = CFrame.new(52.3800011, 4.14001513, 5.32000017, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  578. o58.BottomSurface = Enum.SurfaceType.Smooth
  579. o58.TopSurface = Enum.SurfaceType.Smooth
  580. o58.Color = Color3.new(0.105882, 0.164706, 0.207843)
  581. o58.Position = Vector3.new(52.3800011, 4.14001513, 5.32000017)
  582. o59.Parent = o58
  583. o59.Scale = Vector3.new(0.800000012, 0.5, 0.699999988)
  584. o60.Parent = o1
  585. o60.Material = Enum.Material.SmoothPlastic
  586. o60.BrickColor = BrickColor.new("Mid gray")
  587. o60.Position = Vector3.new(51.6235008, 3.67000008, 5.32000017)
  588. o60.Rotation = Vector3.new(-180, -90, 0)
  589. o60.Anchored = true
  590. o60.CanCollide = false
  591. o60.Size = Vector3.new(0.200000003, 0.200000003, 0.216999978)
  592. o60.CFrame = CFrame.new(51.6235008, 3.67000008, 5.32000017, -4.37113883e-008, 0, -1, 1.50995803e-007, -1, -6.60023616e-015, -1, -1.50995803e-007, 4.37113883e-008)
  593. o60.BottomSurface = Enum.SurfaceType.Smooth
  594. o60.TopSurface = Enum.SurfaceType.Smooth
  595. o60.Color = Color3.new(0.803922, 0.803922, 0.803922)
  596. o60.Position = Vector3.new(51.6235008, 3.67000008, 5.32000017)
  597. o61.Parent = o60
  598. o61.Scale = Vector3.new(1.29999995, 1, 1)
  599. o61.MeshType = Enum.MeshType.Wedge
  600. o62.Parent = o1
  601. o62.Material = Enum.Material.SmoothPlastic
  602. o62.BrickColor = BrickColor.new("Mid gray")
  603. o62.Position = Vector3.new(51.5999985, 4.21000004, 5.32000017)
  604. o62.Rotation = Vector3.new(-0, -90, 0)
  605. o62.Anchored = true
  606. o62.CanCollide = false
  607. o62.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  608. o62.CFrame = CFrame.new(51.5999985, 4.21000004, 5.32000017, -4.37113883e-008, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-008)
  609. o62.BottomSurface = Enum.SurfaceType.Smooth
  610. o62.TopSurface = Enum.SurfaceType.Smooth
  611. o62.Color = Color3.new(0.803922, 0.803922, 0.803922)
  612. o62.Position = Vector3.new(51.5999985, 4.21000004, 5.32000017)
  613. o63.Parent = o62
  614. o63.Scale = Vector3.new(0.899999976, 0.200000003, 1)
  615. o63.MeshType = Enum.MeshType.Wedge
  616. o64.Parent = o1
  617. o64.Material = Enum.Material.SmoothPlastic
  618. o64.BrickColor = BrickColor.new("Mid gray")
  619. o64.Position = Vector3.new(51.7574959, 4.13999987, 5.32000017)
  620. o64.Anchored = true
  621. o64.CanCollide = false
  622. o64.Size = Vector3.new(1.44499993, 0.200000003, 0.204999983)
  623. o64.CFrame = CFrame.new(51.7574959, 4.13999987, 5.32000017, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  624. o64.BottomSurface = Enum.SurfaceType.Smooth
  625. o64.TopSurface = Enum.SurfaceType.Smooth
  626. o64.Color = Color3.new(0.803922, 0.803922, 0.803922)
  627. o64.Position = Vector3.new(51.7574959, 4.13999987, 5.32000017)
  628. o65.Parent = o64
  629. o65.Scale = Vector3.new(1, 0.5, 0.800000012)
  630. o66.Parent = o1
  631. o66.Material = Enum.Material.SmoothPlastic
  632. o66.BrickColor = BrickColor.new("Mid gray")
  633. o66.Position = Vector3.new(51.8513641, 3.88200378, 5.31954384)
  634. o66.Rotation = Vector3.new(-0, 0, 90)
  635. o66.Anchored = true
  636. o66.CanCollide = false
  637. o66.Shape = Enum.PartType.Cylinder
  638. o66.Size = Vector3.new(0.200000003, 0.899999976, 0.200000003)
  639. o66.CFrame = CFrame.new(51.8513641, 3.88200378, 5.31954384, -4.37113883e-008, -1, 0, 1, -4.37113883e-008, 0, 0, 0, 1)
  640. o66.BottomSurface = Enum.SurfaceType.Smooth
  641. o66.TopSurface = Enum.SurfaceType.Smooth
  642. o66.Color = Color3.new(0.803922, 0.803922, 0.803922)
  643. o66.Position = Vector3.new(51.8513641, 3.88200378, 5.31954384)
  644. o67.Parent = o66
  645. o67.Scale = Vector3.new(0.800000012, 0.850000024, 0.800000012)
  646. o68.Parent = o1
  647. o68.Material = Enum.Material.SmoothPlastic
  648. o68.BrickColor = BrickColor.new("Mid gray")
  649. o68.Position = Vector3.new(51.4799995, 4, 5.31954384)
  650. o68.Rotation = Vector3.new(-0, 0, 90)
  651. o68.Anchored = true
  652. o68.CanCollide = false
  653. o68.Shape = Enum.PartType.Cylinder
  654. o68.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  655. o68.CFrame = CFrame.new(51.4799995, 4, 5.31954384, -4.37113883e-008, -1, 0, 1, -4.37113883e-008, 0, 0, 0, 1)
  656. o68.BottomSurface = Enum.SurfaceType.Smooth
  657. o68.TopSurface = Enum.SurfaceType.Smooth
  658. o68.Color = Color3.new(0.803922, 0.803922, 0.803922)
  659. o68.Position = Vector3.new(51.4799995, 4, 5.31954384)
  660. o69.Parent = o68
  661. o70.Parent = o1
  662. o70.Material = Enum.Material.SmoothPlastic
  663. o70.BrickColor = BrickColor.new("Mid gray")
  664. o70.Position = Vector3.new(51.4289932, 3.75999999, 5.32000017)
  665. o70.Anchored = true
  666. o70.CanCollide = false
  667. o70.Size = Vector3.new(0.200000003, 0.200000003, 0.204999983)
  668. o70.CFrame = CFrame.new(51.4289932, 3.75999999, 5.32000017, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  669. o70.BottomSurface = Enum.SurfaceType.Smooth
  670. o70.TopSurface = Enum.SurfaceType.Smooth
  671. o70.Color = Color3.new(0.803922, 0.803922, 0.803922)
  672. o70.Position = Vector3.new(51.4289932, 3.75999999, 5.32000017)
  673. o71.Parent = o70
  674. o71.Scale = Vector3.new(0.5, 1.89999998, 1)
  675. o72.Parent = o1
  676. o72.Material = Enum.Material.Neon
  677. o72.BrickColor = BrickColor.new("Toothpaste")
  678. o72.Position = Vector3.new(52.1899986, 3.87007713, 5.32449865)
  679. o72.Rotation = Vector3.new(0, 90, 0)
  680. o72.Anchored = true
  681. o72.CanCollide = false
  682. o72.Size = Vector3.new(0.203000054, 0.200000003, 0.200000003)
  683. o72.CFrame = CFrame.new(52.1899986, 3.87007713, 5.32449865, -4.37113883e-008, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-008)
  684. o72.BottomSurface = Enum.SurfaceType.Smooth
  685. o72.TopSurface = Enum.SurfaceType.Smooth
  686. o72.Color = Color3.new(0, 1, 1)
  687. o72.Position = Vector3.new(52.1899986, 3.87007713, 5.32449865)
  688. o73.Parent = o72
  689. o73.Scale = Vector3.new(0.400000006, 0.300000012, 0.5)
  690. o74.Parent = o1
  691. o74.Material = Enum.Material.SmoothPlastic
  692. o74.BrickColor = BrickColor.new("Mid gray")
  693. o74.Position = Vector3.new(51.2900009, 4.21000004, 5.32000017)
  694. o74.Anchored = true
  695. o74.CanCollide = false
  696. o74.Size = Vector3.new(0.42900002, 0.200000003, 0.204999983)
  697. o74.CFrame = CFrame.new(51.2900009, 4.21000004, 5.32000017, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  698. o74.BottomSurface = Enum.SurfaceType.Smooth
  699. o74.TopSurface = Enum.SurfaceType.Smooth
  700. o74.Color = Color3.new(0.803922, 0.803922, 0.803922)
  701. o74.Position = Vector3.new(51.2900009, 4.21000004, 5.32000017)
  702. o75.Parent = o74
  703. o75.Scale = Vector3.new(1, 0.25, 1)
  704. o76.Parent = o1
  705. o76.Material = Enum.Material.SmoothPlastic
  706. o76.BrickColor = BrickColor.new("Dark stone grey")
  707. o76.Position = Vector3.new(50.7550011, 3.6400001, 5.32000017)
  708. o76.Rotation = Vector3.new(-0, 0, 1.28066051e-006)
  709. o76.Anchored = true
  710. o76.CanCollide = false
  711. o76.Size = Vector3.new(0.225000039, 0.209999993, 0.300000012)
  712. o76.CFrame = CFrame.new(50.7550011, 3.6400001, 5.32000017, 1, -2.23517418e-008, 0, 2.23517418e-008, 1, 0, 0, 0, 1)
  713. o76.BottomSurface = Enum.SurfaceType.Smooth
  714. o76.TopSurface = Enum.SurfaceType.Smooth
  715. o76.Color = Color3.new(0.388235, 0.372549, 0.384314)
  716. o76.Position = Vector3.new(50.7550011, 3.6400001, 5.32000017)
  717. o77.Parent = o1
  718. o77.Material = Enum.Material.Neon
  719. o77.BrickColor = BrickColor.new("Toothpaste")
  720. o77.Position = Vector3.new(50.7610054, 3.64415002, 5.44049978)
  721. o77.Rotation = Vector3.new(-0, 0, -44)
  722. o77.Anchored = true
  723. o77.CanCollide = false
  724. o77.Size = Vector3.new(0.203000054, 0.200000003, 0.200000003)
  725. o77.CFrame = CFrame.new(50.7610054, 3.64415002, 5.44049978, 0.719339788, 0.694658399, 0, -0.694658399, 0.719339788, 0, 0, 0, 1)
  726. o77.BottomSurface = Enum.SurfaceType.Smooth
  727. o77.TopSurface = Enum.SurfaceType.Smooth
  728. o77.Color = Color3.new(0, 1, 1)
  729. o77.Position = Vector3.new(50.7610054, 3.64415002, 5.44049978)
  730. o78.Parent = o77
  731. o78.Scale = Vector3.new(0.800000012, 0.300000012, 0.5)
  732. o79.Parent = o1
  733. o79.Material = Enum.Material.SmoothPlastic
  734. o79.BrickColor = BrickColor.new("Mid gray")
  735. o79.Position = Vector3.new(49.8607674, 3.37296009, 5.30704403)
  736. o79.Rotation = Vector3.new(-90, 45, -90)
  737. o79.Anchored = true
  738. o79.CanCollide = false
  739. o79.Size = Vector3.new(0.200000003, 0.200000003, 0.204999998)
  740. o79.CFrame = CFrame.new(49.8607674, 3.37296009, 5.30704403, -3.09086197e-008, 0.707106829, 0.707106769, 7.46200044e-008, -0.707106769, 0.707106829, 1, 7.46200044e-008, -3.09086197e-008)
  741. o79.BottomSurface = Enum.SurfaceType.Smooth
  742. o79.TopSurface = Enum.SurfaceType.Smooth
  743. o79.Color = Color3.new(0.803922, 0.803922, 0.803922)
  744. o79.Position = Vector3.new(49.8607674, 3.37296009, 5.30704403)
  745. o80.Parent = o79
  746. o80.Scale = Vector3.new(0.600000024, 0.349999994, 0.349999994)
  747. o80.MeshType = Enum.MeshType.Wedge
  748. o81.Parent = o1
  749. o81.Material = Enum.Material.SmoothPlastic
  750. o81.BrickColor = BrickColor.new("Mid gray")
  751. o81.Position = Vector3.new(49.9099998, 3.35300016, 5.30999994)
  752. o81.Rotation = Vector3.new(180, 90, 0)
  753. o81.Anchored = true
  754. o81.CanCollide = false
  755. o81.Size = Vector3.new(0.200000003, 0.200000003, 0.204999998)
  756. o81.CFrame = CFrame.new(49.9099998, 3.35300016, 5.30999994, -4.37113883e-008, 0, 1, 1.50995803e-007, -1, 6.60023616e-015, 1, 1.50995803e-007, 4.37113883e-008)
  757. o81.BottomSurface = Enum.SurfaceType.Smooth
  758. o81.TopSurface = Enum.SurfaceType.Smooth
  759. o81.Color = Color3.new(0.803922, 0.803922, 0.803922)
  760. o81.Position = Vector3.new(49.9099998, 3.35300016, 5.30999994)
  761. o82.Parent = o81
  762. o82.Scale = Vector3.new(0.600000024, 0.349999994, 0.349999994)
  763. o82.MeshType = Enum.MeshType.Wedge
  764. o83.Parent = o1
  765. o83.Material = Enum.Material.SmoothPlastic
  766. o83.BrickColor = BrickColor.new("Mid gray")
  767. o83.Position = Vector3.new(49.7807693, 3.30195999, 5.30704403)
  768. o83.Rotation = Vector3.new(-90, -45, -90)
  769. o83.Anchored = true
  770. o83.CanCollide = false
  771. o83.Size = Vector3.new(0.200000003, 0.200000003, 0.204999998)
  772. o83.CFrame = CFrame.new(49.7807693, 3.30195999, 5.30704403, -3.09086197e-008, 0.707106829, -0.707106769, 1.28027686e-008, 0.707106769, 0.707106829, 1, 1.28027686e-008, -3.09086197e-008)
  773. o83.BottomSurface = Enum.SurfaceType.Smooth
  774. o83.TopSurface = Enum.SurfaceType.Smooth
  775. o83.Color = Color3.new(0.803922, 0.803922, 0.803922)
  776. o83.Position = Vector3.new(49.7807693, 3.30195999, 5.30704403)
  777. o84.Parent = o83
  778. o84.Scale = Vector3.new(0.600000024, 0.349999994, 0.349999994)
  779. o84.MeshType = Enum.MeshType.Wedge
  780. o85.Parent = o1
  781. o85.Material = Enum.Material.SmoothPlastic
  782. o85.BrickColor = BrickColor.new("Mid gray")
  783. o85.Position = Vector3.new(50.9780006, 4.17999983, 5.32000017)
  784. o85.Rotation = Vector3.new(0, 90, 0)
  785. o85.Anchored = true
  786. o85.CanCollide = false
  787. o85.Size = Vector3.new(0.200000003, 0.200000003, 0.204999998)
  788. o85.CFrame = CFrame.new(50.9780006, 4.17999983, 5.32000017, -4.37113883e-008, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-008)
  789. o85.BottomSurface = Enum.SurfaceType.Smooth
  790. o85.TopSurface = Enum.SurfaceType.Smooth
  791. o85.Color = Color3.new(0.803922, 0.803922, 0.803922)
  792. o85.Position = Vector3.new(50.9780006, 4.17999983, 5.32000017)
  793. o86.Parent = o85
  794. o86.Scale = Vector3.new(1, 0.5, 1)
  795. o86.MeshType = Enum.MeshType.Wedge
  796. o87.Name = "A1"
  797. o87.Parent = o1
  798. o87.Material = Enum.Material.Neon
  799. o87.BrickColor = BrickColor.new("Toothpaste")
  800. o87.Position = Vector3.new(51.2319984, 4.05000019, 5.32000017)
  801. o87.Rotation = Vector3.new(-0, 0, 90)
  802. o87.Anchored = true
  803. o87.CanCollide = false
  804. o87.Shape = Enum.PartType.Cylinder
  805. o87.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  806. o87.CFrame = CFrame.new(51.2319984, 4.05000019, 5.32000017, -4.37113883e-008, -1, 0, 1, -4.37113883e-008, 0, 0, 0, 1)
  807. o87.BottomSurface = Enum.SurfaceType.Smooth
  808. o87.TopSurface = Enum.SurfaceType.Smooth
  809. o87.Color = Color3.new(0, 1, 1)
  810. o87.Position = Vector3.new(51.2319984, 4.05000019, 5.32000017)
  811. o88.Parent = o87
  812. o88.Scale = Vector3.new(1, 1.54999995, 0.400000006)
  813. o89.Name = "T1"
  814. o89.Parent = o1
  815. o89.Material = Enum.Material.SmoothPlastic
  816. o89.BrickColor = BrickColor.new("Dark stone grey")
  817. o89.Position = Vector3.new(50.8995514, 3.52338958, 5.31954384)
  818. o89.Rotation = Vector3.new(-0, 0, 29.0000076)
  819. o89.Anchored = true
  820. o89.CanCollide = false
  821. o89.Size = Vector3.new(0.200000003, 0.223999992, 0.200000003)
  822. o89.CFrame = CFrame.new(50.8995514, 3.52338958, 5.31954384, 0.874619663, -0.484809726, 0, 0.484809726, 0.874619663, 0, 0, 0, 1)
  823. o89.BottomSurface = Enum.SurfaceType.Smooth
  824. o89.TopSurface = Enum.SurfaceType.Smooth
  825. o89.Color = Color3.new(0.388235, 0.372549, 0.384314)
  826. o89.Position = Vector3.new(50.8995514, 3.52338958, 5.31954384)
  827. o90.Parent = o89
  828. o90.Scale = Vector3.new(0.5, 1, 0.5)
  829. mas.Parent = workspace
  830. mas:MakeJoints()
  831. local mas1 = mas:GetChildren()
  832. for i=1,#mas1 do
  833. mas1[i].Parent = workspace
  834. ypcall(function() mas1[i]:MakeJoints() end)
  835. end
  836. mas:Destroy()
  837. for i=1,#cors do
  838. coroutine.resume(cors[i])
  839. end
  840.  
  841. local Revolver = o1
  842. local Handle = o24
  843. local BarrelEnd = o14
  844. local Chamber = o18
  845. local A1 = o87
  846. local A2 = o6
  847. local A3 = o4
  848. local A4 = o10
  849. local A5 = o8
  850. local A6 = o2
  851. local H1 = o20
  852. local H2 = o22
  853. local T1 = o89
  854. local T2 = o16
  855.  
  856. -----------------------------------------------------------------------------------
  857.  
  858. function indicate(part,var,typer)
  859. local clonepart = Instance.new("Part", workspace)
  860. clonepart.Size = Vector3.new(1,1,1)
  861. clonepart.CanCollide = false
  862. clonepart.Anchored = true
  863. clonepart.CFrame = part.CFrame
  864. clonepart.Transparency = 1
  865. local base1 = Instance.new("BillboardGui", clonepart)
  866. base1.Name = "damage"
  867. base1.ExtentsOffset = Vector3.new(-0.1,2,0)
  868. base1.Size = UDim2.new(1,0,1,0)
  869. base1.Adornee = clonepart
  870. local indicator = Instance.new("TextLabel", base1)
  871. indicator.Text = "-"..var
  872. indicator.TextScaled = false
  873. indicator.TextWrapped = false
  874. if typer == 0 then
  875. indicator.TextColor3 = Color3.new(1,0,0)
  876. elseif typer == 1 then
  877. indicator.TextColor3 = Color3.new(0.5,0.5,0)
  878. end
  879. indicator.TextScaled = true
  880. indicator.FontSize = 7
  881. indicator.Font = "Fantasy"
  882. indicator.Size = UDim2.new(1,0,1,0)
  883. indicator.BackgroundTransparency = 1
  884. local change = coroutine.wrap(function(thing,thing2)
  885. for i=1, 20 do
  886. thing.TextTransparency = thing.TextTransparency + 0.05
  887. thing2.ExtentsOffset = thing2.ExtentsOffset + Vector3.new(0,0.1,0)
  888. wait(0.01)
  889. end
  890. indicator.Parent.Parent:Remove()
  891. end)
  892. change(indicator,base1)
  893. end
  894.  
  895. local Player = game.Players.LocalPlayer
  896. local Mouse = Player:GetMouse()
  897. Mouse.TargetFilter = Player.Character
  898. local Character = Player.Character
  899. local Humanoid = Character.Humanoid
  900.  
  901. Humanoid.WalkSpeed = 20
  902. Humanoid.JumpPower = 1
  903. Humanoid.MaxHealth = 100
  904. wait()
  905. Humanoid.Health = Humanoid.MaxHealth
  906.  
  907. local ammo = 6
  908. local attacking = false
  909. local waiting = false
  910.  
  911. local p1 = Instance.new("ScreenGui")
  912. local p2 = Instance.new("TextLabel")
  913. p1.Parent = Player.PlayerGui
  914. p2.Parent = p1
  915. p2.Position = UDim2.new(0.5,0,0.8,0)
  916. p2.Size = UDim2.new(0.05,0,0.05,0)
  917. p2.Position = UDim2.new(0.5,0,0.8,0)
  918. p2.Position = UDim2.new(0.5,0,0.8,0)
  919. p2.BackgroundColor3 = Color3.new(0,0,0)
  920. p2.BackgroundTransparency = 1
  921. p2.BorderSizePixel = 0
  922. p2.Font = Enum.Font.SourceSans
  923. p2.FontSize = Enum.FontSize.Size96
  924. p2.Text = ammo.."/6"
  925. p2.TextColor3 = Color3.new(1,1,1)
  926.  
  927. local animstate = 0
  928. local keyframe = 0
  929. local animstate2 = -1
  930. local keyframe2 = -1
  931.  
  932. -- highnoon: 507504338
  933. -- draw: 423993839
  934.  
  935. local gunshot = Instance.new("Sound", BarrelEnd)
  936. gunshot.Volume = 0.8
  937. gunshot.SoundId = "rbxassetid://145080998"
  938.  
  939. local reload = Instance.new("Sound", Character.Torso)
  940. reload.Volume = 1
  941. reload.SoundId = "rbxassetid://506273075"
  942.  
  943. local roll = Instance.new("Sound", Character.Torso)
  944. roll.Volume = 1
  945. roll.SoundId = "rbxassetid://328825627"
  946.  
  947. local LRP = Character.HumanoidRootPart.CFrame
  948.  
  949. Joints={
  950. Character.HumanoidRootPart.RootJoint;
  951. Character.Torso.Neck;
  952. Character.Torso['Left Shoulder'];
  953. Character.Torso['Right Shoulder'];
  954. Character.Torso['Left Hip'];
  955. Character.Torso['Right Hip'];
  956. }
  957. CurrentJoints={
  958. Character.HumanoidRootPart.RootJoint.C0;
  959. Character.Torso.Neck.C0;
  960. Character.Torso['Left Shoulder'].C0;
  961. Character.Torso['Right Shoulder'].C0;
  962. Character.Torso['Left Hip'].C0;
  963. Character.Torso['Right Hip'].C0;
  964. }
  965. LastJoints={
  966. Character.HumanoidRootPart.RootJoint.C0;
  967. Character.Torso.Neck.C0;
  968. Character.Torso['Left Shoulder'].C0;
  969. Character.Torso['Right Shoulder'].C0;
  970. Character.Torso['Left Hip'].C0;
  971. Character.Torso['Right Hip'].C0;
  972. }
  973.  
  974. local orig1 = Joints[1].C0
  975. local orig2 = Joints[2].C0
  976. local orig3 = Joints[3].C0
  977. local orig4 = Joints[4].C0
  978. local orig5 = Joints[5].C0
  979. local orig6 = Joints[6].C0
  980.  
  981. Revolver.Parent = Character
  982. Character.Animate:remove()
  983. Character.Humanoid.Animator:remove()
  984.  
  985. for _,v in pairs (Revolver:GetChildren()) do
  986. if v.Name ~= "Handle" and (v.Name ~= "A1" and v.Name ~= "A2" and v.Name ~= "A3" and v.Name ~= "A4" and v.Name ~= "A5" and v.Name ~= "A6") and v.Name ~= "T2" and v.Name ~= "H2" then
  987. local NewWeld = Instance.new("Weld")
  988. NewWeld.Part0 = Handle
  989. NewWeld.Part1 = v
  990. NewWeld.C0 = CFrame.new()
  991. NewWeld.C1 = v.CFrame:toObjectSpace(Handle.CFrame)
  992. NewWeld.Parent = Handle
  993. if v.Name == "Chamber" then
  994. NewWeld.Name = "ChamberWeld"
  995. elseif v.Name == "H1" then
  996. NewWeld.Name = "HammerWeld"
  997. elseif v.Name == "T1" then
  998. NewWeld.Name = "TriggerWeld"
  999. end
  1000. end
  1001. if v.Name == "A1" or v.Name == "A2" or v.Name == "A3" or v.Name == "A4" or v.Name == "A5" or v.Name == "A6" then
  1002. local NewWeld = Instance.new("Weld")
  1003. NewWeld.Part0 = Chamber
  1004. NewWeld.Part1 = v
  1005. NewWeld.C0 = CFrame.new()
  1006. NewWeld.C1 = v.CFrame:toObjectSpace(Chamber.CFrame)
  1007. NewWeld.Parent = Chamber
  1008. end
  1009. if v.Name == "H2" then
  1010. local NewWeld = Instance.new("Weld")
  1011. NewWeld.Part0 = H1
  1012. NewWeld.Part1 = v
  1013. NewWeld.C0 = CFrame.new()
  1014. NewWeld.C1 = v.CFrame:toObjectSpace(H1.CFrame)
  1015. NewWeld.Parent = H1
  1016. end
  1017. if v.Name == "T2" then
  1018. local NewWeld = Instance.new("Weld")
  1019. NewWeld.Part0 = T1
  1020. NewWeld.Part1 = v
  1021. NewWeld.C0 = CFrame.new()
  1022. NewWeld.C1 = v.CFrame:toObjectSpace(T1.CFrame)
  1023. NewWeld.Parent = T1
  1024. end
  1025. wait()
  1026. end
  1027. for _,v in pairs (Revolver:GetChildren()) do
  1028. v.Anchored = false
  1029. wait()
  1030. end
  1031.  
  1032. local Cweld = Handle:FindFirstChild("ChamberWeld")
  1033. local Hweld = Handle:FindFirstChild("HammerWeld")
  1034. local Tweld = Handle:FindFirstChild("TriggerWeld")
  1035.  
  1036. local origh = Hweld.C0
  1037. local origt = Tweld.C0
  1038.  
  1039. GunJoints={
  1040. Hweld;
  1041. Tweld;
  1042. }
  1043. CurrentGunJoints={
  1044. Hweld.C0;
  1045. Tweld.C0;
  1046. }
  1047. LastGunJoints={
  1048. Hweld.C0;
  1049. Tweld.C0;
  1050. }
  1051.  
  1052. Handle.CFrame = Character:FindFirstChild("Right Arm").CFrame*CFrame.new(0,-2.2,-0.7)*CFrame.Angles(math.rad(90),math.rad(90),math.rad(180))
  1053.  
  1054. local HandleWeld = Instance.new("Weld")
  1055. HandleWeld.Name = "HandleWeld"
  1056. HandleWeld.Part0 = Character:FindFirstChild("Right Arm")
  1057. HandleWeld.Part1 = Handle
  1058. HandleWeld.C0 = CFrame.new(0,0,0)
  1059. HandleWeld.C1 = Handle.CFrame:toObjectSpace(Character:FindFirstChild("Right Arm").CFrame)
  1060. HandleWeld.Parent = Handle
  1061.  
  1062. local hat = Instance.new("Part", Character)
  1063. hat.CanCollide = false
  1064. hat.Size = Vector3.new(1,0.4,1)
  1065. hat.Name = "Hat"
  1066.  
  1067. local mesh = Instance.new("SpecialMesh", hat)
  1068. mesh.MeshType = 2
  1069. mesh.Name = "Mesh"
  1070. mesh.MeshId = "rbxassetid://1029586"
  1071. mesh.TextureId = "rbxassetid://1029588"
  1072. mesh.VertexColor = Vector3.new(0.4,0.3,0.2)
  1073.  
  1074. hat.CFrame = Character.Head.CFrame*CFrame.new(0,0.6,0)
  1075. local HatWeld = Instance.new("Weld")
  1076. HatWeld.Name = "HatWeld"
  1077. HatWeld.Part0 = Character.Head
  1078. HatWeld.Part1 = hat
  1079. HatWeld.C0 = CFrame.new(0,0,0)
  1080. HatWeld.C1 = hat.CFrame:toObjectSpace(Character.Head.CFrame)
  1081. HatWeld.Parent = hat
  1082.  
  1083. function weld(part1,part2,name)
  1084. local Weld = Instance.new("Weld")
  1085. if name then
  1086. Weld.Name = name
  1087. else
  1088. Weld.Name = "Weld"
  1089. end
  1090. Weld.Part0 = part1
  1091. Weld.Part1 = part2
  1092. Weld.C0 = CFrame.new(0,0,0)
  1093. Weld.C1 = part2.CFrame:toObjectSpace(part1.CFrame)
  1094. Weld.Parent = part2
  1095. end
  1096.  
  1097. local timer = 0
  1098. local timer2 = 0
  1099.  
  1100. local cooled1 = true
  1101. local cooled2 = true
  1102. local cooled3 = true
  1103. local ultcharge = 0
  1104.  
  1105. game:GetService("RunService").RenderStepped:connect(function()
  1106. p2.Text = ammo.."/6"
  1107. if animstate ~= 0 then
  1108. print("time"..timer)
  1109. print("a1"..animstate)
  1110. print("a2"..animstate2)
  1111. end
  1112. if Player.Character.Humanoid.MoveDirection == Vector3.new(0,0,0) and animstate ~= 0 and animstate ~= 2 and not waiting then
  1113. animstate = 0
  1114. keyframe = -1
  1115. timer = 0
  1116. LastJoints = CurrentJoints
  1117. elseif Player.Character.Humanoid.MoveDirection ~= Vector3.new(0,0,0) and animstate ~= 1 and animstate ~= 2 and not waiting then
  1118. animstate = 1
  1119. keyframe = -1
  1120. timer = 0
  1121. LastJoints = CurrentJoints
  1122. end
  1123. timer = timer + 1
  1124. timer2 = timer2 + 1
  1125. if animstate == 0 then
  1126. if keyframe == -1 then
  1127. local JointTargets={}
  1128. if not attacking then
  1129. JointTargets={
  1130. orig1*CFrame.Angles(math.rad(5),0,0);
  1131. orig2*CFrame.Angles(math.rad(-5)-math.asin((Mouse.Hit.p-Mouse.Origin.p).unit.y),0,0);
  1132. orig3*CFrame.Angles(math.rad(-25),0,0);
  1133. orig4*CFrame.new(0,-0.2,0)*CFrame.Angles(0,0,math.rad(95)+math.asin((Mouse.Hit.p-Mouse.Origin.p).unit.y));
  1134. orig5*CFrame.new(0,-0.1,0)*CFrame.Angles(math.rad(-5),0,math.rad(15));
  1135. orig6*CFrame.new(0,-0.1,0)*CFrame.Angles(math.rad(-5),0,math.rad(15));
  1136. }
  1137. else
  1138. JointTargets={
  1139. orig1*CFrame.Angles(math.rad(5),0,0);
  1140. orig2*CFrame.Angles(math.rad(-5)-math.asin((Mouse.Hit.p-Mouse.Origin.p).unit.y),0,0);
  1141. 0;
  1142. 0;
  1143. orig5*CFrame.new(0,-0.1,0)*CFrame.Angles(math.rad(-5),0,math.rad(15));
  1144. orig6*CFrame.new(0,-0.1,0)*CFrame.Angles(math.rad(-5),0,math.rad(15));
  1145. }
  1146. end
  1147. for p=1,#Joints do
  1148. if JointTargets[p] ~= 0 then
  1149. Joints[p].C0=LastJoints[p]:lerp(JointTargets[p],math.sin(timer/10))
  1150. if attacking then
  1151. CurrentJoints={
  1152. Joints[1].C0;
  1153. Joints[2].C0;
  1154. CurrentJoints[3];
  1155. CurrentJoints[4];
  1156. Joints[5].C0;
  1157. Joints[6].C0;
  1158. }
  1159. else
  1160. CurrentJoints={
  1161. Joints[1].C0;
  1162. Joints[2].C0;
  1163. Joints[3].C0;
  1164. Joints[4].C0;
  1165. Joints[5].C0;
  1166. Joints[6].C0;
  1167. }
  1168. end
  1169. end
  1170. end
  1171. if timer >= 10 then
  1172. keyframe = 1
  1173. timer = 0
  1174. LastJoints = CurrentJoints
  1175. end
  1176. elseif keyframe == 0 then
  1177. local JointTargets={}
  1178. if not attacking then
  1179. JointTargets={
  1180. orig1*CFrame.Angles(math.rad(5),0,0);
  1181. orig2*CFrame.Angles(math.rad(-5)-math.asin((Mouse.Hit.p-Mouse.Origin.p).unit.y),0,0);
  1182. orig3*CFrame.Angles(math.rad(-25),0,0);
  1183. orig4*CFrame.new(0,-0.2,0)*CFrame.Angles(0,0,math.rad(95)+math.asin((Mouse.Hit.p-Mouse.Origin.p).unit.y));
  1184. orig5*CFrame.new(0,-0.1,0)*CFrame.Angles(math.rad(-5),0,math.rad(15));
  1185. orig6*CFrame.new(0,-0.1,0)*CFrame.Angles(math.rad(-5),0,math.rad(15));
  1186. }
  1187. else
  1188. JointTargets={
  1189. orig1*CFrame.Angles(math.rad(5),0,0);
  1190. orig2*CFrame.Angles(math.rad(-5)-math.asin((Mouse.Hit.p-Mouse.Origin.p).unit.y),0,0);
  1191. 0;
  1192. 0;
  1193. orig5*CFrame.new(0,-0.1,0)*CFrame.Angles(math.rad(-5),0,math.rad(15));
  1194. orig6*CFrame.new(0,-0.1,0)*CFrame.Angles(math.rad(-5),0,math.rad(15));
  1195. }
  1196. end
  1197. for p=1,#Joints do
  1198. if JointTargets[p] ~= 0 then
  1199. Joints[p].C0=LastJoints[p]:lerp(JointTargets[p],math.sin(timer/40))
  1200. if attacking then
  1201. CurrentJoints={
  1202. Joints[1].C0;
  1203. Joints[2].C0;
  1204. CurrentJoints[3];
  1205. CurrentJoints[4];
  1206. Joints[5].C0;
  1207. Joints[6].C0;
  1208. }
  1209. else
  1210. CurrentJoints={
  1211. Joints[1].C0;
  1212. Joints[2].C0;
  1213. Joints[3].C0;
  1214. Joints[4].C0;
  1215. Joints[5].C0;
  1216. Joints[6].C0;
  1217. }
  1218. end
  1219. end
  1220. end
  1221. if timer >= 40 then
  1222. wait(0.1)
  1223. keyframe = 1
  1224. timer = 0
  1225. LastJoints = CurrentJoints
  1226. end
  1227. elseif keyframe == 1 then
  1228. local JointTargets={}
  1229. if not attacking then
  1230. JointTargets={
  1231. orig1*CFrame.new(0,0,0.05)*CFrame.Angles(math.rad(2),0,0);
  1232. orig2*CFrame.Angles(math.rad(-2)-math.asin((Mouse.Hit.p-Mouse.Origin.p).unit.y),0,0);
  1233. orig3*CFrame.Angles(math.rad(-35),0,0);
  1234. orig4*CFrame.new(0,-0.2,0)*CFrame.Angles(0,0,math.rad(93)+math.asin((Mouse.Hit.p-Mouse.Origin.p).unit.y));
  1235. orig5*CFrame.new(0,-0.15,0)*CFrame.Angles(math.rad(-5),0,math.rad(18));
  1236. orig6*CFrame.new(0,-0.15,0)*CFrame.Angles(math.rad(-5),0,math.rad(12));
  1237. }
  1238. else
  1239. JointTargets={
  1240. orig1*CFrame.new(0,0,0.05)*CFrame.Angles(math.rad(2),0,0);
  1241. orig2*CFrame.Angles(math.rad(-2)-math.asin((Mouse.Hit.p-Mouse.Origin.p).unit.y),0,0);
  1242. 0;
  1243. 0;
  1244. orig5*CFrame.new(0,-0.15,0)*CFrame.Angles(math.rad(-5),0,math.rad(18));
  1245. orig6*CFrame.new(0,-0.15,0)*CFrame.Angles(math.rad(-5),0,math.rad(12));
  1246. }
  1247. end
  1248. for p=1,#Joints do
  1249. if JointTargets[p] ~= 0 then
  1250. Joints[p].C0=LastJoints[p]:lerp(JointTargets[p],math.sin(timer/40))
  1251. if attacking then
  1252. CurrentJoints={
  1253. Joints[1].C0;
  1254. Joints[2].C0;
  1255. CurrentJoints[3];
  1256. CurrentJoints[4];
  1257. Joints[5].C0;
  1258. Joints[6].C0;
  1259. }
  1260. else
  1261. CurrentJoints={
  1262. Joints[1].C0;
  1263. Joints[2].C0;
  1264. Joints[3].C0;
  1265. Joints[4].C0;
  1266. Joints[5].C0;
  1267. Joints[6].C0;
  1268. }
  1269. end
  1270. end
  1271. end
  1272. if timer >= 40 then
  1273. wait(0.1)
  1274. keyframe = 0
  1275. timer = 0
  1276. LastJoints = CurrentJoints
  1277. end
  1278. end
  1279. elseif animstate == 1 then
  1280. if keyframe == -1 then
  1281. local JointTargets={}
  1282. if not attacking then
  1283. JointTargets={
  1284. orig1*CFrame.Angles(math.rad(5),0,0);
  1285. orig2*CFrame.Angles(math.rad(-5)-math.asin((Mouse.Hit.p-Mouse.Origin.p).unit.y),0,0);
  1286. orig3*CFrame.Angles(math.rad(-25),0,0);
  1287. orig4*CFrame.new(0,-0.2,0)*CFrame.Angles(0,0,math.rad(95)+math.asin((Mouse.Hit.p-Mouse.Origin.p).unit.y));
  1288. orig5*CFrame.Angles(0,0,math.rad(40));
  1289. orig6*CFrame.Angles(0,0,math.rad(40));
  1290. }
  1291. else
  1292. JointTargets={
  1293. orig1*CFrame.Angles(math.rad(5),0,0);
  1294. orig2*CFrame.Angles(math.rad(-5)-math.asin((Mouse.Hit.p-Mouse.Origin.p).unit.y),0,0);
  1295. 0;
  1296. 0;
  1297. orig5*CFrame.Angles(0,0,math.rad(40));
  1298. orig6*CFrame.Angles(0,0,math.rad(40));
  1299. }
  1300. end
  1301. for p=1,#Joints do
  1302. if JointTargets[p] ~= 0 then
  1303. Joints[p].C0=LastJoints[p]:lerp(JointTargets[p],math.sin(timer/10))
  1304. if attacking then
  1305. CurrentJoints={
  1306. Joints[1].C0;
  1307. Joints[2].C0;
  1308. CurrentJoints[3];
  1309. CurrentJoints[4];
  1310. Joints[5].C0;
  1311. Joints[6].C0;
  1312. }
  1313. else
  1314. CurrentJoints={
  1315. Joints[1].C0;
  1316. Joints[2].C0;
  1317. Joints[3].C0;
  1318. Joints[4].C0;
  1319. Joints[5].C0;
  1320. Joints[6].C0;
  1321. }
  1322. end
  1323. end
  1324. end
  1325. if timer >= 10 then
  1326. keyframe = 1
  1327. timer = 0
  1328. LastJoints = CurrentJoints
  1329. end
  1330. elseif keyframe == 0 then
  1331. local JointTargets={}
  1332. if not attacking then
  1333. JointTargets={
  1334. orig1*CFrame.Angles(math.rad(5),0,0);
  1335. orig2*CFrame.Angles(math.rad(-5)-math.asin((Mouse.Hit.p-Mouse.Origin.p).unit.y),0,0);
  1336. orig3*CFrame.Angles(math.rad(-25),0,0);
  1337. orig4*CFrame.new(0,-0.2,0)*CFrame.Angles(0,0,math.rad(95)+math.asin((Mouse.Hit.p-Mouse.Origin.p).unit.y));
  1338. orig5*CFrame.Angles(0,0,math.rad(40));
  1339. orig6*CFrame.Angles(0,0,math.rad(40));
  1340. }
  1341. else
  1342. JointTargets={
  1343. orig1*CFrame.Angles(math.rad(5),0,0);
  1344. orig2*CFrame.Angles(math.rad(-5)-math.asin((Mouse.Hit.p-Mouse.Origin.p).unit.y),0,0);
  1345. 0;
  1346. 0;
  1347. orig5*CFrame.Angles(0,0,math.rad(40));
  1348. orig6*CFrame.Angles(0,0,math.rad(40));
  1349. }
  1350. end
  1351. for p=1,#Joints do
  1352. if JointTargets[p] ~= 0 then
  1353. Joints[p].C0=LastJoints[p]:lerp(JointTargets[p],math.sin(timer/18))
  1354. if attacking then
  1355. CurrentJoints={
  1356. Joints[1].C0;
  1357. Joints[2].C0;
  1358. CurrentJoints[3];
  1359. CurrentJoints[4];
  1360. Joints[5].C0;
  1361. Joints[6].C0;
  1362. }
  1363. else
  1364. CurrentJoints={
  1365. Joints[1].C0;
  1366. Joints[2].C0;
  1367. Joints[3].C0;
  1368. Joints[4].C0;
  1369. Joints[5].C0;
  1370. Joints[6].C0;
  1371. }
  1372. end
  1373. end
  1374. end
  1375. if timer >= 18 then
  1376. wait(0.1)
  1377. keyframe = 1
  1378. timer = 0
  1379. LastJoints = CurrentJoints
  1380. end
  1381. elseif keyframe == 1 then
  1382. local JointTargets={}
  1383. if not attacking then
  1384. JointTargets={
  1385. orig1*CFrame.Angles(math.rad(5),0,0);
  1386. orig2*CFrame.Angles(math.rad(-5)-math.asin((Mouse.Hit.p-Mouse.Origin.p).unit.y),0,0);
  1387. orig3*CFrame.Angles(math.rad(-25),0,0);
  1388. orig4*CFrame.new(0,-0.2,0)*CFrame.Angles(0,0,math.rad(95)+math.asin((Mouse.Hit.p-Mouse.Origin.p).unit.y));
  1389. orig5*CFrame.Angles(0,0,math.rad(-40));
  1390. orig6*CFrame.Angles(0,0,math.rad(-40));
  1391. }
  1392. else
  1393. JointTargets={
  1394. orig1*CFrame.Angles(math.rad(5),0,0);
  1395. orig2*CFrame.Angles(math.rad(-5)-math.asin((Mouse.Hit.p-Mouse.Origin.p).unit.y),0,0);
  1396. Joints[3].C0;
  1397. Joints[4].C0;
  1398. orig5*CFrame.Angles(0,0,math.rad(-40));
  1399. orig6*CFrame.Angles(0,0,math.rad(-40));
  1400. }
  1401. end
  1402. for p=1,#Joints do
  1403. if JointTargets[p] ~= 0 then
  1404. Joints[p].C0=LastJoints[p]:lerp(JointTargets[p],math.sin(timer/18))
  1405. if attacking then
  1406. CurrentJoints={
  1407. Joints[1].C0;
  1408. Joints[2].C0;
  1409. CurrentJoints[3];
  1410. CurrentJoints[4];
  1411. Joints[5].C0;
  1412. Joints[6].C0;
  1413. }
  1414. else
  1415. CurrentJoints={
  1416. Joints[1].C0;
  1417. Joints[2].C0;
  1418. Joints[3].C0;
  1419. Joints[4].C0;
  1420. Joints[5].C0;
  1421. Joints[6].C0;
  1422. }
  1423. end
  1424. end
  1425. end
  1426. if timer >= 18 then
  1427. wait(0.1)
  1428. keyframe = 0
  1429. timer = 0
  1430. LastJoints = CurrentJoints
  1431. end
  1432. end
  1433. elseif animstate == 2 then
  1434. if keyframe == 0 then
  1435. local JointTargets={
  1436. orig1*CFrame.new(0,0,-1)*CFrame.Angles(math.rad(120),0,0);
  1437. orig2*CFrame.Angles(math.rad(15),0,0);
  1438. 0;
  1439. 0;
  1440. orig5*CFrame.Angles(0,0,math.rad(-20));
  1441. orig6*CFrame.Angles(0,0,math.rad(20));
  1442. }
  1443.  
  1444. for p=1,#Joints do
  1445. if JointTargets[p] ~= 0 then
  1446. Joints[p].C0=LastJoints[p]:lerp(JointTargets[p],math.sin(timer/10))
  1447. CurrentJoints={
  1448. Joints[1].C0;
  1449. Joints[2].C0;
  1450. CurrentJoints[3];
  1451. CurrentJoints[4];
  1452. Joints[5].C0;
  1453. Joints[6].C0;
  1454. }
  1455. end
  1456. end
  1457.  
  1458. if timer >= 10 then
  1459. keyframe = 1
  1460. timer = 0
  1461. LastJoints = CurrentJoints
  1462. roll:Play()
  1463. ammo = 6
  1464. A1.BrickColor = BrickColor.new("Toothpaste")
  1465. A2.BrickColor = BrickColor.new("Toothpaste")
  1466. A3.BrickColor = BrickColor.new("Toothpaste")
  1467. A4.BrickColor = BrickColor.new("Toothpaste")
  1468. A5.BrickColor = BrickColor.new("Toothpaste")
  1469. A6.BrickColor = BrickColor.new("Toothpaste")
  1470. end
  1471. elseif keyframe == 1 then
  1472. local JointTargets={
  1473. LastJoints[1]*CFrame.Angles(math.rad(-240),0,0);
  1474. orig2*CFrame.Angles(math.rad(-5)-math.asin((Mouse.Hit.p-Mouse.Origin.p).unit.y),0,0);
  1475. 0;
  1476. 0;
  1477. orig5*CFrame.new(0,-0.1,0)*CFrame.Angles(math.rad(-5),0,math.rad(15));
  1478. orig6*CFrame.new(0,-0.1,0)*CFrame.Angles(math.rad(-5),0,math.rad(15));
  1479. }
  1480.  
  1481. for p=1,#Joints do
  1482. if JointTargets[p] ~= 0 then
  1483. Joints[p].C0=LastJoints[p]:lerp(JointTargets[p],math.sin(timer/10))
  1484. CurrentJoints={
  1485. Joints[1].C0;
  1486. Joints[2].C0;
  1487. CurrentJoints[3];
  1488. CurrentJoints[4];
  1489. Joints[5].C0;
  1490. Joints[6].C0;
  1491. }
  1492. end
  1493. end
  1494.  
  1495. if timer >= 10 then
  1496. animstate = -1
  1497. keyframe = -1
  1498. timer = 0
  1499. LastJoints = CurrentJoints
  1500. attacking = false
  1501. Character.Humanoid.WalkSpeed = 20
  1502. local waiter = coroutine.wrap(function()
  1503. wait(8)
  1504. cooled2 = true
  1505. end)
  1506. waiter()
  1507. end
  1508. end
  1509. end
  1510. if animstate2 == 0 then
  1511. if keyframe2 == -1 then
  1512. local JointTargets={
  1513. 0;
  1514. 0;
  1515. orig3*CFrame.new(-0.5,0,-1.3)*CFrame.Angles(0,math.rad(-85),math.rad(-115));
  1516. orig4*CFrame.new(0,-0.2,0)*CFrame.Angles(0,0,math.rad(95));
  1517. 0;
  1518. 0;
  1519. }
  1520.  
  1521. local GunTargets={
  1522. origh;
  1523. origt;
  1524. }
  1525.  
  1526. for p=1,#Joints do
  1527. if JointTargets[p] ~= 0 then
  1528. Joints[p].C0=LastJoints[p]:lerp(JointTargets[p],math.sin(timer2/5))
  1529. CurrentJoints={
  1530. CurrentJoints[1];
  1531. CurrentJoints[2];
  1532. Character.Torso['Left Shoulder'].C0;
  1533. Character.Torso['Right Shoulder'].C0;
  1534. CurrentJoints[5];
  1535. CurrentJoints[6];
  1536. }
  1537. end
  1538. end
  1539.  
  1540. for p=1,#GunJoints do
  1541. if GunTargets[p] ~= 0 then
  1542. GunJoints[p].C0=LastGunJoints[p]:lerp(GunTargets[p],math.sin(timer2/5))
  1543. CurrentGunJoints={
  1544. GunJoints[1].C0;
  1545. GunJoints[2].C0;
  1546. }
  1547. end
  1548. end
  1549.  
  1550. if timer2 >= 5 and not waiting then
  1551. if ammo > 0 then
  1552. waiting = true
  1553. keyframe2 = 0
  1554. timer2 = 0
  1555. LastJoints = CurrentJoints
  1556. LastGunJoints = CurrentGunJoints
  1557. else
  1558. animstate2 = -1
  1559. keyframe2 = -1
  1560. timer2 = 0
  1561. LastJoints = CurrentJoints
  1562. LastGunJoints = CurrentGunJoints
  1563. attacking = false
  1564. waiting = false
  1565. cooled1 = true
  1566. end
  1567. end
  1568. elseif keyframe2 == 0 then
  1569. if waiting then
  1570. waiting = false
  1571. gunshot:Play()
  1572. if ammo == 6 then
  1573. A2.BrickColor = BrickColor.new("Really black")
  1574. ammo = 5
  1575. elseif ammo == 5 then
  1576. A3.BrickColor = BrickColor.new("Really black")
  1577. ammo = 4
  1578. elseif ammo == 4 then
  1579. A4.BrickColor = BrickColor.new("Really black")
  1580. ammo = 3
  1581. elseif ammo == 3 then
  1582. A5.BrickColor = BrickColor.new("Really black")
  1583. ammo = 2
  1584. elseif ammo == 2 then
  1585. A6.BrickColor = BrickColor.new("Really black")
  1586. ammo = 1
  1587. elseif ammo == 1 then
  1588. A1.BrickColor = BrickColor.new("Really black")
  1589. ammo = 0
  1590. end
  1591. local reduced = false
  1592. local r1 = math.random(1,2)
  1593. local r2 = math.random(1,2)
  1594. local f1;
  1595. local f2;
  1596. if r1 == 1 then
  1597. f1 = 1
  1598. else
  1599. f1 = -1
  1600. end
  1601. if r2 == 1 then
  1602. f2 = 1
  1603. else
  1604. f2 = -1
  1605. end
  1606.  
  1607. local ray = Ray.new((BarrelEnd.CFrame*CFrame.new(0,-0.2,0)).p,((Mouse.Hit*CFrame.new(f1*math.random(50,100)/100,f2*math.random(50,100)/100,0)).p-(BarrelEnd.CFrame*CFrame.new(0,-0.2,0)).p).unit*999)
  1608. local target, hit = workspace:FindPartOnRay(ray,Character)
  1609. local newpos = hit
  1610. local newhit = target
  1611.  
  1612. if newhit then
  1613. if (newpos-Character.HumanoidRootPart.Position).magnitude > 20 then
  1614. reduced = true
  1615. end
  1616. local dist = (newpos-Character.HumanoidRootPart.Position).magnitude
  1617. if newhit and (newhit.Parent:FindFirstChild("Humanoid") or newhit.Parent.Parent:FindFirstChild("Humanoid")) then
  1618. local hum;
  1619. if newhit.Parent.Parent:FindFirstChild("Humanoid") then
  1620. hum = newhit.Parent.Parent:FindFirstChild("Humanoid")
  1621. elseif newhit.Parent:FindFirstChild("Humanoid") then
  1622. hum = newhit.Parent:FindFirstChild("Humanoid")
  1623. end
  1624. local damage = 35
  1625. if reduced then
  1626. damage = math.floor(damage*(5/dist))
  1627. end
  1628. hum.Health = hum.Health - damage
  1629. indicate(hum.Parent:FindFirstChild("Head"),damage,0)
  1630. end
  1631. local Flash2 = Instance.new("Part", Character)
  1632. Flash2.CanCollide = false
  1633. Flash2.BrickColor = BrickColor.new(Color3.new(0,1,1))
  1634. Flash2.Anchored = true
  1635. Flash2.Position = newpos
  1636. Flash2.Transparency = 0
  1637. Flash2.Name = "flash"
  1638. Flash2.Shape = "Ball"
  1639. Flash2.Material = "Neon"
  1640. Flash2.BackSurface = "SmoothNoOutlines"
  1641. Flash2.FrontSurface = "SmoothNoOutlines"
  1642. Flash2.BottomSurface = "SmoothNoOutlines"
  1643. Flash2.TopSurface = "SmoothNoOutlines"
  1644. Flash2.LeftSurface = "SmoothNoOutlines"
  1645. Flash2.RightSurface = "SmoothNoOutlines"
  1646. Flash2.FormFactor = "Custom"
  1647. Flash2.Size = Vector3.new(0.3,0.3,0.3)
  1648. local grow2 = coroutine.wrap(function()
  1649. for i=1, 10 do
  1650. Flash2.Transparency = Flash2.Transparency + 0.1
  1651. wait(0.01)
  1652. end
  1653. Flash2:Remove()
  1654. end)
  1655. local part = Instance.new("Part", Character)
  1656. local origpos = BarrelEnd.CFrame*CFrame.new(0,-0.2,0).p
  1657. local pos = CFrame.new((origpos+newpos)/2,newpos)
  1658. local mag = (origpos - newpos).magnitude
  1659. part.CanCollide = false
  1660. part.Anchored = true
  1661. part.FormFactor = "Custom"
  1662. part.Material = "SmoothPlastic"
  1663. part.Name = "effect"
  1664. part.Shape = "Cylinder"
  1665. part.BackSurface = "SmoothNoOutlines"
  1666. part.BottomSurface = "SmoothNoOutlines"
  1667. part.FrontSurface = "SmoothNoOutlines"
  1668. part.LeftSurface = "SmoothNoOutlines"
  1669. part.RightSurface = "SmoothNoOutlines"
  1670. part.TopSurface = "SmoothNoOutlines"
  1671. part.Transparency = 0.5
  1672. part.BrickColor = BrickColor.new(Color3.new(50,50,50))
  1673. part.Size = Vector3.new(mag,0.1,0.1)
  1674. part.CFrame = pos*CFrame.Angles(0,math.rad(90),0)
  1675. local changer = coroutine.wrap(function()
  1676. for i=1, 10 do
  1677. part.Size = part.Size + Vector3.new(0,0.01,0.01)
  1678. part.Transparency = part.Transparency + 0.05
  1679. wait()
  1680. end
  1681. part:Remove()
  1682. end)
  1683. grow2()
  1684. changer()
  1685. end
  1686. local Flash = Instance.new("Part", Character)
  1687. Flash.CanCollide = false
  1688. Flash.BrickColor = BrickColor.new(Color3.new(1,1,0))
  1689. Flash.Anchored = true
  1690. Flash.CFrame = BarrelEnd.CFrame*CFrame.new(0,-0.1,0)
  1691. Flash.Transparency = 0
  1692. Flash.Material = "Neon"
  1693. Flash.BackSurface = "SmoothNoOutlines"
  1694. Flash.FrontSurface = "SmoothNoOutlines"
  1695. Flash.BottomSurface = "SmoothNoOutlines"
  1696. Flash.TopSurface = "SmoothNoOutlines"
  1697. Flash.LeftSurface = "SmoothNoOutlines"
  1698. Flash.RightSurface = "SmoothNoOutlines"
  1699. Flash.FormFactor = "Custom"
  1700. Flash.Size = Vector3.new(1,1,1)
  1701. local mesh = Instance.new("SpecialMesh", Flash)
  1702. mesh.MeshType = "Sphere"
  1703. mesh.Scale = Vector3.new(0.4,0.4,0.4)
  1704. local grow = coroutine.wrap(function()
  1705. for i=1, 5 do
  1706. Flash.Transparency = Flash.Transparency + 0.2
  1707. mesh.Scale = mesh.Scale + Vector3.new(0,0.2,0)
  1708. wait()
  1709. end
  1710. Flash:Remove()
  1711. end)
  1712. grow()
  1713. end
  1714. local JointTargets={
  1715. 0;
  1716. 0;
  1717. orig3*CFrame.new(-0.5,0,-1.3)*CFrame.Angles(0,math.rad(-85),math.rad(-110));
  1718. orig4*CFrame.new(-0.1,-0.1,0)*CFrame.Angles(0,0,math.rad(120));
  1719. 0;
  1720. 0;
  1721. }
  1722.  
  1723. local GunTargets={
  1724. origh*CFrame.new(0,-0.2,0)*CFrame.Angles(0,0,math.rad(15));
  1725. origt*CFrame.Angles(0,0,math.rad(-15));
  1726. }
  1727.  
  1728. for p=1,#Joints do
  1729. if JointTargets[p] ~= 0 then
  1730. Joints[p].C0=LastJoints[p]:lerp(JointTargets[p],math.sin(timer2/5))
  1731. CurrentJoints={
  1732. CurrentJoints[1];
  1733. CurrentJoints[2];
  1734. Character.Torso['Left Shoulder'].C0;
  1735. Character.Torso['Right Shoulder'].C0;
  1736. CurrentJoints[5];
  1737. CurrentJoints[6];
  1738. }
  1739. end
  1740. end
  1741.  
  1742. for p=1,#GunJoints do
  1743. if GunTargets[p] ~= 0 then
  1744. GunJoints[p].C0=LastGunJoints[p]:lerp(GunTargets[p],math.sin(timer2/5))
  1745. CurrentGunJoints={
  1746. GunJoints[1].C0;
  1747. GunJoints[2].C0;
  1748. }
  1749. end
  1750. end
  1751.  
  1752. if timer2 >= 5 then
  1753. keyframe2 = -1
  1754. timer2 = 0
  1755. LastJoints = CurrentJoints
  1756. LastGunJoints = CurrentGunJoints
  1757. end
  1758. end
  1759. elseif animstate2 == 1 then
  1760. if keyframe2 == -1 then
  1761. reload:Play()
  1762. local tochange = {}
  1763. if ammo == 5 then
  1764. table.insert(tochange,A2)
  1765. elseif ammo == 4 then
  1766. table.insert(tochange,A2)
  1767. table.insert(tochange,A3)
  1768. elseif ammo == 3 then
  1769. table.insert(tochange,A2)
  1770. table.insert(tochange,A3)
  1771. table.insert(tochange,A4)
  1772. elseif ammo == 2 then
  1773. table.insert(tochange,A2)
  1774. table.insert(tochange,A3)
  1775. table.insert(tochange,A4)
  1776. table.insert(tochange,A5)
  1777. elseif ammo == 1 then
  1778. table.insert(tochange,A2)
  1779. table.insert(tochange,A3)
  1780. table.insert(tochange,A4)
  1781. table.insert(tochange,A5)
  1782. table.insert(tochange,A6)
  1783. elseif ammo == 0 then
  1784. table.insert(tochange,A1)
  1785. table.insert(tochange,A2)
  1786. table.insert(tochange,A3)
  1787. table.insert(tochange,A4)
  1788. table.insert(tochange,A5)
  1789. table.insert(tochange,A6)
  1790. end
  1791. local changer = coroutine.wrap(function()
  1792. for i=1, 10 do
  1793. for _,v in pairs (tochange) do
  1794. v.BrickColor = BrickColor.new(0,i/10,i/10)
  1795. end
  1796. wait(0.01)
  1797. end
  1798. end)
  1799. changer()
  1800. ammo = 6
  1801. keyframe2 = 0
  1802. timer2 = 0
  1803. elseif keyframe2 == 0 then
  1804. local JointTargets={
  1805. 0;
  1806. 0;
  1807. 0;
  1808. orig4*CFrame.new(0,0,0)*CFrame.Angles(0,0,math.rad(180));
  1809. 0;
  1810. 0;
  1811. }
  1812.  
  1813. for p=1,#Joints do
  1814. if JointTargets[p] ~= 0 then
  1815. Joints[p].C0=LastJoints[p]:lerp(JointTargets[p],math.sin(timer2/30))
  1816. CurrentJoints={
  1817. CurrentJoints[1];
  1818. CurrentJoints[2];
  1819. CurrentJoints[3];
  1820. Character.Torso['Right Shoulder'].C0;
  1821. CurrentJoints[5];
  1822. CurrentJoints[6];
  1823. }
  1824. end
  1825. end
  1826.  
  1827. if timer2 >= 30 and not waiting then
  1828. waiting = true
  1829. wait(0.5)
  1830. animstate2 = -1
  1831. keyframe2 = -1
  1832. attacking = false
  1833. waiting = false
  1834. LastJoints = CurrentJoints
  1835. end
  1836. end
  1837. elseif animstate2 == 2 then
  1838. if keyframe2 == -1 then
  1839. gunshot:Play()
  1840. if ammo == 6 then
  1841. A2.BrickColor = BrickColor.new("Really black")
  1842. elseif ammo == 5 then
  1843. A3.BrickColor = BrickColor.new("Really black")
  1844. elseif ammo == 4 then
  1845. A4.BrickColor = BrickColor.new("Really black")
  1846. elseif ammo == 3 then
  1847. A5.BrickColor = BrickColor.new("Really black")
  1848. elseif ammo == 2 then
  1849. A6.BrickColor = BrickColor.new("Really black")
  1850. elseif ammo == 1 then
  1851. A1.BrickColor = BrickColor.new("Really black")
  1852. end
  1853. ammo = ammo - 1
  1854. keyframe2 = 0
  1855. timer2 = 0
  1856. local reduced = false
  1857. local ray = Ray.new((BarrelEnd.CFrame*CFrame.new(0,-0.2,0)).p,(Mouse.Hit.p-BarrelEnd.CFrame*CFrame.new(0,-0.2,0).p).unit*999)
  1858. local target, hit = workspace:FindPartOnRay(ray,Character)
  1859. local newpos = hit
  1860. local newhit = target
  1861. if newhit then
  1862. if (newpos-Character.HumanoidRootPart.Position).magnitude > 70 then
  1863. reduced = true
  1864. end
  1865. local dist = (newpos-Character.HumanoidRootPart.Position).magnitude
  1866. if newhit and (newhit.Parent:FindFirstChild("Humanoid") or newhit.Parent.Parent:FindFirstChild("Humanoid")) then
  1867. local hum;
  1868. if newhit.Parent.Parent:FindFirstChild("Humanoid") then
  1869. hum = newhit.Parent.Parent:FindFirstChild("Humanoid")
  1870. elseif newhit.Parent:FindFirstChild("Humanoid") then
  1871. hum = newhit.Parent:FindFirstChild("Humanoid")
  1872. end
  1873. if newhit.Name == "Head" or newhit.Name == "Handle" or newhit.ClassName == "Accessory" then
  1874. local damage = 70
  1875. if reduced then
  1876. damage = math.floor(damage*(70/dist))
  1877. end
  1878. hum.Health = hum.Health - damage
  1879. indicate(hum.Parent:FindFirstChild("Head"),damage,1)
  1880. else
  1881. local damage = 35
  1882. if reduced then
  1883. damage = math.floor(damage*(70/dist))
  1884. end
  1885. hum.Health = hum.Health - damage
  1886. indicate(hum.Parent:FindFirstChild("Head"),damage,0)
  1887. end
  1888. end
  1889. local Flash2 = Instance.new("Part", Character)
  1890. Flash2.CanCollide = false
  1891. Flash2.BrickColor = BrickColor.new(Color3.new(0,1,1))
  1892. Flash2.Anchored = true
  1893. Flash2.Position = newpos
  1894. Flash2.Transparency = 0
  1895. Flash2.Name = "flash"
  1896. Flash2.Shape = "Ball"
  1897. Flash2.Material = "Neon"
  1898. Flash2.BackSurface = "SmoothNoOutlines"
  1899. Flash2.FrontSurface = "SmoothNoOutlines"
  1900. Flash2.BottomSurface = "SmoothNoOutlines"
  1901. Flash2.TopSurface = "SmoothNoOutlines"
  1902. Flash2.LeftSurface = "SmoothNoOutlines"
  1903. Flash2.RightSurface = "SmoothNoOutlines"
  1904. Flash2.FormFactor = "Custom"
  1905. Flash2.Size = Vector3.new(0.3,0.3,0.3)
  1906. local grow2 = coroutine.wrap(function()
  1907. for i=1, 10 do
  1908. Flash2.Transparency = Flash2.Transparency + 0.1
  1909. wait(0.01)
  1910. end
  1911. Flash2:Remove()
  1912. end)
  1913. local part = Instance.new("Part", Character)
  1914. local origpos = BarrelEnd.CFrame*CFrame.new(0,-0.2,0).p
  1915. local pos = CFrame.new((origpos+newpos)/2,newpos)
  1916. local mag = (origpos - newpos).magnitude
  1917. part.CanCollide = false
  1918. part.Anchored = true
  1919. part.FormFactor = "Custom"
  1920. part.Material = "SmoothPlastic"
  1921. part.Name = "effect"
  1922. part.Shape = "Cylinder"
  1923. part.BackSurface = "SmoothNoOutlines"
  1924. part.BottomSurface = "SmoothNoOutlines"
  1925. part.FrontSurface = "SmoothNoOutlines"
  1926. part.LeftSurface = "SmoothNoOutlines"
  1927. part.RightSurface = "SmoothNoOutlines"
  1928. part.TopSurface = "SmoothNoOutlines"
  1929. part.Transparency = 0.5
  1930. part.BrickColor = BrickColor.new(Color3.new(50,50,50))
  1931. part.Size = Vector3.new(mag,0.1,0.1)
  1932. part.CFrame = pos*CFrame.Angles(0,math.rad(90),0)
  1933. local changer = coroutine.wrap(function()
  1934. for i=1, 10 do
  1935. part.Size = part.Size + Vector3.new(0,0.01,0.01)
  1936. part.Transparency = part.Transparency + 0.05
  1937. wait()
  1938. end
  1939. part:Remove()
  1940. end)
  1941. grow2()
  1942. changer()
  1943. end
  1944. local Flash = Instance.new("Part", Character)
  1945. Flash.CanCollide = false
  1946. Flash.BrickColor = BrickColor.new(Color3.new(1,1,0))
  1947. Flash.Anchored = true
  1948. Flash.CFrame = BarrelEnd.CFrame*CFrame.new(0,-0.1,0)
  1949. Flash.Transparency = 0
  1950. Flash.Material = "Neon"
  1951. Flash.BackSurface = "SmoothNoOutlines"
  1952. Flash.FrontSurface = "SmoothNoOutlines"
  1953. Flash.BottomSurface = "SmoothNoOutlines"
  1954. Flash.TopSurface = "SmoothNoOutlines"
  1955. Flash.LeftSurface = "SmoothNoOutlines"
  1956. Flash.RightSurface = "SmoothNoOutlines"
  1957. Flash.FormFactor = "Custom"
  1958. Flash.Size = Vector3.new(1,1,1)
  1959. local mesh = Instance.new("SpecialMesh", Flash)
  1960. mesh.MeshType = "Sphere"
  1961. mesh.Scale = Vector3.new(0.4,0.4,0.4)
  1962. local grow = coroutine.wrap(function()
  1963. for i=1, 5 do
  1964. Flash.Transparency = Flash.Transparency + 0.2
  1965. mesh.Scale = mesh.Scale + Vector3.new(0,0.2,0)
  1966. wait()
  1967. end
  1968. Flash:Remove()
  1969. end)
  1970. grow()
  1971. elseif keyframe2 == 0 then
  1972. local JointTargets={
  1973. 0;
  1974. 0;
  1975. 0;
  1976. orig4*CFrame.new(-0.1,-0.1,0)*CFrame.Angles(0,0,math.rad(150)+math.asin((Mouse.Hit.p-Mouse.Origin.p).unit.y));
  1977. 0;
  1978. 0;
  1979. }
  1980.  
  1981. local GunTargets={
  1982. origh*CFrame.new(0,-0.2,0)*CFrame.Angles(0,0,math.rad(15));
  1983. origt*CFrame.Angles(0,0,math.rad(-15));
  1984. }
  1985. for p=1,#Joints do
  1986. if JointTargets[p] ~= 0 then
  1987. Joints[p].C0=LastJoints[p]:lerp(JointTargets[p],math.sin(timer2/10))
  1988. CurrentJoints={
  1989. CurrentJoints[1];
  1990. CurrentJoints[2];
  1991. CurrentJoints[3];
  1992. Character.Torso['Right Shoulder'].C0;
  1993. CurrentJoints[5];
  1994. CurrentJoints[6];
  1995. }
  1996. end
  1997. end
  1998.  
  1999. for p=1,#GunJoints do
  2000. if GunTargets[p] ~= 0 then
  2001. GunJoints[p].C0=LastGunJoints[p]:lerp(GunTargets[p],math.sin(timer2/10))
  2002. CurrentGunJoints={
  2003. GunJoints[1].C0;
  2004. GunJoints[2].C0;
  2005. }
  2006. end
  2007. end
  2008. if timer2 >= 10 then
  2009. keyframe2 = 2
  2010. timer2 = 0
  2011. attacking = false
  2012. LastJoints = CurrentJoints
  2013. LastGunJoints = CurrentGunJoints
  2014. end
  2015. elseif keyframe2 == 2 then
  2016. local GunTargets={
  2017. origh;
  2018. origt;
  2019. }
  2020. for p=1,#GunJoints do
  2021. if GunTargets[p] ~= 0 then
  2022. GunJoints[p].C0=LastGunJoints[p]:lerp(GunTargets[p],math.sin(timer2/10))
  2023. CurrentGunJoints={
  2024. GunJoints[1].C0;
  2025. GunJoints[2].C0;
  2026. }
  2027. end
  2028. end
  2029. if timer2 >= 10 then
  2030. animstate2 = -1
  2031. keyframe2 = -1
  2032. LastGunJoints = CurrentGunJoints
  2033. local waiter = coroutine.wrap(function()
  2034. wait(0.5)
  2035. cooled1 = true
  2036. end)
  2037. waiter()
  2038. end
  2039. end
  2040. elseif animstate2 == 3 then
  2041. if keyframe2 == -1 then
  2042. local JointTargets={
  2043. 0;
  2044. 0;
  2045. orig3*CFrame.Angles(0,math.rad(-15),math.rad(-135));
  2046. 0;
  2047. 0;
  2048. 0;
  2049. }
  2050.  
  2051. for p=1,#Joints do
  2052. if JointTargets[p] ~= 0 then
  2053. Joints[p].C0=LastJoints[p]:lerp(JointTargets[p],math.sin(timer2/12))
  2054. CurrentJoints={
  2055. CurrentJoints[1];
  2056. CurrentJoints[2];
  2057. Character.Torso['Left Shoulder'].C0;
  2058. CurrentJoints[4];
  2059. CurrentJoints[5];
  2060. CurrentJoints[6];
  2061. }
  2062. end
  2063. end
  2064.  
  2065. if timer2 >= 12 and not waiting then
  2066. waiting = true
  2067. local flashpart = Instance.new("Part", Character)
  2068. flashpart.FormFactor = "Custom"
  2069. flashpart.FrontSurface = "Smooth"
  2070. flashpart.BackSurface = "Smooth"
  2071. flashpart.TopSurface = "Smooth"
  2072. flashpart.BottomSurface = "Smooth"
  2073. flashpart.LeftSurface = "Smooth"
  2074. flashpart.RightSurface = "Smooth"
  2075. flashpart.BrickColor = BrickColor.new(10/255,10/255,10/255)
  2076. flashpart.Size = Vector3.new(0.35,0.7,0.35)
  2077. flashpart.CanCollide = false
  2078. flashpart.CFrame = Character['Left Arm'].CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.random(),math.random(),math.random())
  2079. flashpart.Velocity = Character.HumanoidRootPart.CFrame.lookVector*20+Vector3.new(0,0.5,0)
  2080. wait(0.1)
  2081. local bang = coroutine.wrap(function()
  2082. local prevframe = flashpart.CFrame
  2083. local stunner = coroutine.wrap(function()
  2084. for _,v in pairs (workspace:GetChildren()) do
  2085. local torso;
  2086. if v:FindFirstChild("Torso") then
  2087. torso = v:FindFirstChild("Torso")
  2088. elseif v:FindFirstChild("UpperTorso") then
  2089. torso = v:FindFirstChild("UpperTorso")
  2090. end
  2091. if v:FindFirstChild("Humanoid") and torso and v ~= Character then
  2092. local mag = (torso.Position-prevframe.p).magnitude
  2093. if mag <= 10 then
  2094. local stunthem = coroutine.wrap(function()
  2095. local prev = v:FindFirstChild("Humanoid").WalkSpeed
  2096. local prev2 = v:FindFirstChild("Humanoid").JumpPower
  2097. v:FindFirstChild("Humanoid").Health = v:FindFirstChild("Humanoid").Health - 15
  2098. indicate(v:FindFirstChild("Head"),15,0)
  2099. v:FindFirstChild("Humanoid").WalkSpeed = 0
  2100. v:FindFirstChild("Humanoid").JumpPower = 0
  2101. wait(1)
  2102. v:FindFirstChild("Humanoid").WalkSpeed = prev
  2103. v:FindFirstChild("Humanoid").JumpPower = prev2
  2104. end)
  2105. stunthem()
  2106. end
  2107. end
  2108. end
  2109. end)
  2110. stunner()
  2111. flashpart:Remove()
  2112. local soundpart = Instance.new("Part", Character)
  2113. soundpart.Anchored = true
  2114. soundpart.FormFactor = "Custom"
  2115. soundpart.CanCollide = false
  2116. soundpart.Size = Vector3.new(0.2,0.2,0.2)
  2117. soundpart.CFrame = prevframe
  2118. soundpart.Transparency = 1
  2119. local flash = Instance.new("Sound", soundpart)
  2120. flash.Volume = 0.8
  2121. flash.SoundId = "rbxassetid://440145223"
  2122. flash:Play()
  2123. game.Debris:AddItem(soundpart,5)
  2124. for i=1, 5 do
  2125. local Flash = Instance.new("Part", Character)
  2126. Flash.CanCollide = false
  2127. Flash.BrickColor = BrickColor.new(Color3.new(1,1,0))
  2128. Flash.Anchored = true
  2129. Flash.CFrame = prevframe*CFrame.Angles(math.random(),math.random(),math.random())
  2130. Flash.Transparency = 0
  2131. Flash.Material = "Neon"
  2132. Flash.BackSurface = "SmoothNoOutlines"
  2133. Flash.FrontSurface = "SmoothNoOutlines"
  2134. Flash.BottomSurface = "SmoothNoOutlines"
  2135. Flash.TopSurface = "SmoothNoOutlines"
  2136. Flash.LeftSurface = "SmoothNoOutlines"
  2137. Flash.RightSurface = "SmoothNoOutlines"
  2138. Flash.FormFactor = "Custom"
  2139. Flash.Size = Vector3.new(1,1,1)
  2140. local mesh = Instance.new("SpecialMesh", Flash)
  2141. mesh.MeshType = "Sphere"
  2142. mesh.Scale = Vector3.new(2,2,2)
  2143. local grow = coroutine.wrap(function()
  2144. for i=1, 10 do
  2145. Flash.Transparency = Flash.Transparency + 0.1
  2146. mesh.Scale = mesh.Scale + Vector3.new(0,1,0)
  2147. wait()
  2148. end
  2149. Flash:Remove()
  2150. end)
  2151. grow()
  2152. wait()
  2153. end
  2154. end)
  2155. bang()
  2156. animstate2 = -1
  2157. keyframe2 = -1
  2158. timer2 = 0
  2159. attacking = false
  2160. waiting = false
  2161. LastJoints = CurrentJoints
  2162. local waiter = coroutine.wrap(function()
  2163. wait(6)
  2164. cooled3 = true
  2165. end)
  2166. waiter()
  2167. end
  2168. end
  2169. end
  2170. end)
  2171.  
  2172. Mouse.Button1Down:connect(function()
  2173. if ammo > 0 and not attacking and cooled1 and not waiting then
  2174. animstate2 = 2
  2175. cooled1 = false
  2176. timer2 = 0
  2177. keyframe2 = -1
  2178. attacking = true
  2179. end
  2180. end)
  2181.  
  2182. Mouse.KeyDown:connect(function(key)
  2183. if key == "r" and not attacking and ammo < 6 and not waiting and cooled1 then
  2184. animstate2 = 1
  2185. timer2 = 0
  2186. keyframe2 = -1
  2187. attacking = true
  2188. elseif key == "f" and ammo > 0 and not attacking and cooled1 and not waiting then
  2189. animstate2 = 0
  2190. cooled1 = false
  2191. timer2 = 0
  2192. keyframe2 = -1
  2193. attacking = true
  2194. elseif key == "q" and not attacking and cooled2 and not waiting and Player.Character.Humanoid.MoveDirection ~= Vector3.new(0,0,0) then
  2195. animstate = 2
  2196. cooled2 = false
  2197. timer = 0
  2198. Character.Humanoid.WalkSpeed = 50
  2199. keyframe = 0
  2200. attacking = true
  2201. LastJoints = CurrentJoints
  2202. elseif key == "e" and not attacking and not waiting and cooled3 then
  2203. animstate2 = 3
  2204. cooled3 = false
  2205. timer2 = 0
  2206. keyframe2 = -1
  2207. attacking = true
  2208. end
  2209. end)
Add Comment
Please, Sign In to add comment