Advertisement
duplicat

m60

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