Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local makarov = Instance.new("Tool", game.Players.LocalPlayer.Backpack)
- makarov.GripPos = Vector3.new(0, -0.2, 0)
- makarov.Grip = CFrame.new(0, -0.2, 0)* CFrame.Angles(0, 0.39673733711243, -0)
- makarov.GripForward = Vector3.new(-0.386, 0, -0.922)
- makarov.Name = "Makarov"
- makarov.GripRight = Vector3.new(0.922, 0, -0.386)
- makarov.ToolTip = "9mm Russian Makrov, Rounds > 8"
- local recoil = Instance.new("NumberValue", makarov)
- recoil.Name = "Recoil"
- recoil.Value = 12
- local storedammo = Instance.new("NumberValue", makarov)
- storedammo.Name = "StoredAmmo"
- storedammo.Value = 250
- local grip = Instance.new("Part", makarov)
- grip.FormFactor = Enum.FormFactor.Plate
- grip.CanCollide = false
- grip.TopSurface = Enum.SurfaceType.Smooth
- grip.Anchored = false
- grip.Size = Vector3.new(1, 0.4, 1)
- grip.Name = "Grip"
- grip.CFrame = CFrame.new(-17.08, 0.88, -204.12)* CFrame.Angles(-0, 1.5707963705063, 0)
- grip.BrickColor = BrickColor.new("Reddish brown")
- grip.Friction = 0.3
- grip.BottomSurface = Enum.SurfaceType.Smooth
- local mesh = Instance.new("SpecialMesh", grip)
- mesh.Scale = Vector3.new(0.175, 0.39, 0.065)
- mesh.MeshType = Enum.MeshType.Wedge
- local maxammo = Instance.new("NumberValue", makarov)
- maxammo.Name = "MaxAmmo"
- maxammo.Value = 8
- local left = Instance.new("NumberValue", makarov)
- left.Name = "Left"
- left.Value = 15
- local ammo = Instance.new("NumberValue", makarov)
- ammo.Name = "Ammo"
- ammo.Value = 7
- local grip_2 = Instance.new("Part", makarov)
- grip_2.FormFactor = Enum.FormFactor.Plate
- grip_2.CanCollide = false
- grip_2.TopSurface = Enum.SurfaceType.Smooth
- grip_2.Anchored = false
- grip_2.Size = Vector3.new(1, 0.4, 1)
- grip_2.Name = "Grip"
- grip_2.CFrame = CFrame.new(-17.08, 0.891, -204.12)* CFrame.Angles(1.5707966089249, 1.3089653253555, 1.5707973241806)
- grip_2.BrickColor = BrickColor.new("Reddish brown")
- grip_2.Friction = 0.3
- grip_2.BottomSurface = Enum.SurfaceType.Smooth
- local mesh_2 = Instance.new("SpecialMesh", grip_2)
- mesh_2.Scale = Vector3.new(0.179, 0.39, 0.065)
- mesh_2.MeshType = Enum.MeshType.Wedge
- local grip_3 = Instance.new("Part", makarov)
- grip_3.FormFactor = Enum.FormFactor.Plate
- grip_3.CanCollide = false
- grip_3.TopSurface = Enum.SurfaceType.Smooth
- grip_3.Anchored = false
- grip_3.Size = Vector3.new(1, 0.4, 1)
- grip_3.Name = "Grip"
- grip_3.CFrame = CFrame.new(-17.145, 0.607, -204.12)* CFrame.Angles(1.5769547224045, 1.5678464174271, -1.5523964166641)
- grip_3.BrickColor = BrickColor.new("Reddish brown")
- grip_3.Friction = 0.3
- grip_3.BottomSurface = Enum.SurfaceType.Smooth
- local mesh_3 = Instance.new("SpecialMesh", grip_3)
- mesh_3.Scale = Vector3.new(0.175, 0.975, 0.065)
- mesh_3.MeshType = Enum.MeshType.Wedge
- local triggerguard = Instance.new("Part", makarov)
- triggerguard.FormFactor = Enum.FormFactor.Plate
- triggerguard.CanCollide = false
- triggerguard.TopSurface = Enum.SurfaceType.Smooth
- triggerguard.Anchored = false
- triggerguard.Size = Vector3.new(1, 0.4, 1)
- triggerguard.Name = "Triggerguard"
- triggerguard.CFrame = CFrame.new(-16.349, 0.872, -204.12)* CFrame.Angles(3.1415920257568, 3.2853188258741e-007, 1.6580749750137)
- triggerguard.BrickColor = BrickColor.new("Reddish brown")
- triggerguard.Friction = 0.3
- triggerguard.BottomSurface = Enum.SurfaceType.Smooth
- local mesh_4 = Instance.new("BlockMesh", triggerguard)
- mesh_4.Scale = Vector3.new(0.065, 0.065, 0.137)
- local triggerguard_2 = Instance.new("Part", makarov)
- triggerguard_2.FormFactor = Enum.FormFactor.Plate
- triggerguard_2.CanCollide = false
- triggerguard_2.TopSurface = Enum.SurfaceType.Smooth
- triggerguard_2.Anchored = false
- triggerguard_2.Size = Vector3.new(1, 0.4, 1)
- triggerguard_2.Name = "Triggerguard"
- triggerguard_2.CFrame = CFrame.new(-16.37, 0.989, -204.12)* CFrame.Angles(3.1415910720825, -1.6737851638027e-007, 1.3090076446533)
- triggerguard_2.BrickColor = BrickColor.new("Reddish brown")
- triggerguard_2.Friction = 0.3
- triggerguard_2.BottomSurface = Enum.SurfaceType.Smooth
- local mesh_5 = Instance.new("BlockMesh", triggerguard_2)
- mesh_5.Scale = Vector3.new(0.195, 0.065, 0.137)
- local triggerguard_3 = Instance.new("Part", makarov)
- triggerguard_3.FormFactor = Enum.FormFactor.Plate
- triggerguard_3.CanCollide = false
- triggerguard_3.TopSurface = Enum.SurfaceType.Smooth
- triggerguard_3.Anchored = false
- triggerguard_3.Size = Vector3.new(1, 0.4, 1)
- triggerguard_3.Name = "Triggerguard"
- triggerguard_3.CFrame = CFrame.new(-16.368, 0.821, -204.12)* CFrame.Angles(3.1415910720825, -9.772590914281e-008, 2.1816737651825)
- triggerguard_3.BrickColor = BrickColor.new("Reddish brown")
- triggerguard_3.Friction = 0.3
- triggerguard_3.BottomSurface = Enum.SurfaceType.Smooth
- local mesh_6 = Instance.new("BlockMesh", triggerguard_3)
- mesh_6.Scale = Vector3.new(0.065, 0.065, 0.137)
- local a22 = Instance.new("Part", makarov)
- a22.FormFactor = Enum.FormFactor.Plate
- a22.CanCollide = false
- a22.TopSurface = Enum.SurfaceType.Smooth
- a22.Anchored = false
- a22.Size = Vector3.new(1, 0.4, 1)
- a22.Name = "A22"
- a22.CFrame = CFrame.new(-16.36, 1.26, -204.152)* CFrame.Angles(3.1415910720825, -8.7946403937167e-007, 3.054322719574)
- a22.BrickColor = BrickColor.new("Dark stone grey")
- a22.Friction = 0.3
- a22.BottomSurface = Enum.SurfaceType.Smooth
- local mesh_7 = Instance.new("BlockMesh", a22)
- mesh_7.Scale = Vector3.new(0.455, 0.325, 0.065)
- local a24 = Instance.new("Part", makarov)
- a24.FormFactor = Enum.FormFactor.Plate
- a24.CanCollide = false
- a24.TopSurface = Enum.SurfaceType.Smooth
- a24.Anchored = false
- a24.Size = Vector3.new(1, 0.4, 1)
- a24.Name = "A24"
- a24.CFrame = CFrame.new(-16.357, 1.222, -204.065)* CFrame.Angles(2.8807406425476, 0.02255973033607, 3.0572826862335)
- a24.BrickColor = BrickColor.new("Dark stone grey")
- a24.Friction = 0.3
- a24.BottomSurface = Enum.SurfaceType.Smooth
- local mesh_8 = Instance.new("BlockMesh", a24)
- mesh_8.Scale = Vector3.new(0.195, 0.13, 0.06)
- local grip_4 = Instance.new("Part", makarov)
- grip_4.FormFactor = Enum.FormFactor.Plate
- grip_4.CanCollide = false
- grip_4.TopSurface = Enum.SurfaceType.Smooth
- grip_4.Anchored = false
- grip_4.Size = Vector3.new(1, 0.8, 1)
- grip_4.Name = "Grip"
- grip_4.CFrame = CFrame.new(-16.38, 1.043, -204.12)* CFrame.Angles(-1.5707963705063, -0.087269529700279, -1.5707966089249)
- grip_4.BrickColor = BrickColor.new("Reddish brown")
- grip_4.Friction = 0.3
- grip_4.BottomSurface = Enum.SurfaceType.Smooth
- local mesh_9 = Instance.new("SpecialMesh", grip_4)
- mesh_9.Scale = Vector3.new(0.179, 0.942, 0.065)
- mesh_9.MeshType = Enum.MeshType.Wedge
- local eject = Instance.new("Part", makarov)
- eject.FormFactor = Enum.FormFactor.Plate
- eject.CanCollide = false
- eject.TopSurface = Enum.SurfaceType.Smooth
- eject.Reflectance = 0.25
- eject.Anchored = false
- eject.Size = Vector3.new(1, 0.4, 1)
- eject.Name = "Eject"
- eject.CFrame = CFrame.new(-16.366, 1.246, -204.12)* CFrame.Angles(-1.5707964897156, -0.087269529700279, 1.5707961320877)
- eject.BrickColor = BrickColor.new("Mid gray")
- eject.Friction = 0.3
- eject.BottomSurface = Enum.SurfaceType.Smooth
- local mesh_10 = Instance.new("CylinderMesh", eject)
- mesh_10.Scale = Vector3.new(0.143, 0.585, 0.143)
- local triggerguard_4 = Instance.new("Part", makarov)
- triggerguard_4.FormFactor = Enum.FormFactor.Plate
- triggerguard_4.CanCollide = false
- triggerguard_4.TopSurface = Enum.SurfaceType.Smooth
- triggerguard_4.Anchored = false
- triggerguard_4.Size = Vector3.new(1, 0.4, 1)
- triggerguard_4.Name = "Triggerguard"
- triggerguard_4.CFrame = CFrame.new(-16.475, 0.782, -204.12)* CFrame.Angles(3.1415910720825, -9.6347650924145e-007, 2.9670572280884)
- triggerguard_4.BrickColor = BrickColor.new("Reddish brown")
- triggerguard_4.Friction = 0.3
- triggerguard_4.BottomSurface = Enum.SurfaceType.Smooth
- local mesh_11 = Instance.new("BlockMesh", triggerguard_4)
- mesh_11.Scale = Vector3.new(0.195, 0.065, 0.137)
- local triggerguard_5 = Instance.new("Part", makarov)
- triggerguard_5.FormFactor = Enum.FormFactor.Plate
- triggerguard_5.CanCollide = false
- triggerguard_5.TopSurface = Enum.SurfaceType.Smooth
- triggerguard_5.Anchored = false
- triggerguard_5.Size = Vector3.new(1, 0.4, 1)
- triggerguard_5.Name = "Triggerguard"
- triggerguard_5.CFrame = CFrame.new(-16.409, 1.042, -204.12)* CFrame.Angles(3.1415910720825, -1.735658798907e-007, 0.34906080365181)
- triggerguard_5.BrickColor = BrickColor.new("Reddish brown")
- triggerguard_5.Friction = 0.3
- triggerguard_5.BottomSurface = Enum.SurfaceType.Smooth
- local mesh_12 = Instance.new("BlockMesh", triggerguard_5)
- mesh_12.Scale = Vector3.new(0.065, 0.065, 0.137)
- local a17 = Instance.new("Part", makarov)
- a17.FormFactor = Enum.FormFactor.Plate
- a17.CanCollide = false
- a17.TopSurface = Enum.SurfaceType.Smooth
- a17.Anchored = false
- a17.Size = Vector3.new(1, 0.4, 1)
- a17.Name = "A17"
- a17.CFrame = CFrame.new(-16.514, 1.155, -204.12)* CFrame.Angles(3.1415910720825, -9.1612804453689e-007, 3.0543229579926)
- a17.BrickColor = BrickColor.new("Dark stone grey")
- a17.Friction = 0.3
- a17.BottomSurface = Enum.SurfaceType.Smooth
- local mesh_13 = Instance.new("BlockMesh", a17)
- mesh_13.Scale = Vector3.new(1.04, 0.195, 0.179)
- local a14 = Instance.new("Part", makarov)
- a14.FormFactor = Enum.FormFactor.Plate
- a14.CanCollide = false
- a14.TopSurface = Enum.SurfaceType.Smooth
- a14.Anchored = false
- a14.Size = Vector3.new(1, 0.4, 1)
- a14.Name = "A14"
- a14.CFrame = CFrame.new(-16.424, 1.241, -204.169)* CFrame.Angles(-2.8807435035706, -0.022561466321349, 3.0572824478149)
- a14.BrickColor = BrickColor.new("Dark stone grey")
- a14.Friction = 0.3
- a14.BottomSurface = Enum.SurfaceType.Smooth
- local mesh_14 = Instance.new("BlockMesh", a14)
- mesh_14.Scale = Vector3.new(1.235, 0.26, 0.06)
- local triggerguard_6 = Instance.new("Part", makarov)
- triggerguard_6.FormFactor = Enum.FormFactor.Plate
- triggerguard_6.CanCollide = false
- triggerguard_6.TopSurface = Enum.SurfaceType.Smooth
- triggerguard_6.Anchored = false
- triggerguard_6.Size = Vector3.new(1, 0.4, 1)
- triggerguard_6.Name = "Triggerguard"
- triggerguard_6.CFrame = CFrame.new(-16.631, 0.776, -204.12)* CFrame.Angles(3.1415910720825, -9.9727401448035e-007, -2.9670650959015)
- triggerguard_6.BrickColor = BrickColor.new("Reddish brown")
- triggerguard_6.Friction = 0.3
- triggerguard_6.BottomSurface = Enum.SurfaceType.Smooth
- local mesh_15 = Instance.new("BlockMesh", triggerguard_6)
- mesh_15.Scale = Vector3.new(0.13, 0.065, 0.137)
- local grip_5 = Instance.new("Part", makarov)
- grip_5.FormFactor = Enum.FormFactor.Plate
- grip_5.CanCollide = false
- grip_5.TopSurface = Enum.SurfaceType.Smooth
- grip_5.Anchored = false
- grip_5.Size = Vector3.new(1, 0.4, 1)
- grip_5.Name = "Grip"
- grip_5.CFrame = CFrame.new(-16.599, 1.082, -204.12)* CFrame.Angles(3.1415910720825, -9.0202456703992e-007, 3.054322719574)
- grip_5.BrickColor = BrickColor.new("Reddish brown")
- grip_5.Friction = 0.3
- grip_5.BottomSurface = Enum.SurfaceType.Smooth
- local mesh_16 = Instance.new("BlockMesh", grip_5)
- mesh_16.Scale = Vector3.new(1.235, 0.13, 0.179)
- local trigger = Instance.new("Part", makarov)
- trigger.FormFactor = Enum.FormFactor.Plate
- trigger.CanCollide = false
- trigger.TopSurface = Enum.SurfaceType.Smooth
- trigger.Anchored = false
- trigger.Size = Vector3.new(1, 0.4, 1)
- trigger.Name = "Trigger"
- trigger.CFrame = CFrame.new(-16.55, 1.047, -204.12)* CFrame.Angles(3.1415910720825, -8.8726432068142e-007, 1.5882642269135)
- trigger.BrickColor = BrickColor.new("Black")
- trigger.Friction = 0.3
- trigger.BottomSurface = Enum.SurfaceType.Smooth
- local mesh_17 = Instance.new("BlockMesh", trigger)
- mesh_17.Scale = Vector3.new(0.195, 0.065, 0.045)
- local trigger_2 = Instance.new("Part", makarov)
- trigger_2.FormFactor = Enum.FormFactor.Plate
- trigger_2.CanCollide = false
- trigger_2.TopSurface = Enum.SurfaceType.Smooth
- trigger_2.Anchored = false
- trigger_2.Size = Vector3.new(1, 0.4, 1)
- trigger_2.Name = "Trigger"
- trigger_2.CFrame = CFrame.new(-16.551, 0.943, -204.12)* CFrame.Angles(3.1415913105011, -2.989211793647e-007, 1.2217398881912)
- trigger_2.BrickColor = BrickColor.new("Black")
- trigger_2.Friction = 0.3
- trigger_2.BottomSurface = Enum.SurfaceType.Smooth
- local mesh_18 = Instance.new("BlockMesh", trigger_2)
- mesh_18.Scale = Vector3.new(0.195, 0.065, 0.045)
- local a4 = Instance.new("Part", makarov)
- a4.FormFactor = Enum.FormFactor.Plate
- a4.CanCollide = false
- a4.TopSurface = Enum.SurfaceType.Smooth
- a4.Anchored = false
- a4.Size = Vector3.new(1, 0.4, 1)
- a4.Name = "A4"
- a4.CFrame = CFrame.new(-16.036, 1.288, -204.12)* CFrame.Angles(3.1415910720825, -8.7946403937167e-007, 3.054322719574)
- a4.BrickColor = BrickColor.new("Dark stone grey")
- a4.Friction = 0.3
- a4.BottomSurface = Enum.SurfaceType.Smooth
- local mesh_19 = Instance.new("BlockMesh", a4)
- mesh_19.Scale = Vector3.new(0.455, 0.325, 0.13)
- local barrel1 = Instance.new("Part", makarov)
- barrel1.FormFactor = Enum.FormFactor.Plate
- barrel1.CanCollide = false
- barrel1.TopSurface = Enum.SurfaceType.Smooth
- barrel1.Anchored = false
- barrel1.Size = Vector3.new(1, 0.4, 1)
- barrel1.Name = "Barrel1"
- barrel1.CFrame = CFrame.new(-15.805, 1.325, -204.12)* CFrame.Angles(-1.5707963705063, -0.087269529700279, 1.5707961320877)
- barrel1.BrickColor = BrickColor.new("Dark stone grey")
- barrel1.Friction = 0.3
- barrel1.BottomSurface = Enum.SurfaceType.Smooth
- local mesh_20 = Instance.new("CylinderMesh", barrel1)
- mesh_20.Offset = Vector3.new(0, 0.47, 0)
- mesh_20.Scale = Vector3.new(0.162, 2.4, 0.081)
- local a23 = Instance.new("Part", makarov)
- a23.FormFactor = Enum.FormFactor.Plate
- a23.CanCollide = false
- a23.TopSurface = Enum.SurfaceType.Smooth
- a23.Anchored = false
- a23.Size = Vector3.new(1, 0.4, 1)
- a23.Name = "A23"
- a23.CFrame = CFrame.new(-16.035, 1.275, -204.072)* CFrame.Angles(2.8807406425476, 0.022559724748135, 3.0572819709778)
- a23.BrickColor = BrickColor.new("Dark stone grey")
- a23.Friction = 0.3
- a23.BottomSurface = Enum.SurfaceType.Smooth
- local mesh_21 = Instance.new("BlockMesh", a23)
- mesh_21.Scale = Vector3.new(0.455, 0.26, 0.06)
- local a18 = Instance.new("Part", makarov)
- a18.FormFactor = Enum.FormFactor.Plate
- a18.CanCollide = false
- a18.TopSurface = Enum.SurfaceType.Smooth
- a18.Anchored = false
- a18.Size = Vector3.new(1, 0.4, 1)
- a18.Name = "A18"
- a18.CFrame = CFrame.new(-15.938, 1.205, -204.12)* CFrame.Angles(3.1415910720825, -8.8324628677583e-007, 2.9845106601715)
- a18.BrickColor = BrickColor.new("Dark stone grey")
- a18.Friction = 0.3
- a18.BottomSurface = Enum.SurfaceType.Smooth
- local mesh_22 = Instance.new("BlockMesh", a18)
- mesh_22.Scale = Vector3.new(0.13, 0.13, 0.179)
- local a3 = Instance.new("Part", makarov)
- a3.FormFactor = Enum.FormFactor.Plate
- a3.CanCollide = false
- a3.TopSurface = Enum.SurfaceType.Smooth
- a3.Anchored = false
- a3.Size = Vector3.new(1, 0.4, 1)
- a3.Name = "A3"
- a3.CFrame = CFrame.new(-15.97, 1.196, -204.12)* CFrame.Angles(3.1415910720825, -9.0226507154512e-007, 2.7925274372101)
- a3.BrickColor = BrickColor.new("Dark stone grey")
- a3.Friction = 0.3
- a3.BottomSurface = Enum.SurfaceType.Smooth
- local mesh_23 = Instance.new("BlockMesh", a3)
- mesh_23.Scale = Vector3.new(0.065, 0.13, 0.179)
- local a19 = Instance.new("Part", makarov)
- a19.FormFactor = Enum.FormFactor.Plate
- a19.CanCollide = false
- a19.TopSurface = Enum.SurfaceType.Smooth
- a19.Anchored = false
- a19.Size = Vector3.new(1, 0.4, 1)
- a19.Name = "A19"
- a19.CFrame = CFrame.new(-15.934, 1.232, -204.12)* CFrame.Angles(3.1415910720825, -8.8643889739615e-007, 3.054322719574)
- a19.BrickColor = BrickColor.new("Dark stone grey")
- a19.Friction = 0.3
- a19.BottomSurface = Enum.SurfaceType.Smooth
- local mesh_24 = Instance.new("BlockMesh", a19)
- mesh_24.Scale = Vector3.new(0.26, 0.065, 0.179)
- local a16 = Instance.new("Part", makarov)
- a16.FormFactor = Enum.FormFactor.Plate
- a16.CanCollide = false
- a16.TopSurface = Enum.SurfaceType.Smooth
- a16.Anchored = false
- a16.Size = Vector3.new(1, 0.4, 1)
- a16.Name = "A16"
- a16.CFrame = CFrame.new(-15.835, 1.221, -204.12)* CFrame.Angles(3.1415910720825, -8.8115183416448e-007, 3.0543236732483)
- a16.BrickColor = BrickColor.new("Dark stone grey")
- a16.Friction = 0.3
- a16.BottomSurface = Enum.SurfaceType.Smooth
- local mesh_25 = Instance.new("BlockMesh", a16)
- mesh_25.Scale = Vector3.new(0.065, 0.13, 0.179)
- local barrel2 = Instance.new("Part", makarov)
- barrel2.FormFactor = Enum.FormFactor.Plate
- barrel2.CanCollide = false
- barrel2.TopSurface = Enum.SurfaceType.Smooth
- barrel2.Anchored = false
- barrel2.Size = Vector3.new(1, 0.4, 1)
- barrel2.Name = "Barrel2"
- barrel2.CFrame = CFrame.new(-15.812, 1.295, -204.12)* CFrame.Angles(-1.5707964897156, -0.08726954460144, 1.5707958936691)
- barrel2.BrickColor = BrickColor.new("Dark stone grey")
- barrel2.Friction = 0.3
- barrel2.BottomSurface = Enum.SurfaceType.Smooth
- local mesh_26 = Instance.new("CylinderMesh", barrel2)
- mesh_26.Offset = Vector3.new(0, 0.2, 0)
- mesh_26.Scale = Vector3.new(0.143, 0.065, 0.143)
- local frontsight = Instance.new("Part", makarov)
- frontsight.FormFactor = Enum.FormFactor.Plate
- frontsight.CanCollide = false
- frontsight.TopSurface = Enum.SurfaceType.Smooth
- frontsight.Anchored = false
- frontsight.Size = Vector3.new(1, 0.4, 1)
- frontsight.Name = "Frontsight"
- frontsight.CFrame = CFrame.new(-15.848, 1.37, -204.12)* CFrame.Angles(1.570796251297, -1.4834932088852, 5.1592091949715e-006)
- frontsight.BrickColor = BrickColor.new("Dark stone grey")
- frontsight.Friction = 0.3
- frontsight.BottomSurface = Enum.SurfaceType.Smooth
- local mesh_27 = Instance.new("BlockMesh", frontsight)
- mesh_27.Scale = Vector3.new(0.065, 0.068, 0.049)
- local barrelhole = Instance.new("Part", makarov)
- barrelhole.FormFactor = Enum.FormFactor.Plate
- barrelhole.CanCollide = false
- barrelhole.TopSurface = Enum.SurfaceType.Smooth
- barrelhole.Anchored = false
- barrelhole.Size = Vector3.new(1, 0.4, 1)
- barrelhole.Name = "Barrelhole"
- barrelhole.CFrame = CFrame.new(-15.804, 1.325, -204.12)* CFrame.Angles(-1.5707964897156, -0.087269462645054, 1.5707961320877)
- barrelhole.BrickColor = BrickColor.new("Really black")
- barrelhole.Friction = 0.3
- barrelhole.BottomSurface = Enum.SurfaceType.Smooth
- local mesh_28 = Instance.new("CylinderMesh", barrelhole)
- mesh_28.Offset = Vector3.new(0, 0.082, 0)
- mesh_28.Scale = Vector3.new(0.13, 0.46, 0.065)
- local a1 = Instance.new("Part", makarov)
- a1.FormFactor = Enum.FormFactor.Plate
- a1.CanCollide = false
- a1.TopSurface = Enum.SurfaceType.Smooth
- a1.Anchored = false
- a1.Size = Vector3.new(1, 0.4, 1)
- a1.Name = "A1"
- a1.CFrame = CFrame.new(-15.854, 1.219, -204.12)* CFrame.Angles(3.1415910720825, -8.9852187556971e-007, 2.9670579433441)
- a1.BrickColor = BrickColor.new("Dark stone grey")
- a1.Friction = 0.3
- a1.BottomSurface = Enum.SurfaceType.Smooth
- local mesh_29 = Instance.new("BlockMesh", a1)
- mesh_29.Scale = Vector3.new(0.065, 0.13, 0.179)
- local a15 = Instance.new("Part", makarov)
- a15.FormFactor = Enum.FormFactor.Plate
- a15.CanCollide = false
- a15.TopSurface = Enum.SurfaceType.Smooth
- a15.Anchored = false
- a15.Size = Vector3.new(1, 0.4, 1)
- a15.Name = "A15"
- a15.CFrame = CFrame.new(-16.635, 1.118, -204.12)* CFrame.Angles(3.1415910720825, -9.0202456703992e-007, 3.054322719574)
- a15.BrickColor = BrickColor.new("Dark stone grey")
- a15.Friction = 0.3
- a15.BottomSurface = Enum.SurfaceType.Smooth
- local mesh_30 = Instance.new("BlockMesh", a15)
- mesh_30.Scale = Vector3.new(1.17, 0.065, 0.179)
- local grip_6 = Instance.new("Part", makarov)
- grip_6.FormFactor = Enum.FormFactor.Plate
- grip_6.CanCollide = false
- grip_6.TopSurface = Enum.SurfaceType.Smooth
- grip_6.Anchored = false
- grip_6.Size = Vector3.new(1, 0.4, 1)
- grip_6.Name = "Grip"
- grip_6.CFrame = CFrame.new(-16.714, 0.743, -204.12)* CFrame.Angles(-1.570796251297, -1.4834651947021, 1.5707930326462)
- grip_6.BrickColor = BrickColor.new("Reddish brown")
- grip_6.Friction = 0.3
- grip_6.BottomSurface = Enum.SurfaceType.Smooth
- local mesh_31 = Instance.new("SpecialMesh", grip_6)
- mesh_31.Scale = Vector3.new(0.175, 0.195, 0.065)
- mesh_31.MeshType = Enum.MeshType.Wedge
- local grip_7 = Instance.new("Part", makarov)
- grip_7.FormFactor = Enum.FormFactor.Plate
- grip_7.CanCollide = false
- grip_7.TopSurface = Enum.SurfaceType.Smooth
- grip_7.Anchored = false
- grip_7.Size = Vector3.new(1, 0.4, 1)
- grip_7.Name = "Grip"
- grip_7.CFrame = CFrame.new(-16.717, 0.867, -204.12)* CFrame.Angles(3.1415910720825, -9.9703947853413e-007, 3.054322719574)
- grip_7.BrickColor = BrickColor.new("Reddish brown")
- grip_7.Friction = 0.3
- grip_7.BottomSurface = Enum.SurfaceType.Smooth
- local mesh_32 = Instance.new("BlockMesh", grip_7)
- mesh_32.Scale = Vector3.new(0.065, 0.455, 0.175)
- local triggerguard_7 = Instance.new("Part", makarov)
- triggerguard_7.FormFactor = Enum.FormFactor.Plate
- triggerguard_7.CanCollide = false
- triggerguard_7.TopSurface = Enum.SurfaceType.Smooth
- triggerguard_7.Anchored = false
- triggerguard_7.Size = Vector3.new(1, 0.4, 1)
- triggerguard_7.Name = "Triggerguard"
- triggerguard_7.CFrame = CFrame.new(-16.673, 0.802, -204.12)* CFrame.Angles(3.1415905952454, -1.2536895610538e-006, -2.3561995029449)
- triggerguard_7.BrickColor = BrickColor.new("Reddish brown")
- triggerguard_7.Friction = 0.3
- triggerguard_7.BottomSurface = Enum.SurfaceType.Smooth
- local mesh_33 = Instance.new("BlockMesh", triggerguard_7)
- mesh_33.Scale = Vector3.new(0.065, 0.065, 0.137)
- local triggerguard_8 = Instance.new("Part", makarov)
- triggerguard_8.FormFactor = Enum.FormFactor.Plate
- triggerguard_8.CanCollide = false
- triggerguard_8.TopSurface = Enum.SurfaceType.Smooth
- triggerguard_8.Anchored = false
- triggerguard_8.Size = Vector3.new(1, 0.4, 1)
- triggerguard_8.Name = "Triggerguard"
- triggerguard_8.CFrame = CFrame.new(-16.674, 0.984, -204.12)* CFrame.Angles(1.5707867145538, -1.5009245872498, -1.5708006620407)
- triggerguard_8.BrickColor = BrickColor.new("Reddish brown")
- triggerguard_8.Friction = 0.3
- triggerguard_8.BottomSurface = Enum.SurfaceType.Smooth
- local mesh_34 = Instance.new("SpecialMesh", triggerguard_8)
- mesh_34.Scale = Vector3.new(0.175, 0.195, 0.065)
- mesh_34.MeshType = Enum.MeshType.Wedge
- local a5 = Instance.new("Part", makarov)
- a5.FormFactor = Enum.FormFactor.Plate
- a5.CanCollide = false
- a5.TopSurface = Enum.SurfaceType.Smooth
- a5.Anchored = false
- a5.Size = Vector3.new(1, 0.4, 1)
- a5.Name = "A5"
- a5.CFrame = CFrame.new(-16.748, 1.213, -204.072)* CFrame.Angles(2.8807408809662, 0.022559700533748, 3.0572822093964)
- a5.BrickColor = BrickColor.new("Dark stone grey")
- a5.Friction = 0.3
- a5.BottomSurface = Enum.SurfaceType.Smooth
- local mesh_35 = Instance.new("BlockMesh", a5)
- mesh_35.Scale = Vector3.new(0.585, 0.26, 0.06)
- local a2 = Instance.new("Part", makarov)
- a2.FormFactor = Enum.FormFactor.Plate
- a2.CanCollide = false
- a2.TopSurface = Enum.SurfaceType.Smooth
- a2.Anchored = false
- a2.Size = Vector3.new(1, 0.4, 1)
- a2.Name = "A2"
- a2.CFrame = CFrame.new(-16.746, 1.2, -204.12)* CFrame.Angles(3.1415910720825, -8.7946403937167e-007, 3.054322719574)
- a2.BrickColor = BrickColor.new("Dark stone grey")
- a2.Friction = 0.3
- a2.BottomSurface = Enum.SurfaceType.Smooth
- local mesh_36 = Instance.new("BlockMesh", a2)
- mesh_36.Scale = Vector3.new(0.585, 0.455, 0.13)
- local grip_8 = Instance.new("Part", makarov)
- grip_8.FormFactor = Enum.FormFactor.Plate
- grip_8.CanCollide = false
- grip_8.TopSurface = Enum.SurfaceType.Smooth
- grip_8.Anchored = false
- grip_8.Size = Vector3.new(1, 0.4, 1)
- grip_8.Name = "Grip"
- grip_8.CFrame = CFrame.new(-16.755, 0.659, -204.12)* CFrame.Angles(-1.5646378993988, -1.5678464174271, 1.5523964166641)
- grip_8.BrickColor = BrickColor.new("Reddish brown")
- grip_8.Friction = 0.3
- grip_8.BottomSurface = Enum.SurfaceType.Smooth
- local mesh_37 = Instance.new("SpecialMesh", grip_8)
- mesh_37.Scale = Vector3.new(0.175, 1.495, 0.065)
- mesh_37.MeshType = Enum.MeshType.Wedge
- local grip_9 = Instance.new("Part", makarov)
- grip_9.FormFactor = Enum.FormFactor.Plate
- grip_9.CanCollide = false
- grip_9.TopSurface = Enum.SurfaceType.Smooth
- grip_9.Anchored = false
- grip_9.Size = Vector3.new(1, 0.4, 1)
- grip_9.Name = "Grip"
- grip_9.CFrame = CFrame.new(-16.788, 0.981, -204.12)* CFrame.Angles(3.1415910720825, -8.948618415161e-007, 3.1415884494781)
- grip_9.BrickColor = BrickColor.new("Reddish brown")
- grip_9.Friction = 0.3
- grip_9.BottomSurface = Enum.SurfaceType.Smooth
- local mesh_38 = Instance.new("BlockMesh", grip_9)
- mesh_38.Scale = Vector3.new(0.065, 0.13, 0.175)
- local grip_10 = Instance.new("Part", makarov)
- grip_10.FormFactor = Enum.FormFactor.Plate
- grip_10.CanCollide = false
- grip_10.TopSurface = Enum.SurfaceType.Smooth
- grip_10.Anchored = false
- grip_10.Size = Vector3.new(1, 0.4, 1)
- grip_10.Name = "Grip"
- grip_10.CFrame = CFrame.new(-16.728, 0.921, -204.12)* CFrame.Angles(3.1415910720825, -8.8927367869474e-007, 3.1415884494781)
- grip_10.BrickColor = BrickColor.new("Reddish brown")
- grip_10.Friction = 0.3
- grip_10.BottomSurface = Enum.SurfaceType.Smooth
- local mesh_39 = Instance.new("BlockMesh", grip_10)
- mesh_39.Scale = Vector3.new(0.065, 0.455, 0.175)
- local handle = Instance.new("Part", makarov)
- handle.FormFactor = Enum.FormFactor.Plate
- handle.CanCollide = false
- handle.Transparency = 1
- handle.TopSurface = Enum.SurfaceType.Smooth
- handle.Anchored = false
- handle.Size = Vector3.new(1, 0.8, 1)
- handle.Name = "Handle"
- handle.CFrame = CFrame.new(-16.874, 0.725, -204.12)* CFrame.Angles(1.5707968473434, -1.4834924936295, 1.5708001852036)
- handle.BrickColor = BrickColor.new("Dark stone grey")
- handle.Friction = 0.3
- handle.BottomSurface = Enum.SurfaceType.Smooth
- local mesh_40 = Instance.new("BlockMesh", handle)
- mesh_40.Scale = Vector3.new(0.325, 0.975, 0.325)
- local empty = Instance.new("Sound", handle)
- empty.Name = "Empty"
- empty.Volume = 1
- empty.SoundId = "rbxasset://sounds//clickfast.wav"
- local fire = Instance.new("Sound", handle)
- fire.Pitch = 1.35
- fire.Name = "Fire"
- fire.Volume = 1
- fire.SoundId = "http://roblox.com/asset/?id=10209798"
- local m1 = Instance.new("Sound", handle)
- m1.Pitch = 0.7
- m1.Name = "M1"
- m1.Volume = 1
- m1.SoundId = "http://roblox.com/asset/?id=10209834"
- local m2 = Instance.new("Sound", handle)
- m2.Pitch = 1.3
- m2.Name = "M2"
- m2.Volume = 1
- m2.SoundId = "http://roblox.com/asset/?id=10209636"
- local m3 = Instance.new("Sound", handle)
- m3.Pitch = 2
- m3.Name = "M3"
- m3.Volume = 1
- m3.SoundId = "http://www.roblox.com/asset/?id=25299064"
- local m4 = Instance.new("Sound", handle)
- m4.Name = "M4"
- m4.Volume = 1
- m4.SoundId = "http://roblox.com/asset/?id=10209636"
- local grip_11 = Instance.new("Part", makarov)
- grip_11.FormFactor = Enum.FormFactor.Plate
- grip_11.CanCollide = false
- grip_11.TopSurface = Enum.SurfaceType.Smooth
- grip_11.Anchored = false
- grip_11.Size = Vector3.new(1, 0.4, 1)
- grip_11.Name = "Grip"
- grip_11.CFrame = CFrame.new(-16.852, 0.984, -204.12)* CFrame.Angles(3.1415910720825, -8.948618415161e-007, 3.1415884494781)
- grip_11.BrickColor = BrickColor.new("Reddish brown")
- grip_11.Friction = 0.3
- grip_11.BottomSurface = Enum.SurfaceType.Smooth
- local mesh_41 = Instance.new("BlockMesh", grip_11)
- mesh_41.Scale = Vector3.new(0.13, 0.13, 0.175)
- local mag = Instance.new("Part", makarov)
- mag.FormFactor = Enum.FormFactor.Plate
- mag.CanCollide = false
- mag.TopSurface = Enum.SurfaceType.Smooth
- mag.Reflectance = 0.2
- mag.Anchored = false
- mag.Size = Vector3.new(1, 0.4, 1)
- mag.Name = "Mag"
- mag.CFrame = CFrame.new(-16.894, 0.287, -204.12)* CFrame.Angles(3.1415910720825, -1.9636820525193e-007, 3.1415884494781)
- mag.BrickColor = BrickColor.new("Dark stone grey")
- mag.Friction = 0.3
- mag.BottomSurface = Enum.SurfaceType.Smooth
- local mesh_42 = Instance.new("BlockMesh", mag)
- mesh_42.Scale = Vector3.new(0.276, 0.052, 0.175)
- local grip_12 = Instance.new("Part", makarov)
- grip_12.FormFactor = Enum.FormFactor.Plate
- grip_12.CanCollide = false
- grip_12.TopSurface = Enum.SurfaceType.Smooth
- grip_12.Anchored = false
- grip_12.Size = Vector3.new(1, 0.4, 1)
- grip_12.Name = "Grip"
- grip_12.CFrame = CFrame.new(-16.84, 1.018, -204.12)* CFrame.Angles(1.5707966089249, 1.5183380842209, -1.5707910060883)
- grip_12.BrickColor = BrickColor.new("Reddish brown")
- grip_12.Friction = 0.3
- grip_12.BottomSurface = Enum.SurfaceType.Smooth
- local mesh_43 = Instance.new("SpecialMesh", grip_12)
- mesh_43.Scale = Vector3.new(0.175, 0.065, 0.13)
- mesh_43.MeshType = Enum.MeshType.Wedge
- local grip_13 = Instance.new("Part", makarov)
- grip_13.FormFactor = Enum.FormFactor.Plate
- grip_13.CanCollide = false
- grip_13.TopSurface = Enum.SurfaceType.Smooth
- grip_13.Anchored = false
- grip_13.Size = Vector3.new(1, 0.4, 1)
- grip_13.Name = "Grip"
- grip_13.CFrame = CFrame.new(-16.894, 1.024, -204.12)* CFrame.Angles(3.1415905952454, -1.0161301133849e-006, -0.087269939482212)
- grip_13.BrickColor = BrickColor.new("Reddish brown")
- grip_13.Friction = 0.3
- grip_13.BottomSurface = Enum.SurfaceType.Smooth
- local mesh_44 = Instance.new("BlockMesh", grip_13)
- mesh_44.Scale = Vector3.new(0.455, 0.13, 0.179)
- local grip_14 = Instance.new("Part", makarov)
- grip_14.FormFactor = Enum.FormFactor.Plate
- grip_14.CanCollide = false
- grip_14.TopSurface = Enum.SurfaceType.Smooth
- grip_14.Anchored = false
- grip_14.Size = Vector3.new(1, 0.4, 1)
- grip_14.Name = "Grip"
- grip_14.CFrame = CFrame.new(-16.917, 0.989, -204.12)* CFrame.Angles(3.1415910720825, -9.0202456703992e-007, 3.054322719574)
- grip_14.BrickColor = BrickColor.new("Reddish brown")
- grip_14.Friction = 0.3
- grip_14.BottomSurface = Enum.SurfaceType.Smooth
- local mesh_45 = Instance.new("BlockMesh", grip_14)
- mesh_45.Scale = Vector3.new(0.325, 0.13, 0.179)
- local mag2 = Instance.new("Part", makarov)
- mag2.FormFactor = Enum.FormFactor.Plate
- mag2.CanCollide = false
- mag2.TopSurface = Enum.SurfaceType.Smooth
- mag2.Reflectance = 0.2
- mag2.Anchored = false
- mag2.Size = Vector3.new(1, 0.8, 1)
- mag2.Name = "Mag2"
- mag2.CFrame = CFrame.new(-16.913, 0.607, -204.12)* CFrame.Angles(3.1415913105011, -9.0417597675696e-007, 3.1415884494781)
- mag2.BrickColor = BrickColor.new("Dark stone grey")
- mag2.Friction = 0.3
- mag2.BottomSurface = Enum.SurfaceType.Smooth
- local mesh_46 = Instance.new("BlockMesh", mag2)
- mesh_46.Scale = Vector3.new(0.234, 0.78, 0.137)
- local grip_15 = Instance.new("Part", makarov)
- grip_15.FormFactor = Enum.FormFactor.Plate
- grip_15.CanCollide = false
- grip_15.TopSurface = Enum.SurfaceType.Smooth
- grip_15.Anchored = false
- grip_15.Size = Vector3.new(1, 0.8, 1)
- grip_15.Name = "Grip"
- grip_15.CFrame = CFrame.new(-16.917, 0.633, -204.12)* CFrame.Angles(3.1415908336639, -9.1162593207628e-007, 3.141589641571)
- grip_15.BrickColor = BrickColor.new("Reddish brown")
- grip_15.Friction = 0.3
- grip_15.BottomSurface = Enum.SurfaceType.Smooth
- local mesh_47 = Instance.new("BlockMesh", grip_15)
- mesh_47.Scale = Vector3.new(0.26, 0.812, 0.175)
- local grip_16 = Instance.new("Part", makarov)
- grip_16.FormFactor = Enum.FormFactor.Plate
- grip_16.CanCollide = false
- grip_16.TopSurface = Enum.SurfaceType.Smooth
- grip_16.Anchored = false
- grip_16.Size = Vector3.new(1, 0.4, 1)
- grip_16.Name = "Grip"
- grip_16.CFrame = CFrame.new(-17.097, 0.956, -204.12)* CFrame.Angles(-1.5707952976227, 1.0122916698456, -1.5707967281342)
- grip_16.BrickColor = BrickColor.new("Reddish brown")
- grip_16.Friction = 0.3
- grip_16.BottomSurface = Enum.SurfaceType.Smooth
- local mesh_48 = Instance.new("SpecialMesh", grip_16)
- mesh_48.Scale = Vector3.new(0.179, 0.39, 0.065)
- mesh_48.MeshType = Enum.MeshType.Wedge
- local grip_17 = Instance.new("Part", makarov)
- grip_17.FormFactor = Enum.FormFactor.Plate
- grip_17.CanCollide = false
- grip_17.TopSurface = Enum.SurfaceType.Smooth
- grip_17.Anchored = false
- grip_17.Size = Vector3.new(1, 0.4, 1)
- grip_17.Name = "Grip"
- grip_17.CFrame = CFrame.new(-17.08, 0.607, -204.12)* CFrame.Angles(3.1415908336639, -9.1162502258157e-007, 3.1415884494781)
- grip_17.BrickColor = BrickColor.new("Reddish brown")
- grip_17.Friction = 0.3
- grip_17.BottomSurface = Enum.SurfaceType.Smooth
- local mesh_49 = Instance.new("BlockMesh", grip_17)
- mesh_49.Scale = Vector3.new(0.065, 0.975, 0.175)
- local grip_18 = Instance.new("Part", makarov)
- grip_18.FormFactor = Enum.FormFactor.Plate
- grip_18.CanCollide = false
- grip_18.TopSurface = Enum.SurfaceType.Smooth
- grip_18.Anchored = false
- grip_18.Size = Vector3.new(1, 0.4, 1)
- grip_18.Name = "Grip"
- grip_18.CFrame = CFrame.new(-16.982, 0.984, -204.12)* CFrame.Angles(1.5734748840332, 1.5678464174271, -1.5509246587753)
- grip_18.BrickColor = BrickColor.new("Reddish brown")
- grip_18.Friction = 0.3
- grip_18.BottomSurface = Enum.SurfaceType.Smooth
- local mesh_50 = Instance.new("SpecialMesh", grip_18)
- mesh_50.Scale = Vector3.new(0.175, 0.13, 0.13)
- mesh_50.MeshType = Enum.MeshType.Wedge
- local backsight = Instance.new("Part", makarov)
- backsight.FormFactor = Enum.FormFactor.Plate
- backsight.CanCollide = false
- backsight.TopSurface = Enum.SurfaceType.Smooth
- backsight.Anchored = false
- backsight.Size = Vector3.new(1, 0.4, 1)
- backsight.Name = "Backsight"
- backsight.CFrame = CFrame.new(-17.022, 1.293, -204.081)* CFrame.Angles(-1.5199703966573e-006, 4.9963182391366e-007, -1.4835435152054)
- backsight.BrickColor = BrickColor.new("Dark stone grey")
- backsight.Friction = 0.3
- backsight.BottomSurface = Enum.SurfaceType.Smooth
- local mesh_51 = Instance.new("BlockMesh", backsight)
- mesh_51.Scale = Vector3.new(0.065, 0.098, 0.049)
- local backsight2 = Instance.new("Part", makarov)
- backsight2.FormFactor = Enum.FormFactor.Plate
- backsight2.CanCollide = false
- backsight2.TopSurface = Enum.SurfaceType.Smooth
- backsight2.Anchored = false
- backsight2.Size = Vector3.new(1, 0.4, 1)
- backsight2.Name = "Backsight2"
- backsight2.CFrame = CFrame.new(-17.022, 1.293, -204.159)* CFrame.Angles(-1.6836354461702e-006, 8.8514048002253e-007, -1.4835435152054)
- backsight2.BrickColor = BrickColor.new("Dark stone grey")
- backsight2.Friction = 0.3
- backsight2.BottomSurface = Enum.SurfaceType.Smooth
- local mesh_52 = Instance.new("BlockMesh", backsight2)
- mesh_52.Scale = Vector3.new(0.065, 0.098, 0.049)
- local a20 = Instance.new("Part", makarov)
- a20.FormFactor = Enum.FormFactor.Plate
- a20.CanCollide = false
- a20.TopSurface = Enum.SurfaceType.Smooth
- a20.Anchored = false
- a20.Size = Vector3.new(1, 0.4, 1)
- a20.Name = "A20"
- a20.CFrame = CFrame.new(-17.11, 1.194, -204.115)* CFrame.Angles(3.1415913105011, -8.1579645438978e-007, 2.1467678546906)
- a20.BrickColor = BrickColor.new("Black")
- a20.Friction = 0.3
- a20.BottomSurface = Enum.SurfaceType.Smooth
- local mesh_53 = Instance.new("BlockMesh", a20)
- mesh_53.Scale = Vector3.new(0.072, 0.065, 0.062)
- local backsight3 = Instance.new("Part", makarov)
- backsight3.FormFactor = Enum.FormFactor.Plate
- backsight3.CanCollide = false
- backsight3.TopSurface = Enum.SurfaceType.Smooth
- backsight3.Anchored = false
- backsight3.Size = Vector3.new(1, 0.4, 1)
- backsight3.Name = "Backsight3"
- backsight3.CFrame = CFrame.new(-17.015, 1.215, -204.12)* CFrame.Angles(-1.5708125147285e-006, 1.134341573561e-006, -1.4835429191589)
- backsight3.BrickColor = BrickColor.new("Dark stone grey")
- backsight3.Friction = 0.3
- backsight3.BottomSurface = Enum.SurfaceType.Smooth
- local mesh_54 = Instance.new("BlockMesh", backsight3)
- mesh_54.Scale = Vector3.new(0.195, 0.098, 0.117)
- local a6 = Instance.new("Part", makarov)
- a6.FormFactor = Enum.FormFactor.Plate
- a6.CanCollide = false
- a6.TopSurface = Enum.SurfaceType.Smooth
- a6.Anchored = false
- a6.Size = Vector3.new(1, 0.4, 1)
- a6.Name = "A6"
- a6.CFrame = CFrame.new(-17.017, 1.186, -204.06)* CFrame.Angles(3.1415905952454, -1.2057074627592e-006, 2.4085586071014)
- a6.BrickColor = BrickColor.new("Dark stone grey")
- a6.Friction = 0.3
- a6.BottomSurface = Enum.SurfaceType.Smooth
- local mesh_55 = Instance.new("BlockMesh", a6)
- mesh_55.Scale = Vector3.new(0.065, 0.325, 0.06)
- local a8 = Instance.new("Part", makarov)
- a8.FormFactor = Enum.FormFactor.Plate
- a8.CanCollide = false
- a8.TopSurface = Enum.SurfaceType.Smooth
- a8.Anchored = false
- a8.Size = Vector3.new(1, 0.4, 1)
- a8.Name = "A8"
- a8.CFrame = CFrame.new(-17.098, 1.144, -204.06)* CFrame.Angles(3.1415910720825, -8.7001734527803e-007, 2.1467678546906)
- a8.BrickColor = BrickColor.new("Dark stone grey")
- a8.Friction = 0.3
- a8.BottomSurface = Enum.SurfaceType.Smooth
- local mesh_56 = Instance.new("BlockMesh", a8)
- mesh_56.Scale = Vector3.new(0.13, 0.13, 0.06)
- local a21 = Instance.new("Part", makarov)
- a21.FormFactor = Enum.FormFactor.Plate
- a21.CanCollide = false
- a21.TopSurface = Enum.SurfaceType.Smooth
- a21.Anchored = false
- a21.Size = Vector3.new(1, 0.4, 1)
- a21.Name = "A21"
- a21.CFrame = CFrame.new(-17.08, 1.183, -204.115)* CFrame.Angles(3.1415913105011, -7.4957659990105e-007, -2.5656361579895)
- a21.BrickColor = BrickColor.new("Reddish brown")
- a21.Friction = 0.3
- a21.BottomSurface = Enum.SurfaceType.Smooth
- local mesh_57 = Instance.new("BlockMesh", a21)
- mesh_57.Scale = Vector3.new(0.065, 0.13, 0.06)
- local a9 = Instance.new("Part", makarov)
- a9.FormFactor = Enum.FormFactor.Plate
- a9.CanCollide = false
- a9.TopSurface = Enum.SurfaceType.Smooth
- a9.Anchored = false
- a9.Size = Vector3.new(1, 0.4, 1)
- a9.Name = "A9"
- a9.CFrame = CFrame.new(-17.097, 1.128, -204.12)* CFrame.Angles(3.1415905952454, -1.1805927897512e-006, 2.6703503131866)
- a9.BrickColor = BrickColor.new("Dark stone grey")
- a9.Friction = 0.3
- a9.BottomSurface = Enum.SurfaceType.Smooth
- local mesh_58 = Instance.new("BlockMesh", a9)
- mesh_58.Scale = Vector3.new(0.26, 0.065, 0.179)
- local a11 = Instance.new("Part", makarov)
- a11.FormFactor = Enum.FormFactor.Plate
- a11.CanCollide = false
- a11.TopSurface = Enum.SurfaceType.Smooth
- a11.Anchored = false
- a11.Size = Vector3.new(1, 0.4, 1)
- a11.Name = "A11"
- a11.CFrame = CFrame.new(-17.098, 1.144, -204.18)* CFrame.Angles(3.1415910720825, -8.7001734527803e-007, 2.1467678546906)
- a11.BrickColor = BrickColor.new("Dark stone grey")
- a11.Friction = 0.3
- a11.BottomSurface = Enum.SurfaceType.Smooth
- local mesh_59 = Instance.new("BlockMesh", a11)
- mesh_59.Scale = Vector3.new(0.13, 0.13, 0.06)
- local a10 = Instance.new("Part", makarov)
- a10.FormFactor = Enum.FormFactor.Plate
- a10.CanCollide = false
- a10.TopSurface = Enum.SurfaceType.Smooth
- a10.Anchored = false
- a10.Size = Vector3.new(1, 0.4, 1)
- a10.Name = "A10"
- a10.CFrame = CFrame.new(-17.062, 1.156, -204.18)* CFrame.Angles(3.1415913105011, -9.1241474819981e-007, 3.054322719574)
- a10.BrickColor = BrickColor.new("Dark stone grey")
- a10.Friction = 0.3
- a10.BottomSurface = Enum.SurfaceType.Smooth
- local mesh_60 = Instance.new("BlockMesh", a10)
- mesh_60.Scale = Vector3.new(0.065, 0.195, 0.06)
- local a13 = Instance.new("Part", makarov)
- a13.FormFactor = Enum.FormFactor.Plate
- a13.CanCollide = false
- a13.TopSurface = Enum.SurfaceType.Smooth
- a13.Anchored = false
- a13.Size = Vector3.new(1, 0.4, 1)
- a13.Name = "A13"
- a13.CFrame = CFrame.new(-17.017, 1.186, -204.18)* CFrame.Angles(3.1415908336639, -1.0739731806098e-006, 2.4085586071014)
- a13.BrickColor = BrickColor.new("Dark stone grey")
- a13.Friction = 0.3
- a13.BottomSurface = Enum.SurfaceType.Smooth
- local mesh_61 = Instance.new("BlockMesh", a13)
- mesh_61.Scale = Vector3.new(0.065, 0.325, 0.06)
- local a7 = Instance.new("Part", makarov)
- a7.FormFactor = Enum.FormFactor.Plate
- a7.CanCollide = false
- a7.TopSurface = Enum.SurfaceType.Smooth
- a7.Anchored = false
- a7.Size = Vector3.new(1, 0.4, 1)
- a7.Name = "A7"
- a7.CFrame = CFrame.new(-17.062, 1.156, -204.06)* CFrame.Angles(3.1415910720825, -8.8643889739615e-007, 3.054322719574)
- a7.BrickColor = BrickColor.new("Dark stone grey")
- a7.Friction = 0.3
- a7.BottomSurface = Enum.SurfaceType.Smooth
- local mesh_62 = Instance.new("BlockMesh", a7)
- mesh_62.Scale = Vector3.new(0.065, 0.195, 0.06)
- local a12 = Instance.new("Part", makarov)
- a12.FormFactor = Enum.FormFactor.Plate
- a12.CanCollide = false
- a12.TopSurface = Enum.SurfaceType.Smooth
- a12.Anchored = false
- a12.Size = Vector3.new(1, 0.4, 1)
- a12.Name = "A12"
- a12.CFrame = CFrame.new(-17.057, 1.094, -204.12)* CFrame.Angles(3.1415910720825, -9.0202456703992e-007, 3.054322719574)
- a12.BrickColor = BrickColor.new("Dark stone grey")
- a12.Friction = 0.3
- a12.BottomSurface = Enum.SurfaceType.Smooth
- local mesh_63 = Instance.new("BlockMesh", a12)
- mesh_63.Scale = Vector3.new(0.195, 0.13, 0.179)
- local grip_19 = Instance.new("Part", makarov)
- grip_19.FormFactor = Enum.FormFactor.Plate
- grip_19.CanCollide = false
- grip_19.TopSurface = Enum.SurfaceType.Smooth
- grip_19.Anchored = false
- grip_19.Size = Vector3.new(1, 0.4, 1)
- grip_19.Name = "Grip"
- grip_19.CFrame = CFrame.new(-17.112, 0.36, -204.12)* CFrame.Angles(1.5769547224045, 1.5678464174271, 1.5891962051392)
- grip_19.BrickColor = BrickColor.new("Reddish brown")
- grip_19.Friction = 0.3
- grip_19.BottomSurface = Enum.SurfaceType.Smooth
- local mesh_64 = Instance.new("SpecialMesh", grip_19)
- mesh_64.Scale = Vector3.new(0.175, 0.26, 0.13)
- mesh_64.MeshType = Enum.MeshType.Wedge
- local prev
- local parts = makarov: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
- Tool = makarov
- local arms = nil
- local torso = nil
- local weld33 = nil -- right arm
- local weld55 = nil -- left arm
- local welds = {}
- local reloading = false
- local canreload = true
- local canshoot = true
- local damage = 350
- function ReloadSequence()
- weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-25), 0)
- weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), 0, math.rad(-90))
- wait(.03)
- weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-98), math.rad(-25), 0.1)
- weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), 0, math.rad(-90))
- wait(.03)
- weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-99), math.rad(-25), 0.1)
- weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), -0.1, math.rad(-86))
- Tool.Handle.M1:play()
- Tool.Mag.Transparency = 1
- local mag = Tool.Mag:clone()
- mag.Parent = game.Workspace
- mag.CanCollide = false
- mag.Transparency = 0
- Tool.Mag2.Transparency = 1
- local mag = Tool.Mag2:clone()
- mag.Parent = game.Workspace
- mag.CanCollide = false
- mag.Transparency = 0
- wait(.03)
- weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-100), math.rad(-25), 0.11)
- weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), -0.2, math.rad(-82))
- wait(.03)
- weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-101), math.rad(-25), 0.12)
- weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), -0.3, math.rad(-78))
- wait(.03)
- weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-102), math.rad(-25), 0.13)
- weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), -0.4, math.rad(-74))
- wait(.03)
- weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-103), math.rad(-25), 0.14)
- weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), -0.5, math.rad(-70))
- wait(.03)
- weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-104), math.rad(-25), 0.15)
- weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), -0.6, math.rad(-65))
- wait(.03)
- weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-106), math.rad(-25), 0.16)
- weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), -0.7, math.rad(-59))
- Tool.Mag.Transparency = 0
- Tool.Mag2.Transparency = 0
- Tool.Mag.Mesh.Offset = Vector3.new(0, -1, 0)
- Tool.Mag2.Mesh.Offset = Vector3.new(0, -1, 0)
- wait(.07)
- weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-107), math.rad(-25), 0.17)
- wait(.07)
- weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-106), math.rad(-25), 0.16)
- wait(.06)
- weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-104), math.rad(-25), 0.15)
- weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), -0.6, math.rad(-65))
- Tool.Mag.Mesh.Offset = Vector3.new(0, -0.8, 0)
- Tool.Mag2.Mesh.Offset = Vector3.new(0, -0.8, 0)
- wait(.03)
- weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-103), math.rad(-25), 0.14)
- weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), -0.5, math.rad(-70))
- Tool.Mag.Mesh.Offset = Vector3.new(0, -0.65, 0)
- Tool.Mag2.Mesh.Offset = Vector3.new(0, -0.65, 0)
- wait(.03)
- weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-102), math.rad(-25), 0.13)
- weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), -0.4, math.rad(-74))
- Tool.Mag.Mesh.Offset = Vector3.new(0, -0.5, 0)
- Tool.Mag2.Mesh.Offset = Vector3.new(0, -0.5, 0)
- wait(.03)
- weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-101), math.rad(-25), 0.12)
- weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), -0.3, math.rad(-78))
- Tool.Mag.Mesh.Offset = Vector3.new(0, -0.4, 0)
- Tool.Mag2.Mesh.Offset = Vector3.new(0, -0.4, 0)
- wait(.03)
- weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-100), math.rad(-25), 0.11)
- weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), -0.2, math.rad(-82))
- Tool.Mag.Mesh.Offset = Vector3.new(0, -0.3, 0)
- Tool.Mag2.Mesh.Offset = Vector3.new(0, -0.3, 0)
- Tool.Handle.M2:play()
- wait(.03)
- weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-99), math.rad(-25), 0.1)
- weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), -0.1, math.rad(-86))
- Tool.Mag.Mesh.Offset = Vector3.new(0, -0.2, 0)
- Tool.Mag2.Mesh.Offset = Vector3.new(0, -0.2, 0)
- wait(.03)
- Tool.Mag.Mesh.Offset = Vector3.new(0, -0.1, 0)
- Tool.Mag2.Mesh.Offset = Vector3.new(0, -0.1, 0)
- weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-98), math.rad(-25), 0.1)
- weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), 0, math.rad(-90))
- Tool.Mag.Mesh.Offset = Vector3.new(0, 0, 0)
- Tool.Mag2.Mesh.Offset = Vector3.new(0, 0, 0)
- wait(.03)
- Tool.Handle.M3:play()
- Slide2()
- wait(.06)
- Slide1()
- wait(.06)
- Slide3()
- wait(.14)
- weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-25), 0)
- weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), 0, math.rad(-90))
- wait(.07)
- weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-89.5), math.rad(-25), 0)
- weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), -0.005, math.rad(-90))
- wait(.04)
- weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-89), math.rad(-25), 0)
- weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), -0.01, math.rad(-90))
- wait(.04)
- weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-89.5), math.rad(-25), 0)
- weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), -0.005, math.rad(-90))
- wait(.04)
- weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-25), 0)
- weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), 0, math.rad(-90))
- end
- function ReloadSequence2()
- weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-25), 0)
- weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), 0, math.rad(-90))
- wait(.03)
- weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-98), math.rad(-25), 0.1)
- weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), 0, math.rad(-90))
- wait(.03)
- weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-99), math.rad(-25), 0.1)
- weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), -0.1, math.rad(-86))
- Tool.Handle.M1:play()
- Tool.Mag.Transparency = 1
- local mag = Tool.Mag:clone()
- mag.Parent = game.Workspace
- mag.CanCollide = false
- mag.Transparency = 0
- Tool.Mag2.Transparency = 1
- local mag = Tool.Mag2:clone()
- mag.Parent = game.Workspace
- mag.CanCollide = false
- mag.Transparency = 0
- wait(.03)
- weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-100), math.rad(-25), 0.11)
- weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), -0.2, math.rad(-82))
- wait(.03)
- weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-101), math.rad(-25), 0.12)
- weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), -0.3, math.rad(-78))
- wait(.03)
- weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-102), math.rad(-25), 0.13)
- weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), -0.4, math.rad(-74))
- wait(.03)
- weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-103), math.rad(-25), 0.14)
- weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), -0.5, math.rad(-70))
- wait(.03)
- weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-104), math.rad(-25), 0.15)
- weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), -0.6, math.rad(-65))
- wait(.03)
- weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-106), math.rad(-25), 0.16)
- weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), -0.7, math.rad(-59))
- Tool.Mag.Transparency = 0
- Tool.Mag2.Transparency = 0
- Tool.Mag.Mesh.Offset = Vector3.new(0, -1, 0)
- Tool.Mag2.Mesh.Offset = Vector3.new(0, -1, 0)
- wait(.07)
- weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-107), math.rad(-25), 0.17)
- wait(.07)
- weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-106), math.rad(-25), 0.16)
- wait(.06)
- weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-104), math.rad(-25), 0.15)
- weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), -0.6, math.rad(-65))
- Tool.Mag.Mesh.Offset = Vector3.new(0, -0.8, 0)
- Tool.Mag2.Mesh.Offset = Vector3.new(0, -0.8, 0)
- wait(.03)
- weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-103), math.rad(-25), 0.14)
- weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), -0.5, math.rad(-70))
- Tool.Mag.Mesh.Offset = Vector3.new(0, -0.65, 0)
- Tool.Mag2.Mesh.Offset = Vector3.new(0, -0.65, 0)
- wait(.03)
- weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-102), math.rad(-25), 0.13)
- weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), -0.4, math.rad(-74))
- Tool.Mag.Mesh.Offset = Vector3.new(0, -0.5, 0)
- Tool.Mag2.Mesh.Offset = Vector3.new(0, -0.5, 0)
- wait(.03)
- weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-101), math.rad(-25), 0.12)
- weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), -0.3, math.rad(-78))
- Tool.Mag.Mesh.Offset = Vector3.new(0, -0.4, 0)
- Tool.Mag2.Mesh.Offset = Vector3.new(0, -0.4, 0)
- wait(.03)
- weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-100), math.rad(-25), 0.11)
- weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), -0.2, math.rad(-82))
- Tool.Mag.Mesh.Offset = Vector3.new(0, -0.3, 0)
- Tool.Mag2.Mesh.Offset = Vector3.new(0, -0.3, 0)
- Tool.Handle.M2:play()
- wait(.03)
- weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-99), math.rad(-25), 0.1)
- weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), -0.1, math.rad(-86))
- Tool.Mag.Mesh.Offset = Vector3.new(0, -0.2, 0)
- Tool.Mag2.Mesh.Offset = Vector3.new(0, -0.2, 0)
- wait(.03)
- Tool.Mag.Mesh.Offset = Vector3.new(0, -0.1, 0)
- Tool.Mag2.Mesh.Offset = Vector3.new(0, -0.1, 0)
- weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-98), math.rad(-25), 0.1)
- weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), -0., math.rad(-90))
- Tool.Mag.Mesh.Offset = Vector3.new(0, 0, 0)
- Tool.Mag2.Mesh.Offset = Vector3.new(0, 0, 0)
- wait(.04)
- weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-101), math.rad(-25), 0.12)
- weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), -0.3, math.rad(-78))
- weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-25), 0)
- weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), 0, math.rad(-90))
- wait(.03)
- weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-89.5), math.rad(-25), 0)
- weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), -0.005, math.rad(-90))
- wait(.03)
- weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-89), math.rad(-25), 0)
- weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), -0.01, math.rad(-90))
- wait(.03)
- weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-89.5), math.rad(-25), 0)
- weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), -0.005, math.rad(-90))
- wait(.03)
- weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-25), 0)
- weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), 0, math.rad(-90))
- end
- function Reload()
- Tool.Left.Value = Tool.Ammo.Value
- if makarov.Ammo.Value < makarov.MaxAmmo.Value and reloading == false and makarov.StoredAmmo.Value >= 1 then
- reloading = true
- makarov.Ammo.Value = 0
- ReloadChoose()
- makarov.StoredAmmo.Value = makarov.StoredAmmo.Value + makarov.Left.Value
- if makarov.StoredAmmo.Value >= makarov.MaxAmmo.Value then
- makarov.StoredAmmo.Value = makarov.StoredAmmo.Value - makarov.MaxAmmo.Value
- makarov.Ammo.Value = makarov.MaxAmmo.Value
- makarov.Recoil.Value = 5
- elseif makarov.StoredAmmo.Value < makarov.MaxAmmo.Value and makarov.StoredAmmo.Value >= 1 then
- makarov.Ammo.Value = makarov.StoredAmmo.Value
- makarov.StoredAmmo.Value = 0
- makarov.Recoil.Value = 5
- end
- reloading = false
- end
- end
- function ReloadChoose()
- if makarov.Left.Value == 0 then
- ReloadSequence()
- elseif makarov.Left.Value >= 1 then
- ReloadSequence2()
- end
- end
- function Slider()
- if makarov.Ammo.Value == 0 then
- Slide2()
- elseif makarov.Ammo.Value >= 1 then
- Slide3()
- end
- end
- function Slider2()
- if makarov.Ammo.Value == 0 then
- Slide2()
- Tool.Handle.Empty:play()
- elseif makarov.Ammo.Value >= 1 then
- end
- end
- function Slide1()
- Tool.A1.Mesh.Offset = Vector3.new(0.17, 0, 0)
- Tool.A2.Mesh.Offset = Vector3.new(0.2, 0, 0)
- Tool.A3.Mesh.Offset = Vector3.new(0.2, 0, 0)
- Tool.A4.Mesh.Offset = Vector3.new(0.2, 0, 0)
- Tool.A5.Mesh.Offset = Vector3.new(0.2, 0, 0)
- Tool.A6.Mesh.Offset = Vector3.new(0.135, 0.119, 0)
- Tool.A7.Mesh.Offset = Vector3.new(0.18, 0, 0)
- Tool.A8.Mesh.Offset = Vector3.new(0.1, 0.15, 0)
- Tool.A9.Mesh.Offset = Vector3.new(0.185, 0.075, 0)
- Tool.A10.Mesh.Offset = Vector3.new(0.18, 0, 0)
- Tool.A11.Mesh.Offset = Vector3.new(0.1, 0.15, 0)
- Tool.A12.Mesh.Offset = Vector3.new(0.2, 0, 0)
- Tool.A13.Mesh.Offset = Vector3.new(0.14, 0.119, 0)
- Tool.A14.Mesh.Offset = Vector3.new(0.2, 0, 0)
- Tool.A15.Mesh.Offset = Vector3.new(0.2, 0, 0)
- Tool.A16.Mesh.Offset = Vector3.new(0.2, 0, 0)
- Tool.A17.Mesh.Offset = Vector3.new(0.2, 0, 0)
- Tool.A18.Mesh.Offset = Vector3.new(0.2, 0, 0)
- Tool.A19.Mesh.Offset = Vector3.new(0.2, 0, 0)
- Tool.A20.Mesh.Offset = Vector3.new(0.1, 0.15, 0)
- Tool.A21.Mesh.Offset = Vector3.new(0.15, -0.1, 0)
- Tool.A22.Mesh.Offset = Vector3.new(0.2, 0, 0)
- Tool.A23.Mesh.Offset = Vector3.new(0.2, 0, 0)
- Tool.A24.Mesh.Offset = Vector3.new(0.2, 0, 0)
- Tool.Backsight.Mesh.Offset = Vector3.new(0, -0.2, 0)
- Tool.Backsight2.Mesh.Offset = Vector3.new(0, -0.2, 0)
- Tool.Backsight3.Mesh.Offset = Vector3.new(0, -0.2, 0)
- Tool.Frontsight.Mesh.Offset = Vector3.new(0, 0, 0.3)
- Tool.Barrel2.Mesh.Offset = Vector3.new(0, 0.2, 0)
- end
- function Slide2()
- Tool.A1.Mesh.Offset = Vector3.new(0.27, 0, 0)
- Tool.A2.Mesh.Offset = Vector3.new(0.3, 0, 0)
- Tool.A3.Mesh.Offset = Vector3.new(0.3, 0, 0)
- Tool.A4.Mesh.Offset = Vector3.new(0.3, 0, 0)
- Tool.A5.Mesh.Offset = Vector3.new(0.3, 0, 0)
- Tool.A6.Mesh.Offset = Vector3.new(0.26, 0.19, 0)
- Tool.A7.Mesh.Offset = Vector3.new(0.28, 0, 0)
- Tool.A8.Mesh.Offset = Vector3.new(0.2, 0.25, 0)
- Tool.A9.Mesh.Offset = Vector3.new(0.185, 0.075, 0)
- Tool.A10.Mesh.Offset = Vector3.new(0.28, 0, 0)
- Tool.A11.Mesh.Offset = Vector3.new(0.2, 0.25, 0)
- Tool.A12.Mesh.Offset = Vector3.new(0.3, 0, 0)
- Tool.A13.Mesh.Offset = Vector3.new(0.26, 0.19, 0)
- Tool.A14.Mesh.Offset = Vector3.new(0.3, 0, 0)
- Tool.A15.Mesh.Offset = Vector3.new(0.3, 0, 0)
- Tool.A16.Mesh.Offset = Vector3.new(0.3, 0, 0)
- Tool.A17.Mesh.Offset = Vector3.new(0.3, 0, 0)
- Tool.A18.Mesh.Offset = Vector3.new(0.3, 0, 0)
- Tool.A19.Mesh.Offset = Vector3.new(0.3, 0, 0)
- Tool.A20.Mesh.Offset = Vector3.new(0.2, 0.25, 0)
- Tool.A21.Mesh.Offset = Vector3.new(0.25, -0.2, 0)
- Tool.A22.Mesh.Offset = Vector3.new(0.3, 0, 0)
- Tool.A23.Mesh.Offset = Vector3.new(0.3, 0, 0)
- Tool.A24.Mesh.Offset = Vector3.new(0.3, 0, 0)
- Tool.Backsight.Mesh.Offset = Vector3.new(0, -0.3, 0)
- Tool.Backsight2.Mesh.Offset = Vector3.new(0, -0.3, 0)
- Tool.Backsight3.Mesh.Offset = Vector3.new(0, -0.3, 0)
- Tool.Frontsight.Mesh.Offset = Vector3.new(0, 0, 0.4)
- Tool.Barrel2.Mesh.Offset = Vector3.new(0, 0.3, 0)
- end
- function Slide3()
- Tool.A1.Mesh.Offset = Vector3.new(0, 0, 0)
- Tool.A2.Mesh.Offset = Vector3.new(0, 0, 0)
- Tool.A3.Mesh.Offset = Vector3.new(0, 0, 0)
- Tool.A4.Mesh.Offset = Vector3.new(0, 0, 0)
- Tool.A5.Mesh.Offset = Vector3.new(0, 0, 0)
- Tool.A6.Mesh.Offset = Vector3.new(0, 0, 0)
- Tool.A7.Mesh.Offset = Vector3.new(0, 0, 0)
- Tool.A8.Mesh.Offset = Vector3.new(0, 0, 0)
- Tool.A9.Mesh.Offset = Vector3.new(0, 0, 0)
- Tool.A10.Mesh.Offset = Vector3.new(0, 0, 0)
- Tool.A11.Mesh.Offset = Vector3.new(0, 0, 0)
- Tool.A12.Mesh.Offset = Vector3.new(0, 0, 0)
- Tool.A13.Mesh.Offset = Vector3.new(0, 0, 0)
- Tool.A14.Mesh.Offset = Vector3.new(0, 0, 0)
- Tool.A15.Mesh.Offset = Vector3.new(0, 0, 0)
- Tool.A16.Mesh.Offset = Vector3.new(0, 0, 0)
- Tool.A17.Mesh.Offset = Vector3.new(0, 0, 0)
- Tool.A18.Mesh.Offset = Vector3.new(0, 0, 0)
- Tool.A19.Mesh.Offset = Vector3.new(0, 0, 0)
- Tool.A20.Mesh.Offset = Vector3.new(0, 0, 0)
- Tool.A21.Mesh.Offset = Vector3.new(0, 0, 0)
- Tool.A22.Mesh.Offset = Vector3.new(0, 0, 0)
- Tool.A23.Mesh.Offset = Vector3.new(0, 0, 0)
- Tool.A24.Mesh.Offset = Vector3.new(0, 0, 0)
- Tool.Backsight.Mesh.Offset = Vector3.new(0, 0, 0)
- Tool.Backsight2.Mesh.Offset = Vector3.new(0, 0, 0)
- Tool.Backsight3.Mesh.Offset = Vector3.new(0, 0, 0)
- Tool.Frontsight.Mesh.Offset = Vector3.new(0, 0, 0)
- Tool.Barrel2.Mesh.Offset = Vector3.new(0, 0, 0)
- end
- function Takeout()
- local canreload = false
- local canshoot = false
- weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-78), math.rad(-25), 0)
- weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), -0.3, math.rad(-90))
- wait(.03)
- weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-82), math.rad(-25), 0)
- weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), -0.2, math.rad(-90))
- wait(.03)
- weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-86), math.rad(-25), 0)
- weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), -0.1, math.rad(-90))
- wait(.03)
- weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-25), 0)
- weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), 0, math.rad(-90))
- wait(.03)
- weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-94), math.rad(-25), 0)
- weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), 0.1, math.rad(-90))
- wait(.03)
- weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-25), 0)
- weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), 0, math.rad(-90))
- local canreload = true
- local canshoot = true
- end
- function Equip(mouse)
- wait(0.01)
- arms = {Tool.Parent:FindFirstChild("Left Arm"), Tool.Parent:FindFirstChild("Right Arm")}
- torso = Tool.Parent:FindFirstChild("Torso")
- if arms ~= nil and torso ~= nil then
- local sh = {torso:FindFirstChild("Left Shoulder"), torso:FindFirstChild("Right Shoulder")}
- if sh ~= nil then
- local yes = true
- if yes then
- yes = false
- sh[1].Part1 = nil
- sh[2].Part1 = nil
- falsearm1 = arms[1]:clone()
- local mesh1 = Instance.new("BlockMesh")
- mesh1.Scale = Vector3.new(.9,.9,.9)
- mesh1.Parent = falsearm1
- local armweld1 = Instance.new("Weld")
- falsearm1.BrickColor = BrickColor.new(26)
- falsearm1.Parent = Tool
- armweld1.Parent = falsearm1
- armweld1.Part0 = falsearm1
- armweld1.Part1 = arms[1]
- falsearm2 = arms[2]:clone()
- local mesh2 = Instance.new("BlockMesh")
- mesh2.Scale = Vector3.new(.9,.9,.9)
- mesh2.Parent = falsearm2
- local armweld2 = Instance.new("Weld")
- falsearm2.BrickColor = BrickColor.new(26)
- falsearm2.Parent = Tool
- armweld2.Parent = falsearm2
- armweld2.Part0 = falsearm2
- armweld2.Part1 = arms[2]
- local weld1 = Instance.new("Weld") -- left arm
- weld55 = weld1
- weld1.Part0 = torso
- weld1.Parent = torso
- weld1.Part1 = arms[1]
- weld1.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), 0, math.rad(-90))
- welds[1] = weld1
- local weld2 = Instance.new("Weld") -- right arm
- weld33 = weld2
- weld2.Part0 = torso
- weld2.Parent = torso
- weld2.Part1 = arms[2]
- weld2.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-25), 0)
- welds[2] = weld2
- Takeout()
- end
- else
- print("sh")
- end
- else
- print("arms")
- end
- end
- local legs = nil
- local torso2 = nil
- local welds2 = {}
- local bodyforce = nil
- function Unequip(mouse)
- if arms ~= nil and torso ~= nil then
- local sh = {torso:FindFirstChild("Left Shoulder"), torso:FindFirstChild("Right Shoulder")}
- if sh ~= nil then
- local yes = true
- if yes then
- yes = false
- sh[1].Part1 = arms[1]
- sh[2].Part1 = arms[2]
- welds[1].Parent = nil
- welds[2].Parent = nil
- falsearm1:remove()
- falsearm2:remove()
- end
- else
- print("sh")
- end
- else
- print("arms")
- end
- end
- function fire(v)
- Tool.Handle.Fire:play()
- local vCharacter = Tool.Parent
- local vPlayer = game.Players:playerFromCharacter(vCharacter)
- local missile = Instance.new("Part")
- local spawnPos = vCharacter.PrimaryPart.Position
- spawnPos = spawnPos + (v * 8)
- missile.Position = spawnPos
- missile.Size = Vector3.new(1,1,1)
- missile.Velocity = v * 800
- missile.BrickColor = BrickColor.new(26)
- missile.Shape = 0
- missile.BottomSurface = 0
- missile.TopSurface = 0
- missile.Name = "Bullet"
- missile.Elasticity = 0
- missile.Reflectance = 0
- missile.Friction = .9
- missile.CanCollide = false
- local force = Instance.new("BodyForce")
- force.force = Vector3.new(0,missile:getMass() * 196,0)
- force.Parent = missile
- local mesh = Instance.new("SpecialMesh")
- mesh.Scale = Vector3.new(.01,.01,.01)
- mesh.MeshType = "Sphere"
- mesh.Parent = missile
- local creator_tag = Instance.new("ObjectValue")
- creator_tag.Value = vPlayer
- creator_tag.Name = "creator"
- creator_tag.Parent = missile
- missile.Parent = game.Workspace
- function onHit(hit)
- if hit.Name == "Right Leg" or hit.Name == "Left Leg" or hit.Name == "Right Arm" or hit.Name == "Left Arm" or hit.Name == "Head" or hit.Name == "Torso" then
- if hit.Parent:findFirstChild("Humanoid") ~= nil then
- hit.Parent.Humanoid:TakeDamage(9) -- Amount of damage a pellet will do to a player
- missile:Remove()
- elseif hit.Parent:findFirstChild("Zombie") ~= nil then
- hit.Parent.Zombie:TakeDamage(100) -- Amount of damage a pellet will do to a zombie
- missile:Remove()
- end
- elseif hit.Name == "Bullet" then
- return
- else
- missile:Remove()
- end
- end
- missile.Touched:connect(onHit)
- cam = game.Workspace.CurrentCamera
- local cam_rot = cam.CoordinateFrame - cam.CoordinateFrame.p
- local cam_scroll = (cam.CoordinateFrame.p - cam.Focus.p).magnitude
- local ncf = CFrame.new(cam.Focus.p)*cam_rot*CFrame.fromEulerAnglesXYZ(0.004, 0.004, 0)
- cam.CoordinateFrame = ncf*CFrame.new(0, 0, cam_scroll)
- weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-94), math.rad(-25), 0)
- weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), 0.05, math.rad(-90))
- Tool.A1.Mesh.Offset = Vector3.new(0.17, 0, 0)
- Tool.A2.Mesh.Offset = Vector3.new(0.2, 0, 0)
- Tool.A3.Mesh.Offset = Vector3.new(0.2, 0, 0)
- Tool.A4.Mesh.Offset = Vector3.new(0.2, 0, 0)
- Tool.A5.Mesh.Offset = Vector3.new(0.2, 0, 0)
- Tool.A6.Mesh.Offset = Vector3.new(0.135, 0.119, 0)
- Tool.A7.Mesh.Offset = Vector3.new(0.18, 0, 0)
- Tool.A8.Mesh.Offset = Vector3.new(0.1, 0.15, 0)
- Tool.A9.Mesh.Offset = Vector3.new(0.185, 0.075, 0)
- Tool.A10.Mesh.Offset = Vector3.new(0.18, 0, 0)
- Tool.A11.Mesh.Offset = Vector3.new(0.1, 0.15, 0)
- Tool.A12.Mesh.Offset = Vector3.new(0.2, 0, 0)
- Tool.A13.Mesh.Offset = Vector3.new(0.14, 0.119, 0)
- Tool.A14.Mesh.Offset = Vector3.new(0.2, 0, 0)
- Tool.A15.Mesh.Offset = Vector3.new(0.2, 0, 0)
- Tool.A16.Mesh.Offset = Vector3.new(0.2, 0, 0)
- Tool.A17.Mesh.Offset = Vector3.new(0.2, 0, 0)
- Tool.A18.Mesh.Offset = Vector3.new(0.2, 0, 0)
- Tool.A19.Mesh.Offset = Vector3.new(0.2, 0, 0)
- Tool.A20.Mesh.Offset = Vector3.new(0.1, 0.15, 0)
- Tool.A21.Mesh.Offset = Vector3.new(0.15, -0.1, 0)
- Tool.A22.Mesh.Offset = Vector3.new(0.2, 0, 0)
- Tool.A23.Mesh.Offset = Vector3.new(0.2, 0, 0)
- Tool.A24.Mesh.Offset = Vector3.new(0.2, 0, 0)
- Tool.Backsight.Mesh.Offset = Vector3.new(0, -0.2, 0)
- Tool.Backsight2.Mesh.Offset = Vector3.new(0, -0.2, 0)
- Tool.Backsight3.Mesh.Offset = Vector3.new(0, -0.2, 0)
- Tool.Frontsight.Mesh.Offset = Vector3.new(0, 0, 0.3)
- Tool.Barrel2.Mesh.Offset = Vector3.new(0, 0.2, 0)
- wait(.02)
- local cam_rot = cam.CoordinateFrame - cam.CoordinateFrame.p
- local cam_scroll = (cam.CoordinateFrame.p - cam.Focus.p).magnitude
- local ncf = CFrame.new(cam.Focus.p)*cam_rot*CFrame.fromEulerAnglesXYZ(0.004, -0.004, 0)
- cam.CoordinateFrame = ncf*CFrame.new(0, 0, cam_scroll)
- weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-98), math.rad(-25), 0)
- weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), 0.1, math.rad(-90))
- Tool.A1.Mesh.Offset = Vector3.new(0.27, 0, 0)
- Tool.A2.Mesh.Offset = Vector3.new(0.3, 0, 0)
- Tool.A3.Mesh.Offset = Vector3.new(0.3, 0, 0)
- Tool.A4.Mesh.Offset = Vector3.new(0.3, 0, 0)
- Tool.A5.Mesh.Offset = Vector3.new(0.3, 0, 0)
- Tool.A6.Mesh.Offset = Vector3.new(0.26, 0.19, 0)
- Tool.A7.Mesh.Offset = Vector3.new(0.28, 0, 0)
- Tool.A8.Mesh.Offset = Vector3.new(0.1, 0.15, 0)
- Tool.A9.Mesh.Offset = Vector3.new(0.185, 0.075, 0)
- Tool.A10.Mesh.Offset = Vector3.new(0.28, 0, 0)
- Tool.A11.Mesh.Offset = Vector3.new(0.2, 0.25, 0)
- Tool.A12.Mesh.Offset = Vector3.new(0.3, 0, 0)
- Tool.A13.Mesh.Offset = Vector3.new(0.26, 0.19, 0)
- Tool.A14.Mesh.Offset = Vector3.new(0.3, 0, 0)
- Tool.A15.Mesh.Offset = Vector3.new(0.3, 0, 0)
- Tool.A16.Mesh.Offset = Vector3.new(0.3, 0, 0)
- Tool.A17.Mesh.Offset = Vector3.new(0.3, 0, 0)
- Tool.A18.Mesh.Offset = Vector3.new(0.3, 0, 0)
- Tool.A19.Mesh.Offset = Vector3.new(0.3, 0, 0)
- Tool.A20.Mesh.Offset = Vector3.new(0.2, 0.25, 0)
- Tool.A21.Mesh.Offset = Vector3.new(0.25, -0.2, 0)
- Tool.A22.Mesh.Offset = Vector3.new(0.3, 0, 0)
- Tool.A23.Mesh.Offset = Vector3.new(0.3, 0, 0)
- Tool.A24.Mesh.Offset = Vector3.new(0.3, 0, 0)
- Tool.Backsight.Mesh.Offset = Vector3.new(0, -0.3, 0)
- Tool.Backsight2.Mesh.Offset = Vector3.new(0, -0.3, 0)
- Tool.Backsight3.Mesh.Offset = Vector3.new(0, -0.3, 0)
- Tool.Frontsight.Mesh.Offset = Vector3.new(0, 0, 0.4)
- Tool.Barrel2.Mesh.Offset = Vector3.new(0, 0.3, 0)
- wait(.02)
- local cam_rot = cam.CoordinateFrame - cam.CoordinateFrame.p
- local cam_scroll = (cam.CoordinateFrame.p - cam.Focus.p).magnitude
- local ncf = CFrame.new(cam.Focus.p)*cam_rot*CFrame.fromEulerAnglesXYZ(0.004, 0.004, 0)
- cam.CoordinateFrame = ncf*CFrame.new(0, 0, cam_scroll)
- weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-94), math.rad(-25), 0)
- weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), 0.05, math.rad(-90))
- Slider()
- wait(.02)
- local cam_rot = cam.CoordinateFrame - cam.CoordinateFrame.p
- local cam_scroll = (cam.CoordinateFrame.p - cam.Focus.p).magnitude
- local ncf = CFrame.new(cam.Focus.p)*cam_rot*CFrame.fromEulerAnglesXYZ(0.004, -0.004, 0)
- cam.CoordinateFrame = ncf*CFrame.new(0, 0, cam_scroll)
- weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-25), 0)
- weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), 0, math.rad(-90))
- Slider2()
- end
- function KeyDownFunctions(key)
- if key == "r" then
- Reload()
- end
- end
- Tool.Enabled = true
- function onActivated()
- if not Tool.Enabled then
- return
- end
- Tool.Enabled = false
- local character = Tool.Parent;
- local humanoid = character.Humanoid
- if humanoid == nil then
- print("Humanoid not found")
- return
- end
- local ammo = makarov.Ammo
- local maxammo = makarov.MaxAmmo
- if reloading == false and humanoid.Health >= 1 then
- if ammo.Value >= 1 then
- ammo.Value = ammo.Value - 1
- local targetPos = humanoid.TargetPoint
- local lookAt = (targetPos - character.Head.Position).unit
- if makarov.Recoil.Value < 20 then
- makarov.Recoil.Value = makarov.Recoil.Value + math.random(1,3)
- end
- fire(lookAt)
- else
- Reload()
- end
- end
- Tool.Enabled = true
- end
- function onEquippedLocal(mouse)
- if mouse == nil then
- print("Mouse not found")
- return
- end
- mouse.Icon = "http://www.roblox.com/asset/?id=49912389"
- mouse.KeyDown:connect(KeyDownFunctions)
- while true do
- wait()
- end
- end
- Tool.Equipped:connect(onEquippedLocal)
- makarov.Activated:connect(onActivated)
- Tool.Equipped:connect(Equip)
- Tool.Unequipped:connect(Unequip)
- local Tool = makarov
- local Ammo = Tool.Ammo
- local MaxAmmo = Ammo.Value
- local vPlayer
- local Gui
- local Text
- function onChanged(value)
- if value == "Value" or value == Ammo.Value then
- if Gui ~= nil and Text ~= nil then
- if Ammo.Value >= 1 then
- Text.Text = ""..makarov.Ammo.Value.."|"..makarov.StoredAmmo.Value..""
- elseif math.floor(Ammo.Value) == 0 then
- Text.Text = ""..makarov.Ammo.Value.."|"..makarov.StoredAmmo.Value..""
- elseif Ammo.Value < 0 then
- for i = 0, 1, 0.03 / 2 do
- local Num = math.floor(i * MaxAmmo + 0.5)
- Text.Text = ""..makarov.Ammo.Value.."|"..makarov.StoredAmmo.Value..""
- wait()
- end
- end
- end
- end
- end
- function on2Changed()
- if Gui ~= nil and Text ~= nil then
- Text.Text = ""..makarov.Ammo.Value.."|"..makarov.StoredAmmo.Value..""
- wait()
- end
- end
- function setUpGui()
- if vPlayer == nil or vPlayer:findFirstChild("PlayerGui") == nil then
- return
- end
- Gui = Instance.new("ScreenGui")
- Text = Instance.new("TextLabel")
- Gui.Name = "DEDisplay"
- Gui.Parent = vPlayer.PlayerGui
- Text.BackgroundColor3 = BrickColor.Black().Color
- Text.BackgroundTransparency = 1
- Text.BorderColor3 = BrickColor.White().Color
- Text.BorderSizePixel = 0
- Text.Name = "Ammo"
- Text.Parent = Gui
- Text.Position = UDim2.new(0.15, 0, 0.825, 0)
- Text.Size = UDim2.new(0, -60, 0, 64)
- Text.FontSize = "Size18"
- Text.Text = ""..makarov.Ammo.Value.."|"..makarov.StoredAmmo.Value..""
- Text.TextColor3 = BrickColor.White().Color
- end
- function onEquippedLocal(mouse)
- vPlayer = game.Players.LocalPlayer
- setUpGui()
- end
- function onUnequippedLocal(mouse)
- if Gui then
- Gui:remove()
- end
- Gui = nil
- Text = nil
- vPlayer = nil
- end
- Tool.Equipped:connect(onEquippedLocal)
- Tool.Unequipped:connect(onUnequippedLocal)
- Ammo.Changed:connect(onChanged)
- Tool.StoredAmmo.Changed:connect(on2Changed)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement