Advertisement
Dark_EccentricYT

Untitled

Jun 8th, 2018
4,238
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 80.87 KB | None | 0 0
  1. local player = game.Players.LocalPlayer
  2. local char = player.Character
  3. local tor = char.Torso
  4. local mouse = player:GetMouse()
  5. local camera = game.Workspace.CurrentCamera
  6. local ra = char['Right Arm']
  7. local la = char['Left Arm']
  8. local ll = char['Left Leg']
  9. local rl = char['Right Leg']
  10. local ammo = 250
  11. local maxammo = 250
  12.  
  13. function weld(p0,p1,c0)
  14. local w=Instance.new("Weld",p0)
  15. w.Part0=p0
  16. w.Part1=p1
  17. w.C0=c0
  18. return w
  19. end
  20.  
  21. function animate(part,speed,cframe,corout)
  22. coroutine.resume(coroutine.create(function()
  23. local startCFrame = part.Weld.C0
  24. local endCFrame = cframe
  25. for i = 0,1,speed do wait()
  26. part.Weld.C0 = startCFrame:lerp(endCFrame,i)
  27. end
  28. end))
  29. end
  30. function animate2(part,speed,cframe,corout)
  31. local startCFrame = part.Weld.C0
  32. local endCFrame = cframe
  33. for i = 0,1,speed do wait()
  34. part.Weld.C0 = startCFrame:lerp(endCFrame,i)
  35. end
  36. end
  37. function bleed(victim,speed,amount,velocity)
  38. coroutine.resume(coroutine.create(function()
  39. for i = 1,amount do wait(speed)
  40. local blood = Instance.new("Part",workspace)
  41. blood.CanCollide = false
  42. blood.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  43. blood.Transparency = 0
  44. blood.Anchored= false
  45. blood.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  46. blood.Material = Enum.Material.Metal
  47. blood.Size = Vector3.new(0.3, 0.3, 0.3)
  48. blood.Name = "blood"
  49. blood.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  50. blood.Position = victim.Position
  51. blood.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  52. blood.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  53. blood.BrickColor = BrickColor.new("Crimson")
  54. blood.Friction = 0.3
  55. blood.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  56. blood.Transparency = 0
  57.  
  58. if velocity == nil then
  59. blood.Velocity = victim.CFrame.lookVector * -30 + Vector3.new(math.random(-10,10),20,math.random(-10,10))
  60. end
  61. if velocity ~=nil then
  62. blood.Velocity = victim.CFrame.lookVector * velocity + Vector3.new(math.random(-10,10),20,math.random(-10,10))
  63. end
  64. blood.RotVelocity = Vector3.new(0,200,0)
  65.  
  66. blood.Touched:connect(function(h)
  67. if (not h:isDescendantOf(victim.Parent)) then
  68. if h.Name ~= "blood" and h.Name ~="puddle" and h.Parent.Name ~="M60" and h.Parent:FindFirstChild("Humanoid")==nil then
  69. local debounce = false
  70. if debounce == false then
  71. debounce = true
  72. print(h)
  73.  
  74. local puddle = Instance.new("Part", workspace)
  75. puddle.FormFactor = Enum.FormFactor.Plate
  76. puddle.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  77. puddle.Transparency = 0.3
  78. puddle.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  79. puddle.Anchored = false
  80. puddle.CanCollide = true
  81. puddle.Material = Enum.Material.Metal
  82. puddle.Size = Vector3.new(2, 0.1, 2)
  83. puddle.Name = "puddle"
  84. puddle.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  85. puddle.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  86. puddle.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  87. puddle.BrickColor = BrickColor.new("Crimson")
  88. puddle.Friction = 0.3
  89. puddle.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  90. puddle.Position = blood.Position
  91.  
  92. local mesh = Instance.new("CylinderMesh", puddle)
  93.  
  94. blood:Destroy()
  95. wait(1)
  96. puddle.Anchored = true
  97. puddle.CanCollide = false
  98. game.Debris:AddItem(puddle,8)
  99. coroutine.resume(coroutine.create(function()
  100. wait(.5)
  101. while puddle~=nil do wait(.5)
  102. puddle.Mesh.Scale = puddle.Mesh.Scale - Vector3.new(0,0,.1)
  103. puddle.Transparency = puddle.Transparency + .05
  104. end
  105. end))
  106.  
  107. end
  108. end
  109. end
  110. end)
  111.  
  112. end
  113.  
  114. end))
  115. end
  116.  
  117. --Health--
  118. char.Humanoid.MaxHealth = 250
  119. char.Humanoid.Health = 250
  120. ----------
  121. --Helmet--
  122. local helmet = Instance.new("Part",char)
  123. helmet.FormFactor = Enum.FormFactor.Symmetric
  124. helmet.CanCollide = true
  125. helmet.Elasticity = 0
  126. helmet.TopSurface = Enum.SurfaceType.Smooth
  127. helmet.Anchored = false
  128. helmet.Material = Enum.Material.Fabric
  129. helmet.Size = Vector3.new(1, 1, 1)
  130. helmet.Name = "Helmet"
  131. helmet.BrickColor = BrickColor.new("Grime")
  132. helmet.Friction = 1
  133. helmet.BottomSurface = Enum.SurfaceType.Smooth
  134.  
  135. mesh = Instance.new("SpecialMesh", helmet)
  136. mesh.Scale = Vector3.new(1.2, 1.3, 1.2)
  137. mesh.MeshId = "http://www.roblox.com/asset/?id=45609892"
  138. mesh.TextureId = "http://www.roblox.com/asset/?id=297898053"
  139. mesh.MeshType = Enum.MeshType.FileMesh
  140.  
  141. local canteen = Instance.new("Model", char)
  142. canteen.Name = "Canteen"
  143.  
  144. cap = Instance.new("Part", canteen)
  145. cap.FormFactor = Enum.FormFactor.Custom
  146. cap.CanCollide = false
  147. cap.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  148. cap.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  149. cap.Material = Enum.Material.Metal
  150. cap.Size = Vector3.new(0.221, 0.261, 0.196)
  151. cap.Name = "Cap"
  152. cap.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  153. cap.CFrame = CFrame.new(3.313, 1.074, -7.2)* CFrame.Angles(-2.4768741130829, 1.5692141056061, 2.4879095554352)
  154. cap.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  155. cap.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  156. cap.BrickColor = BrickColor.new("Really black")
  157. cap.Friction = 0.3
  158. cap.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  159.  
  160. mesh_7 = Instance.new("CylinderMesh", cap)
  161.  
  162. part_5 = Instance.new("Part", canteen)
  163. part_5.FormFactor = Enum.FormFactor.Custom
  164. part_5.CanCollide = false
  165. part_5.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  166. part_5.Transparency = 1
  167. part_5.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  168. part_5.Material = Enum.Material.Metal
  169. part_5.Size = Vector3.new(0.163, 0.212, 0.196)
  170. part_5.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  171. part_5.CFrame = CFrame.new(3.318, 0.511, -7.348)* CFrame.Angles(-2.4764432907104, 1.5670937299728, 2.4883408546448)
  172. part_5.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  173. part_5.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  174. part_5.BrickColor = BrickColor.new("Slime green")
  175. part_5.Friction = 0.3
  176. part_5.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  177.  
  178. decal_4 = Instance.new("Decal", part_5)
  179. decal_4.Face = Enum.NormalId.Right
  180. decal_4.Texture = "http://www.roblox.com/asset/?id=13449209"
  181.  
  182. part_9 = Instance.new("Part", canteen)
  183. part_9.FormFactor = Enum.FormFactor.Custom
  184. part_9.CanCollide = false
  185. part_9.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  186. part_9.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  187. part_9.Material = Enum.Material.Metal
  188. part_9.Size = Vector3.new(0.768, 0.441, 0.433)
  189. part_9.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  190. part_9.CFrame = CFrame.new(3.305, 0.886, -7.202)* CFrame.Angles(-3.1307740211487, -0.00066667835926637, -0.00051849312148988)
  191. part_9.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  192. part_9.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  193. part_9.BrickColor = BrickColor.new("Slime green")
  194. part_9.Friction = 0.3
  195. part_9.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  196.  
  197. mesh_6 = Instance.new("SpecialMesh", part_9)
  198. mesh_6.MeshType = Enum.MeshType.Sphere
  199.  
  200. part_7 = Instance.new("Part", canteen)
  201. part_7.FormFactor = Enum.FormFactor.Custom
  202. part_7.CanCollide = false
  203. part_7.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  204. part_7.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  205. part_7.Material = Enum.Material.Metal
  206. part_7.Size = Vector3.new(0.433, 0.817, 0.441)
  207. part_7.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  208. part_7.CFrame = CFrame.new(3.146, 0.534, -7.21)* CFrame.Angles(-3.1307737827301, -0.00067682901863009, 3.1410744190216)
  209. part_7.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  210. part_7.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  211. part_7.BrickColor = BrickColor.new("Slime green")
  212. part_7.Friction = 0.3
  213. part_7.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  214.  
  215. mesh_5 = Instance.new("CylinderMesh", part_7)
  216.  
  217. part_4 = Instance.new("Part", canteen)
  218. part_4.FormFactor = Enum.FormFactor.Custom
  219. part_4.CanCollide = false
  220. part_4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  221. part_4.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  222. part_4.Material = Enum.Material.Metal
  223. part_4.Size = Vector3.new(0.433, 0.817, 0.343)
  224. part_4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  225. part_4.CFrame = CFrame.new(3.32, 0.534, -7.208)* CFrame.Angles(0.66492658853531, -1.5677275657654, 0.65342193841934)
  226. part_4.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  227. part_4.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  228. part_4.BrickColor = BrickColor.new("Slime green")
  229. part_4.Friction = 0.3
  230. part_4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  231.  
  232. mesh_4 = Instance.new("BlockMesh", part_4)
  233.  
  234. part_8 = Instance.new("Part", canteen)
  235. part_8.FormFactor = Enum.FormFactor.Custom
  236. part_8.CanCollide = false
  237. part_8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  238. part_8.Transparency = 1
  239. part_8.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  240. part_8.Material = Enum.Material.Metal
  241. part_8.Size = Vector3.new(0.163, 0.212, 0.196)
  242. part_8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  243. part_8.CFrame = CFrame.new(3.394, 0.577, -7.344)* CFrame.Angles(-2.4697623252869, 1.5698198080063, 2.4805817604065)
  244. part_8.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  245. part_8.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  246. part_8.BrickColor = BrickColor.new("Slime green")
  247. part_8.Friction = 0.3
  248. part_8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  249.  
  250. decal_3 = Instance.new("Decal", part_8)
  251. decal_3.Face = Enum.NormalId.Right
  252. decal_3.Texture = "http://www.roblox.com/asset/?id=2273070"
  253.  
  254. part_6 = Instance.new("Part", canteen)
  255. part_6.FormFactor = Enum.FormFactor.Custom
  256. part_6.CanCollide = false
  257. part_6.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  258. part_6.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  259. part_6.Material = Enum.Material.Metal
  260. part_6.Size = Vector3.new(0.433, 0.817, 0.441)
  261. part_6.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  262. part_6.CFrame = CFrame.new(3.472, 0.535, -7.21)* CFrame.Angles(-3.1307737827301, -0.00067682901863009, 3.1410744190216)
  263. part_6.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  264. part_6.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  265. part_6.BrickColor = BrickColor.new("Slime green")
  266. part_6.Friction = 0.3
  267. part_6.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  268.  
  269. mesh_3 = Instance.new("CylinderMesh", part_6)
  270.  
  271. part = Instance.new("Part", canteen)
  272. part.FormFactor = Enum.FormFactor.Custom
  273. part.CanCollide = false
  274. part.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  275. part.Transparency = 1
  276. part.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  277. part.Material = Enum.Material.Metal
  278. part.Size = Vector3.new(0.163, 0.212, 0.196)
  279. part.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  280. part.CFrame = CFrame.new(3.23, 0.577, -7.344)* CFrame.Angles(-2.4769816398621, 1.5698828697205, 2.4878017902374)
  281. part.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  282. part.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  283. part.BrickColor = BrickColor.new("Slime green")
  284. part.Friction = 0.3
  285. part.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  286.  
  287. decal_2 = Instance.new("Decal", part)
  288. decal_2.Face = Enum.NormalId.Right
  289. decal_2.Texture = "http://www.roblox.com/asset/?id=2273074"
  290.  
  291. part_3 = Instance.new("Part", canteen)
  292. part_3.FormFactor = Enum.FormFactor.Custom
  293. part_3.CanCollide = false
  294. part_3.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  295. part_3.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  296. part_3.Material = Enum.Material.Metal
  297. part_3.Size = Vector3.new(0.449, 0.482, 0.163)
  298. part_3.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  299. part_3.CFrame = CFrame.new(3.322, 0.752, -7.048)* CFrame.Angles(1.5816155672073, 0.0005181833403185, -1.5714731216431)
  300. part_3.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  301. part_3.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  302. part_3.BrickColor = BrickColor.new("Slime green")
  303. part_3.Friction = 0.3
  304. part_3.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  305.  
  306. mesh_2 = Instance.new("CylinderMesh", part_3)
  307.  
  308. part_2 = Instance.new("Part", canteen)
  309. part_2.FormFactor = Enum.FormFactor.Custom
  310. part_2.CanCollide = false
  311. part_2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  312. part_2.Transparency = 1
  313. part_2.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  314. part_2.Material = Enum.Material.Metal
  315. part_2.Size = Vector3.new(0.163, 0.212, 0.196)
  316. part_2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  317. part_2.CFrame = CFrame.new(3.155, 0.52, -7.347)* CFrame.Angles(-2.4764432907104, 1.5671586990356, 2.4883408546448)
  318. part_2.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  319. part_2.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  320. part_2.BrickColor = BrickColor.new("Slime green")
  321. part_2.Friction = 0.3
  322. part_2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  323.  
  324. decal = Instance.new("Decal", part_2)
  325. decal.Face = Enum.NormalId.Right
  326. decal.Texture = "http://www.roblox.com/asset/?id=13449209"
  327.  
  328. canteenhandle = Instance.new("Part", canteen)
  329. canteenhandle.FormFactor = Enum.FormFactor.Symmetric
  330. canteenhandle.CanCollide = false
  331. canteenhandle.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  332. canteenhandle.Transparency = 1
  333. canteenhandle.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  334. canteenhandle.Reflectance = 0.2
  335. canteenhandle.Material = Enum.Material.Metal
  336. canteenhandle.Size = Vector3.new(0.817, 0.817, 0.817)
  337. canteenhandle.Name = "canteenhandle"
  338. canteenhandle.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  339. canteenhandle.CFrame = CFrame.new(3.339, 0.535, -7.21)* CFrame.Angles(0.66461098194122, -1.5699505805969, 0.65379083156586)
  340. canteenhandle.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  341. canteenhandle.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  342. canteenhandle.BrickColor = BrickColor.new("Slime green")
  343. canteenhandle.Friction = 0.3
  344. canteenhandle.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  345.  
  346. mesh = Instance.new("SpecialMesh", canteenhandle)
  347. mesh.Scale = Vector3.new(0.817, 1.389, 0.817)
  348. mesh.MeshId = "http://www.roblox.com/asset/?id=11409474"
  349. mesh.MeshType = Enum.MeshType.FileMesh
  350.  
  351. canteen:BreakJoints()
  352. helmet:BreakJoints()
  353. local prev
  354. local parts = canteen:GetChildren()
  355.  
  356. for i = 1,#parts do
  357. if (parts[i].className == "Part") or (parts[i].className == "WedgePart") or (parts[i].className == "Seat") or (parts[i].className == "VehicleSeat") or (parts[i].className == "CornerWedgePart") then
  358. if (prev ~= nil)then
  359. if parts[i]:FindFirstChild("Weld") then parts[i]:FindFirstChild("Weld"):Destroy() end
  360. local weld = Instance.new("Weld")
  361. weld.Part0 = prev
  362. weld.Part1 = parts[i]
  363. weld.C0 = prev.CFrame:inverse()
  364. weld.C1 = parts[i].CFrame:inverse()
  365. weld.Parent = prev
  366. parts[i].CanCollide = false
  367. end
  368. prev = parts[i]
  369. end
  370. end
  371. canteen:MakeJoints()
  372. helmet:MakeJoints()
  373. weld(helmet, char.Head, CFrame.new(0,-.6,0)*CFrame.Angles(math.rad(0),0,0))
  374. weld(canteen.canteenhandle, char.Torso, CFrame.new(.5,.5,-.5)*CFrame.Angles(math.rad(0),math.rad(-90),0))
  375.  
  376. ----------
  377.  
  378. ---M60---
  379. local m60 = Instance.new("Model", char)
  380. m60.Name = "M60"
  381.  
  382. barrel = Instance.new("Part", m60)
  383. barrel.CanCollide = false
  384. barrel.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  385. barrel.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  386. barrel.Material = Enum.Material.Metal
  387. barrel.Size = Vector3.new(1, 0.403, 1)
  388. barrel.Name = "Barrel"
  389. barrel.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  390. barrel.CFrame = CFrame.new(-46.676, 1.505, -20.502)* CFrame.Angles(-1.5703084468842, -0.00032106894650497, -1.5708861351013)
  391. barrel.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  392. barrel.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  393. barrel.BrickColor = BrickColor.new("Really black")
  394. barrel.Friction = 0.3
  395. barrel.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  396.  
  397. mesh = Instance.new("CylinderMesh", barrel)
  398. mesh.Offset = Vector3.new(0, -0.14, 0)
  399. mesh.Scale = Vector3.new(1, 1, 0.1)
  400.  
  401. chamber = Instance.new("Part", m60)
  402. chamber.FormFactor = Enum.FormFactor.Symmetric
  403. chamber.CanCollide = false
  404. chamber.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  405. chamber.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  406. chamber.Material = Enum.Material.Metal
  407. chamber.Size = Vector3.new(1, 1, 1)
  408. chamber.Name = "Chamber"
  409. chamber.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  410. chamber.CFrame = CFrame.new(-43.627, 1.47, -20.3)* CFrame.Angles(-3.1415917873383, 8.6724330685684e-06, -3.1415908336639)
  411. chamber.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  412. chamber.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  413. chamber.BrickColor = BrickColor.new("Dark stone grey")
  414. chamber.Friction = 0.3
  415. chamber.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  416.  
  417. mesh_2 = Instance.new("SpecialMesh", chamber)
  418. mesh_2.Scale = Vector3.new(0.4, 0.05, 0.05)
  419. mesh_2.MeshType = Enum.MeshType.Wedge
  420.  
  421. handle = Instance.new("Part", m60)
  422. handle.FormFactor = Enum.FormFactor.Symmetric
  423. handle.CanCollide = false
  424. handle.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  425. handle.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  426. handle.Material = Enum.Material.Metal
  427. handle.Size = Vector3.new(1, 1, 1)
  428. handle.Name = "Handle"
  429. handle.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  430. handle.CFrame = CFrame.new(-42.677, 1.02, -20.5)* CFrame.Angles(6.1076320889697e-07, -7.301525783987e-06, -1.3147196398222e-07)
  431. handle.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  432. handle.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  433. handle.BrickColor = BrickColor.new("Dark stone grey")
  434. handle.Friction = 0.3
  435. handle.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  436.  
  437. mesh_3 = Instance.new("SpecialMesh", handle)
  438. mesh_3.Scale = Vector3.new(0.2, 0.05, 0.15)
  439. mesh_3.MeshType = Enum.MeshType.Brick
  440.  
  441. muzzleflash = Instance.new("Part", m60)
  442. muzzleflash.CanCollide = false
  443. muzzleflash.Transparency = 1
  444. muzzleflash.TopSurface = Enum.SurfaceType.Smooth
  445. muzzleflash.Material = Enum.Material.Neon
  446. muzzleflash.Size = Vector3.new(1, 2, 2)
  447. muzzleflash.Name = "MuzzleFlash"
  448. muzzleflash.CFrame = CFrame.new(-47.81, 1.49, -20.511)* CFrame.Angles(-3.1415920257568, 4.016649654659e-06, 1.5707564353943)
  449. muzzleflash.BrickColor = BrickColor.new("Bright yellow")
  450. muzzleflash.Friction = 0.3
  451. muzzleflash.BottomSurface = Enum.SurfaceType.Smooth
  452.  
  453. mesh_4 = Instance.new("SpecialMesh", muzzleflash)
  454. mesh_4.Scale = Vector3.new(0.5, 1, 0.5)
  455. mesh_4.MeshType = Enum.MeshType.Sphere
  456.  
  457. pointlight = Instance.new("PointLight", muzzleflash)
  458. pointlight.Enabled = false
  459. pointlight.Color = Color3.new(1, 1, 0)
  460. pointlight.Brightness = 5
  461. pointlight.Range = 5
  462.  
  463. part = Instance.new("Part", m60)
  464. part.FormFactor = Enum.FormFactor.Symmetric
  465. part.CanCollide = false
  466. part.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  467. part.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  468. part.Material = Enum.Material.Metal
  469. part.Size = Vector3.new(1, 1, 1)
  470. part.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  471. part.CFrame = CFrame.new(-42.552, 0.97, -20.5)* CFrame.Angles(-3.1412317752838, -1.5703080892563, -3.1412346363068)
  472. part.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  473. part.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  474. part.BrickColor = BrickColor.new("Dark stone grey")
  475. part.Friction = 0.3
  476. part.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  477.  
  478. mesh_5 = Instance.new("SpecialMesh", part)
  479. mesh_5.Scale = Vector3.new(0.15, 0.15, 0.05)
  480. mesh_5.MeshType = Enum.MeshType.Wedge
  481.  
  482. part_2 = Instance.new("Part", m60)
  483. part_2.FormFactor = Enum.FormFactor.Custom
  484. part_2.CanCollide = false
  485. part_2.Material = Enum.Material.Metal
  486. part_2.Size = Vector3.new(0.2, 0.2, 0.34)
  487. part_2.CFrame = CFrame.new(-43.339, 0.25, -20.044)* CFrame.Angles(-0.00063977972604334, -1.5613787174225, -0.00049307395238429)
  488. part_2.BrickColor = BrickColor.new("Brick yellow")
  489. part_2.Friction = 0.3
  490.  
  491. bulletmesh = Instance.new("SpecialMesh", part_2)
  492. bulletmesh.Offset = Vector3.new(0.3, 0.3, 0.3)
  493. bulletmesh.Scale = Vector3.new(3, 3, 3)
  494. bulletmesh.MeshId = "http://www.roblox.com/asset/?id=95387759"
  495. bulletmesh.Name = "BulletMesh"
  496. bulletmesh.MeshType = Enum.MeshType.FileMesh
  497.  
  498. part_3 = Instance.new("Part", m60)
  499. part_3.FormFactor = Enum.FormFactor.Symmetric
  500. part_3.CanCollide = false
  501. part_3.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  502. part_3.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  503. part_3.Material = Enum.Material.Metal
  504. part_3.Size = Vector3.new(1, 1, 1)
  505. part_3.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  506. part_3.CFrame = CFrame.new(-41.827, 1.145, -20.5)* CFrame.Angles(-0.2581761777401, 1.5704510211945, -2.8834161758423)
  507. part_3.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  508. part_3.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  509. part_3.BrickColor = BrickColor.new("Dark stone grey")
  510. part_3.Friction = 0.3
  511. part_3.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  512.  
  513. mesh_6 = Instance.new("SpecialMesh", part_3)
  514. mesh_6.Scale = Vector3.new(0.15, 0.3, 0.5)
  515. mesh_6.MeshType = Enum.MeshType.Wedge
  516.  
  517. part_4 = Instance.new("Part", m60)
  518. part_4.FormFactor = Enum.FormFactor.Symmetric
  519. part_4.CanCollide = false
  520. part_4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  521. part_4.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  522. part_4.Material = Enum.Material.Metal
  523. part_4.Size = Vector3.new(1, 1, 1)
  524. part_4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  525. part_4.CFrame = CFrame.new(-42.602, 1.27, -20.5)* CFrame.Angles(2.8834164142609, -1.5704510211945, -0.25817650556564)
  526. part_4.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  527. part_4.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  528. part_4.BrickColor = BrickColor.new("Dark stone grey")
  529. part_4.Friction = 0.3
  530. part_4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  531.  
  532. mesh_7 = Instance.new("SpecialMesh", part_4)
  533. mesh_7.Scale = Vector3.new(0.15, 0.05, 0.15)
  534. mesh_7.MeshType = Enum.MeshType.Wedge
  535.  
  536. part_5 = Instance.new("Part", m60)
  537. part_5.FormFactor = Enum.FormFactor.Symmetric
  538. part_5.CanCollide = false
  539. part_5.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  540. part_5.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  541. part_5.Material = Enum.Material.Metal
  542. part_5.Size = Vector3.new(1, 1, 1)
  543. part_5.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  544. part_5.CFrame = CFrame.new(-41.527, 1.145, -20.5)* CFrame.Angles(5.9586210454654e-07, -6.8346721491253e-06, 3.5224346106588e-07)
  545. part_5.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  546. part_5.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  547. part_5.BrickColor = BrickColor.new("Dark stone grey")
  548. part_5.Friction = 0.3
  549. part_5.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  550.  
  551. mesh_8 = Instance.new("SpecialMesh", part_5)
  552. mesh_8.Scale = Vector3.new(0.1, 0.3, 0.15)
  553. mesh_8.MeshType = Enum.MeshType.Brick
  554.  
  555. part_6 = Instance.new("Part", m60)
  556. part_6.FormFactor = Enum.FormFactor.Symmetric
  557. part_6.CanCollide = false
  558. part_6.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  559. part_6.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  560. part_6.Material = Enum.Material.Metal
  561. part_6.Size = Vector3.new(1, 1, 1)
  562. part_6.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  563. part_6.CFrame = CFrame.new(-42.627, 1.145, -20.5)* CFrame.Angles(2.8834164142609, -1.5704510211945, 2.8834161758423)
  564. part_6.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  565. part_6.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  566. part_6.BrickColor = BrickColor.new("Dark stone grey")
  567. part_6.Friction = 0.3
  568. part_6.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  569.  
  570. mesh_9 = Instance.new("SpecialMesh", part_6)
  571. mesh_9.Scale = Vector3.new(0.15, 0.2, 0.1)
  572. mesh_9.MeshType = Enum.MeshType.Wedge
  573.  
  574. part_7 = Instance.new("Part", m60)
  575. part_7.FormFactor = Enum.FormFactor.Symmetric
  576. part_7.CanCollide = false
  577. part_7.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  578. part_7.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  579. part_7.Material = Enum.Material.Metal
  580. part_7.Size = Vector3.new(1, 1, 1)
  581. part_7.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  582. part_7.CFrame = CFrame.new(-42.727, 1.095, -20.5)* CFrame.Angles(7.8315343898794e-07, -8.6724330685684e-06, -1.769436835275e-06)
  583. part_7.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  584. part_7.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  585. part_7.BrickColor = BrickColor.new("Dark stone grey")
  586. part_7.Friction = 0.3
  587. part_7.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  588.  
  589. mesh_10 = Instance.new("SpecialMesh", part_7)
  590. mesh_10.Scale = Vector3.new(0.1, 0.1, 0.15)
  591. mesh_10.MeshType = Enum.MeshType.Brick
  592.  
  593. part_8 = Instance.new("Part", m60)
  594. part_8.FormFactor = Enum.FormFactor.Symmetric
  595. part_8.CanCollide = false
  596. part_8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  597. part_8.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  598. part_8.Material = Enum.Material.Metal
  599. part_8.Size = Vector3.new(1, 1, 1)
  600. part_8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  601. part_8.CFrame = CFrame.new(-41.977, 1.57, -20.5)* CFrame.Angles(-0.25408187508583, 1.5704510211945, 0.25408214330673)
  602. part_8.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  603. part_8.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  604. part_8.BrickColor = BrickColor.new("Dark stone grey")
  605. part_8.Friction = 0.3
  606. part_8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  607.  
  608. mesh_11 = Instance.new("SpecialMesh", part_8)
  609. mesh_11.Scale = Vector3.new(0.15, 0.05, 0.4)
  610. mesh_11.MeshType = Enum.MeshType.Wedge
  611.  
  612. part_9 = Instance.new("Part", m60)
  613. part_9.FormFactor = Enum.FormFactor.Plate
  614. part_9.CanCollide = false
  615. part_9.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  616. part_9.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  617. part_9.Material = Enum.Material.Metal
  618. part_9.Size = Vector3.new(1, 0.4, 1)
  619. part_9.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  620. part_9.CFrame = CFrame.new(-46.657, 1.5, -20.5)* CFrame.Angles(1.5707969665527, -1.3038165214141e-08, -1.5707890987396)
  621. part_9.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  622. part_9.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  623. part_9.BrickColor = BrickColor.new("Dark stone grey")
  624. part_9.Friction = 0.3
  625. part_9.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  626.  
  627. mesh_12 = Instance.new("CylinderMesh", part_9)
  628. mesh_12.Offset = Vector3.new(0, -0.14, 0)
  629. mesh_12.Scale = Vector3.new(1, 1.1, 0.13)
  630.  
  631. part_10 = Instance.new("Part", m60)
  632. part_10.FormFactor = Enum.FormFactor.Symmetric
  633. part_10.CanCollide = false
  634. part_10.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  635. part_10.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  636. part_10.Material = Enum.Material.Metal
  637. part_10.Size = Vector3.new(1, 1, 1)
  638. part_10.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  639. part_10.CFrame = CFrame.new(-42.777, 1.22, -20.5)* CFrame.Angles(7.6334225695973e-07, -8.7022344814613e-06, -1.7636640450291e-06)
  640. part_10.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  641. part_10.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  642. part_10.BrickColor = BrickColor.new("Dark stone grey")
  643. part_10.Friction = 0.3
  644. part_10.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  645.  
  646. mesh_13 = Instance.new("SpecialMesh", part_10)
  647. mesh_13.Scale = Vector3.new(0.2, 0.15, 0.15)
  648. mesh_13.MeshType = Enum.MeshType.Brick
  649.  
  650. stock = Instance.new("Part", m60)
  651. stock.FormFactor = Enum.FormFactor.Symmetric
  652. stock.CanCollide = false
  653. stock.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  654. stock.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  655. stock.Material = Enum.Material.Metal
  656. stock.Size = Vector3.new(1, 1, 1)
  657. stock.Name = "Stock"
  658. stock.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  659. stock.CFrame = CFrame.new(-41.451, 1.295, -20.5)* CFrame.Angles(7.8246955581562e-07, -8.7022344814613e-06, -1.7694370626486e-06)
  660. stock.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  661. stock.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  662. stock.BrickColor = BrickColor.new("Dark stone grey")
  663. stock.Friction = 0.3
  664. stock.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  665.  
  666. mesh_43 = Instance.new("SpecialMesh", stock)
  667. mesh_43.Scale = Vector3.new(0.05, 0.6, 0.15)
  668. mesh_43.MeshType = Enum.MeshType.Brick
  669.  
  670. newp = Instance.new("Part", m60)
  671. newp.CanCollide = false
  672. newp.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  673. newp.Transparency = 1
  674. newp.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  675. newp.Material = Enum.Material.Metal
  676. newp.Size = Vector3.new(0.2, 0.2, 0.2)
  677. newp.Name = "newp"
  678. newp.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  679. newp.CFrame = CFrame.new(-47.05, 1.5, -20.5)* CFrame.Angles(-8.2679383694995e-07, 1.5707963705063, 0)
  680. newp.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  681. newp.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  682. newp.BrickColor = BrickColor.new("Really black")
  683. newp.Friction = 0.3
  684. newp.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  685.  
  686. part_13 = Instance.new("Part", m60)
  687. part_13.FormFactor = Enum.FormFactor.Symmetric
  688. part_13.CanCollide = false
  689. part_13.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  690. part_13.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  691. part_13.Material = Enum.Material.Metal
  692. part_13.Size = Vector3.new(1, 1, 1)
  693. part_13.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  694. part_13.CFrame = CFrame.new(-42.827, 1.045, -20.5)* CFrame.Angles(-0.2581761777401, 1.5704510211945, -2.8834161758423)
  695. part_13.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  696. part_13.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  697. part_13.BrickColor = BrickColor.new("Dark stone grey")
  698. part_13.Friction = 0.3
  699. part_13.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  700.  
  701. mesh_14 = Instance.new("SpecialMesh", part_13)
  702. mesh_14.Scale = Vector3.new(0.15, 0.2, 0.1)
  703. mesh_14.MeshType = Enum.MeshType.Wedge
  704.  
  705. part_14 = Instance.new("Part", m60)
  706. part_14.FormFactor = Enum.FormFactor.Custom
  707. part_14.CanCollide = false
  708. part_14.Material = Enum.Material.Metal
  709. part_14.Size = Vector3.new(0.2, 0.2, 0.34)
  710. part_14.CFrame = CFrame.new(-43.342, 0.8, -20.344)* CFrame.Angles(-0.00063977972604334, -1.5613787174225, -0.00049307395238429)
  711. part_14.BrickColor = BrickColor.new("Brick yellow")
  712. part_14.Friction = 0.3
  713.  
  714. bulletmesh_4 = Instance.new("SpecialMesh", part_14)
  715. bulletmesh_4.Offset = Vector3.new(0.3, 0.3, 0.3)
  716. bulletmesh_4.Scale = Vector3.new(3, 3, 3)
  717. bulletmesh_4.MeshId = "http://www.roblox.com/asset/?id=95387759"
  718. bulletmesh_4.Name = "BulletMesh"
  719. bulletmesh_4.MeshType = Enum.MeshType.FileMesh
  720.  
  721. part_15 = Instance.new("Part", m60)
  722. part_15.FormFactor = Enum.FormFactor.Custom
  723. part_15.CanCollide = false
  724. part_15.Material = Enum.Material.Metal
  725. part_15.Size = Vector3.new(0.2, 0.2, 0.34)
  726. part_15.CFrame = CFrame.new(-43.342, 0.66, -20.284)* CFrame.Angles(-0.00063977972604334, -1.5613787174225, -0.00049307395238429)
  727. part_15.BrickColor = BrickColor.new("Brick yellow")
  728. part_15.Friction = 0.3
  729.  
  730. bulletmesh_5 = Instance.new("SpecialMesh", part_15)
  731. bulletmesh_5.Offset = Vector3.new(0.3, 0.3, 0.3)
  732. bulletmesh_5.Scale = Vector3.new(3, 3, 3)
  733. bulletmesh_5.MeshId = "http://www.roblox.com/asset/?id=95387759"
  734. bulletmesh_5.Name = "BulletMesh"
  735. bulletmesh_5.MeshType = Enum.MeshType.FileMesh
  736.  
  737. part_16 = Instance.new("Part", m60)
  738. part_16.FormFactor = Enum.FormFactor.Custom
  739. part_16.CanCollide = false
  740. part_16.Material = Enum.Material.Metal
  741. part_16.Size = Vector3.new(0.2, 0.2, 0.34)
  742. part_16.CFrame = CFrame.new(-43.347, 1.17, -20.784)* CFrame.Angles(-0.00063977972604334, -1.5613787174225, -0.00049307395238429)
  743. part_16.BrickColor = BrickColor.new("Brick yellow")
  744. part_16.Friction = 0.3
  745.  
  746. bulletmesh_6 = Instance.new("SpecialMesh", part_16)
  747. bulletmesh_6.Offset = Vector3.new(0.3, 0.3, 0.3)
  748. bulletmesh_6.Scale = Vector3.new(3, 3, 3)
  749. bulletmesh_6.MeshId = "http://www.roblox.com/asset/?id=95387759"
  750. bulletmesh_6.Name = "BulletMesh"
  751. bulletmesh_6.MeshType = Enum.MeshType.FileMesh
  752.  
  753. part_50 = Instance.new("Part", m60)
  754. part_50.FormFactor = Enum.FormFactor.Symmetric
  755. part_50.CanCollide = false
  756. part_50.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  757. part_50.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  758. part_50.Material = Enum.Material.Metal
  759. part_50.Size = Vector3.new(1, 1, 1)
  760. part_50.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  761. part_50.CFrame = CFrame.new(-46.287, 1.705, -20.5)* CFrame.Angles(2.8806278705597, -1.5704510211945, 2.8806276321411)
  762. part_50.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  763. part_50.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  764. part_50.BrickColor = BrickColor.new("Dark stone grey")
  765. part_50.Friction = 0.3
  766. part_50.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  767.  
  768. mesh_42 = Instance.new("SpecialMesh", part_50)
  769. mesh_42.Scale = Vector3.new(0.05, 0.1, 0.1)
  770. mesh_42.MeshType = Enum.MeshType.Wedge
  771.  
  772. part_18 = Instance.new("Part", m60)
  773. part_18.FormFactor = Enum.FormFactor.Custom
  774. part_18.CanCollide = false
  775. part_18.Material = Enum.Material.Metal
  776. part_18.Size = Vector3.new(0.2, 0.2, 0.34)
  777. part_18.CFrame = CFrame.new(-43.343, 0.93, -20.424)* CFrame.Angles(-0.00063977972604334, -1.5613787174225, -0.00049307395238429)
  778. part_18.BrickColor = BrickColor.new("Brick yellow")
  779. part_18.Friction = 0.3
  780.  
  781. bulletmesh_8 = Instance.new("SpecialMesh", part_18)
  782. bulletmesh_8.Offset = Vector3.new(0.3, 0.3, 0.3)
  783. bulletmesh_8.Scale = Vector3.new(3, 3, 3)
  784. bulletmesh_8.MeshId = "http://www.roblox.com/asset/?id=95387759"
  785. bulletmesh_8.Name = "BulletMesh"
  786. bulletmesh_8.MeshType = Enum.MeshType.FileMesh
  787.  
  788. part_19 = Instance.new("Part", m60)
  789. part_19.FormFactor = Enum.FormFactor.Symmetric
  790. part_19.CanCollide = false
  791. part_19.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  792. part_19.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  793. part_19.Material = Enum.Material.Metal
  794. part_19.Size = Vector3.new(1, 1, 1)
  795. part_19.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  796. part_19.CFrame = CFrame.new(-44.032, 1.62, -20.5)* CFrame.Angles(7.8315343898794e-07, -8.6724330685684e-06, -1.769436835275e-06)
  797. part_19.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  798. part_19.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  799. part_19.BrickColor = BrickColor.new("Dark stone grey")
  800. part_19.Friction = 0.3
  801. part_19.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  802.  
  803. mesh_15 = Instance.new("SpecialMesh", part_19)
  804. mesh_15.Scale = Vector3.new(0.05, 0.05, 0.05)
  805. mesh_15.MeshType = Enum.MeshType.Brick
  806.  
  807. part_20 = Instance.new("Part", m60)
  808. part_20.FormFactor = Enum.FormFactor.Plate
  809. part_20.CanCollide = false
  810. part_20.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  811. part_20.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  812. part_20.Material = Enum.Material.Metal
  813. part_20.Size = Vector3.new(1, 0.8, 1)
  814. part_20.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  815. part_20.CFrame = CFrame.new(-44.367, 1.32, -20.5)* CFrame.Angles(1.5707967281342, -1.7694397911328e-06, -1.5707904100418)
  816. part_20.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  817. part_20.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  818. part_20.BrickColor = BrickColor.new("Dark stone grey")
  819. part_20.Friction = 0.3
  820. part_20.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  821.  
  822. mesh_16 = Instance.new("SpecialMesh", part_20)
  823. mesh_16.Scale = Vector3.new(0.15, 1.95, 0.15)
  824.  
  825. part_21 = Instance.new("Part", m60)
  826. part_21.FormFactor = Enum.FormFactor.Plate
  827. part_21.CanCollide = false
  828. part_21.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  829. part_21.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  830. part_21.Material = Enum.Material.Metal
  831. part_21.Size = Vector3.new(1, 1.2, 1)
  832. part_21.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  833. part_21.CFrame = CFrame.new(-45.547, 1.495, -20.5)* CFrame.Angles(1.5707967281342, 3.0846084086988e-07, -1.5707895755768)
  834. part_21.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  835. part_21.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  836. part_21.BrickColor = BrickColor.new("Dark stone grey")
  837. part_21.Friction = 0.3
  838. part_21.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  839.  
  840. mesh_17 = Instance.new("SpecialMesh", part_21)
  841. mesh_17.Scale = Vector3.new(0.15, 1.967, 0.1)
  842.  
  843. part_22 = Instance.new("Part", m60)
  844. part_22.FormFactor = Enum.FormFactor.Symmetric
  845. part_22.CanCollide = false
  846. part_22.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  847. part_22.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  848. part_22.Material = Enum.Material.Metal
  849. part_22.Size = Vector3.new(1, 1, 1)
  850. part_22.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  851. part_22.CFrame = CFrame.new(-42.677, 0.87, -20.5)* CFrame.Angles(-1.5707956552505, -3.5224439898229e-07, -1.5708031654358)
  852. part_22.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  853. part_22.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  854. part_22.BrickColor = BrickColor.new("Dark stone grey")
  855. part_22.Friction = 0.3
  856. part_22.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  857.  
  858. mesh_18 = Instance.new("SpecialMesh", part_22)
  859. mesh_18.Scale = Vector3.new(0.15, 0.3, 0.05)
  860. mesh_18.MeshType = Enum.MeshType.Wedge
  861.  
  862. part_23 = Instance.new("Part", m60)
  863. part_23.FormFactor = Enum.FormFactor.Custom
  864. part_23.CanCollide = false
  865. part_23.Material = Enum.Material.Metal
  866. part_23.Size = Vector3.new(0.2, 0.2, 0.34)
  867. part_23.CFrame = CFrame.new(-43.34, 0.37, -20.134)* CFrame.Angles(-0.00063977972604334, -1.5613787174225, -0.00049307395238429)
  868. part_23.BrickColor = BrickColor.new("Brick yellow")
  869. part_23.Friction = 0.3
  870.  
  871. bulletmesh_9 = Instance.new("SpecialMesh", part_23)
  872. bulletmesh_9.Offset = Vector3.new(0.3, 0.3, 0.3)
  873. bulletmesh_9.Scale = Vector3.new(3, 3, 3)
  874. bulletmesh_9.MeshId = "http://www.roblox.com/asset/?id=95387759"
  875. bulletmesh_9.Name = "BulletMesh"
  876. bulletmesh_9.MeshType = Enum.MeshType.FileMesh
  877.  
  878. part_24 = Instance.new("Part", m60)
  879. part_24.FormFactor = Enum.FormFactor.Custom
  880. part_24.CanCollide = false
  881. part_24.Material = Enum.Material.Metal
  882. part_24.Size = Vector3.new(0.2, 0.2, 0.34)
  883. part_24.CFrame = CFrame.new(-43.345, 1.13, -20.644)* CFrame.Angles(-0.00063977972604334, -1.5613787174225, -0.00049307395238429)
  884. part_24.BrickColor = BrickColor.new("Brick yellow")
  885. part_24.Friction = 0.3
  886.  
  887. bulletmesh_10 = Instance.new("SpecialMesh", part_24)
  888. bulletmesh_10.Offset = Vector3.new(0.3, 0.3, 0.3)
  889. bulletmesh_10.Scale = Vector3.new(3, 3, 3)
  890. bulletmesh_10.MeshId = "http://www.roblox.com/asset/?id=95387759"
  891. bulletmesh_10.Name = "BulletMesh"
  892. bulletmesh_10.MeshType = Enum.MeshType.FileMesh
  893.  
  894. part_25 = Instance.new("Part", m60)
  895. part_25.FormFactor = Enum.FormFactor.Symmetric
  896. part_25.CanCollide = false
  897. part_25.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  898. part_25.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  899. part_25.Material = Enum.Material.Metal
  900. part_25.Size = Vector3.new(1, 1, 1)
  901. part_25.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  902. part_25.CFrame = CFrame.new(-42.902, 1.22, -20.5)* CFrame.Angles(-0.2581761777401, 1.5704510211945, -2.8834161758423)
  903. part_25.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  904. part_25.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  905. part_25.BrickColor = BrickColor.new("Dark stone grey")
  906. part_25.Friction = 0.3
  907. part_25.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  908.  
  909. mesh_19 = Instance.new("SpecialMesh", part_25)
  910. mesh_19.Scale = Vector3.new(0.15, 0.15, 0.05)
  911. mesh_19.MeshType = Enum.MeshType.Wedge
  912.  
  913. part_26 = Instance.new("Part", m60)
  914. part_26.FormFactor = Enum.FormFactor.Symmetric
  915. part_26.CanCollide = false
  916. part_26.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  917. part_26.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  918. part_26.Material = Enum.Material.Metal
  919. part_26.Size = Vector3.new(1, 1, 1)
  920. part_26.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  921. part_26.CFrame = CFrame.new(-42.677, 0.945, -20.5)* CFrame.Angles(5.9064285551358e-07, -7.1823164944362e-06, 1.8052570993632e-08)
  922. part_26.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  923. part_26.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  924. part_26.BrickColor = BrickColor.new("Dark stone grey")
  925. part_26.Friction = 0.3
  926. part_26.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  927.  
  928. mesh_20 = Instance.new("SpecialMesh", part_26)
  929. mesh_20.Scale = Vector3.new(0.2, 0.1, 0.15)
  930. mesh_20.MeshType = Enum.MeshType.Brick
  931.  
  932. part_27 = Instance.new("Part", m60)
  933. part_27.FormFactor = Enum.FormFactor.Plate
  934. part_27.CanCollide = false
  935. part_27.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  936. part_27.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  937. part_27.Material = Enum.Material.Metal
  938. part_27.Size = Vector3.new(1, 0.4, 1)
  939. part_27.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  940. part_27.CFrame = CFrame.new(-43.002, 1.135, -20.5)* CFrame.Angles(7.8002278769418e-07, -8.7022344814613e-06, -1.7633529978411e-06)
  941. part_27.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  942. part_27.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  943. part_27.BrickColor = BrickColor.new("Dark stone grey")
  944. part_27.Friction = 0.3
  945. part_27.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  946.  
  947. mesh_21 = Instance.new("SpecialMesh", part_27)
  948. mesh_21.Scale = Vector3.new(0.25, 0.05, 0.15)
  949. mesh_21.MeshType = Enum.MeshType.Brick
  950.  
  951. part_28 = Instance.new("Part", m60)
  952. part_28.FormFactor = Enum.FormFactor.Symmetric
  953. part_28.CanCollide = false
  954. part_28.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  955. part_28.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  956. part_28.Material = Enum.Material.Metal
  957. part_28.Size = Vector3.new(1, 1, 1)
  958. part_28.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  959. part_28.CFrame = CFrame.new(-43.527, 1.57, -20.5)* CFrame.Angles(7.7129374176366e-07, -8.7022344814613e-06, -1.7694371763355e-06)
  960. part_28.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  961. part_28.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  962. part_28.BrickColor = BrickColor.new("Dark stone grey")
  963. part_28.Friction = 0.3
  964. part_28.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  965.  
  966. mesh_22 = Instance.new("SpecialMesh", part_28)
  967. mesh_22.Scale = Vector3.new(0.9, 0.05, 0.15)
  968. mesh_22.MeshType = Enum.MeshType.Brick
  969.  
  970. part_29 = Instance.new("Part", m60)
  971. part_29.FormFactor = Enum.FormFactor.Plate
  972. part_29.CanCollide = false
  973. part_29.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  974. part_29.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  975. part_29.Material = Enum.Material.Metal
  976. part_29.Size = Vector3.new(1, 0.8, 1)
  977. part_29.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  978. part_29.CFrame = CFrame.new(-44.367, 1.52, -20.5)* CFrame.Angles(1.5707967281342, -1.7694397911328e-06, -1.5707904100418)
  979. part_29.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  980. part_29.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  981. part_29.BrickColor = BrickColor.new("Dark stone grey")
  982. part_29.Friction = 0.3
  983. part_29.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  984.  
  985. mesh_23 = Instance.new("SpecialMesh", part_29)
  986. mesh_23.Scale = Vector3.new(0.15, 1.95, 0.15)
  987.  
  988. part_30 = Instance.new("Part", m60)
  989. part_30.FormFactor = Enum.FormFactor.Symmetric
  990. part_30.CanCollide = false
  991. part_30.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  992. part_30.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  993. part_30.Material = Enum.Material.Metal
  994. part_30.Size = Vector3.new(1, 1, 1)
  995. part_30.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  996. part_30.CFrame = CFrame.new(-42.802, 0.92, -20.5)* CFrame.Angles(1.5707967281342, -1.7694397911328e-06, 1.5708022117615)
  997. part_30.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  998. part_30.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  999. part_30.BrickColor = BrickColor.new("Dark stone grey")
  1000. part_30.Friction = 0.3
  1001. part_30.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1002.  
  1003. mesh_24 = Instance.new("SpecialMesh", part_30)
  1004. mesh_24.Scale = Vector3.new(0.15, 0.05, 0.05)
  1005. mesh_24.MeshType = Enum.MeshType.Wedge
  1006.  
  1007. part_31 = Instance.new("Part", m60)
  1008. part_31.FormFactor = Enum.FormFactor.Symmetric
  1009. part_31.CanCollide = false
  1010. part_31.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1011. part_31.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1012. part_31.Material = Enum.Material.Metal
  1013. part_31.Size = Vector3.new(1, 1, 1)
  1014. part_31.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1015. part_31.CFrame = CFrame.new(-41.627, 1.57, -20.5)* CFrame.Angles(7.7545547583213e-07, -8.6724330685684e-06, -1.7694295593174e-06)
  1016. part_31.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1017. part_31.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1018. part_31.BrickColor = BrickColor.new("Dark stone grey")
  1019. part_31.Friction = 0.3
  1020. part_31.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1021.  
  1022. mesh_25 = Instance.new("SpecialMesh", part_31)
  1023. mesh_25.Scale = Vector3.new(0.3, 0.05, 0.15)
  1024. mesh_25.MeshType = Enum.MeshType.Brick
  1025.  
  1026. part_32 = Instance.new("Part", m60)
  1027. part_32.FormFactor = Enum.FormFactor.Plate
  1028. part_32.CanCollide = false
  1029. part_32.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1030. part_32.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1031. part_32.Material = Enum.Material.Metal
  1032. part_32.Size = Vector3.new(1, 0.4, 1)
  1033. part_32.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1034. part_32.CFrame = CFrame.new(-44.017, 1.72, -20.5)* CFrame.Angles(7.8246955581562e-07, -8.7022344814613e-06, 1.5707979202271)
  1035. part_32.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1036. part_32.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1037. part_32.BrickColor = BrickColor.new("Dark stone grey")
  1038. part_32.Friction = 0.3
  1039. part_32.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1040.  
  1041. mesh_26 = Instance.new("SpecialMesh", part_32)
  1042. mesh_26.Scale = Vector3.new(0.15, 0.05, 0.05)
  1043. mesh_26.MeshType = Enum.MeshType.Brick
  1044.  
  1045. part_33 = Instance.new("Part", m60)
  1046. part_33.FormFactor = Enum.FormFactor.Plate
  1047. part_33.CanCollide = false
  1048. part_33.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1049. part_33.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1050. part_33.Material = Enum.Material.Metal
  1051. part_33.Size = Vector3.new(1, 0.8, 1)
  1052. part_33.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1053. part_33.CFrame = CFrame.new(-45.307, 1.355, -20.5)* CFrame.Angles(1.5707967281342, -1.7630960655879e-06, -1.5707904100418)
  1054. part_33.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1055. part_33.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1056. part_33.BrickColor = BrickColor.new("Dark stone grey")
  1057. part_33.Friction = 0.3
  1058. part_33.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1059.  
  1060. mesh_27 = Instance.new("SpecialMesh", part_33)
  1061. mesh_27.Scale = Vector3.new(0.15, 1.5, 0.1)
  1062.  
  1063. part_34 = Instance.new("Part", m60)
  1064. part_34.FormFactor = Enum.FormFactor.Symmetric
  1065. part_34.CanCollide = false
  1066. part_34.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1067. part_34.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1068. part_34.Material = Enum.Material.Metal
  1069. part_34.Size = Vector3.new(1, 1, 1)
  1070. part_34.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1071. part_34.CFrame = CFrame.new(-44.557, 1.42, -20.5)* CFrame.Angles(2.8806278705597, -1.5704510211945, -0.26096504926682)
  1072. part_34.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1073. part_34.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1074. part_34.BrickColor = BrickColor.new("Dark stone grey")
  1075. part_34.Friction = 0.3
  1076. part_34.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1077.  
  1078. mesh_28 = Instance.new("SpecialMesh", part_34)
  1079. mesh_28.Scale = Vector3.new(0.148, 0.149, 1.194)
  1080. mesh_28.MeshType = Enum.MeshType.Brick
  1081.  
  1082. part_35 = Instance.new("Part", m60)
  1083. part_35.FormFactor = Enum.FormFactor.Symmetric
  1084. part_35.CanCollide = false
  1085. part_35.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1086. part_35.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1087. part_35.Material = Enum.Material.Metal
  1088. part_35.Size = Vector3.new(2, 1, 1)
  1089. part_35.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1090. part_35.CFrame = CFrame.new(-42.727, 1.495, -20.5)* CFrame.Angles(1.2389388075462e-06, -8.4638741100207e-06, -7.7411147003659e-07)
  1091. part_35.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1092. part_35.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1093. part_35.BrickColor = BrickColor.new("Dark stone grey")
  1094. part_35.Friction = 0.3
  1095. part_35.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1096.  
  1097. mesh_29 = Instance.new("SpecialMesh", part_35)
  1098. mesh_29.Scale = Vector3.new(1.25, 0.1, 0.15)
  1099. mesh_29.MeshType = Enum.MeshType.Brick
  1100.  
  1101. part_36 = Instance.new("Part", m60)
  1102. part_36.FormFactor = Enum.FormFactor.Custom
  1103. part_36.CanCollide = false
  1104. part_36.Material = Enum.Material.Metal
  1105. part_36.Size = Vector3.new(0.2, 0.2, 0.34)
  1106. part_36.CFrame = CFrame.new(-43.341, 0.51, -20.224)* CFrame.Angles(-0.00063977972604334, -1.5613787174225, -0.00049307395238429)
  1107. part_36.BrickColor = BrickColor.new("Brick yellow")
  1108. part_36.Friction = 0.3
  1109.  
  1110. bulletmesh_11 = Instance.new("SpecialMesh", part_36)
  1111. bulletmesh_11.Offset = Vector3.new(0.3, 0.3, 0.3)
  1112. bulletmesh_11.Scale = Vector3.new(3, 3, 3)
  1113. bulletmesh_11.MeshId = "http://www.roblox.com/asset/?id=95387759"
  1114. bulletmesh_11.Name = "BulletMesh"
  1115. bulletmesh_11.MeshType = Enum.MeshType.FileMesh
  1116.  
  1117. part_37 = Instance.new("Part", m60)
  1118. part_37.FormFactor = Enum.FormFactor.Plate
  1119. part_37.CanCollide = false
  1120. part_37.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1121. part_37.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1122. part_37.Material = Enum.Material.Metal
  1123. part_37.Size = Vector3.new(1, 0.4, 1)
  1124. part_37.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1125. part_37.CFrame = CFrame.new(-46.397, 1.58, -20.5)* CFrame.Angles(7.7501903206212e-07, -8.7022344814613e-06, 1.5707979202271)
  1126. part_37.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1127. part_37.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1128. part_37.BrickColor = BrickColor.new("Dark stone grey")
  1129. part_37.Friction = 0.3
  1130. part_37.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1131.  
  1132. mesh_30 = Instance.new("SpecialMesh", part_37)
  1133. mesh_30.Scale = Vector3.new(0.15, 0.05, 0.05)
  1134. mesh_30.MeshType = Enum.MeshType.Brick
  1135.  
  1136. part_38 = Instance.new("Part", m60)
  1137. part_38.FormFactor = Enum.FormFactor.Symmetric
  1138. part_38.CanCollide = false
  1139. part_38.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1140. part_38.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1141. part_38.Material = Enum.Material.Metal
  1142. part_38.Size = Vector3.new(1, 1, 1)
  1143. part_38.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1144. part_38.CFrame = CFrame.new(-43.627, 1.22, -20.375)* CFrame.Angles(-3.1415917873383, 8.6724330685684e-06, 1.7694295593174e-06)
  1145. part_38.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1146. part_38.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1147. part_38.BrickColor = BrickColor.new("Dark stone grey")
  1148. part_38.Friction = 0.3
  1149. part_38.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1150.  
  1151. mesh_31 = Instance.new("SpecialMesh", part_38)
  1152. mesh_31.Scale = Vector3.new(0.396, 0.449, 0.199)
  1153. mesh_31.MeshType = Enum.MeshType.Brick
  1154.  
  1155. part_39 = Instance.new("Part", m60)
  1156. part_39.FormFactor = Enum.FormFactor.Plate
  1157. part_39.CanCollide = false
  1158. part_39.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1159. part_39.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1160. part_39.Material = Enum.Material.Metal
  1161. part_39.Size = Vector3.new(1, 0.4, 1)
  1162. part_39.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1163. part_39.CFrame = CFrame.new(-43.837, 1.445, -20.35)* CFrame.Angles(7.6999185694149e-07, -8.7022344814613e-06, 1.5707979202271)
  1164. part_39.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1165. part_39.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1166. part_39.BrickColor = BrickColor.new("Dark stone grey")
  1167. part_39.Friction = 0.3
  1168. part_39.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1169.  
  1170. mesh_32 = Instance.new("SpecialMesh", part_39)
  1171. mesh_32.Scale = Vector3.new(0.2, 0.05, 0.15)
  1172. mesh_32.MeshType = Enum.MeshType.Brick
  1173.  
  1174. part_40 = Instance.new("Part", m60)
  1175. part_40.FormFactor = Enum.FormFactor.Custom
  1176. part_40.CanCollide = false
  1177. part_40.Material = Enum.Material.Metal
  1178. part_40.Size = Vector3.new(0.2, 0.2, 0.34)
  1179. part_40.CFrame = CFrame.new(-43.344, 1.04, -20.524)* CFrame.Angles(-0.00063977972604334, -1.5613787174225, -0.00049307395238429)
  1180. part_40.BrickColor = BrickColor.new("Brick yellow")
  1181. part_40.Friction = 0.3
  1182.  
  1183. bulletmesh_12 = Instance.new("SpecialMesh", part_40)
  1184. bulletmesh_12.Offset = Vector3.new(0.3, 0.3, 0.3)
  1185. bulletmesh_12.Scale = Vector3.new(3, 3, 3)
  1186. bulletmesh_12.MeshId = "http://www.roblox.com/asset/?id=95387759"
  1187. bulletmesh_12.Name = "BulletMesh"
  1188. bulletmesh_12.MeshType = Enum.MeshType.FileMesh
  1189.  
  1190. part_41 = Instance.new("Part", m60)
  1191. part_41.FormFactor = Enum.FormFactor.Symmetric
  1192. part_41.CanCollide = false
  1193. part_41.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1194. part_41.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1195. part_41.Material = Enum.Material.Metal
  1196. part_41.Size = Vector3.new(2, 1, 1)
  1197. part_41.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1198. part_41.CFrame = CFrame.new(-42.727, 1.37, -20.5)* CFrame.Angles(7.7545547583213e-07, -8.6575309978798e-06, -1.7694294456305e-06)
  1199. part_41.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1200. part_41.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1201. part_41.BrickColor = BrickColor.new("Dark stone grey")
  1202. part_41.Friction = 0.3
  1203. part_41.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1204.  
  1205. mesh_33 = Instance.new("SpecialMesh", part_41)
  1206. mesh_33.Scale = Vector3.new(1.25, 0.15, 0.15)
  1207. mesh_33.MeshType = Enum.MeshType.Brick
  1208.  
  1209. part_42 = Instance.new("Part", m60)
  1210. part_42.FormFactor = Enum.FormFactor.Symmetric
  1211. part_42.CanCollide = false
  1212. part_42.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1213. part_42.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1214. part_42.Material = Enum.Material.Metal
  1215. part_42.Size = Vector3.new(1, 1, 1)
  1216. part_42.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1217. part_42.CFrame = CFrame.new(-43.552, 1.27, -20.5)* CFrame.Angles(7.7079295124349e-07, -8.7022344814613e-06, -1.7636640450291e-06)
  1218. part_42.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1219. part_42.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1220. part_42.BrickColor = BrickColor.new("Dark stone grey")
  1221. part_42.Friction = 0.3
  1222. part_42.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1223.  
  1224. mesh_34 = Instance.new("SpecialMesh", part_42)
  1225. mesh_34.Scale = Vector3.new(0.85, 0.05, 0.15)
  1226. mesh_34.MeshType = Enum.MeshType.Brick
  1227.  
  1228. part_43 = Instance.new("Part", m60)
  1229. part_43.FormFactor = Enum.FormFactor.Symmetric
  1230. part_43.CanCollide = false
  1231. part_43.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1232. part_43.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1233. part_43.Material = Enum.Material.Metal
  1234. part_43.Size = Vector3.new(1, 1, 1)
  1235. part_43.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1236. part_43.CFrame = CFrame.new(-46.362, 1.68, -20.5)* CFrame.Angles(-0.26096475124359, 1.5704510211945, 0.26096504926682)
  1237. part_43.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1238. part_43.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1239. part_43.BrickColor = BrickColor.new("Dark stone grey")
  1240. part_43.Friction = 0.3
  1241. part_43.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1242.  
  1243. mesh_35 = Instance.new("SpecialMesh", part_43)
  1244. mesh_35.Scale = Vector3.new(0.05, 0.05, 0.05)
  1245. mesh_35.MeshType = Enum.MeshType.Wedge
  1246.  
  1247. part_44 = Instance.new("Part", m60)
  1248. part_44.FormFactor = Enum.FormFactor.Symmetric
  1249. part_44.CanCollide = false
  1250. part_44.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1251. part_44.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1252. part_44.Material = Enum.Material.Metal
  1253. part_44.Size = Vector3.new(1, 1, 1)
  1254. part_44.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1255. part_44.CFrame = CFrame.new(-45.762, 1.42, -20.5)* CFrame.Angles(2.880912065506, -1.5703080892563, -0.25942268967628)
  1256. part_44.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1257. part_44.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1258. part_44.BrickColor = BrickColor.new("Dark stone grey")
  1259. part_44.Friction = 0.3
  1260. part_44.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1261.  
  1262. mesh_36 = Instance.new("SpecialMesh", part_44)
  1263. mesh_36.Scale = Vector3.new(0.049, 0.149, 0.1)
  1264. mesh_36.MeshType = Enum.MeshType.Brick
  1265.  
  1266. part_45 = Instance.new("Part", m60)
  1267. part_45.FormFactor = Enum.FormFactor.Symmetric
  1268. part_45.CanCollide = false
  1269. part_45.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1270. part_45.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1271. part_45.Material = Enum.Material.Metal
  1272. part_45.Size = Vector3.new(1, 1, 1)
  1273. part_45.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1274. part_45.CFrame = CFrame.new(-42.827, 1.57, -20.5)* CFrame.Angles(2.8857929706573, -1.5704510211945, 2.887020111084)
  1275. part_45.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1276. part_45.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1277. part_45.BrickColor = BrickColor.new("Dark stone grey")
  1278. part_45.Friction = 0.3
  1279. part_45.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1280.  
  1281. mesh_37 = Instance.new("SpecialMesh", part_45)
  1282. mesh_37.Scale = Vector3.new(0.15, 0.05, 0.5)
  1283. mesh_37.MeshType = Enum.MeshType.Wedge
  1284.  
  1285. part_46 = Instance.new("Part", m60)
  1286. part_46.FormFactor = Enum.FormFactor.Plate
  1287. part_46.CanCollide = false
  1288. part_46.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1289. part_46.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1290. part_46.Material = Enum.Material.Metal
  1291. part_46.Size = Vector3.new(1, 0.4, 1)
  1292. part_46.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1293. part_46.CFrame = CFrame.new(-43.417, 1.445, -20.35)* CFrame.Angles(7.7546997090394e-07, -8.6724330685684e-06, 1.5707979202271)
  1294. part_46.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1295. part_46.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1296. part_46.BrickColor = BrickColor.new("Dark stone grey")
  1297. part_46.Friction = 0.3
  1298. part_46.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1299.  
  1300. mesh_38 = Instance.new("SpecialMesh", part_46)
  1301. mesh_38.Scale = Vector3.new(0.2, 0.05, 0.15)
  1302. mesh_38.MeshType = Enum.MeshType.Brick
  1303.  
  1304. part_47 = Instance.new("Part", m60)
  1305. part_47.FormFactor = Enum.FormFactor.Symmetric
  1306. part_47.CanCollide = false
  1307. part_47.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1308. part_47.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1309. part_47.Material = Enum.Material.Metal
  1310. part_47.Size = Vector3.new(1, 1, 1)
  1311. part_47.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1312. part_47.CFrame = CFrame.new(-43.102, 1.22, -20.5)* CFrame.Angles(2.8870434761047, -1.5704510211945, 2.8870432376862)
  1313. part_47.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1314. part_47.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1315. part_47.BrickColor = BrickColor.new("Dark stone grey")
  1316. part_47.Friction = 0.3
  1317. part_47.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1318.  
  1319. mesh_39 = Instance.new("SpecialMesh", part_47)
  1320. mesh_39.Scale = Vector3.new(0.15, 0.15, 0.05)
  1321. mesh_39.MeshType = Enum.MeshType.Wedge
  1322.  
  1323. part_48 = Instance.new("Part", m60)
  1324. part_48.FormFactor = Enum.FormFactor.Symmetric
  1325. part_48.CanCollide = false
  1326. part_48.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1327. part_48.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1328. part_48.Material = Enum.Material.Metal
  1329. part_48.Size = Vector3.new(1, 1, 1)
  1330. part_48.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1331. part_48.CFrame = CFrame.new(-46.212, 1.58, -20.5)* CFrame.Angles(2.880912065506, -1.5703080892563, 2.8821699619293)
  1332. part_48.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1333. part_48.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1334. part_48.BrickColor = BrickColor.new("Dark stone grey")
  1335. part_48.Friction = 0.3
  1336. part_48.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1337.  
  1338. mesh_40 = Instance.new("SpecialMesh", part_48)
  1339. mesh_40.Scale = Vector3.new(0.05, 0.15, 0.05)
  1340. mesh_40.MeshType = Enum.MeshType.Wedge
  1341.  
  1342. part_49 = Instance.new("Part", m60)
  1343. part_49.FormFactor = Enum.FormFactor.Plate
  1344. part_49.CanCollide = false
  1345. part_49.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1346. part_49.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1347. part_49.Material = Enum.Material.Metal
  1348. part_49.Size = Vector3.new(1, 0.4, 1)
  1349. part_49.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1350. part_49.CFrame = CFrame.new(-46.247, 1.58, -20.5)* CFrame.Angles(7.7501903206212e-07, -8.7022344814613e-06, 1.5707979202271)
  1351. part_49.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1352. part_49.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1353. part_49.BrickColor = BrickColor.new("Dark stone grey")
  1354. part_49.Friction = 0.3
  1355. part_49.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1356.  
  1357. mesh_41 = Instance.new("SpecialMesh", part_49)
  1358. mesh_41.Scale = Vector3.new(0.15, 0.05, 0.05)
  1359. mesh_41.MeshType = Enum.MeshType.Brick
  1360. m60:BreakJoints()
  1361. local prev
  1362. local parts = m60:GetChildren()
  1363.  
  1364. for i = 1,#parts do
  1365. if (parts[i].className == "Part") or (parts[i].className == "WedgePart") or (parts[i].className == "Seat") or (parts[i].className == "VehicleSeat") or (parts[i].className == "CornerWedgePart") then
  1366. if (prev ~= nil)then
  1367. if parts[i]:FindFirstChild("Weld") then parts[i]:FindFirstChild("Weld"):Destroy() end
  1368. local weld = Instance.new("Weld")
  1369. weld.Part0 = prev
  1370. weld.Part1 = parts[i]
  1371. weld.C0 = prev.CFrame:inverse()
  1372. weld.C1 = parts[i].CFrame:inverse()
  1373. weld.Parent = prev
  1374. parts[i].CanCollide = false
  1375. end
  1376. prev = parts[i]
  1377. end
  1378. end
  1379. m60:MakeJoints()
  1380. weld(ra, tor, CFrame.new(-1,.5,.2)*CFrame.Angles(math.rad(-90),0,0))
  1381. weld(la, tor, CFrame.new(-.2,1.8,.19)*CFrame.Angles(math.rad(-90),math.rad(10),0))
  1382. m60.Handle.Weld.Name = "Weld2"
  1383. weld(m60.Handle, ra, CFrame.new(.6,-.2,0)*CFrame.Angles(math.rad(90),0,math.rad(-90)))
  1384. ---------
  1385.  
  1386.  
  1387.  
  1388. ---Clothing------------------------------------------------------
  1389. wait(1)
  1390. if char:FindFirstChild("Shirt") then
  1391. char.Shirt:Destroy()
  1392. end
  1393.  
  1394. if char:FindFirstChild("Pants") then
  1395. char.Pants:Destroy()
  1396. end
  1397.  
  1398. if char:FindFirstChild("Shirt Graphic") then
  1399. char["Shirt Graphic"]:Destroy()
  1400. end
  1401.  
  1402. if char.Torso:FindFirstChild("roblox") then
  1403. char.Torso.roblox:Destroy()
  1404. end
  1405.  
  1406. local hid0r = char:GetChildren()
  1407. for i=1, #hid0r do
  1408. if (hid0r[i].className == "Accessory") then hid0r[i]:remove()
  1409. end
  1410. end
  1411.  
  1412. local Shirt = Instance.new("Shirt",char)
  1413. Shirt.Name = "Shirt"
  1414. local Pants = Instance.new("Pants",char)
  1415. Pants.Name = "Pants"
  1416. Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=231237881"
  1417. Pants.PantsTemplate = "http://www.roblox.com/asset/?id=231237713"
  1418. -----------------------------------------------------------------
  1419.  
  1420. local gungui = Instance.new("GuiMain", player.PlayerGui)
  1421. gungui.Name = "GunGUI"
  1422.  
  1423. main = Instance.new("Frame", gungui)
  1424. main.ZIndex = 2
  1425. main.Size = UDim2.new(0, 120, 0, 75)
  1426. main.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  1427. main.Name = "Main"
  1428. main.Position = UDim2.new(1, -250, 1, -100)
  1429. main.BorderSizePixel = 0
  1430. main.BackgroundTransparency = 1
  1431. main.BackgroundColor3 = Color3.new(1, 1, 1)
  1432.  
  1433. local amount = Instance.new("TextLabel", main)
  1434. amount.TextStrokeTransparency = 0.8
  1435. amount.BackgroundColor3 = Color3.new(1, 1, 1)
  1436. amount.BackgroundTransparency = 1
  1437. amount.Size = UDim2.new(0.5, 0, 0.5, 0)
  1438. amount.TextColor3 = Color3.new(1, 1, 1)
  1439. amount.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  1440. amount.Text = "["..ammo.."/"..maxammo.."]"
  1441. amount.Position = UDim2.new(0.25, 0, 0, 20)
  1442. amount.Font = Enum.Font.SourceSansBold
  1443. amount.Name = "Amount"
  1444. amount.FontSize = Enum.FontSize.Size36
  1445.  
  1446. borders = Instance.new("Frame", main)
  1447. borders.ZIndex = 2
  1448. borders.Size = UDim2.new(1, 0, 1, 0)
  1449. borders.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  1450. borders.Name = "Borders"
  1451. borders.BackgroundTransparency = 1
  1452. borders.BackgroundColor3 = Color3.new(1, 1, 1)
  1453.  
  1454. gname = Instance.new("TextLabel", main)
  1455. gname.TextStrokeTransparency = 0.8
  1456. gname.BackgroundColor3 = Color3.new(1, 1, 1)
  1457. gname.BackgroundTransparency = 1
  1458. gname.Size = UDim2.new(0.5, 0, 0.5, 0)
  1459. gname.TextColor3 = Color3.new(1, 1, 1)
  1460. gname.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  1461. gname.Text = "M60"
  1462. gname.Position = UDim2.new(0.25, 0, 0, -20)
  1463. gname.Font = Enum.Font.SourceSansBold
  1464. gname.Name = "gname"
  1465. gname.FontSize = Enum.FontSize.Size36
  1466.  
  1467. desc = Instance.new("TextLabel", main)
  1468. desc.TextStrokeTransparency = 0.8
  1469. desc.BackgroundColor3 = Color3.new(1, 1, 1)
  1470. desc.BackgroundTransparency = 1
  1471. desc.Size = UDim2.new(0.5, 0, 0.5, 0)
  1472. desc.TextColor3 = Color3.new(1, 1, 1)
  1473. desc.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  1474. desc.Text = "Vietnam War Era Machine Gun"
  1475. desc.Position = UDim2.new(0.25, 0, 0, 50)
  1476. desc.Font = Enum.Font.SourceSansBold
  1477. desc.Name = "desc"
  1478. desc.FontSize = Enum.FontSize.Size18
  1479.  
  1480. local hitm = Instance.new("ImageLabel", gungui)
  1481. hitm.Visible = false
  1482. hitm.BorderSizePixel = 0
  1483. hitm.Image = "http://www.roblox.com/asset/?id=131358529"
  1484. hitm.Name = "Hit"
  1485. hitm.Position = UDim2.new(0, 938, 0, 198)
  1486. hitm.BorderColor3 = Color3.new(0, 0, 0)
  1487. hitm.BackgroundTransparency = 1
  1488. hitm.Size = UDim2.new(0, 45, 0, 45)
  1489. hitm.BackgroundColor3 = Color3.new(0, 0, 0)
  1490. --mouse.TargetFilter = workspace
  1491. mouse.Move:connect(function(key)
  1492. --mouse.Icon = "http://www.roblox.com/asset/?id=316279304"
  1493. hitm.Position = UDim2.new(0, mouse.X-22.5, 0, mouse.Y-22.5)
  1494. end)
  1495.  
  1496. local firing = false
  1497. local gf1 = Instance.new("Sound")
  1498. gf1.SoundId="http://www.roblox.com/asset/?id=165946448"
  1499. gf1.PlayOnRemove=false
  1500. gf1.Volume=0.8
  1501. gf1.Looped=false
  1502. gf1.Pitch = 1
  1503. gf1.MaxDistance = 60
  1504. gf1.Parent=m60.Barrel
  1505. function fireanim()
  1506. if firing == false then
  1507. firing = true
  1508. gf1:Play()
  1509. ammo = ammo - 1
  1510. amount.Text = "["..ammo.."/"..maxammo.."]"
  1511. animate(ra,.3,CFrame.new(-1,-.4,.2)*CFrame.Angles(math.rad(-100),math.rad(0),0))
  1512. animate(la,.3,CFrame.new(-.2,.8,.19)*CFrame.Angles(math.rad(-100),math.rad(10),0))
  1513. pcall(function()
  1514. local mpos=mouse.Hit.p
  1515. local ray=Ray.new(m60.newp.CFrame.p,(mpos-m60.newp.CFrame.p).unit*999)
  1516. local Ignore = {char}
  1517. local rhit,bpos=game.Workspace:FindPartOnRayWithIgnoreList(ray, Ignore)
  1518. while rhit and rhit.Parent:IsA("Accessory") do
  1519. table.insert(Ignore, rhit)
  1520. rhit, bpos = game.Workspace:FindPartOnRayWithIgnoreList(ray, Ignore)
  1521. return rhit, bpos
  1522. end
  1523. local shell = Instance.new("Part")
  1524. shell.CFrame = m60.Chamber.CFrame * CFrame.fromEulerAnglesXYZ(1.5,0,0)
  1525. shell.Size = Vector3.new(1,1,1)
  1526. shell.BrickColor = BrickColor.new(24)
  1527. shell.BottomSurface = 0
  1528. shell.TopSurface = 0
  1529. shell.Name = "Shell"
  1530. shell.Velocity = m60.Chamber.CFrame.lookVector * -30 + Vector3.new(math.random(-10,10),20,math.random(-10,10))
  1531. shell.RotVelocity = Vector3.new(0,200,0)
  1532. shell.CanCollide = false
  1533. shell.Parent = workspace
  1534. local shellmesh = Instance.new("SpecialMesh")
  1535. shellmesh.Scale = Vector3.new(.1,.25,.1)
  1536. shellmesh.Parent = shell
  1537. game.Debris:AddItem(shell,1)
  1538. coroutine.resume(coroutine.create(function()
  1539. wait()
  1540. m60.MuzzleFlash.Transparency = 0.3
  1541. m60.MuzzleFlash.PointLight.Enabled = true
  1542. wait()
  1543. m60.MuzzleFlash.Transparency = 1
  1544. m60.MuzzleFlash.PointLight.Enabled = false
  1545. end))
  1546. if rhit.Parent:FindFirstChild("Humanoid") then
  1547. local h = rhit.Parent.Humanoid
  1548. local damage = math.random(5,8)
  1549. bleed(rhit,0,1)
  1550. coroutine.resume(coroutine.create(function()
  1551. hitm.Rotation = math.random(1, 360)
  1552. hitm.Visible = true
  1553. wait(.1)
  1554. hitm.Visible = false
  1555. end))
  1556. local hitms = Instance.new("Sound")
  1557. hitms.SoundId="rbxassetid://131864673"
  1558. hitms.PlayOnRemove=false
  1559. hitms.Volume=0.7
  1560. hitms.Looped=false
  1561. hitms.Pitch = 1
  1562. hitms.Parent=player.PlayerGui
  1563. hitms:Play()
  1564. game.Debris:AddItem(hitms,1)
  1565. local hitsound = Instance.new("Sound")
  1566. hitsound.SoundId="rbxassetid://151130059"
  1567. hitsound.PlayOnRemove=false
  1568. hitsound.Volume=.8
  1569. hitsound.MaxDistance = 60
  1570. hitsound.Looped=false
  1571. hitsound.Pitch = 1
  1572. hitsound.Parent=rhit
  1573. hitsound:Play()
  1574. h:TakeDamage(damage)
  1575. local guiMain = Instance.new("BillboardGui",h.Parent.Head)
  1576. guiMain.AlwaysOnTop = true
  1577. guiMain.Size = UDim2.new(5,5,5)
  1578. guiMain.Name = "guiMain"
  1579. local bar3 = Instance.new("TextLabel")
  1580. bar3.Position = UDim2.new(0, 50, 0, 0)
  1581. bar3.Size = UDim2.new(0, 100, 0, 100)
  1582. bar3.Parent = guiMain;
  1583. bar3.BackgroundColor3 = Color3.new(255/255,255/255,255/255)
  1584. bar3.BorderColor3 = Color3.new(27/255,42/255,53/255)
  1585. bar3.BackgroundTransparency = 1
  1586. bar3.BorderSizePixel = 1
  1587. bar3.Text = damage
  1588. bar3.TextColor3 = Color3.new(255/255,0/255,0/255)
  1589. bar3.TextStrokeColor3 = Color3.new(0/255,0/255,0/255)
  1590. bar3.TextStrokeTransparency = 1
  1591. bar3.Font = "SourceSans"
  1592. bar3.FontSize = Enum.FontSize.Size24
  1593. coroutine.resume(coroutine.create(function()
  1594. wait(.2) guiMain:Destroy()
  1595. end))
  1596. end
  1597. end)
  1598.  
  1599. wait(.1)
  1600. animate(ra,.3,CFrame.new(-1,.5,.2)*CFrame.Angles(math.rad(-90),math.rad(0),0))
  1601. animate(la,.3,CFrame.new(-.2,1.8,.19)*CFrame.Angles(math.rad(-90),math.rad(10),0))
  1602. firing = false
  1603. end
  1604. end
  1605.  
  1606.  
  1607. function fireanim2()
  1608. if firing == false then
  1609. firing = true
  1610. gf1:Play()
  1611. ammo = ammo - 1
  1612. amount.Text = "["..ammo.."/"..maxammo.."]"
  1613. animate(ra,.4,CFrame.new(-1,-.4,.2)*CFrame.Angles(math.rad(-100),math.rad(0),0))
  1614. animate(la,.4,CFrame.new(-.2,.8,.19)*CFrame.Angles(math.rad(-100),math.rad(10),0))
  1615. pcall(function()
  1616. local mpos=mouse.Hit.p
  1617. local ray=Ray.new(m60.newp.CFrame.p,(mpos-m60.newp.CFrame.p).unit*999)
  1618. local Ignore = {char}
  1619. local rhit,bpos=game.Workspace:FindPartOnRayWithIgnoreList(ray, Ignore)
  1620. while rhit and rhit.Parent:IsA("Accessory") do
  1621. table.insert(Ignore, rhit)
  1622. rhit, bpos = game.Workspace:FindPartOnRayWithIgnoreList(ray, Ignore)
  1623. return rhit, bpos
  1624. end
  1625. local shell = Instance.new("Part")
  1626. shell.CFrame = m60.Chamber.CFrame * CFrame.fromEulerAnglesXYZ(1.5,0,0)
  1627. shell.Size = Vector3.new(1,1,1)
  1628. shell.BrickColor = BrickColor.new(24)
  1629. shell.BottomSurface = 0
  1630. shell.TopSurface = 0
  1631. shell.Name = "Shell"
  1632. shell.Velocity = m60.Chamber.CFrame.lookVector * -30 + Vector3.new(math.random(-10,10),20,math.random(-10,10))
  1633. shell.RotVelocity = Vector3.new(0,200,0)
  1634. shell.CanCollide = false
  1635. shell.Parent = workspace
  1636. local shellmesh = Instance.new("SpecialMesh")
  1637. shellmesh.Scale = Vector3.new(.1,.25,.1)
  1638. shellmesh.Parent = shell
  1639. game.Debris:AddItem(shell,1)
  1640. coroutine.resume(coroutine.create(function()
  1641. wait()
  1642. m60.MuzzleFlash.Transparency = 0.3
  1643. m60.MuzzleFlash.PointLight.Enabled = true
  1644. wait()
  1645. m60.MuzzleFlash.Transparency = 1
  1646. m60.MuzzleFlash.PointLight.Enabled = false
  1647. end))
  1648. if rhit.Parent:FindFirstChild("Humanoid") then
  1649. local h = rhit.Parent.Humanoid
  1650. local damage = math.random(5,8)
  1651. bleed(rhit,0,1)
  1652. coroutine.resume(coroutine.create(function()
  1653. hitm.Rotation = math.random(1, 360)
  1654. hitm.Visible = true
  1655. wait(.1)
  1656. hitm.Visible = false
  1657. end))
  1658. local hitms = Instance.new("Sound")
  1659. hitms.SoundId="rbxassetid://131864673"
  1660. hitms.PlayOnRemove=false
  1661. hitms.Volume=0.7
  1662. hitms.Looped=false
  1663. hitms.Pitch = 1
  1664. hitms.Parent=player.PlayerGui
  1665. hitms:Play()
  1666. game.Debris:AddItem(hitms,1)
  1667. local hitsound = Instance.new("Sound")
  1668. hitsound.SoundId="rbxassetid://151130059"
  1669. hitsound.PlayOnRemove=false
  1670. hitsound.Volume=.8
  1671. hitsound.MaxDistance = 60
  1672. hitsound.Looped=false
  1673. hitsound.Pitch = 1
  1674. hitsound.Parent=rhit
  1675. hitsound:Play()
  1676. h:TakeDamage(damage)
  1677. local guiMain = Instance.new("BillboardGui",h.Parent.Head)
  1678. guiMain.AlwaysOnTop = true
  1679. guiMain.Size = UDim2.new(5,5,5)
  1680. guiMain.Name = "guiMain"
  1681. local bar3 = Instance.new("TextLabel")
  1682. bar3.Position = UDim2.new(0, 50, 0, 0)
  1683. bar3.Size = UDim2.new(0, 100, 0, 100)
  1684. bar3.Parent = guiMain;
  1685. bar3.BackgroundColor3 = Color3.new(255/255,255/255,255/255)
  1686. bar3.BorderColor3 = Color3.new(27/255,42/255,53/255)
  1687. bar3.BackgroundTransparency = 1
  1688. bar3.BorderSizePixel = 1
  1689. bar3.Text = damage
  1690. bar3.TextColor3 = Color3.new(255/255,0/255,0/255)
  1691. bar3.TextStrokeColor3 = Color3.new(0/255,0/255,0/255)
  1692. bar3.TextStrokeTransparency = 1
  1693. bar3.Font = "SourceSans"
  1694. bar3.FontSize = Enum.FontSize.Size24
  1695. coroutine.resume(coroutine.create(function()
  1696. wait(.2) guiMain:Destroy()
  1697. end))
  1698. end
  1699. end)
  1700.  
  1701. wait(.1)
  1702. animate(ra,.4,CFrame.new(-1,.5,.2)*CFrame.Angles(math.rad(-90),math.rad(0),0))
  1703. animate(la,.4,CFrame.new(-.2,1.8,.19)*CFrame.Angles(math.rad(-90),math.rad(10),0))
  1704. firing = false
  1705. end
  1706. end
  1707.  
  1708. function castray()
  1709. pcall(function()
  1710. local mpos=mouse.Hit.p
  1711. local ray=Ray.new(m60.newp.CFrame.p,(mpos-m60.newp.CFrame.p).unit*999)
  1712. local Ignore = {char}
  1713. local rhit,bpos=game.Workspace:FindPartOnRayWithIgnoreList(ray, Ignore)
  1714. while rhit and rhit.Parent:IsA("Accessory") do
  1715. table.insert(Ignore, rhit)
  1716. rhit, bpos = game.Workspace:FindPartOnRayWithIgnoreList(ray, Ignore)
  1717. return rhit, bpos
  1718. end
  1719. local shell = Instance.new("Part")
  1720. shell.CFrame = m60.Chamber.CFrame * CFrame.fromEulerAnglesXYZ(1.5,0,0)
  1721. shell.Size = Vector3.new(1,1,1)
  1722. shell.BrickColor = BrickColor.new(24)
  1723. shell.BottomSurface = 0
  1724. shell.TopSurface = 0
  1725. shell.Name = "Shell"
  1726. shell.Velocity = m60.Chamber.CFrame.lookVector * -30 + Vector3.new(math.random(-10,10),20,math.random(-10,10))
  1727. shell.RotVelocity = Vector3.new(0,200,0)
  1728. shell.CanCollide = false
  1729. shell.Parent = workspace
  1730. local shellmesh = Instance.new("SpecialMesh")
  1731. shellmesh.Scale = Vector3.new(.1,.25,.1)
  1732. shellmesh.Parent = shell
  1733. game.Debris:AddItem(shell,1)
  1734. coroutine.resume(coroutine.create(function()
  1735. wait()
  1736. m60.MuzzleFlash.Transparency = 0.3
  1737. m60.MuzzleFlash.PointLight.Enabled = true
  1738. wait()
  1739. m60.MuzzleFlash.Transparency = 1
  1740. m60.MuzzleFlash.PointLight.Enabled = false
  1741. end))
  1742. if rhit.Parent:FindFirstChild("Humanoid") then
  1743. local h = rhit.Parent.Humanoid
  1744. if rhit.Parent:FindFirstChild("ForceField") then rhit.Parent.ForceField:Destroy() end
  1745. local damage = math.random(5,8)
  1746. bleed(rhit,0,1)
  1747. coroutine.resume(coroutine.create(function()
  1748. hitm.Rotation = math.random(1, 360)
  1749. hitm.Visible = true
  1750. wait(.1)
  1751. hitm.Visible = false
  1752. end))
  1753. local hitms = Instance.new("Sound")
  1754. hitms.SoundId="rbxassetid://131864673"
  1755. hitms.PlayOnRemove=false
  1756. hitms.Volume=0.7
  1757. hitms.Looped=false
  1758. hitms.Pitch = 1
  1759. hitms.Parent=player.PlayerGui
  1760. hitms:Play()
  1761. game.Debris:AddItem(hitms,1)
  1762. local hitsound = Instance.new("Sound")
  1763. hitsound.SoundId="rbxassetid://151130059"
  1764. hitsound.PlayOnRemove=false
  1765. hitsound.Volume=.8
  1766. hitsound.MaxDistance = 60
  1767. hitsound.Looped=false
  1768. hitsound.Pitch = 1
  1769. hitsound.Parent=rhit
  1770. hitsound:Play()
  1771. h:TakeDamage(damage)
  1772. local guiMain = Instance.new("BillboardGui",h.Parent.Head)
  1773. guiMain.AlwaysOnTop = true
  1774. guiMain.Size = UDim2.new(5,5,5)
  1775. guiMain.Name = "guiMain"
  1776. local bar3 = Instance.new("TextLabel")
  1777. bar3.Position = UDim2.new(0, 50, 0, 0)
  1778. bar3.Size = UDim2.new(0, 100, 0, 100)
  1779. bar3.Parent = guiMain;
  1780. bar3.BackgroundColor3 = Color3.new(255/255,255/255,255/255)
  1781. bar3.BorderColor3 = Color3.new(27/255,42/255,53/255)
  1782. bar3.BackgroundTransparency = 1
  1783. bar3.BorderSizePixel = 1
  1784. bar3.Text = damage
  1785. bar3.TextColor3 = Color3.new(255/255,0/255,0/255)
  1786. bar3.TextStrokeColor3 = Color3.new(0/255,0/255,0/255)
  1787. bar3.TextStrokeTransparency = 1
  1788. bar3.Font = "SourceSans"
  1789. bar3.FontSize = Enum.FontSize.Size24
  1790. coroutine.resume(coroutine.create(function()
  1791. wait(.2) guiMain:Destroy()
  1792. end))
  1793. end
  1794. end)
  1795. end
  1796.  
  1797. function fireanim3()
  1798. if firing == false then
  1799. firing = true
  1800. gf1:Play()
  1801. ammo = ammo - 1
  1802. amount.Text = "["..ammo.."/"..maxammo.."]"
  1803. animate(ra,.4,CFrame.new(-1,-.4,.2)*CFrame.Angles(math.rad(-100),math.rad(0),0))
  1804. animate(la,.4,CFrame.new(-.2,.8,.19)*CFrame.Angles(math.rad(-100),math.rad(10),0))
  1805. castray()
  1806. wait(.1)
  1807. animate(ra,.4,CFrame.new(-1,.5,.2)*CFrame.Angles(math.rad(-90),math.rad(0),0))
  1808. animate(la,.4,CFrame.new(-.2,1.8,.19)*CFrame.Angles(math.rad(-90),math.rad(10),0))
  1809.  
  1810. wait(.1)
  1811. animate(ra,.4,CFrame.new(-1,.5,.2)*CFrame.Angles(math.rad(-90),math.rad(-10),0))
  1812. animate(la,.4,CFrame.new(-.2,1.8,.19)*CFrame.Angles(math.rad(-90),math.rad(0),0))
  1813. wait(.1)
  1814. gf1:Play()
  1815. ammo = ammo - 1
  1816. amount.Text = "["..ammo.."/"..maxammo.."]"
  1817. animate(ra,.4,CFrame.new(-1,-.4,.2)*CFrame.Angles(math.rad(-100),math.rad(-10),0))
  1818. animate(la,.4,CFrame.new(-.2,.8,.19)*CFrame.Angles(math.rad(-100),math.rad(0),0))
  1819. castray()
  1820.  
  1821. wait(.1)
  1822. animate(ra,.4,CFrame.new(-1,.5,.2)*CFrame.Angles(math.rad(-90),math.rad(0),0))
  1823. animate(la,.4,CFrame.new(-.2,1.8,.19)*CFrame.Angles(math.rad(-90),math.rad(10),0))
  1824.  
  1825. wait(.1)
  1826. animate(ra,.4,CFrame.new(-1,.5,.2)*CFrame.Angles(math.rad(-90),math.rad(20),0))
  1827. animate(la,.4,CFrame.new(-.2,1.8,.19)*CFrame.Angles(math.rad(-90),math.rad(20),0))
  1828.  
  1829. wait(.1)
  1830. gf1:Play()
  1831. ammo = ammo - 1
  1832. amount.Text = "["..ammo.."/"..maxammo.."]"
  1833. animate(ra,.4,CFrame.new(-1,-.4,.2)*CFrame.Angles(math.rad(-100),math.rad(10),0))
  1834. animate(la,.4,CFrame.new(-.2,.8,.19)*CFrame.Angles(math.rad(-100),math.rad(10),0))
  1835. castray()
  1836.  
  1837. wait(.1)
  1838. animate(ra,.4,CFrame.new(-1,.5,.2)*CFrame.Angles(math.rad(-90),math.rad(0),0))
  1839. animate(la,.4,CFrame.new(-.2,1.8,.19)*CFrame.Angles(math.rad(-90),math.rad(10),0))
  1840.  
  1841. firing = false
  1842. end
  1843. end
  1844.  
  1845. local mousedown = false
  1846. mouse.Button1Down:connect(function()
  1847. if mousedown == false and firing == false then
  1848. mousedown = true
  1849. while mousedown == true do wait(.1)
  1850. if firing == false then
  1851. fireanim()
  1852. end
  1853. end
  1854. end
  1855. end)
  1856. mouse.Button1Up:connect(function()
  1857. mousedown = false
  1858. end)
  1859.  
  1860.  
  1861. local animating = false
  1862. function sprintanim()
  1863. if animating == false then
  1864. animating = true
  1865. animate(ra,.2,CFrame.new(-1,.5,.2)*CFrame.Angles(math.rad(-80),math.rad(-40),0))
  1866. animate(la,.2,CFrame.new(-.2,1.8,.19)*CFrame.Angles(math.rad(-80),math.rad(-40),0))
  1867. wait(.2)
  1868. animate(ra,.2,CFrame.new(-1,.5,.2)*CFrame.Angles(math.rad(-80),math.rad(10),0))
  1869. animate(la,.2,CFrame.new(-.2,1.8,.19)*CFrame.Angles(math.rad(-80),math.rad(10),0))
  1870. wait(.2)
  1871. animate(ra,.2,CFrame.new(-1,.5,.2)*CFrame.Angles(math.rad(-90),math.rad(0),0))
  1872. animate(la,.2,CFrame.new(-.2,1.8,.19)*CFrame.Angles(math.rad(-90),math.rad(0),0))
  1873. animating = false
  1874. end
  1875. end
  1876.  
  1877.  
  1878. local sprinting = false
  1879. mouse.KeyDown:connect(function(sprint)
  1880. if sprint:byte() == 48 and firing == false and animating == false then
  1881. if sprinting == false then
  1882. sprinting = true
  1883. char.Humanoid.WalkSpeed = 30
  1884. while sprinting == true and firing == false and animating == false and sprinting == true do wait(.1)
  1885. sprintanim()
  1886. end
  1887. end
  1888. end
  1889. end)
  1890. mouse.KeyUp:connect(function(sprint)
  1891. if sprint:byte() == 48 and firing == false then
  1892. sprinting = false
  1893. char.Humanoid.WalkSpeed = 16
  1894. end
  1895. end)
  1896.  
  1897. local cpressed = false
  1898. local cooldown2 = false
  1899. local walkspeed = nil
  1900. mouse.KeyDown:connect(function(key)
  1901. if key == "c" and cooldown2 == false then
  1902. cpressed = true
  1903. cooldown2 = true
  1904. walkspeed = char.Humanoid.WalkSpeed
  1905. tor["Right Hip"].Part1 = nil
  1906. tor["Left Hip"].Part1 = nil
  1907. weld(ll, tor, CFrame.new(.5,2,0)*CFrame.Angles(math.rad(0),0,0))
  1908. weld(rl, tor, CFrame.new(-.5,2,0)*CFrame.Angles(math.rad(0),0,0))
  1909.  
  1910. coroutine.resume(coroutine.create(function()
  1911. animate2(rl,.2,CFrame.new(-.5,1,1)*CFrame.Angles(math.rad(40),0,0))
  1912. end))
  1913. animate2(ll,.2,CFrame.new(.5,1,1)*CFrame.Angles(math.rad(0),0,0))
  1914. camera.CameraSubject = char.Head
  1915. local collider = Instance.new("Part",char)
  1916. collider.Transparency = 1
  1917. collider.CanCollide = true
  1918. collider.Size = Vector3.new(2, 0.2, 3)
  1919. collider.Name = "Collider"
  1920. collider:BreakJoints()
  1921. weld(collider, char.Head, CFrame.new(0,.5,0))
  1922. char.HumanoidRootPart.RootJoint.Part1 = collider
  1923. char.Humanoid.WalkSpeed = 5
  1924. cooldown2 = false
  1925. end
  1926. end)
  1927.  
  1928. mouse.KeyUp:connect(function(key)
  1929. if key == "c" then
  1930. cpressed = false
  1931. coroutine.resume(coroutine.create(function()
  1932. animate(rl,.2,CFrame.new(-.5,2,1)*CFrame.Angles(math.rad(0),0,0))
  1933. end))
  1934. animate(ll,.2,CFrame.new(.5,2,1)*CFrame.Angles(math.rad(0),0,0))
  1935. camera.CameraSubject = char.Humanoid
  1936. char.HumanoidRootPart.RootJoint.Part1 = char.Torso
  1937. char.Collider:Destroy()
  1938. if rl:FindFirstChild("Weld") then rl.Weld:Destroy() end
  1939. tor["Right Hip"].Part1 = rl
  1940. if ll:FindFirstChild("Weld") then ll.Weld:Destroy() end
  1941. tor["Left Hip"].Part1 = ll
  1942. char.Humanoid.WalkSpeed = walkspeed
  1943. end
  1944. end)
  1945.  
  1946. local dth2 = Instance.new("Sound")
  1947. dth2.SoundId="rbxasset://sounds/uuhhh.wav"
  1948. dth2.PlayOnRemove=false
  1949. dth2.Volume=0.7
  1950. dth2.Looped=false
  1951. dth2.Pitch = 1
  1952. dth2.Parent = handle
  1953.  
  1954. function suicide()
  1955. firing = true
  1956. animate(ra,.2,CFrame.new(-1,.5,.2)*CFrame.Angles(math.rad(-90),math.rad(0),0))
  1957. animate(la,.2,CFrame.new(-.2,1.8,.19)*CFrame.Angles(math.rad(-90),math.rad(0),0))
  1958. wait()
  1959. animate(ra,.2,CFrame.new(-1,.5,.2)*CFrame.Angles(math.rad(-90),math.rad(-20),0))
  1960. animate(la,.2,CFrame.new(1,1,.2)*CFrame.Angles(math.rad(-90),math.rad(20),0))
  1961. m60.Handle.Weld.C0 = CFrame.new(-3.2,-.2,.8)*CFrame.Angles(math.rad(90),math.rad(40),math.rad(60))
  1962. wait(1)
  1963. gf1:Play()
  1964. ammo = ammo - 1
  1965. amount.Text = "["..ammo.."/"..maxammo.."]"
  1966. local shell = Instance.new("Part")
  1967. shell.CFrame = m60.Chamber.CFrame * CFrame.fromEulerAnglesXYZ(1.5,0,0)
  1968. shell.Size = Vector3.new(1,1,1)
  1969. shell.BrickColor = BrickColor.new(24)
  1970. shell.BottomSurface = 0
  1971. shell.TopSurface = 0
  1972. shell.Name = "Shell"
  1973. shell.Velocity = m60.Chamber.CFrame.lookVector * -30 + Vector3.new(math.random(-10,10),20,math.random(-10,10))
  1974. shell.RotVelocity = Vector3.new(0,200,0)
  1975. shell.CanCollide = false
  1976. shell.Parent = workspace
  1977. local shellmesh = Instance.new("SpecialMesh")
  1978. shellmesh.Scale = Vector3.new(.1,.25,.1)
  1979. shellmesh.Parent = shell
  1980. game.Debris:AddItem(shell,1)
  1981. coroutine.resume(coroutine.create(function()
  1982. wait()
  1983. m60.MuzzleFlash.Transparency = 0.3
  1984. m60.MuzzleFlash.PointLight.Enabled = true
  1985. wait()
  1986. m60.MuzzleFlash.Transparency = 1
  1987. m60.MuzzleFlash.PointLight.Enabled = false
  1988. end))
  1989. char.Head.BrickColor = BrickColor.new("Crimson")
  1990. bleed(char.Head,0,100,50)
  1991.  
  1992. m60.Handle.Weld:Destroy()
  1993. m60.Parent = workspace
  1994. animate(ra,.2,CFrame.new(-1.5,0,0)*CFrame.Angles(math.rad(0),math.rad(0),0))
  1995. animate(la,.2,CFrame.new(1.5,0,0)*CFrame.Angles(math.rad(0),math.rad(0),0))
  1996. local bodygyro = Instance.new("BodyGyro",char.Torso)
  1997. bodygyro.CFrame = CFrame.new(0,0,0)*CFrame.Angles(0,0,math.rad(90))
  1998. wait()
  1999. char.Humanoid.PlatformStand = true
  2000. if char.Humanoid.Health >100 then
  2001. char.Humanoid.Health = 100
  2002. end
  2003.  
  2004. while char.Humanoid.Health >0 do wait(.5)
  2005. char.Humanoid:TakeDamage(10)
  2006. local dths2 = dth2:Clone()
  2007. dths2.Parent = char.Head
  2008. dths2.Pitch = math.random(90,110)/100
  2009. dths2:Play()
  2010. game.Debris:AddItem(dths2,.5)
  2011. end
  2012. end
  2013.  
  2014. local swingsound = Instance.new("Sound")
  2015. swingsound.SoundId="rbxassetid://210946558"
  2016. swingsound.PlayOnRemove=false
  2017. swingsound.Volume=.5
  2018. swingsound.MaxDistance = 60
  2019. swingsound.Looped=false
  2020. swingsound.Pitch = 1
  2021. swingsound.Parent=la
  2022.  
  2023. function punchanim()
  2024. animate(la,.2,CFrame.new(1,1,.19)*CFrame.Angles(math.rad(-90),math.rad(10),0))
  2025. wait(.2)
  2026. swingsound:Play()
  2027. animate(la,.2,CFrame.new(1,.1,.19)*CFrame.Angles(math.rad(-90),math.rad(-20),0))
  2028. wait(.2)
  2029. animate(la,.2,CFrame.new(1,2,.19)*CFrame.Angles(math.rad(-90),math.rad(20),0))
  2030. for _,guy in pairs(workspace:GetChildren()) do
  2031. if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("Torso") and guy~=char and (guy:FindFirstChild("Torso").Position-la.Position).magnitude<5 then
  2032. guy.Humanoid:TakeDamage(math.random(10,12))
  2033. local hitsound = Instance.new("Sound")
  2034. hitsound.SoundId="rbxassetid://743886825"
  2035. hitsound.PlayOnRemove=false
  2036. hitsound.Volume=.5
  2037. hitsound.MaxDistance = 60
  2038. hitsound.Looped=false
  2039. hitsound.Pitch = 1
  2040. hitsound.Parent=guy.Torso
  2041. hitsound:Play()
  2042. game.Debris:AddItem(hitsound,1)
  2043. guy.Humanoid.PlatformStand = true
  2044. end
  2045. end
  2046.  
  2047. wait(.2)
  2048. animate(la,.2,CFrame.new(1,1,.19)*CFrame.Angles(math.rad(-90),math.rad(10),0))
  2049. wait(.2)
  2050. animate(la,.2,CFrame.new(-.2,1.8,.19)*CFrame.Angles(math.rad(-90),math.rad(10),0))
  2051.  
  2052. end
  2053.  
  2054. mouse.KeyDown:connect(function(key)
  2055. if key == "f" and firing == false then
  2056. for i = 1,3 do wait()
  2057. fireanim2()
  2058. end
  2059. end
  2060. end)
  2061.  
  2062. mouse.KeyDown:connect(function(key)
  2063. if key == "g" and firing == false then
  2064. fireanim3()
  2065. end
  2066. end)
  2067.  
  2068. mouse.KeyDown:connect(function(key)
  2069. if key == "z" and firing == false then
  2070. punchanim()
  2071. end
  2072. end)
  2073.  
  2074.  
  2075. mouse.KeyDown:connect(function(key)
  2076. if key == "e" then
  2077. suicide()
  2078. end
  2079. end)
  2080.  
  2081. while true do wait()
  2082. pcall(function()
  2083. if Vector3.new(tor.Velocity.x,0,tor.Velocity.z).magnitude > 1 and cpressed == true then
  2084. if ll:FindFirstChild("Weld") and rl:FindFirstChild("Weld") then
  2085. animate2(ll,.2,CFrame.new(.5,1,1)*CFrame.Angles(math.rad(40),0,0))
  2086. animate2(rl,.2,CFrame.new(-.5,1,1)*CFrame.Angles(math.rad(0),0,0))
  2087. wait(.01)
  2088. animate2(rl,.2,CFrame.new(-.5,1,1)*CFrame.Angles(math.rad(40),0,0))
  2089. animate2(ll,.2,CFrame.new(.5,1,1)*CFrame.Angles(math.rad(0),0,0))
  2090. end
  2091. end
  2092. end)
  2093. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement