Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- akm = Instance.new("Tool",game.Players.LocalPlayer.Backpack)
- akm.GripPos = Vector3.new(0,-0.20000000298023,0.20000000298023)
- akm.Grip = CFrame.new(0,-0.20000000298023,0.20000000298023) * CFrame.Angles(-0, 0.313845962286, 0)
- akm.GripForward = Vector3.new(-0.308719009161,-0,-0.95115327835083)
- akm.Name = "AKM"
- akm.GripRight = Vector3.new(0.95115327835083,0,-0.308719009161)
- smokepart = Instance.new("Part",akm)
- smokepart.FormFactor = Enum.FormFactor.Custom
- smokepart.TopSurface = Enum.SurfaceType.Smooth
- smokepart.Anchored = false
- smokepart.Material = Enum.Material.SmoothPlastic
- smokepart.Size = Vector3.new(0.20000000298023,1.1185201406479,0.20000000298023)
- smokepart.Name = "SmokePart"
- smokepart.Locked = true
- smokepart.CFrame = CFrame.new(51.685955047607,1.0509999990463,-79.087982177734) * CFrame.Angles(-1.5707956552505, -9.4048732535157e-007, -3.1415927410126)
- smokepart.BrickColor = BrickColor.new("Dark stone grey")
- smokepart.Friction = 0.30000001192093
- smokepart.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("CylinderMesh",smokepart)
- mesh.Scale = Vector3.new(0.77777779102325,1,0.62962853908539)
- aimpart = Instance.new("Part",akm)
- aimpart.FormFactor = Enum.FormFactor.Custom
- aimpart.Transparency = 1
- aimpart.TopSurface = Enum.SurfaceType.Smooth
- aimpart.Anchored = false
- aimpart.Material = Enum.Material.SmoothPlastic
- aimpart.Size = Vector3.new(0.20000000298023,0.20000000298023,0.20000000298023)
- aimpart.Name = "AimPart"
- aimpart.Locked = true
- aimpart.CFrame = CFrame.new(51.689979553223,1.4399999380112,-82.319984436035) * CFrame.Angles(-3.1415927410126, 0, -3.1415927410126)
- aimpart.BrickColor = BrickColor.new("Brown")
- aimpart.Friction = 0.30000001192093
- aimpart.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",aimpart)
- mesh.Scale = Vector3.new(0.11111108213663,0.22222222387791,0.14814814925194)
- handle = Instance.new("Part",akm)
- handle.FormFactor = Enum.FormFactor.Custom
- handle.Transparency = 1
- handle.TopSurface = Enum.SurfaceType.Smooth
- handle.Anchored = false
- handle.Material = Enum.Material.SmoothPlastic
- handle.Size = Vector3.new(0.25925925374031,0.61481547355652,0.22222222387791)
- handle.Name = "Handle"
- handle.Locked = true
- handle.CFrame = CFrame.new(51.422946929932,0.783999979496,-81.052978515625) * CFrame.Angles(-3.1415927410126, 0.26179939508438, -3.1415927410126)
- handle.BrickColor = BrickColor.new("Brown")
- handle.Friction = 0.30000001192093
- handle.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",handle)
- reload = Instance.new("Sound",handle)
- reload.Name = "Reload"
- reload.Volume = 1
- reload.SoundId = "http://www.roblox.com/asset/?id=132456328"
- shoot = Instance.new("Sound",handle)
- shoot.Pitch = 0.80000001192093
- shoot.Name = "Shoot"
- shoot.Volume = 0.69999998807907
- shoot.SoundId = "http://www.roblox.com/asset/?id=139711658"
- part = Instance.new("Part",akm)
- part.FormFactor = Enum.FormFactor.Custom
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Material = Enum.Material.SmoothPlastic
- part.Size = Vector3.new(0.20000000298023,0.20000000298023,0.20000000298023)
- part.Locked = true
- part.CFrame = CFrame.new(51.689979553223,1.3729989528656,-80.320991516113) * CFrame.Angles(-0, 0, -0)
- part.BrickColor = BrickColor.new("Dark stone grey")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("SpecialMesh",part)
- mesh.Scale = Vector3.new(0.77777808904648,0.14814813435078,0.48148131370544)
- mesh.MeshType = Enum.MeshType.Wedge
- part = Instance.new("Part",akm)
- part.FormFactor = Enum.FormFactor.Custom
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Material = Enum.Material.SmoothPlastic
- part.Size = Vector3.new(0.20000000298023,0.20000000298023,0.20000000298023)
- part.Locked = true
- part.CFrame = CFrame.new(51.652965545654,1.4009989500046,-78.824989318848) * CFrame.Angles(-0, 0, 0.52359879016876)
- part.BrickColor = BrickColor.new("Dark stone grey")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part)
- mesh.Scale = Vector3.new(0.037037037312984,0.22222222387791,0.37037035822868)
- part = Instance.new("Part",akm)
- part.FormFactor = Enum.FormFactor.Custom
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Material = Enum.Material.SmoothPlastic
- part.Size = Vector3.new(0.72592586278915,0.20000000298023,0.20000000298023)
- part.Locked = true
- part.CFrame = CFrame.new(51.563972473145,1.3139970302582,-79.998977661133) * CFrame.Angles(-0, 1.5701057910919, -0)
- part.BrickColor = BrickColor.new("Brown")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("SpecialMesh",part)
- mesh.Scale = Vector3.new(1,0.29629626870155,0.18518517911434)
- mesh.MeshType = Enum.MeshType.Wedge
- part = Instance.new("Part",akm)
- part.FormFactor = Enum.FormFactor.Custom
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Material = Enum.Material.SmoothPlastic
- part.Size = Vector3.new(0.20000000298023,0.20000000298023,0.20000000298023)
- part.Locked = true
- part.CFrame = CFrame.new(51.689979553223,1.3810000419617,-78.824989318848) * CFrame.Angles(-0, 0, -0)
- part.BrickColor = BrickColor.new("Dark stone grey")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part)
- mesh.Scale = Vector3.new(0.33333322405815,0.074074074625969,0.37037035822868)
- part = Instance.new("Part",akm)
- part.FormFactor = Enum.FormFactor.Custom
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Reflectance = 0.20000000298023
- part.Anchored = false
- part.Material = Enum.Material.SmoothPlastic
- part.Size = Vector3.new(0.20000000298023,0.20000000298023,0.20000000298023)
- part.Locked = true
- part.CFrame = CFrame.new(51.689979553223,1.3069989681244,-82.020988464355) * CFrame.Angles(-0, 0, -0)
- part.BrickColor = BrickColor.new("Dark stone grey")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("SpecialMesh",part)
- mesh.Scale = Vector3.new(0.40740758180618,0.37037035822868,0.22222183644772)
- mesh.MeshType = Enum.MeshType.Wedge
- part = Instance.new("Part",akm)
- part.FormFactor = Enum.FormFactor.Custom
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Reflectance = 0.20000000298023
- part.Anchored = false
- part.Material = Enum.Material.SmoothPlastic
- part.Size = Vector3.new(1.5037040710449,0.20000000298023,0.20000000298023)
- part.Locked = true
- part.CFrame = CFrame.new(51.807964324951,1.2329989671707,-81.290985107422) * CFrame.Angles(-0, -1.5707963705063, 0)
- part.BrickColor = BrickColor.new("Dark stone grey")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("SpecialMesh",part)
- mesh.Scale = Vector3.new(1,0.37037035822868,0.18518517911434)
- mesh.MeshType = Enum.MeshType.Wedge
- part = Instance.new("Part",akm)
- part.FormFactor = Enum.FormFactor.Custom
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Material = Enum.Material.SmoothPlastic
- part.Size = Vector3.new(0.20000000298023,0.20000000298023,0.32592597603798)
- part.Locked = true
- part.CFrame = CFrame.new(51.689979553223,1.3509989976883,-80.435989379883) * CFrame.Angles(-0, 0, -0)
- part.BrickColor = BrickColor.new("Dark stone grey")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part)
- mesh.Scale = Vector3.new(0.77777773141861,0.07407408207655,1)
- part = Instance.new("Part",akm)
- part.FormFactor = Enum.FormFactor.Custom
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Material = Enum.Material.SmoothPlastic
- part.Size = Vector3.new(0.20000000298023,0.20000000298023,0.22962953150272)
- part.Locked = true
- part.CFrame = CFrame.new(51.689979553223,1.3700000047684,-80.483985900879) * CFrame.Angles(-3.1415927410126, 0, -3.1415927410126)
- part.BrickColor = BrickColor.new("Dark stone grey")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("SpecialMesh",part)
- mesh.Scale = Vector3.new(0.77777808904648,0.11111110448837,1)
- mesh.MeshType = Enum.MeshType.Wedge
- part = Instance.new("Part",akm)
- part.FormFactor = Enum.FormFactor.Custom
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Material = Enum.Material.SmoothPlastic
- part.Size = Vector3.new(0.21481476724148,0.20000000298023,0.20000000298023)
- part.Locked = true
- part.CFrame = CFrame.new(51.689979553223,1.4149990081787,-80.561988830566) * CFrame.Angles(0.24789763987064, 0, -0)
- part.BrickColor = BrickColor.new("Dark stone grey")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part)
- mesh.Scale = Vector3.new(1,0.074074074625969,0.18518501520157)
- part = Instance.new("Part",akm)
- part.FormFactor = Enum.FormFactor.Custom
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Reflectance = 0.20000000298023
- part.Anchored = false
- part.Material = Enum.Material.SmoothPlastic
- part.Size = Vector3.new(0.20000000298023,0.20000000298023,1.355558514595)
- part.Locked = true
- part.CFrame = CFrame.new(51.689979553223,1.3069989681244,-81.320991516113) * CFrame.Angles(-0, 0, -0)
- part.BrickColor = BrickColor.new("Dark stone grey")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part)
- mesh.Scale = Vector3.new(0.40740755200386,0.37036967277527,1)
- part = Instance.new("Part",akm)
- part.FormFactor = Enum.FormFactor.Custom
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Material = Enum.Material.SmoothPlastic
- part.Size = Vector3.new(0.28888890147209,0.20000000298023,0.72592878341675)
- part.Locked = true
- part.CFrame = CFrame.new(51.689979553223,1.2469999790192,-79.998977661133) * CFrame.Angles(-0, 0, -0)
- part.BrickColor = BrickColor.new("Brown")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part)
- mesh.Scale = Vector3.new(1,0.37036892771721,1)
- part = Instance.new("Part",akm)
- part.FormFactor = Enum.FormFactor.Custom
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Material = Enum.Material.SmoothPlastic
- part.Size = Vector3.new(0.20000000298023,0.38518509268761,0.42222213745117)
- part.Locked = true
- part.CFrame = CFrame.new(51.685955047607,0.28900000452995,-80.758987426758) * CFrame.Angles(-0.78539818525314, 0, -0)
- part.BrickColor = BrickColor.new("Dark stone grey")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part)
- mesh.Scale = Vector3.new(0.55555552244186,1,1)
- part = Instance.new("Part",akm)
- part.FormFactor = Enum.FormFactor.Custom
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Material = Enum.Material.SmoothPlastic
- part.Size = Vector3.new(0.28888890147209,0.20000000298023,0.20000000298023)
- part.Locked = true
- part.CFrame = CFrame.new(51.689979553223,1.1959979534149,-79.709983825684) * CFrame.Angles(-0, 0, -0)
- part.BrickColor = BrickColor.new("Brown")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part)
- mesh.Scale = Vector3.new(1,0.14814814925194,0.74074083566666)
- part = Instance.new("Part",akm)
- part.FormFactor = Enum.FormFactor.Custom
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Material = Enum.Material.SmoothPlastic
- part.Size = Vector3.new(0.30370369553566,0.2740738093853,0.20000000298023)
- part.Locked = true
- part.CFrame = CFrame.new(51.689979553223,1.0589989423752,-80.446975708008) * CFrame.Angles(-0, 0, -0)
- part.BrickColor = BrickColor.new("Brown")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part)
- mesh.Scale = Vector3.new(1,1,0.85186696052551)
- part = Instance.new("Part",akm)
- part.FormFactor = Enum.FormFactor.Custom
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Material = Enum.Material.SmoothPlastic
- part.Size = Vector3.new(0.20000000298023,0.20000000298023,0.20000000298023)
- part.Locked = true
- part.CFrame = CFrame.new(51.630954742432,1.4439979791641,-80.553985595703) * CFrame.Angles(0.24789763987064, 0, -0)
- part.BrickColor = BrickColor.new("Dark stone grey")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part)
- mesh.Scale = Vector3.new(0.48148128390312,0.22222222387791,0.18518501520157)
- part = Instance.new("Part",akm)
- part.FormFactor = Enum.FormFactor.Custom
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Material = Enum.Material.SmoothPlastic
- part.Size = Vector3.new(0.20000000298023,0.31111294031143,0.20000000298023)
- part.Locked = true
- part.CFrame = CFrame.new(51.685955047607,1.1669989824295,-79.173980712891) * CFrame.Angles(2.3561944961548, -2.5609111276026e-007, -3.141592502594)
- part.BrickColor = BrickColor.new("Dark stone grey")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("CylinderMesh",part)
- mesh.Scale = Vector3.new(0.77777779102325,1,0.62962853908539)
- part = Instance.new("Part",akm)
- part.FormFactor = Enum.FormFactor.Custom
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Material = Enum.Material.SmoothPlastic
- part.Size = Vector3.new(0.20000000298023,0.28148150444031,0.20000000298023)
- part.Locked = true
- part.CFrame = CFrame.new(51.689979553223,1.2329989671707,-78.824989318848) * CFrame.Angles(-0, 0, -0)
- part.BrickColor = BrickColor.new("Dark stone grey")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part)
- mesh.Scale = Vector3.new(0.33333322405815,1,0.37037035822868)
- part = Instance.new("Part",akm)
- part.FormFactor = Enum.FormFactor.Custom
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Material = Enum.Material.SmoothPlastic
- part.Size = Vector3.new(0.20000000298023,0.40740922093391,0.20000000298023)
- part.Locked = true
- part.CFrame = CFrame.new(51.685955047607,1.2589989900589,-79.442985534668) * CFrame.Angles(1.5707963705063, -0, -3.1415927410126)
- part.BrickColor = BrickColor.new("Dark stone grey")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("CylinderMesh",part)
- mesh.Scale = Vector3.new(0.77777779102325,1,0.62962853908539)
- part = Instance.new("Part",akm)
- part.FormFactor = Enum.FormFactor.Custom
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Material = Enum.Material.SmoothPlastic
- part.Size = Vector3.new(0.72592586278915,0.20000000298023,0.20000000298023)
- part.Locked = true
- part.CFrame = CFrame.new(51.81595993042,1.3139970302582,-79.998977661133) * CFrame.Angles(-0, -1.5707963705063, 0)
- part.BrickColor = BrickColor.new("Brown")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("SpecialMesh",part)
- mesh.Scale = Vector3.new(1,0.29629626870155,0.18518517911434)
- mesh.MeshType = Enum.MeshType.Wedge
- part = Instance.new("Part",akm)
- part.FormFactor = Enum.FormFactor.Custom
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Material = Enum.Material.SmoothPlastic
- part.Size = Vector3.new(0.20000000298023,0.20000000298023,0.20000000298023)
- part.Locked = true
- part.CFrame = CFrame.new(51.689979553223,1.2469999790192,-82.065979003906) * CFrame.Angles(-0, 0, -0)
- part.BrickColor = BrickColor.new("Dark stone grey")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("SpecialMesh",part)
- mesh.Scale = Vector3.new(0.40740758180618,0.37037035822868,0.22222183644772)
- mesh.MeshType = Enum.MeshType.Wedge
- part = Instance.new("Part",akm)
- part.FormFactor = Enum.FormFactor.Custom
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Reflectance = 0.20000000298023
- part.Anchored = false
- part.Material = Enum.Material.SmoothPlastic
- part.Size = Vector3.new(0.20000000298023,0.20740738511086,0.20000000298023)
- part.Locked = true
- part.CFrame = CFrame.new(51.689979553223,0.87000000476837,-81.520988464355) * CFrame.Angles(-0.26179939508438, 0, -0)
- part.BrickColor = BrickColor.new("Dark stone grey")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part)
- mesh.Scale = Vector3.new(0.18518517911434,1,0.18518517911434)
- part = Instance.new("Part",akm)
- part.FormFactor = Enum.FormFactor.Custom
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Reflectance = 0.20000000298023
- part.Anchored = false
- part.Material = Enum.Material.SmoothPlastic
- part.Size = Vector3.new(0.20000001788139,0.20000000298023,1.5037070512772)
- part.Locked = true
- part.CFrame = CFrame.new(51.689979553223,1.2329989671707,-81.290985107422) * CFrame.Angles(-0, 0, -0)
- part.BrickColor = BrickColor.new("Dark stone grey")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part)
- mesh.Scale = Vector3.new(1,0.37036967277527,1)
- part = Instance.new("Part",akm)
- part.FormFactor = Enum.FormFactor.Custom
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Reflectance = 0.20000000298023
- part.Anchored = false
- part.Material = Enum.Material.SmoothPlastic
- part.Size = Vector3.new(0.20000000298023,0.20000000298023,0.33629661798477)
- part.Locked = true
- part.CFrame = CFrame.new(51.689979553223,0.74400001764297,-81.541969299316) * CFrame.Angles(-0, 0, -0)
- part.BrickColor = BrickColor.new("Dark stone grey")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part)
- mesh.Scale = Vector3.new(0.55555552244186,0.22222222387791,1)
- part = Instance.new("Part",akm)
- part.FormFactor = Enum.FormFactor.Custom
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Material = Enum.Material.SmoothPlastic
- part.Size = Vector3.new(0.20000000298023,0.21481455862522,1.2296324968338)
- part.Locked = true
- part.CFrame = CFrame.new(51.689979553223,0.92900002002716,-82.639991760254) * CFrame.Angles(-0.26179939508438, 0, -0)
- part.BrickColor = BrickColor.new("Brown")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part)
- mesh.Scale = Vector3.new(0.62962961196899,1,1)
- part = Instance.new("Part",akm)
- part.FormFactor = Enum.FormFactor.Custom
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Reflectance = 0.20000000298023
- part.Anchored = false
- part.Material = Enum.Material.SmoothPlastic
- part.Size = Vector3.new(1.3555555343628,0.20000000298023,0.20000000298023)
- part.Locked = true
- part.CFrame = CFrame.new(51.748970031738,1.3069989681244,-81.320991516113) * CFrame.Angles(-0, -1.5707963705063, 0)
- part.BrickColor = BrickColor.new("Dark stone grey")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("SpecialMesh",part)
- mesh.Scale = Vector3.new(1,0.37037035822868,0.18518517911434)
- mesh.MeshType = Enum.MeshType.Wedge
- part = Instance.new("Part",akm)
- part.FormFactor = Enum.FormFactor.Custom
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Material = Enum.Material.SmoothPlastic
- part.Size = Vector3.new(0.20000000298023,0.22962978482246,0.41481474041939)
- part.Locked = true
- part.CFrame = CFrame.new(51.685955047607,0.86599898338318,-81.024978637695) * CFrame.Angles(-0, 0, -0)
- part.BrickColor = BrickColor.new("Dark stone grey")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part)
- mesh.Scale = Vector3.new(0.55555552244186,1,1)
- part = Instance.new("Part",akm)
- part.FormFactor = Enum.FormFactor.Custom
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Material = Enum.Material.SmoothPlastic
- part.Size = Vector3.new(0.25925925374031,0.61481547355652,0.22222222387791)
- part.Locked = true
- part.CFrame = CFrame.new(51.689979553223,0.65099900960922,-81.894989013672) * CFrame.Angles(-3.1415927410126, 0, -3.1415927410126)
- part.BrickColor = BrickColor.new("Brown")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part)
- part = Instance.new("Part",akm)
- part.FormFactor = Enum.FormFactor.Custom
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Material = Enum.Material.SmoothPlastic
- part.Size = Vector3.new(0.20000000298023,0.20000000298023,0.20000000298023)
- part.Locked = true
- part.CFrame = CFrame.new(51.72696685791,1.4009989500046,-78.824989318848) * CFrame.Angles(-0, 0, -0.52359879016876)
- part.BrickColor = BrickColor.new("Dark stone grey")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part)
- mesh.Scale = Vector3.new(0.037037037312984,0.22222222387791,0.37037035822868)
- part = Instance.new("Part",akm)
- part.FormFactor = Enum.FormFactor.Custom
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Material = Enum.Material.SmoothPlastic
- part.Size = Vector3.new(0.20000000298023,0.26666662096977,0.42222213745117)
- part.Locked = true
- part.CFrame = CFrame.new(51.685955047607,0.49700000882149,-80.923980712891) * CFrame.Angles(-0.52359879016876, 0, -0)
- part.BrickColor = BrickColor.new("Dark stone grey")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part)
- mesh.Scale = Vector3.new(0.55555552244186,1,1)
- part = Instance.new("Part",akm)
- part.FormFactor = Enum.FormFactor.Custom
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Material = Enum.Material.SmoothPlastic
- part.Size = Vector3.new(0.20000000298023,0.28148144483566,0.41481474041939)
- part.Locked = true
- part.CFrame = CFrame.new(51.685955047607,0.66999900341034,-80.997993469238) * CFrame.Angles(-0.26179939508438, 0, -0)
- part.BrickColor = BrickColor.new("Dark stone grey")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part)
- mesh.Scale = Vector3.new(0.55555552244186,1,1)
- part = Instance.new("Part",akm)
- part.FormFactor = Enum.FormFactor.Custom
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Material = Enum.Material.SmoothPlastic
- part.Size = Vector3.new(0.20000000298023,0.20000000298023,0.20000000298023)
- part.Locked = true
- part.CFrame = CFrame.new(51.652965545654,1.4550000429153,-78.824989318848) * CFrame.Angles(-0, 0, -0.52359879016876)
- part.BrickColor = BrickColor.new("Dark stone grey")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part)
- mesh.Scale = Vector3.new(0.037037037312984,0.14814814925194,0.37037035822868)
- part = Instance.new("Part",akm)
- part.FormFactor = Enum.FormFactor.Custom
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Material = Enum.Material.SmoothPlastic
- part.Size = Vector3.new(0.20000000298023,0.20000000298023,0.26666963100433)
- part.Locked = true
- part.CFrame = CFrame.new(51.689979553223,1.0709979534149,-82.527992248535) * CFrame.Angles(0.52359879016876, 0, -0)
- part.BrickColor = BrickColor.new("Brown")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part)
- mesh.Scale = Vector3.new(0.62962961196899,0.70370382070541,1)
- part = Instance.new("Part",akm)
- part.FormFactor = Enum.FormFactor.Custom
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Material = Enum.Material.SmoothPlastic
- part.Size = Vector3.new(0.20000000298023,0.20000000298023,0.20000000298023)
- part.Locked = true
- part.CFrame = CFrame.new(51.72696685791,1.4550000429153,-78.824989318848) * CFrame.Angles(-0, 0, 0.52359879016876)
- part.BrickColor = BrickColor.new("Dark stone grey")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part)
- mesh.Scale = Vector3.new(0.037037037312984,0.14814814925194,0.37037035822868)
- part = Instance.new("Part",akm)
- part.FormFactor = Enum.FormFactor.Custom
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Material = Enum.Material.SmoothPlastic
- part.Size = Vector3.new(0.21481490135193,0.20000000298023,0.72592878341675)
- part.Locked = true
- part.CFrame = CFrame.new(51.689979553223,1.3139970302582,-79.998977661133) * CFrame.Angles(-0, 0, -0)
- part.BrickColor = BrickColor.new("Brown")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part)
- mesh.Scale = Vector3.new(1,0.29629480838776,1)
- part = Instance.new("Part",akm)
- part.FormFactor = Enum.FormFactor.Custom
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Material = Enum.Material.SmoothPlastic
- part.Size = Vector3.new(0.20000000298023,0.20000000298023,0.20000000298023)
- part.Locked = true
- part.CFrame = CFrame.new(51.689979553223,1.4290000200272,-78.824989318848) * CFrame.Angles(-0, 0, -0)
- part.BrickColor = BrickColor.new("Dark stone grey")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part)
- mesh.Scale = Vector3.new(0.037037037312984,0.11111114174128,0.37037035822868)
- part = Instance.new("Part",akm)
- part.FormFactor = Enum.FormFactor.Custom
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Reflectance = 0.20000000298023
- part.Anchored = false
- part.Material = Enum.Material.SmoothPlastic
- part.Size = Vector3.new(1.5037040710449,0.20000000298023,0.20000000298023)
- part.Locked = true
- part.CFrame = CFrame.new(51.570964813232,1.2329989671707,-81.290985107422) * CFrame.Angles(0, 1.5707963705063, 0)
- part.BrickColor = BrickColor.new("Dark stone grey")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("SpecialMesh",part)
- mesh.Scale = Vector3.new(1,0.37037035822868,0.18518517911434)
- mesh.MeshType = Enum.MeshType.Wedge
- part = Instance.new("Part",akm)
- part.FormFactor = Enum.FormFactor.Custom
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Material = Enum.Material.SmoothPlastic
- part.Size = Vector3.new(0.20000000298023,0.20000000298023,0.20000000298023)
- part.Locked = true
- part.CFrame = CFrame.new(51.748970031738,1.4439979791641,-80.553985595703) * CFrame.Angles(0.24789763987064, 0, -0)
- part.BrickColor = BrickColor.new("Dark stone grey")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part)
- mesh.Scale = Vector3.new(0.48148128390312,0.22222222387791,0.18518501520157)
- part = Instance.new("Part",akm)
- part.FormFactor = Enum.FormFactor.Custom
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Material = Enum.Material.SmoothPlastic
- part.Size = Vector3.new(0.20000000298023,0.20000000298023,0.20000000298023)
- part.Locked = true
- part.CFrame = CFrame.new(51.645973205566,1.4329999685287,-78.824989318848) * CFrame.Angles(-0, 0, -0)
- part.BrickColor = BrickColor.new("Dark stone grey")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part)
- mesh.Scale = Vector3.new(0.037037037312984,0.14814814925194,0.37037035822868)
- part = Instance.new("Part",akm)
- part.FormFactor = Enum.FormFactor.Custom
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Material = Enum.Material.SmoothPlastic
- part.Size = Vector3.new(0.25925925374031,0.52592587471008,0.20000000298023)
- part.Locked = true
- part.CFrame = CFrame.new(51.689979553223,0.60699999332428,-82.079986572266) * CFrame.Angles(-0, 0, -0)
- part.BrickColor = BrickColor.new("Brown")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("SpecialMesh",part)
- mesh.Scale = Vector3.new(1,1,0.74074071645737)
- mesh.MeshType = Enum.MeshType.Wedge
- part = Instance.new("Part",akm)
- part.FormFactor = Enum.FormFactor.Custom
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Reflectance = 0.20000000298023
- part.Anchored = false
- part.Material = Enum.Material.SmoothPlastic
- part.Size = Vector3.new(0.20000000298023,0.23703700304031,0.20000000298023)
- part.Locked = true
- part.CFrame = CFrame.new(51.689979553223,0.83999902009964,-81.311988830566) * CFrame.Angles(-0, 0, -0)
- part.BrickColor = BrickColor.new("Dark stone grey")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part)
- mesh.Scale = Vector3.new(0.55555552244186,1,0.64444601535797)
- part = Instance.new("Part",akm)
- part.FormFactor = Enum.FormFactor.Custom
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Material = Enum.Material.SmoothPlastic
- part.Size = Vector3.new(0.28888890147209,0.20000000298023,0.20000000298023)
- part.Locked = true
- part.CFrame = CFrame.new(51.689979553223,1.1959979534149,-80.046989440918) * CFrame.Angles(-0, 0, -0)
- part.BrickColor = BrickColor.new("Brown")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part)
- mesh.Scale = Vector3.new(1,0.14814814925194,0.25925925374031)
- part = Instance.new("Part",akm)
- part.FormFactor = Enum.FormFactor.Custom
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Reflectance = 0.20000000298023
- part.Anchored = false
- part.Material = Enum.Material.SmoothPlastic
- part.Size = Vector3.new(0.27407410740852,0.20000000298023,0.28148445487022)
- part.Locked = true
- part.CFrame = CFrame.new(51.689979553223,1.2699999809265,-80.502983093262) * CFrame.Angles(-0, 0, -0)
- part.BrickColor = BrickColor.new("Dark stone grey")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part)
- mesh.Scale = Vector3.new(1,0.74074000120163,1)
- part = Instance.new("Part",akm)
- part.FormFactor = Enum.FormFactor.Custom
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Reflectance = 0.20000000298023
- part.Anchored = false
- part.Material = Enum.Material.SmoothPlastic
- part.Size = Vector3.new(0.20000001788139,0.20000000298023,0.20000000298023)
- part.Locked = true
- part.CFrame = CFrame.new(51.689979553223,1.2329989671707,-82.065979003906) * CFrame.Angles(-0, 0, -0)
- part.BrickColor = BrickColor.new("Dark stone grey")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("SpecialMesh",part)
- mesh.Scale = Vector3.new(1,0.37037035822868,0.22222185134888)
- mesh.MeshType = Enum.MeshType.Wedge
- part = Instance.new("Part",akm)
- part.FormFactor = Enum.FormFactor.Custom
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Reflectance = 0.20000000298023
- part.Anchored = false
- part.Material = Enum.Material.SmoothPlastic
- part.Size = Vector3.new(0.27407410740852,0.23703689873219,1.6592621803284)
- part.Locked = true
- part.CFrame = CFrame.new(51.689979553223,1.0770000219345,-81.25798034668) * CFrame.Angles(-0, 0, -0)
- part.BrickColor = BrickColor.new("Dark stone grey")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part)
- part = Instance.new("Part",akm)
- part.FormFactor = Enum.FormFactor.Custom
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Material = Enum.Material.SmoothPlastic
- part.Size = Vector3.new(0.20000000298023,0.32592588663101,0.65926241874695)
- part.Locked = true
- part.CFrame = CFrame.new(51.689979553223,1.0340000391006,-82.936988830566) * CFrame.Angles(-1.4901162970204e-008, 0, -0)
- part.BrickColor = BrickColor.new("Brown")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part)
- mesh.Scale = Vector3.new(0.62962961196899,1,1)
- part = Instance.new("Part",akm)
- part.FormFactor = Enum.FormFactor.Custom
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Reflectance = 0.20000000298023
- part.Anchored = false
- part.Material = Enum.Material.SmoothPlastic
- part.Size = Vector3.new(0.20000000298023,0.20000000298023,0.20000000298023)
- part.Locked = true
- part.CFrame = CFrame.new(51.689979553223,0.69799900054932,-81.294990539551) * CFrame.Angles(0.52359879016876, 0, -0)
- part.BrickColor = BrickColor.new("Dark stone grey")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part)
- mesh.Scale = Vector3.new(0.18518517911434,0.66666656732559,0.07407408207655)
- part = Instance.new("Part",akm)
- part.FormFactor = Enum.FormFactor.Custom
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Material = Enum.Material.SmoothPlastic
- part.Size = Vector3.new(0.28888890147209,0.24444410204887,0.72592878341675)
- part.Locked = true
- part.CFrame = CFrame.new(51.689979553223,1.0589989423752,-79.998977661133) * CFrame.Angles(-0, 0, -0)
- part.BrickColor = BrickColor.new("Brown")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part)
- part = Instance.new("Part",akm)
- part.FormFactor = Enum.FormFactor.Custom
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Material = Enum.Material.SmoothPlastic
- part.Size = Vector3.new(0.20000000298023,0.20000000298023,0.20000000298023)
- part.Locked = true
- part.CFrame = CFrame.new(51.733951568604,1.4329999685287,-78.824989318848) * CFrame.Angles(-0, 0, -0)
- part.BrickColor = BrickColor.new("Dark stone grey")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part)
- mesh.Scale = Vector3.new(0.037037037312984,0.14814814925194,0.37037035822868)
- part = Instance.new("Part",akm)
- part.FormFactor = Enum.FormFactor.Custom
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Material = Enum.Material.SmoothPlastic
- part.Size = Vector3.new(0.25925925374031,0.60740673542023,0.20000000298023)
- part.Locked = true
- part.CFrame = CFrame.new(51.689979553223,0.65499997138977,-81.690979003906) * CFrame.Angles(-3.1415927410126, 0, -0)
- part.BrickColor = BrickColor.new("Brown")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("SpecialMesh",part)
- mesh.Scale = Vector3.new(1,1,0.92592597007751)
- mesh.MeshType = Enum.MeshType.Wedge
- part = Instance.new("Part",akm)
- part.FormFactor = Enum.FormFactor.Custom
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Material = Enum.Material.SmoothPlastic
- part.Size = Vector3.new(0.28888890147209,0.20000000298023,0.20000000298023)
- part.Locked = true
- part.CFrame = CFrame.new(51.689979553223,1.1959979534149,-80.335983276367) * CFrame.Angles(-0, 0, -0)
- part.BrickColor = BrickColor.new("Brown")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part)
- mesh.Scale = Vector3.new(1,0.14814814925194,0.25925925374031)
- part = Instance.new("Part",akm)
- part.FormFactor = Enum.FormFactor.Custom
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Material = Enum.Material.SmoothPlastic
- part.Size = Vector3.new(0.20000000298023,0.20000000298023,0.20000000298023)
- part.Locked = true
- part.CFrame = CFrame.new(51.689979553223,1.3960000276566,-78.824989318848) * CFrame.Angles(-0, 0, -0)
- part.BrickColor = BrickColor.new("Dark stone grey")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part)
- mesh.Scale = Vector3.new(0.077777780592442,0.22222223877907,0.37037035822868)
- part = Instance.new("Part",akm)
- part.FormFactor = Enum.FormFactor.Custom
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Material = Enum.Material.SmoothPlastic
- part.Size = Vector3.new(0.20000000298023,0.20000000298023,0.22962960600853)
- part.Locked = true
- part.CFrame = CFrame.new(51.689979553223,1.3769999742508,-80.471992492676) * CFrame.Angles(0.24789763987064, 0, -0)
- part.BrickColor = BrickColor.new("Dark stone grey")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part)
- mesh.Scale = Vector3.new(0.77777779102325,0.074074074625969,1)
- part = Instance.new("Part",akm)
- part.FormFactor = Enum.FormFactor.Custom
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Reflectance = 0.20000000298023
- part.Anchored = false
- part.Material = Enum.Material.SmoothPlastic
- part.Size = Vector3.new(1.3555557727814,0.20000000298023,0.20000000298023)
- part.Locked = true
- part.CFrame = CFrame.new(51.630954742432,1.3069989681244,-81.320991516113) * CFrame.Angles(0, 1.5707963705063, 0)
- part.BrickColor = BrickColor.new("Dark stone grey")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- storedammo = Instance.new("NumberValue",akm)
- storedammo.Name = "StoredAmmo"
- storedammo.Value = 400
- smoke1 = Instance.new("Smoke",akm)
- smoke1.Enabled = false
- smoke1.Color = Color3.new(1, 0.6, 0.2)
- smoke1.Name = "Smoke1"
- smoke1.Opacity = 0.40000000596046
- smoke1.Size = 0.10000000149012
- flash = Instance.new("PointLight",akm)
- flash.Shadows = true
- flash.Name = "Flash"
- flash.Color = Color3.new(0.772549, 0.384314, 0)
- flash.Brightness = 10
- flash.Range = 10
- ammo = Instance.new("NumberValue",akm)
- ammo.Name = "Ammo"
- ammo.Value = 31
- smoke = Instance.new("Smoke",akm)
- smoke.Enabled = false
- smoke.Color = Color3.new(0.372549, 0.372549, 0.372549)
- smoke.Opacity = 0.25999999046326
- smoke.RiseVelocity = 4
- smoke.Size = 0.25
- mesh = Instance.new("SpecialMesh",part)
- mesh.Scale = Vector3.new(1,0.37037035822868,0.18518517911434)
- mesh.MeshType = Enum.MeshType.Wedge
- gui = Instance.new("ScreenGui",akm)
- gui.Name = "Gui"
- frame = Instance.new("Frame",gui)
- frame.BorderSizePixel = 0
- frame.Size = UDim2.new(0, 100, 0, 100)
- frame.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- frame.Position = UDim2.new(1, -200, 1, -100)
- frame.BackgroundTransparency = 1
- frame.BackgroundColor3 = Color3.new(1, 1, 1)
- ammodisplay = Instance.new("TextLabel",frame)
- ammodisplay.FontSize = Enum.FontSize.Size24
- ammodisplay.TextStrokeTransparency = 0.5
- ammodisplay.Size = UDim2.new(1, 0, 1, 0)
- ammodisplay.TextColor3 = Color3.new(0.917647, 0.917647, 0.917647)
- ammodisplay.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- ammodisplay.Text = ""
- ammodisplay.BackgroundTransparency = 1
- ammodisplay.Name = "AmmoDisplay"
- ammodisplay.TextXAlignment = Enum.TextXAlignment.Right
- ammodisplay.BackgroundColor3 = Color3.new(0.639216, 0.635294, 0.647059)
- wait(0.5)
- --Made by YouTubes--
- --Edit settings below--
- local Tool = akm
- local Settings = {
- Range = 1000
- ,Spread = 7
- ,Damage = {40, 40}
- ,HeadShotDamage = {70, 120}
- ,Bullets = 1
- ,FireRate = 0.1
- ,Automatic = true
- ,AntiTK = true
- ,ImpactDuration = 3
- --Reload
- ,ReloadKey = "R"
- ,ReloadTime = 2.5
- ,Ammo = 30
- ,IncludeChamberedBullet = true
- --Gui
- ,GuiPos = Vector2.new(akm.Gui.Frame.Position.X.Scale, akm.Gui.Frame.Position.Y.Scale)
- --Arms
- ,OneHanded = false
- ,FakeArms = true
- ,FakeArmTransparency = 0
- ,RightPos = CFrame.new(-0.75, -0.25, 0.5) * CFrame.Angles(math.rad(-90), 0, 0)
- ,LeftPos = CFrame.new(1, 0.5, 0.5) * CFrame.Angles(math.rad(-90), math.rad(45), 0)
- ,AimPart = Tool.AimPart
- ,AimPartOffset = CFrame.new()
- ,AimGripOffset = Vector3.new(0, 0, 0)
- ,LeftAimPos = CFrame.new(1, 0.5, 0.5) * CFrame.Angles(math.rad(-100), math.rad(45), 0)
- ,AimAnim = {
- Enabled = false
- ,Frames = 50
- ,Time = 0.1
- }
- ,ChangeFOV = {true, 60}
- ,SpreadReduction = 5
- --Weld
- ,Weld = true
- --Mouse
- ,Icons = {
- Idle = "rbxassetid://70288585"
- ,Fire1 = "rbxassetid://70288578"
- ,Fire2 = "rbxassetid://70288572"
- ,Fire3 = "rbxassetid://70288578"
- ,Reload = "rbxassetid://70288599"
- ,Aim = "rbxasset://textures/Blank.png"
- }
- ,FireMouseAnimTime = 0.15
- --Recoil
- ,Recoil = math.rad(0.8)
- --Smoke
- ,Smoke = true
- ,SmokePart = Tool.SmokePart
- ,Smokes = {{akm.Smoke, 6, 0.2}, {akm.Smoke1, 0.1}, {akm.Smoke1, 0.1}, {akm.Flash, 0.03}}
- --Sprint
- ,Sprint = true
- ,SprintSpeed = 25
- ,SprintKey = "0"
- ,SprintSpreadIncrease = 40
- ,SprintArmOffset = CFrame.new(0.25, 0.125, 0.25) * CFrame.Angles(math.rad(-30), math.rad(35), 0)
- --Other
- ,DropHats = false
- }
- --Do not edit below this lign--
- local Orig_Spread = Settings.Spread
- local Orig_Grip = Tool.GripPos
- local Player = game.Players.LocalPlayer
- local Character = Player.Character
- local Camera = Workspace.CurrentCamera
- local Ammo, StoredAmmo = akm.Ammo, akm.StoredAmmo
- local Gui, CanUpdateGui = nil, true
- local Sprinting, Equipped
- function Update_Gui()
- if Gui and CanUpdateGui then
- Gui.Frame.AmmoDisplay.Text = Ammo.Value .. "|" .. StoredAmmo.Value
- end
- end
- local Welded
- if Settings.Weld then
- Delay(0, function()
- local weldC0s = {}
- for i, v in pairs(Tool:GetChildren()) do
- if v:IsA("BasePart") and v ~= Tool.Handle then
- table.insert(weldC0s, {v, Tool.Handle.CFrame:toObjectSpace(v.CFrame)})
- v.Anchored = false
- end
- end
- Tool.Handle.Anchored = false
- local welds = {}
- Tool.Equipped:connect(function()
- for i, v in ipairs(welds) do
- v.Part1 = nil
- v:Destroy()
- end
- for i, v in ipairs(weldC0s) do
- if v[1] and v[2] then
- local w = Instance.new("Weld", Tool.Handle)
- w.Part0 = Tool.Handle
- w.Part1 = v[1]
- w.C0 = v[2]
- table.insert(welds, w)
- end
- end
- end)
- wait()
- Welded = true
- end)
- end
- local Left_Weld, Right_Weld
- Ammo.Changed:connect(Update_Gui)
- StoredAmmo.Changed:connect(Update_Gui)
- Settings.Range = math.min(Settings.Range, 999)
- local Ignore_Model = Workspace:FindFirstChild("Ray_Ignore") or Instance.new("Model", Workspace)
- Ignore_Model.Name = "Ray_Ignore"
- local Ray_Ignore = {Character, Ignore_Model, Camera}
- Character.Humanoid.Died:connect(function()
- Tool.Parent = Player.Backpack
- end)
- function Fire(Mouse)
- local Spread = CFrame.Angles(math.rad(math.random(-Settings.Spread, Settings.Spread)/10), math.rad(math.random(-Settings.Spread, Settings.Spread)/10), math.rad(math.random(-Settings.Spread, Settings.Spread)/10))
- local Ray = Ray.new(Character.Head.Position, (CFrame.new(Character.Head.Position, Mouse.Hit.p) * Spread).lookVector.unit * Settings.Range)
- local Hit, Pos = Workspace:FindPartOnRayWithIgnoreList(Ray, Ray_Ignore)
- if Hit and Hit.Parent:FindFirstChild("Humanoid") then
- local Hit_Player = game.Players:GetPlayerFromCharacter(Hit.Parent)
- if Settings.AntiTK and not Hit_Player.Neutral and Hit_Player.TeamColor == Player.TeamColor then
- return
- end
- local Humanoid = Hit.Parent.Humanoid
- local c = Instance.new("ObjectValue")
- c.Name = "creator"
- c.Value = Player
- game.Debris:AddItem(c, 3)
- c.Parent = Humanoid
- if Hit.Name == "Head" then
- Humanoid.Health = Humanoid.Health - math.random(Settings.HeadShotDamage[1], Settings.HeadShotDamage[2])
- else
- Humanoid.Health = Humanoid.Health - math.random(Settings.Damage[1], Settings.Damage[2])
- end
- elseif Hit then
- local Hit_Part = Instance.new("Part", Ignore_Model)
- Hit_Part.FormFactor = "Custom"
- Hit_Part.TopSurface = 0
- Hit_Part.BottomSurface = 0
- Hit_Part.Anchored = true
- Hit_Part.CanCollide = false
- Hit_Part.Size = Vector3.new()
- Hit_Part.CFrame = CFrame.new(Pos) * CFrame.Angles(math.random(0, 360), math.random(0, 360), math.random(0, 360))
- Hit_Part.BrickColor = BrickColor.new("Black")
- game.Debris:AddItem(Hit_Part, Settings.ImpactDuration)
- if not Hit.Anchored then
- local w = Instance.new("Weld", Hit_Part)
- w.Part0 = Hit
- w.Part1 = Hit_Part
- w.C0 = Hit.CFrame:toObjectSpace(Hit_Part.CFrame)
- Hit_Part.Anchored = false
- end
- if Hit.Parent:IsA("Hat") and Settings.DropHats then
- Hit.Parent.Parent = workspace
- game.Debris:AddItem(Hit, 3)
- end
- end
- end
- local Can_Shoot = true
- local Reloading = false
- local First_Person = false
- local Mouse_Held
- Tool.Equipped:connect(function(Mouse)
- Equipped = true
- if Settings.Weld and not Welded then
- wait()
- Tool.Parent = Player.Backpack
- end
- Character = Player.Character
- if Gui then
- return
- end
- Ray_Ignore = {Character, Ignore_Model, Camera}
- Mouse.Icon = Settings.Icons.Idle
- Gui = akm.Gui:Clone()
- Gui.Parent = Player.PlayerGui
- Gui.Frame.Position = UDim2.new(Settings.GuiPos.X, Gui.Frame.Position.X.Offset, 1.1, Gui.Frame.Position.Y.Offset)
- Gui.Frame:TweenPosition(UDim2.new(Settings.GuiPos.X, Gui.Frame.Position.X.Offset, Settings.GuiPos.Y, Gui.Frame.Position.Y.Offset), "Out", "Bounce", 1)
- CanUpdateGui = true
- Update_Gui()
- Mouse.Button1Down:connect(function()
- if Can_Shoot and Ammo.Value > 0 and Character.Humanoid.Health > 0 then
- Mouse_Held = true
- while true do
- Can_Shoot = false
- Delay(0, function()
- local t = math.min(Settings.FireMouseAnimTime/3, Settings.FireRate/3)
- if not Aiming then
- Mouse.Icon = Settings.Icons.Fire1
- end
- wait(t)
- if not Aiming then
- if Reloading then return end
- Mouse.Icon = Settings.Icons.Fire2
- end
- wait(t)
- if not Aiming then
- if Reloading then return end
- Mouse.Icon = Settings.Icons.Fire3
- end
- wait(t)
- if not Aiming then
- if Reloading then return end
- Mouse.Icon = Settings.Icons.Idle
- end
- end)
- if Settings.Smoke then
- for i, v in pairs(Settings.Smokes) do
- local s = v[1]:Clone()
- s.Parent = Settings.SmokePart
- s.Enabled = true
- game.Debris:AddItem(s, v[2])
- if v[3] then
- Delay(v[3], function()
- s.Enabled = false
- end)
- end
- end
- end
- for _ = 1, Settings.Bullets do
- pcall(function() Fire(Mouse) end)
- end
- Camera.CoordinateFrame = CFrame.new(Camera.Focus.p) * (Camera.CoordinateFrame - Camera.CoordinateFrame.p) * CFrame.Angles(math.abs(Settings.Recoil), 0, 0) * CFrame.new(0, 0, (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude)
- if Tool.Handle:FindFirstChild("Shoot") then
- Tool.Handle.Shoot:Play()
- end
- Ammo.Value = Ammo.Value - 1
- wait(Settings.FireRate)
- if not Settings.Automatic or Ammo.Value <= 0 or Character.Humanoid.Health <= 0 or not Mouse_Held then
- break
- end
- end
- Can_Shoot = true
- elseif Can_Shoot and Character.Humanoid.Health > 0 and Tool.Handle:FindFirstChild("Click") then
- Tool.Handle.Click:Play()
- end
- end)
- Mouse.Button1Up:connect(function()
- Mouse_Held = false
- end)
- Mouse.KeyDown:connect(function(Key)
- if Key:upper() == Settings.ReloadKey:upper() and Can_Shoot and StoredAmmo.Value > 0 and not Aiming then
- if Settings.IncludeChamberedBullet and Ammo.Value == Settings.Ammo + 1 or not Settings.IncludeChamberedBullet and Ammo.Value == Settings.Ammo then
- return
- end
- Can_Shoot = false
- Reloading = true
- local TextLabel = Gui.Frame.AmmoDisplay
- Delay(0, function()
- CanUpdateGui = false
- TextLabel.Text = "Reloading."
- wait(Settings.ReloadTime/3)
- if TextLabel then
- TextLabel.Text = "Reloading.."
- end
- wait(Settings.ReloadTime/3)
- if TextLabel then
- TextLabel.Text = "Reloading..."
- end
- end)
- if Tool.Handle:FindFirstChild("Reload") then
- Tool.Handle.Reload:Play()
- end
- Mouse.Icon = Settings.Icons.Reload
- wait(Settings.ReloadTime)
- Mouse.Icon = Settings.Icons.Idle
- CanUpdateGui = true
- local m = Settings.Ammo
- if Ammo.Value > 0 and Settings.IncludeChamberedBullet then
- m = m + 1
- end
- if (StoredAmmo.Value - (m - Ammo.Value)) <= 0 then
- Ammo.Value = Ammo.Value + StoredAmmo.Value
- StoredAmmo.Value = 0
- else
- StoredAmmo.Value = StoredAmmo.Value - (m - Ammo.Value)
- Ammo.Value = m
- end
- Can_Shoot = true
- Reloading = false
- elseif Key:upper() == Settings.SprintKey:upper() and Settings.Sprint and not Aiming then
- Sprinting = true
- Character.Humanoid.WalkSpeed = Settings.SprintSpeed
- Settings.Spread = Settings.Spread + Settings.SprintSpreadIncrease
- end
- end)
- Mouse.KeyUp:connect(function(Key)
- if Key:upper() == Settings.SprintKey:upper() and Sprinting then
- Sprinting = false
- Character.Humanoid.WalkSpeed = 16
- Settings.Spread = Settings.Spread - Settings.SprintSpreadIncrease
- Right_Weld.C0 = CFrame.new(0, -1.5, 0)
- end
- end)
- Mouse.Button2Down:connect(function()
- if not Reloading and not Sprinting and not Aiming and (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude < 1 then
- Aiming = true
- Mouse.Icon = Settings.Icons.Aim
- Right_Weld.C1 = CFrame.new()
- Right_Weld.C0 = CFrame.new()
- Right_Weld.C1 = Character.Head.CFrame:toObjectSpace(Settings.AimPart.CFrame)
- Left_Weld.C1 = Settings.LeftAimPos
- if Settings.ChangeFOV[1] then
- Camera.FieldOfView = Settings.ChangeFOV[2]
- end
- Tool.GripPos = Orig_Grip + Settings.AimGripOffset
- Settings.Spread = Settings.Spread - Settings.SpreadReduction
- end
- end)
- Mouse.Button2Up:connect(function()
- if Aiming then
- Mouse.Icon = Settings.Icons.Idle
- Tool.GripPos = Orig_Grip
- Right_Weld.C1 = Settings.RightPos
- Right_Weld.C0 = CFrame.new(0, -1.5, 0)
- Left_Weld.C1 = Settings.LeftPos
- if Settings.ChangeFOV[1] then
- Camera.FieldOfView = 70
- end
- Settings.Spread = Settings.Spread + Settings.SpreadReduction
- Character.Torso.Neck.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- Character.Torso.Neck.C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- wait(0.25)
- Aiming = false
- end
- end)
- wait()
- Camera.Changed:connect(function()
- if (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude < 1 and Equipped then
- Mouse.TargetFilter = workspace
- Character.Torso.Neck.C1 = CFrame.new()
- Character.Torso.Neck.C0 = CFrame.new(0, 1.5, 0) * CFrame.Angles(math.asin((Mouse.Hit.p - Mouse.Origin.p).unit.y), 0, 0)
- end
- end)
- Mouse.Idle:connect(function()
- if (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude < 1 and Equipped then
- Mouse.TargetFilter = workspace
- Character.Torso.Neck.C1 = CFrame.new()
- Character.Torso.Neck.C0 = CFrame.new(0, 1.5, 0) * CFrame.Angles(math.asin((Mouse.Hit.p - Mouse.Origin.p).unit.y), 0, 0)
- end
- end)
- while wait() and Equipped do
- if Sprinting then
- Right_Weld.C0 = CFrame.new(0, -1.5, 0) * Settings.SprintArmOffset
- Left_Weld.C0 = CFrame.new(0, -1.5, 0) * Settings.SprintArmOffset
- elseif not Aiming then
- Left_Weld.C0 = CFrame.new(0, -1.5, 0)
- end
- if (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude > 1 and Equipped then
- Mouse.TargetFilter = nil
- Character.Torso.Neck.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- Character.Torso.Neck.C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- end
- end
- end)
- local Arms_Made
- local Fake_Arm_Right, Fake_Arm_Left, Fake_Arm_Model
- Tool.Equipped:connect(function(Mouse)
- if Character and not Arms_Made then
- Arms_Made = true
- local Torso = Character.Torso
- Torso["Right Shoulder"].Part1 = nil
- Left_Weld = Instance.new("Weld", Torso)
- Left_Weld.Name = "Left_Weld"
- Left_Weld.Part0 = Character.Head
- Left_Weld.C0 = CFrame.new(0, -1.5, 0)
- if not Settings.OneHanded then
- Torso["Left Shoulder"].Part1 = nil
- Left_Weld.Part1 = Character["Left Arm"]
- end
- Right_Weld = Instance.new("Weld", Torso)
- Right_Weld.Name = "Right_Weld"
- Right_Weld.Part0 = Character.Head
- Right_Weld.Part1 = Character["Right Arm"]
- Right_Weld.C0 = CFrame.new(0, -1.5, 0)
- Left_Weld.C1 = Settings.LeftPos
- Right_Weld.C1 = Settings.RightPos
- end
- if Settings.FakeArms and not Fake_Arm_Right then
- Fake_Arm_Right, Fake_Arm_Left = Character["Right Arm"]:Clone(), Character["Left Arm"]:Clone()
- Fake_Arm_Right.FormFactor, Fake_Arm_Left.FormFactor = "Custom", "Custom"
- Fake_Arm_Right.Size, Fake_Arm_Left.Size = Vector3.new(), Vector3.new()
- local fakeArms = {Fake_Arm_Right, Fake_Arm_Left}
- for i = 1, 2 do
- local w = Instance.new("Weld", fakeArms[i])
- w.Part0 = Character[fakeArms[i].Name]
- w.Part1 = fakeArms[i]
- fakeArms[i].Transparency = Settings.FakeArmTransparency
- end
- Fake_Arm_Model = Instance.new("Model", Camera)
- Fake_Arm_Right.Parent = Fake_Arm_Model
- if not Settings.OneHanded then
- Fake_Arm_Left.Parent = Fake_Arm_Model
- end
- Fake_Arm_Model.Name = "FakeArms"
- if Settings.CharacterMeshes then
- for i, v in pairs(Character:GetChildren()) do
- if v:IsA("CharacterMesh") and v.BodyPart == Enum.BodyPart.LeftArm or v:IsA("CharacterMesh") and v.BodyPart == Enum.BodyPart.RightArm then
- v:Clone().Parent = Fake_Arm_Model
- end
- end
- end
- if Character:FindFirstChild("Shirt") then
- Instance.new("Humanoid", Fake_Arm_Model)
- Character.Shirt:Clone().Parent = Fake_Arm_Model
- else
- local Arm_Mesh = Instance.new("SpecialMesh", Fake_Arm_Right)
- Arm_Mesh.MeshType, Arm_Mesh.Scale = "Brick", Vector3.new(5, 10, 5)
- local Arm_Mesh2 = Instance.new("SpecialMesh", Fake_Arm_Left)
- Arm_Mesh2.MeshType, Arm_Mesh2.Scale = "Brick", Vector3.new(5, 10, 5)
- end
- end
- end)
- Tool.Unequipped:connect(function()
- Equipped = false
- Tool.GripPos = Orig_Grip
- Aiming = false
- Settings.Spread = Orig_Spread
- if Settings.ChangeFOV[1] then
- Camera.FieldOfView = 70
- end
- if Gui then
- Gui:Destroy()
- Gui = nil
- end
- for i, v in pairs(Tool.Handle:GetChildren()) do
- if v:IsA("Sound") then
- v:Stop()
- end
- end
- if Fake_Arm_Right and Fake_Arm_Left and Fake_Arm_Model then
- Fake_Arm_Model:Destroy()
- Fake_Arm_Right, Fake_Arm_Left, Fake_Arm_Model = nil, nil, nil
- end
- if Character and Left_Weld and Right_Weld then
- Arms_Made = false
- local Torso = Character.Torso
- Torso["Right Shoulder"].Part1, Torso["Left Shoulder"].Part1 = Character["Right Arm"], Character["Left Arm"]
- Left_Weld:Destroy()
- Right_Weld:Destroy()
- end
- Sprinting = false
- Character.Torso.Neck.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- Character.Torso.Neck.C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- Character.Humanoid.WalkSpeed = 16
- end)
- local prev
- local parts = akm:GetChildren()
- for i = 1,#parts do
- if (parts[i].className == "Part") then
- if (prev ~= nil)then
- local weld = Instance.new("Weld")
- weld.Part0 = prev
- weld.Part1 = parts[i]
- weld.C0 = prev.CFrame:inverse()
- weld.C1 = parts[i].CFrame:inverse()
- weld.Parent = prev
- end
- prev = parts[i]
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement