Advertisement
EdgyHedgehog

M60 Soilder

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