Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- m2carbine = Instance.new("Tool", game.Players.LocalPlayer.Backpack)
- m2carbine.Name = "M2Carbine"
- part = Instance.new("Part", m2carbine)
- part.FormFactor = Enum.FormFactor.Custom
- part.CanCollide = false
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Material = Enum.Material.Metal
- part.Size = Vector3.new(0.834, 0.834, 0.834)
- part.CFrame = CFrame.new(8.479, 1.254, 40.994)* CFrame.Angles(1.5707963705063, 0, 1.5707963705063)
- part.BrickColor = BrickColor.new("Dark stone grey")
- part.Friction = 0.3
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("CylinderMesh", part)
- mesh.Scale = Vector3.new(0.106, 2.069, 0.106)
- decal = Instance.new("Decal", part)
- decal.Face = Enum.NormalId.Top
- decal.Texture = "http://www.roblox.com/asset/?id=47760372"
- part_2 = Instance.new("Part", m2carbine)
- part_2.FormFactor = Enum.FormFactor.Custom
- part_2.CanCollide = false
- part_2.TopSurface = Enum.SurfaceType.Smooth
- part_2.Anchored = false
- part_2.Material = Enum.Material.Wood
- part_2.Size = Vector3.new(0.834, 0.834, 0.834)
- part_2.CFrame = CFrame.new(9.126, 1.182, 40.99)* CFrame.Angles(-3.1415927410126, 5.5202993287651e-009, 2.3561944961548)
- part_2.BrickColor = BrickColor.new("Reddish brown")
- part_2.Friction = 0.3
- part_2.BottomSurface = Enum.SurfaceType.Smooth
- mesh_2 = Instance.new("CylinderMesh", part_2)
- mesh_2.Scale = Vector3.new(0.239, 0.13, 0.239)
- part_3 = Instance.new("Part", m2carbine)
- part_3.FormFactor = Enum.FormFactor.Custom
- part_3.CanCollide = false
- part_3.TopSurface = Enum.SurfaceType.Smooth
- part_3.Anchored = false
- part_3.Material = Enum.Material.Wood
- part_3.Size = Vector3.new(0.834, 0.834, 0.834)
- part_3.CFrame = CFrame.new(9.28, 1.275, 40.948)* CFrame.Angles(6.8167693711985e-014, 1.5707963705063, 0)
- part_3.BrickColor = BrickColor.new("Reddish brown")
- part_3.Friction = 0.3
- part_3.BottomSurface = Enum.SurfaceType.Smooth
- mesh_3 = Instance.new("SpecialMesh", part_3)
- mesh_3.Scale = Vector3.new(0.133, 0.133, 0.133)
- mesh_3.MeshType = Enum.MeshType.Sphere
- part_4 = Instance.new("Part", m2carbine)
- part_4.FormFactor = Enum.FormFactor.Custom
- part_4.CanCollide = false
- part_4.TopSurface = Enum.SurfaceType.Smooth
- part_4.Anchored = false
- part_4.Material = Enum.Material.Wood
- part_4.Size = Vector3.new(0.834, 0.834, 0.834)
- part_4.CFrame = CFrame.new(9.118, 1.206, 40.99)* CFrame.Angles(-3.1415927410126, -3.0997426847534e-013, -3.1415927410126)
- part_4.BrickColor = BrickColor.new("Reddish brown")
- part_4.Friction = 0.3
- part_4.BottomSurface = Enum.SurfaceType.Smooth
- mesh_4 = Instance.new("CylinderMesh", part_4)
- mesh_4.Scale = Vector3.new(0.239, 0.129, 0.239)
- part_5 = Instance.new("Part", m2carbine)
- part_5.FormFactor = Enum.FormFactor.Custom
- part_5.CanCollide = false
- part_5.TopSurface = Enum.SurfaceType.Smooth
- part_5.Anchored = false
- part_5.Material = Enum.Material.Wood
- part_5.Size = Vector3.new(0.425, 0.425, 0.425)
- part_5.CFrame = CFrame.new(9.352, 1.209, 40.992)* CFrame.Angles(3.1415927410126, -3.0853097854333e-013, -3.1415927410126)
- part_5.BrickColor = BrickColor.new("Reddish brown")
- part_5.Friction = 0.3
- part_5.BottomSurface = Enum.SurfaceType.Smooth
- mesh_5 = Instance.new("SpecialMesh", part_5)
- mesh_5.Scale = Vector3.new(1.196, 0.156, 0.468)
- mesh_5.MeshType = Enum.MeshType.Brick
- part_6 = Instance.new("Part", m2carbine)
- part_6.FormFactor = Enum.FormFactor.Custom
- part_6.CanCollide = false
- part_6.TopSurface = Enum.SurfaceType.Smooth
- part_6.Anchored = false
- part_6.Material = Enum.Material.Wood
- part_6.Size = Vector3.new(1, 1, 1)
- part_6.CFrame = CFrame.new(9.217, 1.176, 40.992)* CFrame.Angles(-1.5707963705063, 0, -1.5707963705063)
- part_6.BrickColor = BrickColor.new("Reddish brown")
- part_6.Friction = 0.3
- part_6.BottomSurface = Enum.SurfaceType.Smooth
- mesh_6 = Instance.new("CylinderMesh", part_6)
- mesh_6.Scale = Vector3.new(0.199, 0.24, 0.221)
- part_7 = Instance.new("Part", m2carbine)
- part_7.FormFactor = Enum.FormFactor.Custom
- part_7.CanCollide = false
- part_7.TopSurface = Enum.SurfaceType.Smooth
- part_7.Anchored = false
- part_7.Material = Enum.Material.Metal
- part_7.Size = Vector3.new(0.425, 0.425, 0.425)
- part_7.CFrame = CFrame.new(9.23, 1.162, 40.993)* CFrame.Angles(-1.5707963705063, 0, -1.5707963705063)
- part_7.BrickColor = BrickColor.new("Dark stone grey")
- part_7.Friction = 0.3
- part_7.BottomSurface = Enum.SurfaceType.Smooth
- mesh_7 = Instance.new("CylinderMesh", part_7)
- mesh_7.Scale = Vector3.new(0.601, 0.104, 0.476)
- part_8 = Instance.new("Part", m2carbine)
- part_8.FormFactor = Enum.FormFactor.Custom
- part_8.CanCollide = false
- part_8.TopSurface = Enum.SurfaceType.Smooth
- part_8.Anchored = false
- part_8.Material = Enum.Material.Metal
- part_8.Size = Vector3.new(0.834, 0.834, 0.834)
- part_8.CFrame = CFrame.new(8.954, 1.253, 40.992)* CFrame.Angles(-1.5707963705063, 0, -1.5707963705063)
- part_8.BrickColor = BrickColor.new("Dark stone grey")
- part_8.Friction = 0.3
- part_8.BottomSurface = Enum.SurfaceType.Smooth
- mesh_8 = Instance.new("CylinderMesh", part_8)
- mesh_8.Scale = Vector3.new(0.133, 1.088, 0.133)
- part_9 = Instance.new("Part", m2carbine)
- part_9.FormFactor = Enum.FormFactor.Custom
- part_9.CanCollide = false
- part_9.TopSurface = Enum.SurfaceType.Smooth
- part_9.Anchored = false
- part_9.Material = Enum.Material.Metal
- part_9.Size = Vector3.new(0.425, 0.425, 0.425)
- part_9.CFrame = CFrame.new(9.23, 1.212, 40.993)* CFrame.Angles(-1.5707963705063, 0, -1.5707963705063)
- part_9.BrickColor = BrickColor.new("Dark stone grey")
- part_9.Friction = 0.3
- part_9.BottomSurface = Enum.SurfaceType.Smooth
- mesh_9 = Instance.new("SpecialMesh", part_9)
- mesh_9.Scale = Vector3.new(0.481, 0.104, 0.252)
- mesh_9.MeshType = Enum.MeshType.Brick
- part_10 = Instance.new("Part", m2carbine)
- part_10.FormFactor = Enum.FormFactor.Custom
- part_10.CanCollide = false
- part_10.TopSurface = Enum.SurfaceType.Smooth
- part_10.Anchored = false
- part_10.Material = Enum.Material.Wood
- part_10.Size = Vector3.new(0.834, 0.834, 0.834)
- part_10.CFrame = CFrame.new(9.28, 1.275, 41.036)* CFrame.Angles(6.8167693711985e-014, 1.5707963705063, 0)
- part_10.BrickColor = BrickColor.new("Reddish brown")
- part_10.Friction = 0.3
- part_10.BottomSurface = Enum.SurfaceType.Smooth
- mesh_10 = Instance.new("SpecialMesh", part_10)
- mesh_10.Scale = Vector3.new(0.133, 0.133, 0.133)
- mesh_10.MeshType = Enum.MeshType.Sphere
- part_11 = Instance.new("Part", m2carbine)
- part_11.FormFactor = Enum.FormFactor.Custom
- part_11.CanCollide = false
- part_11.TopSurface = Enum.SurfaceType.Smooth
- part_11.Anchored = false
- part_11.Material = Enum.Material.Wood
- part_11.Size = Vector3.new(0.425, 0.425, 0.425)
- part_11.CFrame = CFrame.new(9.407, 1.142, 40.992)* CFrame.Angles(-1.5707963705063, 0, 1.5707963705063)
- part_11.BrickColor = BrickColor.new("Reddish brown")
- part_11.Friction = 0.3
- part_11.BottomSurface = Enum.SurfaceType.Smooth
- mesh_11 = Instance.new("SpecialMesh", part_11)
- mesh_11.Scale = Vector3.new(0.468, 0.832, 0.156)
- mesh_11.MeshType = Enum.MeshType.Wedge
- part_12 = Instance.new("Part", m2carbine)
- part_12.FormFactor = Enum.FormFactor.Custom
- part_12.CanCollide = false
- part_12.TopSurface = Enum.SurfaceType.Smooth
- part_12.Anchored = false
- part_12.Material = Enum.Material.Wood
- part_12.Size = Vector3.new(1, 1, 1)
- part_12.CFrame = CFrame.new(9.438, 1.132, 40.992)* CFrame.Angles(-1.5707963705063, 0.20137369632721, -1.5707963705063)
- part_12.BrickColor = BrickColor.new("Reddish brown")
- part_12.Friction = 0.3
- part_12.BottomSurface = Enum.SurfaceType.Smooth
- mesh_12 = Instance.new("CylinderMesh", part_12)
- mesh_12.Scale = Vector3.new(0.199, 0.373, 0.221)
- part_13 = Instance.new("Part", m2carbine)
- part_13.FormFactor = Enum.FormFactor.Custom
- part_13.CanCollide = false
- part_13.TopSurface = Enum.SurfaceType.Smooth
- part_13.Anchored = false
- part_13.Size = Vector3.new(0.217, 0.217, 0.217)
- part_13.CFrame = CFrame.new(10.325, 1.303, 41.077)* CFrame.Angles(1.0472025871277, 0, -0)
- part_13.BrickColor = BrickColor.new("Really black")
- part_13.Friction = 0.3
- part_13.BottomSurface = Enum.SurfaceType.Smooth
- mesh_13 = Instance.new("CylinderMesh", part_13)
- mesh_13.Scale = Vector3.new(0.102, 0.102, 0.102)
- part_14 = Instance.new("Part", m2carbine)
- part_14.FormFactor = Enum.FormFactor.Custom
- part_14.CanCollide = false
- part_14.TopSurface = Enum.SurfaceType.Smooth
- part_14.Anchored = false
- part_14.Material = Enum.Material.Wood
- part_14.Size = Vector3.new(0.834, 0.834, 0.834)
- part_14.CFrame = CFrame.new(9.838, 1.275, 41.036)* CFrame.Angles(-1.5707963705063, 0, -1.5707963705063)
- part_14.BrickColor = BrickColor.new("Reddish brown")
- part_14.Friction = 0.3
- part_14.BottomSurface = Enum.SurfaceType.Smooth
- mesh_14 = Instance.new("CylinderMesh", part_14)
- mesh_14.Scale = Vector3.new(0.133, 1.353, 0.133)
- part_15 = Instance.new("Part", m2carbine)
- part_15.FormFactor = Enum.FormFactor.Custom
- part_15.CanCollide = false
- part_15.TopSurface = Enum.SurfaceType.Smooth
- part_15.Anchored = false
- part_15.Material = Enum.Material.Wood
- part_15.Size = Vector3.new(0.217, 0.217, 0.217)
- part_15.CFrame = CFrame.new(9.551, 1.253, 40.992)* CFrame.Angles(3.1415927410126, -3.0853097854333e-013, -3.1415927410126)
- part_15.BrickColor = BrickColor.new("Reddish brown")
- part_15.Friction = 0.3
- part_15.BottomSurface = Enum.SurfaceType.Smooth
- mesh_15 = Instance.new("SpecialMesh", part_15)
- mesh_15.Scale = Vector3.new(4.182, 0.102, 0.918)
- mesh_15.MeshType = Enum.MeshType.Brick
- part_16 = Instance.new("Part", m2carbine)
- part_16.FormFactor = Enum.FormFactor.Custom
- part_16.CanCollide = false
- part_16.TopSurface = Enum.SurfaceType.Smooth
- part_16.Anchored = false
- part_16.Size = Vector3.new(0.217, 0.217, 0.217)
- part_16.CFrame = CFrame.new(10.37, 1.303, 41.076)* CFrame.Angles(1.0472025871277, 0, -0)
- part_16.BrickColor = BrickColor.new("Really black")
- part_16.Friction = 0.3
- part_16.BottomSurface = Enum.SurfaceType.Smooth
- mesh_16 = Instance.new("CylinderMesh", part_16)
- mesh_16.Scale = Vector3.new(0.102, 0.102, 0.102)
- aimpart = Instance.new("Part", m2carbine)
- aimpart.FormFactor = Enum.FormFactor.Custom
- aimpart.CanCollide = false
- aimpart.Transparency = 1
- aimpart.TopSurface = Enum.SurfaceType.Smooth
- aimpart.Anchored = false
- aimpart.Size = Vector3.new(0.2, 0.2, 0.2)
- aimpart.Name = "AimPart"
- aimpart.FrontSurface = Enum.SurfaceType.Glue
- aimpart.CFrame = CFrame.new(11.45, 1.345, 40.991)* CFrame.Angles(0, 1.5707963705063, 0)
- aimpart.BrickColor = BrickColor.new("Black")
- aimpart.Friction = 0.3
- aimpart.BottomSurface = Enum.SurfaceType.Smooth
- handle = Instance.new("Part", m2carbine)
- handle.FormFactor = Enum.FormFactor.Custom
- handle.CanCollide = false
- handle.Transparency = 1
- handle.TopSurface = Enum.SurfaceType.Smooth
- handle.Anchored = false
- handle.Size = Vector3.new(0.2, 0.2, 0.2)
- handle.Name = "Handle"
- handle.FrontSurface = Enum.SurfaceType.Glue
- handle.CFrame = CFrame.new(10.82, 0.585, 40.991)* CFrame.Angles(0, 1.5707963705063, 0)
- handle.BrickColor = BrickColor.new("Black")
- handle.Friction = 0.3
- handle.BottomSurface = Enum.SurfaceType.Smooth
- reload = Instance.new("Sound", handle)
- reload.Name = "Reload"
- reload.Volume = 1
- reload.SoundId = "http://www.roblox.com/asset/?id=132455960"
- shoot = Instance.new("Sound", handle)
- shoot.Name = "Shoot"
- shoot.Volume = 1
- shoot.SoundId = "http://www.roblox.com/asset/?id=132455948"
- part_17 = Instance.new("Part", m2carbine)
- part_17.FormFactor = Enum.FormFactor.Custom
- part_17.CanCollide = false
- part_17.TopSurface = Enum.SurfaceType.Smooth
- part_17.Anchored = false
- part_17.Material = Enum.Material.Metal
- part_17.Size = Vector3.new(0.217, 0.217, 0.217)
- part_17.CFrame = CFrame.new(10.889, 0.835, 40.993)* CFrame.Angles(3.1415927410126, -3.0708768861132e-013, -1.4948227405548)
- part_17.BrickColor = BrickColor.new("Dark stone grey")
- part_17.Friction = 0.3
- part_17.BottomSurface = Enum.SurfaceType.Smooth
- mesh_17 = Instance.new("SpecialMesh", part_17)
- mesh_17.Scale = Vector3.new(0.102, 0.663, 0.102)
- mesh_17.MeshType = Enum.MeshType.Brick
- part_18 = Instance.new("Part", m2carbine)
- part_18.FormFactor = Enum.FormFactor.Custom
- part_18.CanCollide = false
- part_18.TopSurface = Enum.SurfaceType.Smooth
- part_18.Anchored = false
- part_18.Material = Enum.Material.Metal
- part_18.Size = Vector3.new(0.217, 0.217, 0.217)
- part_18.CFrame = CFrame.new(10.971, 0.84, 40.993)* CFrame.Angles(3.1415927410126, -3.0819791163594e-013, -2.0378346443176)
- part_18.BrickColor = BrickColor.new("Dark stone grey")
- part_18.Friction = 0.3
- part_18.BottomSurface = Enum.SurfaceType.Smooth
- mesh_18 = Instance.new("SpecialMesh", part_18)
- mesh_18.Scale = Vector3.new(0.102, 0.184, 0.102)
- mesh_18.MeshType = Enum.MeshType.Brick
- part_19 = Instance.new("Part", m2carbine)
- part_19.FormFactor = Enum.FormFactor.Custom
- part_19.CanCollide = false
- part_19.TopSurface = Enum.SurfaceType.Smooth
- part_19.Anchored = false
- part_19.Material = Enum.Material.Wood
- part_19.Size = Vector3.new(1, 1, 1)
- part_19.CFrame = CFrame.new(11.332, 0.939, 40.992)* CFrame.Angles(-1.5707963705063, 0.61067652702332, -1.5707963705063)
- part_19.BrickColor = BrickColor.new("Reddish brown")
- part_19.Friction = 0.3
- part_19.BottomSurface = Enum.SurfaceType.Smooth
- mesh_19 = Instance.new("CylinderMesh", part_19)
- mesh_19.Scale = Vector3.new(0.199, 0.199, 0.199)
- part_20 = Instance.new("Part", m2carbine)
- part_20.FormFactor = Enum.FormFactor.Custom
- part_20.CanCollide = false
- part_20.TopSurface = Enum.SurfaceType.Smooth
- part_20.Anchored = false
- part_20.Material = Enum.Material.Metal
- part_20.Size = Vector3.new(0.217, 0.217, 0.217)
- part_20.CFrame = CFrame.new(10.808, 0.85, 40.993)* CFrame.Angles(3.1415927410126, -3.0742075551871e-013, -1.1516569852829)
- part_20.BrickColor = BrickColor.new("Dark stone grey")
- part_20.Friction = 0.3
- part_20.BottomSurface = Enum.SurfaceType.Smooth
- mesh_20 = Instance.new("SpecialMesh", part_20)
- mesh_20.Scale = Vector3.new(0.102, 0.184, 0.102)
- mesh_20.MeshType = Enum.MeshType.Brick
- part_21 = Instance.new("Part", m2carbine)
- part_21.FormFactor = Enum.FormFactor.Custom
- part_21.CanCollide = false
- part_21.TopSurface = Enum.SurfaceType.Smooth
- part_21.Anchored = false
- part_21.Material = Enum.Material.Wood
- part_21.Size = Vector3.new(1, 1, 1)
- part_21.CFrame = CFrame.new(11.362, 1.039, 40.992)* CFrame.Angles(3.1415927410126, -3.0853097854333e-013, -2.5309164524078)
- part_21.BrickColor = BrickColor.new("Reddish brown")
- part_21.Friction = 0.3
- part_21.BottomSurface = Enum.SurfaceType.Smooth
- mesh_21 = Instance.new("SpecialMesh", part_21)
- mesh_21.Scale = Vector3.new(0.265, 0.201, 0.199)
- mesh_21.MeshType = Enum.MeshType.Brick
- part_22 = Instance.new("Part", m2carbine)
- part_22.FormFactor = Enum.FormFactor.Custom
- part_22.CanCollide = false
- part_22.TopSurface = Enum.SurfaceType.Smooth
- part_22.Anchored = false
- part_22.Material = Enum.Material.Metal
- part_22.Size = Vector3.new(0.834, 0.834, 0.834)
- part_22.CFrame = CFrame.new(10.806, 1.251, 40.994)* CFrame.Angles(-1.5707963705063, 0, -1.5707963705063)
- part_22.BrickColor = BrickColor.new("Dark stone grey")
- part_22.Friction = 0.3
- part_22.BottomSurface = Enum.SurfaceType.Smooth
- mesh_22 = Instance.new("CylinderMesh", part_22)
- mesh_22.Scale = Vector3.new(0.106, 0.121, 0.106)
- part_23 = Instance.new("Part", m2carbine)
- part_23.FormFactor = Enum.FormFactor.Custom
- part_23.CanCollide = false
- part_23.TopSurface = Enum.SurfaceType.Smooth
- part_23.Anchored = false
- part_23.Material = Enum.Material.Metal
- part_23.Size = Vector3.new(0.217, 0.217, 0.217)
- part_23.CFrame = CFrame.new(10.795, 0.915, 40.993)* CFrame.Angles(3.1415927410126, -3.0819791163594e-013, 3.1051728725433)
- part_23.BrickColor = BrickColor.new("Dark stone grey")
- part_23.Friction = 0.3
- part_23.BottomSurface = Enum.SurfaceType.Smooth
- mesh_23 = Instance.new("SpecialMesh", part_23)
- mesh_23.Scale = Vector3.new(0.102, 0.592, 0.102)
- mesh_23.MeshType = Enum.MeshType.Brick
- part_24 = Instance.new("Part", m2carbine)
- part_24.FormFactor = Enum.FormFactor.Custom
- part_24.CanCollide = false
- part_24.TopSurface = Enum.SurfaceType.Smooth
- part_24.Anchored = false
- part_24.Material = Enum.Material.Wood
- part_24.Size = Vector3.new(1, 1, 1)
- part_24.CFrame = CFrame.new(11.172, 1.143, 40.992)* CFrame.Angles(3.1415927410126, -3.0708768861132e-013, -2.7927157878876)
- part_24.BrickColor = BrickColor.new("Reddish brown")
- part_24.Friction = 0.3
- part_24.BottomSurface = Enum.SurfaceType.Smooth
- mesh_24 = Instance.new("SpecialMesh", part_24)
- mesh_24.Scale = Vector3.new(0.243, 0.201, 0.199)
- mesh_24.MeshType = Enum.MeshType.Brick
- part_25 = Instance.new("Part", m2carbine)
- part_25.FormFactor = Enum.FormFactor.Custom
- part_25.CanCollide = false
- part_25.TopSurface = Enum.SurfaceType.Smooth
- part_25.Anchored = false
- part_25.Material = Enum.Material.Wood
- part_25.Size = Vector3.new(1, 1, 1)
- part_25.CFrame = CFrame.new(11.156, 1.033, 40.992)* CFrame.Angles(-1.5707963705063, 0.34887683391571, -1.5707963705063)
- part_25.BrickColor = BrickColor.new("Reddish brown")
- part_25.Friction = 0.3
- part_25.BottomSurface = Enum.SurfaceType.Smooth
- mesh_25 = Instance.new("CylinderMesh", part_25)
- mesh_25.Scale = Vector3.new(0.199, 0.199, 0.199)
- part_26 = Instance.new("Part", m2carbine)
- part_26.FormFactor = Enum.FormFactor.Custom
- part_26.CanCollide = false
- part_26.TopSurface = Enum.SurfaceType.Smooth
- part_26.Anchored = false
- part_26.Material = Enum.Material.Metal
- part_26.Size = Vector3.new(0.217, 0.217, 0.217)
- part_26.CFrame = CFrame.new(10.979, 1.26, 40.992)* CFrame.Angles(3.1415927410126, -3.0853097854333e-013, -3.1415927410126)
- part_26.BrickColor = BrickColor.new("Dark stone grey")
- part_26.Friction = 0.3
- part_26.BottomSurface = Enum.SurfaceType.Smooth
- mesh_26 = Instance.new("BlockMesh", part_26)
- mesh_26.Scale = Vector3.new(1.127, 0.102, 0.51)
- part_27 = Instance.new("Part", m2carbine)
- part_27.FormFactor = Enum.FormFactor.Custom
- part_27.CanCollide = false
- part_27.TopSurface = Enum.SurfaceType.Smooth
- part_27.Anchored = false
- part_27.Material = Enum.Material.Metal
- part_27.Size = Vector3.new(0.217, 0.217, 0.217)
- part_27.CFrame = CFrame.new(11.077, 1.309, 40.992)* CFrame.Angles(6.8167693711985e-014, -1.5707963705063, 0)
- part_27.BrickColor = BrickColor.new("Dark stone grey")
- part_27.Friction = 0.3
- part_27.BottomSurface = Enum.SurfaceType.Smooth
- mesh_27 = Instance.new("SpecialMesh", part_27)
- mesh_27.Scale = Vector3.new(0.168, 0.148, 0.102)
- mesh_27.MeshType = Enum.MeshType.Brick
- part_28 = Instance.new("Part", m2carbine)
- part_28.FormFactor = Enum.FormFactor.Custom
- part_28.CanCollide = false
- part_28.TopSurface = Enum.SurfaceType.Smooth
- part_28.Anchored = false
- part_28.Material = Enum.Material.Metal
- part_28.Size = Vector3.new(0.2, 0.2, 0.2)
- part_28.CFrame = CFrame.new(11.068, 1.344, 40.991)* CFrame.Angles(1.5707963705063, -1.483447432518, -3.1415927410126)
- part_28.BrickColor = BrickColor.new("Dark stone grey")
- part_28.Friction = 0.3
- part_28.BottomSurface = Enum.SurfaceType.Smooth
- mesh_28 = Instance.new("SpecialMesh", part_28)
- mesh_28.Scale = Vector3.new(0.042, 0.042, 0.22)
- mesh_28.MeshId = "http://www.roblox.com/asset/?id=3270017"
- mesh_28.MeshType = Enum.MeshType.FileMesh
- part_29 = Instance.new("Part", m2carbine)
- part_29.FormFactor = Enum.FormFactor.Custom
- part_29.CanCollide = false
- part_29.TopSurface = Enum.SurfaceType.Smooth
- part_29.Anchored = false
- part_29.Material = Enum.Material.Metal
- part_29.Size = Vector3.new(0.217, 0.217, 0.217)
- part_29.CFrame = CFrame.new(10.946, 1.298, 40.959)* CFrame.Angles(-1.5707963705063, 1.4834481477737, 1.5707963705063)
- part_29.BrickColor = BrickColor.new("Dark stone grey")
- part_29.Friction = 0.3
- part_29.BottomSurface = Enum.SurfaceType.Smooth
- mesh_29 = Instance.new("SpecialMesh", part_29)
- mesh_29.Scale = Vector3.new(0.102, 0.306, 0.204)
- mesh_29.MeshType = Enum.MeshType.Wedge
- part_30 = Instance.new("Part", m2carbine)
- part_30.FormFactor = Enum.FormFactor.Custom
- part_30.CanCollide = false
- part_30.TopSurface = Enum.SurfaceType.Smooth
- part_30.Anchored = false
- part_30.Material = Enum.Material.Metal
- part_30.Size = Vector3.new(0.217, 0.217, 0.217)
- part_30.CFrame = CFrame.new(11.058, 1.304, 40.992)* CFrame.Angles(6.8167693711985e-014, 1.5707963705063, 0)
- part_30.BrickColor = BrickColor.new("Dark stone grey")
- part_30.Friction = 0.3
- part_30.BottomSurface = Enum.SurfaceType.Smooth
- mesh_30 = Instance.new("SpecialMesh", part_30)
- mesh_30.Scale = Vector3.new(0.51, 0.102, 0.408)
- mesh_30.MeshType = Enum.MeshType.Wedge
- part_31 = Instance.new("Part", m2carbine)
- part_31.FormFactor = Enum.FormFactor.Custom
- part_31.CanCollide = false
- part_31.TopSurface = Enum.SurfaceType.Smooth
- part_31.Anchored = false
- part_31.Material = Enum.Material.Metal
- part_31.Size = Vector3.new(0.217, 0.217, 0.217)
- part_31.CFrame = CFrame.new(11.035, 1.306, 41.028)* CFrame.Angles(3.1415927410126, -3.0708768861132e-013, 3.0542430877686)
- part_31.BrickColor = BrickColor.new("Dark stone grey")
- part_31.Friction = 0.3
- part_31.BottomSurface = Enum.SurfaceType.Smooth
- mesh_31 = Instance.new("BlockMesh", part_31)
- mesh_31.Scale = Vector3.new(0.617, 0.306, 0.102)
- part_32 = Instance.new("Part", m2carbine)
- part_32.FormFactor = Enum.FormFactor.Custom
- part_32.CanCollide = false
- part_32.TopSurface = Enum.SurfaceType.Smooth
- part_32.Anchored = false
- part_32.Material = Enum.Material.Metal
- part_32.Size = Vector3.new(0.217, 0.217, 0.217)
- part_32.CFrame = CFrame.new(10.993, 0.904, 40.993)* CFrame.Angles(3.1415927410126, -3.0786484472856e-013, -3.0272324085236)
- part_32.BrickColor = BrickColor.new("Dark stone grey")
- part_32.Friction = 0.3
- part_32.BottomSurface = Enum.SurfaceType.Smooth
- mesh_32 = Instance.new("SpecialMesh", part_32)
- mesh_32.Scale = Vector3.new(0.102, 0.592, 0.102)
- mesh_32.MeshType = Enum.MeshType.Brick
- part_33 = Instance.new("Part", m2carbine)
- part_33.FormFactor = Enum.FormFactor.Custom
- part_33.CanCollide = false
- part_33.TopSurface = Enum.SurfaceType.Smooth
- part_33.Anchored = false
- part_33.Material = Enum.Material.Metal
- part_33.Size = Vector3.new(0.217, 0.217, 0.217)
- part_33.CFrame = CFrame.new(11.013, 1.282, 40.992)* CFrame.Angles(3.1415927410126, -3.0853097854333e-013, -3.1415927410126)
- part_33.BrickColor = BrickColor.new("Dark stone grey")
- part_33.Friction = 0.3
- part_33.BottomSurface = Enum.SurfaceType.Smooth
- mesh_33 = Instance.new("BlockMesh", part_33)
- mesh_33.Scale = Vector3.new(0.821, 0.102, 0.51)
- part_34 = Instance.new("Part", m2carbine)
- part_34.FormFactor = Enum.FormFactor.Custom
- part_34.CanCollide = false
- part_34.TopSurface = Enum.SurfaceType.Smooth
- part_34.Anchored = false
- part_34.Material = Enum.Material.Metal
- part_34.Size = Vector3.new(0.217, 0.217, 0.217)
- part_34.CFrame = CFrame.new(11.042, 1.241, 40.992)* CFrame.Angles(3.1415927410126, -3.0853097854333e-013, -3.1415927410126)
- part_34.BrickColor = BrickColor.new("Dark stone grey")
- part_34.Friction = 0.3
- part_34.BottomSurface = Enum.SurfaceType.Smooth
- mesh_34 = Instance.new("CylinderMesh", part_34)
- mesh_34.Scale = Vector3.new(0.714, 0.102, 0.714)
- part_35 = Instance.new("Part", m2carbine)
- part_35.FormFactor = Enum.FormFactor.Custom
- part_35.CanCollide = false
- part_35.TopSurface = Enum.SurfaceType.Smooth
- part_35.Anchored = false
- part_35.Material = Enum.Material.Metal
- part_35.Size = Vector3.new(0.425, 0.425, 0.425)
- part_35.CFrame = CFrame.new(10.602, 1.252, 40.992)* CFrame.Angles(-1.5707963705063, 0, -1.5707963705063)
- part_35.Friction = 0.3
- part_35.BottomSurface = Enum.SurfaceType.Smooth
- mesh_35 = Instance.new("CylinderMesh", part_35)
- mesh_35.Scale = Vector3.new(0.156, 0.728, 0.208)
- part_36 = Instance.new("Part", m2carbine)
- part_36.FormFactor = Enum.FormFactor.Custom
- part_36.CanCollide = false
- part_36.TopSurface = Enum.SurfaceType.Smooth
- part_36.Anchored = false
- part_36.Material = Enum.Material.Metal
- part_36.Size = Vector3.new(0.834, 0.834, 0.834)
- part_36.CFrame = CFrame.new(10.6, 0.845, 40.997)* CFrame.Angles(3.1415927410126, -3.0853097854333e-013, -3.1415927410126)
- part_36.BrickColor = BrickColor.new("Dark stone grey")
- part_36.Friction = 0.3
- part_36.BottomSurface = Enum.SurfaceType.Smooth
- mesh_36 = Instance.new("SpecialMesh", part_36)
- mesh_36.Scale = Vector3.new(0.345, 0.393, 0.133)
- mesh_36.MeshType = Enum.MeshType.Brick
- part_37 = Instance.new("Part", m2carbine)
- part_37.FormFactor = Enum.FormFactor.Custom
- part_37.CanCollide = false
- part_37.TopSurface = Enum.SurfaceType.Smooth
- part_37.Anchored = false
- part_37.Material = Enum.Material.Metal
- part_37.Size = Vector3.new(0.217, 0.217, 0.217)
- part_37.CFrame = CFrame.new(10.723, 1.241, 40.992)* CFrame.Angles(3.1415927410126, -3.0853097854333e-013, -3.1415927410126)
- part_37.BrickColor = BrickColor.new("Dark stone grey")
- part_37.Friction = 0.3
- part_37.BottomSurface = Enum.SurfaceType.Smooth
- mesh_37 = Instance.new("SpecialMesh", part_37)
- mesh_37.Scale = Vector3.new(2.958, 0.102, 0.714)
- mesh_37.MeshType = Enum.MeshType.Brick
- part_38 = Instance.new("Part", m2carbine)
- part_38.FormFactor = Enum.FormFactor.Custom
- part_38.CanCollide = false
- part_38.TopSurface = Enum.SurfaceType.Smooth
- part_38.Anchored = false
- part_38.Material = Enum.Material.Metal
- part_38.Size = Vector3.new(0.217, 0.217, 0.217)
- part_38.CFrame = CFrame.new(10.756, 1.26, 40.948)* CFrame.Angles(3.1415927410126, -3.0853097854333e-013, -3.1415927410126)
- part_38.BrickColor = BrickColor.new("Dark stone grey")
- part_38.Friction = 0.3
- part_38.BottomSurface = Enum.SurfaceType.Smooth
- mesh_38 = Instance.new("SpecialMesh", part_38)
- mesh_38.Scale = Vector3.new(3.264, 0.102, 0.102)
- mesh_38.MeshType = Enum.MeshType.Brick
- part_39 = Instance.new("Part", m2carbine)
- part_39.FormFactor = Enum.FormFactor.Custom
- part_39.CanCollide = false
- part_39.TopSurface = Enum.SurfaceType.Smooth
- part_39.Anchored = false
- part_39.Material = Enum.Material.Metal
- part_39.Size = Vector3.new(0.217, 0.217, 0.217)
- part_39.CFrame = CFrame.new(10.761, 0.98, 40.993)* CFrame.Angles(3.1415927410126, -3.0819791163594e-013, 3.1051728725433)
- part_39.BrickColor = BrickColor.new("Dark stone grey")
- part_39.Friction = 0.3
- part_39.BottomSurface = Enum.SurfaceType.Smooth
- mesh_39 = Instance.new("SpecialMesh", part_39)
- mesh_39.Scale = Vector3.new(0.204, 0.49, 0.102)
- mesh_39.MeshType = Enum.MeshType.Brick
- part_40 = Instance.new("Part", m2carbine)
- part_40.FormFactor = Enum.FormFactor.Custom
- part_40.CanCollide = false
- part_40.TopSurface = Enum.SurfaceType.Smooth
- part_40.Anchored = false
- part_40.Material = Enum.Material.Wood
- part_40.Size = Vector3.new(1, 1, 1)
- part_40.CFrame = CFrame.new(10.358, 1.075, 40.992)* CFrame.Angles(-1.5707963705063, 0.03432298079133, -1.5707963705063)
- part_40.BrickColor = BrickColor.new("Reddish brown")
- part_40.Friction = 0.3
- part_40.BottomSurface = Enum.SurfaceType.Smooth
- mesh_40 = Instance.new("CylinderMesh", part_40)
- mesh_40.Scale = Vector3.new(0.199, 1.504, 0.221)
- part_41 = Instance.new("Part", m2carbine)
- part_41.FormFactor = Enum.FormFactor.Custom
- part_41.CanCollide = false
- part_41.TopSurface = Enum.SurfaceType.Smooth
- part_41.Anchored = false
- part_41.Material = Enum.Material.Metal
- part_41.Size = Vector3.new(0.217, 0.217, 0.217)
- part_41.CFrame = CFrame.new(10.756, 1.26, 41.036)* CFrame.Angles(3.1415927410126, -3.0853097854333e-013, -3.1415927410126)
- part_41.BrickColor = BrickColor.new("Dark stone grey")
- part_41.Friction = 0.3
- part_41.BottomSurface = Enum.SurfaceType.Smooth
- mesh_41 = Instance.new("SpecialMesh", part_41)
- mesh_41.Scale = Vector3.new(3.264, 0.102, 0.102)
- mesh_41.MeshType = Enum.MeshType.Brick
- part_42 = Instance.new("Part", m2carbine)
- part_42.FormFactor = Enum.FormFactor.Custom
- part_42.CanCollide = false
- part_42.TopSurface = Enum.SurfaceType.Smooth
- part_42.Anchored = false
- part_42.Material = Enum.Material.Wood
- part_42.Size = Vector3.new(0.425, 0.425, 0.425)
- part_42.CFrame = CFrame.new(10.347, 1.076, 40.992)* CFrame.Angles(-1.5707963705063, 0, 1.5707963705063)
- part_42.BrickColor = BrickColor.new("Reddish brown")
- part_42.Friction = 0.3
- part_42.BottomSurface = Enum.SurfaceType.Smooth
- mesh_42 = Instance.new("SpecialMesh", part_42)
- mesh_42.Scale = Vector3.new(0.468, 3.589, 0.156)
- mesh_42.MeshType = Enum.MeshType.Wedge
- part_43 = Instance.new("Part", m2carbine)
- part_43.FormFactor = Enum.FormFactor.Custom
- part_43.CanCollide = false
- part_43.TopSurface = Enum.SurfaceType.Smooth
- part_43.Anchored = false
- part_43.Material = Enum.Material.Metal
- part_43.Size = Vector3.new(0.217, 0.217, 0.217)
- part_43.CFrame = CFrame.new(10.902, 1.282, 40.948)* CFrame.Angles(6.8167693711985e-014, 1.5707963705063, 0)
- part_43.BrickColor = BrickColor.new("Dark stone grey")
- part_43.Friction = 0.3
- part_43.BottomSurface = Enum.SurfaceType.Smooth
- mesh_43 = Instance.new("SpecialMesh", part_43)
- mesh_43.Scale = Vector3.new(0.102, 0.102, 0.204)
- mesh_43.MeshType = Enum.MeshType.Wedge
- part_44 = Instance.new("Part", m2carbine)
- part_44.FormFactor = Enum.FormFactor.Custom
- part_44.CanCollide = false
- part_44.TopSurface = Enum.SurfaceType.Smooth
- part_44.Anchored = false
- part_44.Material = Enum.Material.Metal
- part_44.Size = Vector3.new(0.425, 0.425, 0.425)
- part_44.CFrame = CFrame.new(10.424, 1.251, 40.994)* CFrame.Angles(-1.5707963705063, 0, -1.5707963705063)
- part_44.BrickColor = BrickColor.new("Dark stone grey")
- part_44.Friction = 0.3
- part_44.BottomSurface = Enum.SurfaceType.Smooth
- mesh_44 = Instance.new("CylinderMesh", part_44)
- mesh_44.Scale = Vector3.new(0.208, 0.104, 0.208)
- part_45 = Instance.new("Part", m2carbine)
- part_45.FormFactor = Enum.FormFactor.Custom
- part_45.CanCollide = false
- part_45.TopSurface = Enum.SurfaceType.Smooth
- part_45.Anchored = false
- part_45.Material = Enum.Material.Metal
- part_45.Size = Vector3.new(0.217, 0.217, 0.217)
- part_45.CFrame = CFrame.new(11.04, 1.304, 40.943)* CFrame.Angles(1.5707963705063, -0.34887683391571, 3.1415927410126)
- part_45.BrickColor = BrickColor.new("Dark stone grey")
- part_45.Friction = 0.3
- part_45.BottomSurface = Enum.SurfaceType.Smooth
- mesh_45 = Instance.new("CylinderMesh", part_45)
- mesh_45.Scale = Vector3.new(0.408, 0.148, 0.306)
- part_46 = Instance.new("Part", m2carbine)
- part_46.FormFactor = Enum.FormFactor.Custom
- part_46.CanCollide = false
- part_46.TopSurface = Enum.SurfaceType.Smooth
- part_46.Anchored = false
- part_46.Material = Enum.Material.Metal
- part_46.Size = Vector3.new(0.217, 0.217, 0.217)
- part_46.CFrame = CFrame.new(10.946, 1.298, 41.028)* CFrame.Angles(-1.5707963705063, 1.4834481477737, 1.5707963705063)
- part_46.BrickColor = BrickColor.new("Dark stone grey")
- part_46.Friction = 0.3
- part_46.BottomSurface = Enum.SurfaceType.Smooth
- mesh_46 = Instance.new("SpecialMesh", part_46)
- mesh_46.Scale = Vector3.new(0.102, 0.306, 0.204)
- mesh_46.MeshType = Enum.MeshType.Wedge
- part_47 = Instance.new("Part", m2carbine)
- part_47.FormFactor = Enum.FormFactor.Custom
- part_47.CanCollide = false
- part_47.TopSurface = Enum.SurfaceType.Smooth
- part_47.Anchored = false
- part_47.Material = Enum.Material.Metal
- part_47.Size = Vector3.new(0.217, 0.217, 0.217)
- part_47.CFrame = CFrame.new(10.902, 1.282, 41.036)* CFrame.Angles(6.8167693711985e-014, 1.5707963705063, 0)
- part_47.BrickColor = BrickColor.new("Dark stone grey")
- part_47.Friction = 0.3
- part_47.BottomSurface = Enum.SurfaceType.Smooth
- mesh_47 = Instance.new("SpecialMesh", part_47)
- mesh_47.Scale = Vector3.new(0.102, 0.102, 0.204)
- mesh_47.MeshType = Enum.MeshType.Wedge
- part_48 = Instance.new("Part", m2carbine)
- part_48.FormFactor = Enum.FormFactor.Custom
- part_48.CanCollide = false
- part_48.TopSurface = Enum.SurfaceType.Smooth
- part_48.Anchored = false
- part_48.Material = Enum.Material.Metal
- part_48.Size = Vector3.new(0.217, 0.217, 0.217)
- part_48.CFrame = CFrame.new(11.035, 1.306, 40.959)* CFrame.Angles(3.1415927410126, -3.0708768861132e-013, 3.0542430877686)
- part_48.BrickColor = BrickColor.new("Dark stone grey")
- part_48.Friction = 0.3
- part_48.BottomSurface = Enum.SurfaceType.Smooth
- mesh_48 = Instance.new("BlockMesh", part_48)
- mesh_48.Scale = Vector3.new(0.617, 0.306, 0.102)
- part_49 = Instance.new("Part", m2carbine)
- part_49.FormFactor = Enum.FormFactor.Custom
- part_49.CanCollide = false
- part_49.TopSurface = Enum.SurfaceType.Smooth
- part_49.Anchored = false
- part_49.Material = Enum.Material.Metal
- part_49.Size = Vector3.new(0.217, 0.217, 0.217)
- part_49.CFrame = CFrame.new(10.929, 0.942, 40.993)* CFrame.Angles(3.1415927410126, -3.0830893393841e-013, -2.8816318511963)
- part_49.Friction = 0.3
- part_49.BottomSurface = Enum.SurfaceType.Smooth
- mesh_49 = Instance.new("SpecialMesh", part_49)
- mesh_49.Scale = Vector3.new(0.102, 0.592, 0.102)
- mesh_49.MeshType = Enum.MeshType.Brick
- part_50 = Instance.new("Part", m2carbine)
- part_50.FormFactor = Enum.FormFactor.Custom
- part_50.CanCollide = false
- part_50.TopSurface = Enum.SurfaceType.Smooth
- part_50.Anchored = false
- part_50.Material = Enum.Material.Metal
- part_50.Size = Vector3.new(0.217, 0.217, 0.217)
- part_50.CFrame = CFrame.new(7.759, 1.332, 40.956)* CFrame.Angles(2.8797905445099, -4.4703483581543e-008, -3.1415927410126)
- part_50.BrickColor = BrickColor.new("Dark stone grey")
- part_50.Friction = 0.3
- part_50.BottomSurface = Enum.SurfaceType.Smooth
- mesh_50 = Instance.new("SpecialMesh", part_50)
- mesh_50.Scale = Vector3.new(0.306, 0.306, 0.102)
- mesh_50.MeshType = Enum.MeshType.Brick
- part_51 = Instance.new("Part", m2carbine)
- part_51.FormFactor = Enum.FormFactor.Custom
- part_51.CanCollide = false
- part_51.TopSurface = Enum.SurfaceType.Smooth
- part_51.Anchored = false
- part_51.Material = Enum.Material.Metal
- part_51.Size = Vector3.new(0.217, 0.217, 0.217)
- part_51.CFrame = CFrame.new(7.759, 1.359, 40.949)* CFrame.Angles(-1.8325928449631, 0, 1.4901161193848e-008)
- part_51.BrickColor = BrickColor.new("Dark stone grey")
- part_51.Friction = 0.3
- part_51.BottomSurface = Enum.SurfaceType.Smooth
- mesh_51 = Instance.new("CylinderMesh", part_51)
- mesh_51.Scale = Vector3.new(0.306, 0.102, 0.306)
- part_52 = Instance.new("Part", m2carbine)
- part_52.FormFactor = Enum.FormFactor.Custom
- part_52.CanCollide = false
- part_52.TopSurface = Enum.SurfaceType.Smooth
- part_52.Anchored = false
- part_52.Material = Enum.Material.Metal
- part_52.Size = Vector3.new(0.217, 0.217, 0.217)
- part_52.CFrame = CFrame.new(7.803, 1.332, 41.025)* CFrame.Angles(0.26179659366608, -1.5707963705063, 0)
- part_52.BrickColor = BrickColor.new("Dark stone grey")
- part_52.Friction = 0.3
- part_52.BottomSurface = Enum.SurfaceType.Smooth
- mesh_52 = Instance.new("SpecialMesh", part_52)
- mesh_52.Scale = Vector3.new(0.102, 0.306, 0.102)
- mesh_52.MeshType = Enum.MeshType.Wedge
- part_53 = Instance.new("Part", m2carbine)
- part_53.FormFactor = Enum.FormFactor.Custom
- part_53.CanCollide = false
- part_53.TopSurface = Enum.SurfaceType.Smooth
- part_53.Anchored = false
- part_53.Material = Enum.Material.Metal
- part_53.Size = Vector3.new(0.217, 0.217, 0.217)
- part_53.CFrame = CFrame.new(7.759, 1.359, 41.032)* CFrame.Angles(-1.3089997768402, 0, -0)
- part_53.BrickColor = BrickColor.new("Dark stone grey")
- part_53.Friction = 0.3
- part_53.BottomSurface = Enum.SurfaceType.Smooth
- mesh_53 = Instance.new("CylinderMesh", part_53)
- mesh_53.Scale = Vector3.new(0.306, 0.102, 0.306)
- part_54 = Instance.new("Part", m2carbine)
- part_54.FormFactor = Enum.FormFactor.Custom
- part_54.CanCollide = false
- part_54.TopSurface = Enum.SurfaceType.Smooth
- part_54.Anchored = false
- part_54.Material = Enum.Material.Metal
- part_54.Size = Vector3.new(0.217, 0.217, 0.217)
- part_54.CFrame = CFrame.new(7.759, 1.332, 41.025)* CFrame.Angles(-2.8797905445099, -2.9802322387695e-008, -3.1415927410126)
- part_54.BrickColor = BrickColor.new("Dark stone grey")
- part_54.Friction = 0.3
- part_54.BottomSurface = Enum.SurfaceType.Smooth
- mesh_54 = Instance.new("SpecialMesh", part_54)
- mesh_54.Scale = Vector3.new(0.306, 0.306, 0.102)
- mesh_54.MeshType = Enum.MeshType.Brick
- part_55 = Instance.new("Part", m2carbine)
- part_55.FormFactor = Enum.FormFactor.Custom
- part_55.CanCollide = false
- part_55.TopSurface = Enum.SurfaceType.Smooth
- part_55.Anchored = false
- part_55.Material = Enum.Material.Metal
- part_55.Size = Vector3.new(0.217, 0.217, 0.217)
- part_55.CFrame = CFrame.new(7.803, 1.332, 40.956)* CFrame.Angles(-0.26179653406143, -1.5707963705063, 0)
- part_55.BrickColor = BrickColor.new("Dark stone grey")
- part_55.Friction = 0.3
- part_55.BottomSurface = Enum.SurfaceType.Smooth
- mesh_55 = Instance.new("SpecialMesh", part_55)
- mesh_55.Scale = Vector3.new(0.102, 0.306, 0.102)
- mesh_55.MeshType = Enum.MeshType.Wedge
- part_56 = Instance.new("Part", m2carbine)
- part_56.FormFactor = Enum.FormFactor.Custom
- part_56.CanCollide = false
- part_56.TopSurface = Enum.SurfaceType.Smooth
- part_56.Anchored = false
- part_56.Material = Enum.Material.Metal
- part_56.Size = Vector3.new(0.834, 0.834, 0.834)
- part_56.CFrame = CFrame.new(7.759, 1.253, 40.992)* CFrame.Angles(-1.5707963705063, 0, -1.5707963705063)
- part_56.BrickColor = BrickColor.new("Dark stone grey")
- part_56.Friction = 0.3
- part_56.BottomSurface = Enum.SurfaceType.Smooth
- mesh_56 = Instance.new("CylinderMesh", part_56)
- mesh_56.Scale = Vector3.new(0.133, 0.133, 0.133)
- part_57 = Instance.new("Part", m2carbine)
- part_57.FormFactor = Enum.FormFactor.Custom
- part_57.CanCollide = false
- part_57.TopSurface = Enum.SurfaceType.Smooth
- part_57.Anchored = false
- part_57.Material = Enum.Material.Metal
- part_57.Size = Vector3.new(0.217, 0.217, 0.217)
- part_57.CFrame = CFrame.new(7.715, 1.332, 41.025)* CFrame.Angles(0.26179659366608, 1.5707963705063, 0)
- part_57.BrickColor = BrickColor.new("Dark stone grey")
- part_57.Friction = 0.3
- part_57.BottomSurface = Enum.SurfaceType.Smooth
- mesh_57 = Instance.new("SpecialMesh", part_57)
- mesh_57.Scale = Vector3.new(0.102, 0.306, 0.102)
- mesh_57.MeshType = Enum.MeshType.Wedge
- part_58 = Instance.new("Part", m2carbine)
- part_58.FormFactor = Enum.FormFactor.Custom
- part_58.CanCollide = false
- part_58.TopSurface = Enum.SurfaceType.Smooth
- part_58.Anchored = false
- part_58.Material = Enum.Material.Metal
- part_58.Size = Vector3.new(0.217, 0.217, 0.217)
- part_58.CFrame = CFrame.new(7.715, 1.332, 40.956)* CFrame.Angles(-0.26179653406143, 1.5707963705063, 0)
- part_58.BrickColor = BrickColor.new("Dark stone grey")
- part_58.Friction = 0.3
- part_58.BottomSurface = Enum.SurfaceType.Smooth
- mesh_58 = Instance.new("SpecialMesh", part_58)
- mesh_58.Scale = Vector3.new(0.102, 0.306, 0.102)
- mesh_58.MeshType = Enum.MeshType.Wedge
- part_59 = Instance.new("Part", m2carbine)
- part_59.FormFactor = Enum.FormFactor.Custom
- part_59.CanCollide = false
- part_59.TopSurface = Enum.SurfaceType.Smooth
- part_59.Anchored = false
- part_59.Material = Enum.Material.Metal
- part_59.Size = Vector3.new(0.425, 0.425, 0.425)
- part_59.CFrame = CFrame.new(7.759, 1.286, 40.992)* CFrame.Angles(3.1415927410126, -3.0853097854333e-013, -3.1415927410126)
- part_59.BrickColor = BrickColor.new("Dark stone grey")
- part_59.Friction = 0.3
- part_59.BottomSurface = Enum.SurfaceType.Smooth
- mesh_59 = Instance.new("SpecialMesh", part_59)
- mesh_59.Scale = Vector3.new(0.26, 0.104, 0.156)
- mesh_59.MeshType = Enum.MeshType.Brick
- part_60 = Instance.new("Part", m2carbine)
- part_60.FormFactor = Enum.FormFactor.Custom
- part_60.CanCollide = false
- part_60.TopSurface = Enum.SurfaceType.Smooth
- part_60.Anchored = false
- part_60.Material = Enum.Material.Wood
- part_60.Size = Vector3.new(0.834, 0.834, 0.834)
- part_60.CFrame = CFrame.new(9.838, 1.275, 40.948)* CFrame.Angles(-1.5707963705063, 0, -1.5707963705063)
- part_60.BrickColor = BrickColor.new("Reddish brown")
- part_60.Friction = 0.3
- part_60.BottomSurface = Enum.SurfaceType.Smooth
- mesh_60 = Instance.new("CylinderMesh", part_60)
- mesh_60.Scale = Vector3.new(0.133, 1.353, 0.133)
- part_61 = Instance.new("Part", m2carbine)
- part_61.FormFactor = Enum.FormFactor.Custom
- part_61.CanCollide = false
- part_61.TopSurface = Enum.SurfaceType.Smooth
- part_61.Anchored = false
- part_61.Material = Enum.Material.Metal
- part_61.Size = Vector3.new(0.217, 0.217, 0.217)
- part_61.CFrame = CFrame.new(10.204, 1.253, 40.992)* CFrame.Angles(3.1415927410126, -3.0853097854333e-013, -3.1415927410126)
- part_61.BrickColor = BrickColor.new("Dark stone grey")
- part_61.Friction = 0.3
- part_61.BottomSurface = Enum.SurfaceType.Smooth
- mesh_61 = Instance.new("SpecialMesh", part_61)
- mesh_61.Scale = Vector3.new(1.836, 0.102, 0.887)
- mesh_61.MeshType = Enum.MeshType.Brick
- part_62 = Instance.new("Part", m2carbine)
- part_62.FormFactor = Enum.FormFactor.Custom
- part_62.CanCollide = false
- part_62.TopSurface = Enum.SurfaceType.Smooth
- part_62.Anchored = false
- part_62.Material = Enum.Material.Metal
- part_62.Size = Vector3.new(0.217, 0.217, 0.217)
- part_62.CFrame = CFrame.new(10.436, 1.276, 40.923)* CFrame.Angles(-2.8797905445099, -2.9802322387695e-008, -3.1415927410126)
- part_62.BrickColor = BrickColor.new("Dark stone grey")
- part_62.Friction = 0.3
- part_62.BottomSurface = Enum.SurfaceType.Smooth
- mesh_62 = Instance.new("SpecialMesh", part_62)
- mesh_62.Scale = Vector3.new(0.306, 0.102, 0.102)
- mesh_62.MeshType = Enum.MeshType.Brick
- part_63 = Instance.new("Part", m2carbine)
- part_63.FormFactor = Enum.FormFactor.Custom
- part_63.CanCollide = false
- part_63.TopSurface = Enum.SurfaceType.Smooth
- part_63.Anchored = false
- part_63.Material = Enum.Material.Metal
- part_63.Size = Vector3.new(0.217, 0.217, 0.217)
- part_63.CFrame = CFrame.new(10.475, 1.258, 40.927)* CFrame.Angles(3.1415927410126, -3.0853097854333e-013, -3.1415927410126)
- part_63.BrickColor = BrickColor.new("Dark stone grey")
- part_63.Friction = 0.3
- part_63.BottomSurface = Enum.SurfaceType.Smooth
- mesh_63 = Instance.new("SpecialMesh", part_63)
- mesh_63.Scale = Vector3.new(0.673, 0.102, 0.418)
- mesh_63.MeshType = Enum.MeshType.Brick
- part_64 = Instance.new("Part", m2carbine)
- part_64.FormFactor = Enum.FormFactor.Custom
- part_64.CanCollide = false
- part_64.TopSurface = Enum.SurfaceType.Smooth
- part_64.Anchored = false
- part_64.Material = Enum.Material.Metal
- part_64.Size = Vector3.new(0.217, 0.217, 0.217)
- part_64.CFrame = CFrame.new(10.436, 1.297, 40.945)* CFrame.Angles(-2.3561887741089, 2.9802322387695e-008, 3.1415927410126)
- part_64.BrickColor = BrickColor.new("Dark stone grey")
- part_64.Friction = 0.3
- part_64.BottomSurface = Enum.SurfaceType.Smooth
- mesh_64 = Instance.new("SpecialMesh", part_64)
- mesh_64.Scale = Vector3.new(0.306, 0.306, 0.102)
- mesh_64.MeshType = Enum.MeshType.Brick
- part_65 = Instance.new("Part", m2carbine)
- part_65.FormFactor = Enum.FormFactor.Custom
- part_65.CanCollide = false
- part_65.TopSurface = Enum.SurfaceType.Smooth
- part_65.Anchored = false
- part_65.Size = Vector3.new(0.217, 0.217, 0.217)
- part_65.CFrame = CFrame.new(10.325, 1.298, 40.904)* CFrame.Angles(-1.0472023487091, 2.9802322387695e-008, -0)
- part_65.BrickColor = BrickColor.new("Really black")
- part_65.Friction = 0.3
- part_65.BottomSurface = Enum.SurfaceType.Smooth
- mesh_65 = Instance.new("CylinderMesh", part_65)
- mesh_65.Scale = Vector3.new(0.102, 0.102, 0.102)
- part_66 = Instance.new("Part", m2carbine)
- part_66.FormFactor = Enum.FormFactor.Custom
- part_66.CanCollide = false
- part_66.TopSurface = Enum.SurfaceType.Smooth
- part_66.Anchored = false
- part_66.Size = Vector3.new(0.217, 0.217, 0.217)
- part_66.CFrame = CFrame.new(10.37, 1.297, 40.904)* CFrame.Angles(-1.0472023487091, 2.9802322387695e-008, -0)
- part_66.BrickColor = BrickColor.new("Really black")
- part_66.Friction = 0.3
- part_66.BottomSurface = Enum.SurfaceType.Smooth
- mesh_66 = Instance.new("CylinderMesh", part_66)
- mesh_66.Scale = Vector3.new(0.102, 0.102, 0.102)
- part_67 = Instance.new("Part", m2carbine)
- part_67.FormFactor = Enum.FormFactor.Custom
- part_67.CanCollide = false
- part_67.TopSurface = Enum.SurfaceType.Smooth
- part_67.Anchored = false
- part_67.Material = Enum.Material.Wood
- part_67.Size = Vector3.new(0.834, 0.834, 0.834)
- part_67.CFrame = CFrame.new(10.347, 1.176, 40.992)* CFrame.Angles(3.1415927410126, -3.0853097854333e-013, -3.1415927410126)
- part_67.BrickColor = BrickColor.new("Reddish brown")
- part_67.Friction = 0.3
- part_67.BottomSurface = Enum.SurfaceType.Smooth
- mesh_67 = Instance.new("SpecialMesh", part_67)
- mesh_67.Scale = Vector3.new(1.831, 0.159, 0.239)
- mesh_67.MeshType = Enum.MeshType.Brick
- part_68 = Instance.new("Part", m2carbine)
- part_68.FormFactor = Enum.FormFactor.Custom
- part_68.CanCollide = false
- part_68.TopSurface = Enum.SurfaceType.Smooth
- part_68.Anchored = false
- part_68.Size = Vector3.new(0.2, 0.2, 0.2)
- part_68.CFrame = CFrame.new(7.76, 1.295, 40.991)* CFrame.Angles(-3.1415927410126, 0, -3.1415927410126)
- part_68.BrickColor = BrickColor.new("Black")
- part_68.Friction = 0.3
- part_68.BottomSurface = Enum.SurfaceType.Smooth
- mesh_68 = Instance.new("BlockMesh", part_68)
- mesh_68.Scale = Vector3.new(0.1, 0.5, 0.05)
- smokepart = Instance.new("Part", m2carbine)
- smokepart.FormFactor = Enum.FormFactor.Custom
- smokepart.CanCollide = false
- smokepart.Transparency = 1
- smokepart.TopSurface = Enum.SurfaceType.Smooth
- smokepart.Anchored = false
- smokepart.Size = Vector3.new(0.2, 0.2, 0.2)
- smokepart.Name = "SmokePart"
- smokepart.FrontSurface = Enum.SurfaceType.Glue
- smokepart.CFrame = CFrame.new(7.62, 1.245, 40.991)* CFrame.Angles(0, 1.5707963705063, 0)
- smokepart.BrickColor = BrickColor.new("Black")
- smokepart.Friction = 0.3
- smokepart.BottomSurface = Enum.SurfaceType.Smooth
- part_69 = Instance.new("Part", m2carbine)
- part_69.FormFactor = Enum.FormFactor.Custom
- part_69.CanCollide = false
- part_69.TopSurface = Enum.SurfaceType.Smooth
- part_69.Anchored = false
- part_69.Material = Enum.Material.Metal
- part_69.Size = Vector3.new(0.217, 0.217, 0.217)
- part_69.CFrame = CFrame.new(12.442, 0.81, 40.994)* CFrame.Angles(3.1415927410126, -3.0786484472856e-013, -3.0588607788086)
- part_69.BrickColor = BrickColor.new("Black")
- part_69.Friction = 0.3
- part_69.BottomSurface = Enum.SurfaceType.Smooth
- mesh_69 = Instance.new("SpecialMesh", part_69)
- mesh_69.Scale = Vector3.new(0.102, 1.428, 0.918)
- mesh_69.MeshType = Enum.MeshType.Brick
- part_70 = Instance.new("Part", m2carbine)
- part_70.FormFactor = Enum.FormFactor.Custom
- part_70.CanCollide = false
- part_70.TopSurface = Enum.SurfaceType.Smooth
- part_70.Anchored = false
- part_70.Size = Vector3.new(0.217, 0.217, 0.217)
- part_70.CFrame = CFrame.new(11.69, 0.965, 40.868)* CFrame.Angles(-1.5707963705063, 0.082731895148754, 1.5707963705063)
- part_70.BrickColor = BrickColor.new("Brick yellow")
- part_70.Friction = 0.3
- part_70.BottomSurface = Enum.SurfaceType.Smooth
- mesh_70 = Instance.new("SpecialMesh", part_70)
- mesh_70.Scale = Vector3.new(0.102, 0.612, 0.306)
- mesh_70.MeshType = Enum.MeshType.Wedge
- part_71 = Instance.new("Part", m2carbine)
- part_71.FormFactor = Enum.FormFactor.Custom
- part_71.CanCollide = false
- part_71.TopSurface = Enum.SurfaceType.Smooth
- part_71.Anchored = false
- part_71.Material = Enum.Material.Wood
- part_71.Size = Vector3.new(1, 1, 1)
- part_71.CFrame = CFrame.new(11.388, 0.858, 40.992)* CFrame.Angles(-1.5707963705063, 1.2100417613983, -1.5707963705063)
- part_71.BrickColor = BrickColor.new("Reddish brown")
- part_71.Friction = 0.3
- part_71.BottomSurface = Enum.SurfaceType.Smooth
- mesh_71 = Instance.new("CylinderMesh", part_71)
- mesh_71.Scale = Vector3.new(0.199, 0.199, 0.199)
- part_72 = Instance.new("Part", m2carbine)
- part_72.FormFactor = Enum.FormFactor.Custom
- part_72.CanCollide = false
- part_72.TopSurface = Enum.SurfaceType.Smooth
- part_72.Anchored = false
- part_72.Material = Enum.Material.Wood
- part_72.Size = Vector3.new(0.851, 0.851, 0.851)
- part_72.CFrame = CFrame.new(11.454, 0.919, 40.992)* CFrame.Angles(3.1415927410126, -3.0853097854333e-013, -1.9315510988235)
- part_72.BrickColor = BrickColor.new("Reddish brown")
- part_72.Friction = 0.3
- part_72.BottomSurface = Enum.SurfaceType.Smooth
- mesh_72 = Instance.new("SpecialMesh", part_72)
- mesh_72.Scale = Vector3.new(0.312, 0.199, 0.234)
- mesh_72.MeshType = Enum.MeshType.Brick
- part_73 = Instance.new("Part", m2carbine)
- part_73.FormFactor = Enum.FormFactor.Custom
- part_73.CanCollide = false
- part_73.TopSurface = Enum.SurfaceType.Smooth
- part_73.Anchored = false
- part_73.Size = Vector3.new(0.217, 0.217, 0.217)
- part_73.CFrame = CFrame.new(11.896, 0.809, 40.887)* CFrame.Angles(3.1415927410126, -3.0819791163594e-013, -3.05886054039)
- part_73.BrickColor = BrickColor.new("Black")
- part_73.Friction = 0.3
- part_73.BottomSurface = Enum.SurfaceType.Smooth
- mesh_73 = Instance.new("SpecialMesh", part_73)
- mesh_73.Scale = Vector3.new(0.102, 0.729, 0.102)
- mesh_73.MeshType = Enum.MeshType.Brick
- part_74 = Instance.new("Part", m2carbine)
- part_74.FormFactor = Enum.FormFactor.Custom
- part_74.CanCollide = false
- part_74.TopSurface = Enum.SurfaceType.Smooth
- part_74.Anchored = false
- part_74.Size = Vector3.new(0.221, 0.575, 0.221)
- part_74.CFrame = CFrame.new(11.917, 1.021, 40.99)* CFrame.Angles(-1.5707963705063, 0.082732133567333, -1.5707963705063)
- part_74.BrickColor = BrickColor.new("Brick yellow")
- part_74.Friction = 0.3
- part_74.BottomSurface = Enum.SurfaceType.Smooth
- mesh_74 = Instance.new("CylinderMesh", part_74)
- part_75 = Instance.new("Part", m2carbine)
- part_75.FormFactor = Enum.FormFactor.Custom
- part_75.CanCollide = false
- part_75.TopSurface = Enum.SurfaceType.Smooth
- part_75.Anchored = false
- part_75.Size = Vector3.new(0.221, 0.575, 0.221)
- part_75.CFrame = CFrame.new(11.917, 1.021, 40.968)* CFrame.Angles(-1.5707963705063, 0.082732133567333, -1.5707963705063)
- part_75.BrickColor = BrickColor.new("Brick yellow")
- part_75.Friction = 0.3
- part_75.BottomSurface = Enum.SurfaceType.Smooth
- mesh_75 = Instance.new("CylinderMesh", part_75)
- part_76 = Instance.new("Part", m2carbine)
- part_76.FormFactor = Enum.FormFactor.Custom
- part_76.CanCollide = false
- part_76.TopSurface = Enum.SurfaceType.Smooth
- part_76.Anchored = false
- part_76.Size = Vector3.new(0.221, 0.597, 0.221)
- part_76.CFrame = CFrame.new(11.889, 0.753, 40.99)* CFrame.Angles(-1.5707963705063, 0.16998812556267, -1.5707963705063)
- part_76.BrickColor = BrickColor.new("Brick yellow")
- part_76.Friction = 0.3
- part_76.BottomSurface = Enum.SurfaceType.Smooth
- mesh_76 = Instance.new("CylinderMesh", part_76)
- part_77 = Instance.new("Part", m2carbine)
- part_77.FormFactor = Enum.FormFactor.Custom
- part_77.CanCollide = false
- part_77.TopSurface = Enum.SurfaceType.Smooth
- part_77.Anchored = false
- part_77.Size = Vector3.new(0.575, 0.262, 0.221)
- part_77.CFrame = CFrame.new(11.904, 0.89, 40.99)* CFrame.Angles(3.1415927410126, -3.0819791163594e-013, -3.0588607788086)
- part_77.BrickColor = BrickColor.new("Brick yellow")
- part_77.Friction = 0.3
- part_77.BottomSurface = Enum.SurfaceType.Smooth
- part_78 = Instance.new("Part", m2carbine)
- part_78.FormFactor = Enum.FormFactor.Custom
- part_78.CanCollide = false
- part_78.TopSurface = Enum.SurfaceType.Smooth
- part_78.Anchored = false
- part_78.Material = Enum.Material.Wood
- part_78.Size = Vector3.new(1, 1, 1)
- part_78.CFrame = CFrame.new(11.929, 0.904, 40.992)* CFrame.Angles(3.1415927410126, -3.0819791163594e-013, -3.0588607788086)
- part_78.BrickColor = BrickColor.new("Reddish brown")
- part_78.Friction = 0.3
- part_78.BottomSurface = Enum.SurfaceType.Smooth
- mesh_77 = Instance.new("SpecialMesh", part_78)
- mesh_77.Scale = Vector3.new(1.017, 0.21, 0.199)
- mesh_77.MeshType = Enum.MeshType.Brick
- part_79 = Instance.new("Part", m2carbine)
- part_79.FormFactor = Enum.FormFactor.Custom
- part_79.CanCollide = false
- part_79.TopSurface = Enum.SurfaceType.Smooth
- part_79.Anchored = false
- part_79.Material = Enum.Material.Wood
- part_79.Size = Vector3.new(1, 1, 1)
- part_79.CFrame = CFrame.new(11.895, 1.023, 40.992)* CFrame.Angles(-1.5707963705063, 0.082732133567333, -1.5707963705063)
- part_79.BrickColor = BrickColor.new("Reddish brown")
- part_79.Friction = 0.3
- part_79.BottomSurface = Enum.SurfaceType.Smooth
- mesh_78 = Instance.new("CylinderMesh", part_79)
- mesh_78.Scale = Vector3.new(0.199, 1.106, 0.199)
- part_80 = Instance.new("Part", m2carbine)
- part_80.FormFactor = Enum.FormFactor.Custom
- part_80.CanCollide = false
- part_80.Transparency = 1
- part_80.TopSurface = Enum.SurfaceType.Smooth
- part_80.Anchored = false
- part_80.Size = Vector3.new(0.425, 0.425, 0.425)
- part_80.CFrame = CFrame.new(11.907, 1.033, 40.879)* CFrame.Angles(-1.4076421260834, 0.081637971103191, -0.013423169963062)
- part_80.BrickColor = BrickColor.new("Brick yellow")
- part_80.Friction = 0.3
- part_80.BottomSurface = Enum.SurfaceType.Smooth
- decal_2 = Instance.new("Decal", part_80)
- decal_2.Face = Enum.NormalId.Top
- decal_2.Texture = "http://www.roblox.com/asset/?id=147699968"
- mesh_79 = Instance.new("SpecialMesh", part_80)
- mesh_79.Scale = Vector3.new(0.468, 0.104, 0.26)
- mesh_79.MeshType = Enum.MeshType.Brick
- part_81 = Instance.new("Part", m2carbine)
- part_81.FormFactor = Enum.FormFactor.Custom
- part_81.CanCollide = false
- part_81.TopSurface = Enum.SurfaceType.Smooth
- part_81.Anchored = false
- part_81.Size = Vector3.new(0.217, 0.217, 0.217)
- part_81.CFrame = CFrame.new(11.816, 0.9, 40.868)* CFrame.Angles(-1.5707963705063, 0.082731895148754, 1.5707963705063)
- part_81.BrickColor = BrickColor.new("Brick yellow")
- part_81.Friction = 0.3
- part_81.BottomSurface = Enum.SurfaceType.Smooth
- mesh_80 = Instance.new("SpecialMesh", part_81)
- mesh_80.Scale = Vector3.new(0.102, 0.612, 0.204)
- mesh_80.MeshType = Enum.MeshType.Wedge
- part_82 = Instance.new("Part", m2carbine)
- part_82.FormFactor = Enum.FormFactor.Custom
- part_82.CanCollide = false
- part_82.TopSurface = Enum.SurfaceType.Smooth
- part_82.Anchored = false
- part_82.Size = Vector3.new(0.425, 0.425, 0.425)
- part_82.CFrame = CFrame.new(11.894, 0.729, 40.99)* CFrame.Angles(-1.5707963705063, 0.082732133567333, 1.5707963705063)
- part_82.BrickColor = BrickColor.new("Brick yellow")
- part_82.Friction = 0.3
- part_82.BottomSurface = Enum.SurfaceType.Smooth
- mesh_81 = Instance.new("SpecialMesh", part_82)
- mesh_81.Scale = Vector3.new(0.52, 1.353, 0.156)
- mesh_81.MeshType = Enum.MeshType.Wedge
- part_83 = Instance.new("Part", m2carbine)
- part_83.FormFactor = Enum.FormFactor.Custom
- part_83.CanCollide = false
- part_83.TopSurface = Enum.SurfaceType.Smooth
- part_83.Anchored = false
- part_83.Size = Vector3.new(0.217, 0.217, 0.217)
- part_83.CFrame = CFrame.new(11.904, 0.892, 40.868)* CFrame.Angles(3.1415927410126, -3.0819791163594e-013, -3.05886054039)
- part_83.BrickColor = BrickColor.new("Brick yellow")
- part_83.Friction = 0.3
- part_83.BottomSurface = Enum.SurfaceType.Smooth
- mesh_82 = Instance.new("SpecialMesh", part_83)
- mesh_82.Scale = Vector3.new(0.204, 0.204, 0.102)
- mesh_82.MeshType = Enum.MeshType.Brick
- part_84 = Instance.new("Part", m2carbine)
- part_84.FormFactor = Enum.FormFactor.Custom
- part_84.CanCollide = false
- part_84.TopSurface = Enum.SurfaceType.Smooth
- part_84.Anchored = false
- part_84.Size = Vector3.new(0.217, 0.217, 0.217)
- part_84.CFrame = CFrame.new(11.91, 0.946, 40.868)* CFrame.Angles(3.1415927410126, -3.0819791163594e-013, -3.05886054039)
- part_84.BrickColor = BrickColor.new("Brick yellow")
- part_84.Friction = 0.3
- part_84.BottomSurface = Enum.SurfaceType.Smooth
- mesh_83 = Instance.new("SpecialMesh", part_84)
- mesh_83.Scale = Vector3.new(1.428, 0.306, 0.102)
- mesh_83.MeshType = Enum.MeshType.Brick
- part_85 = Instance.new("Part", m2carbine)
- part_85.FormFactor = Enum.FormFactor.Custom
- part_85.CanCollide = false
- part_85.TopSurface = Enum.SurfaceType.Smooth
- part_85.Anchored = false
- part_85.Size = Vector3.new(0.217, 0.217, 0.217)
- part_85.CFrame = CFrame.new(11.913, 1.006, 40.868)* CFrame.Angles(3.1415927410126, -3.0819791163594e-013, -3.0588607788086)
- part_85.BrickColor = BrickColor.new("Brick yellow")
- part_85.Friction = 0.3
- part_85.BottomSurface = Enum.SurfaceType.Smooth
- mesh_84 = Instance.new("SpecialMesh", part_85)
- mesh_84.Scale = Vector3.new(2.652, 0.245, 0.102)
- mesh_84.MeshType = Enum.MeshType.Brick
- part_86 = Instance.new("Part", m2carbine)
- part_86.FormFactor = Enum.FormFactor.Custom
- part_86.CanCollide = false
- part_86.TopSurface = Enum.SurfaceType.Smooth
- part_86.Anchored = false
- part_86.Material = Enum.Material.Wood
- part_86.Size = Vector3.new(1, 1, 1)
- part_86.CFrame = CFrame.new(11.913, 0.748, 40.992)* CFrame.Angles(-1.5707963705063, 0.16998812556267, -1.5707963705063)
- part_86.BrickColor = BrickColor.new("Reddish brown")
- part_86.Friction = 0.3
- part_86.BottomSurface = Enum.SurfaceType.Smooth
- mesh_85 = Instance.new("CylinderMesh", part_86)
- mesh_85.Scale = Vector3.new(0.199, 1.04, 0.199)
- part_87 = Instance.new("Part", m2carbine)
- part_87.FormFactor = Enum.FormFactor.Custom
- part_87.CanCollide = false
- part_87.TopSurface = Enum.SurfaceType.Smooth
- part_87.Anchored = false
- part_87.Material = Enum.Material.Wood
- part_87.Size = Vector3.new(0.217, 0.217, 0.217)
- part_87.CFrame = CFrame.new(11.909, 0.922, 40.859)* CFrame.Angles(-1.5707963705063, -1.4880641698837, 3.1415927410126)
- part_87.BrickColor = BrickColor.new("Brown")
- part_87.Friction = 0.3
- part_87.BottomSurface = Enum.SurfaceType.Smooth
- mesh_86 = Instance.new("CylinderMesh", part_87)
- mesh_86.Scale = Vector3.new(0.306, 0.102, 0.612)
- part_88 = Instance.new("Part", m2carbine)
- part_88.FormFactor = Enum.FormFactor.Custom
- part_88.CanCollide = false
- part_88.TopSurface = Enum.SurfaceType.Smooth
- part_88.Anchored = false
- part_88.Material = Enum.Material.Wood
- part_88.Size = Vector3.new(0.834, 0.834, 0.834)
- part_88.CFrame = CFrame.new(11.915, 0.744, 40.992)* CFrame.Angles(-1.5707963705063, 0.082732133567333, 1.5707963705063)
- part_88.BrickColor = BrickColor.new("Reddish brown")
- part_88.Friction = 0.3
- part_88.BottomSurface = Enum.SurfaceType.Smooth
- mesh_87 = Instance.new("SpecialMesh", part_88)
- mesh_87.Scale = Vector3.new(0.239, 1.22, 0.133)
- mesh_87.MeshType = Enum.MeshType.Wedge
- part_89 = Instance.new("Part", m2carbine)
- part_89.FormFactor = Enum.FormFactor.Custom
- part_89.CanCollide = false
- part_89.TopSurface = Enum.SurfaceType.Smooth
- part_89.Anchored = false
- part_89.Material = Enum.Material.Metal
- part_89.Size = Vector3.new(0.217, 0.217, 0.217)
- part_89.CFrame = CFrame.new(10.544, 1.246, 40.867)* CFrame.Angles(3.1415927410126, -3.0853097854333e-013, -0)
- part_89.BrickColor = BrickColor.new("Dark stone grey")
- part_89.Friction = 0.3
- part_89.BottomSurface = Enum.SurfaceType.Smooth
- mesh_88 = Instance.new("SpecialMesh", part_89)
- mesh_88.Scale = Vector3.new(0.102, 0.306, 0.214)
- mesh_88.MeshType = Enum.MeshType.Brick
- part_90 = Instance.new("Part", m2carbine)
- part_90.FormFactor = Enum.FormFactor.Custom
- part_90.CanCollide = false
- part_90.TopSurface = Enum.SurfaceType.Smooth
- part_90.Anchored = false
- part_90.Material = Enum.Material.Metal
- part_90.Size = Vector3.new(0.217, 0.217, 0.217)
- part_90.CFrame = CFrame.new(10.54, 1.246, 40.827)* CFrame.Angles(-3.1415927410126, -0.10056495666504, -0)
- part_90.BrickColor = BrickColor.new("Dark stone grey")
- part_90.Friction = 0.3
- part_90.BottomSurface = Enum.SurfaceType.Smooth
- mesh_89 = Instance.new("SpecialMesh", part_90)
- mesh_89.Scale = Vector3.new(0.102, 0.306, 0.214)
- mesh_89.MeshType = Enum.MeshType.Brick
- part_91 = Instance.new("Part", m2carbine)
- part_91.FormFactor = Enum.FormFactor.Custom
- part_91.CanCollide = false
- part_91.TopSurface = Enum.SurfaceType.Smooth
- part_91.Anchored = false
- part_91.Material = Enum.Material.Metal
- part_91.Size = Vector3.new(0.217, 0.217, 0.217)
- part_91.CFrame = CFrame.new(12.432, 0.664, 40.994)* CFrame.Angles(-1.5707963705063, 0.082732133567333, -1.5707963705063)
- part_91.BrickColor = BrickColor.new("Black")
- part_91.Friction = 0.3
- part_91.BottomSurface = Enum.SurfaceType.Smooth
- mesh_90 = Instance.new("CylinderMesh", part_91)
- mesh_90.Scale = Vector3.new(0.918, 0.102, 0.918)
- part_92 = Instance.new("Part", m2carbine)
- part_92.FormFactor = Enum.FormFactor.Custom
- part_92.CanCollide = false
- part_92.TopSurface = Enum.SurfaceType.Smooth
- part_92.Anchored = false
- part_92.Material = Enum.Material.Metal
- part_92.Size = Vector3.new(0.217, 0.217, 0.217)
- part_92.CFrame = CFrame.new(12.458, 0.976, 40.994)* CFrame.Angles(-1.5707963705063, 0.082732133567333, -1.5707963705063)
- part_92.BrickColor = BrickColor.new("Black")
- part_92.Friction = 0.3
- part_92.BottomSurface = Enum.SurfaceType.Smooth
- mesh_91 = Instance.new("CylinderMesh", part_92)
- mesh_91.Scale = Vector3.new(0.918, 0.102, 0.918)
- part_93 = Instance.new("Part", m2carbine)
- part_93.FormFactor = Enum.FormFactor.Custom
- part_93.CanCollide = false
- part_93.TopSurface = Enum.SurfaceType.Smooth
- part_93.Anchored = false
- part_93.Size = Vector3.new(0.217, 0.217, 0.217)
- part_93.CFrame = CFrame.new(11.992, 0.885, 40.868)* CFrame.Angles(-1.5707963705063, 0.082732133567333, -1.5707963705063)
- part_93.BrickColor = BrickColor.new("Brick yellow")
- part_93.Friction = 0.3
- part_93.BottomSurface = Enum.SurfaceType.Smooth
- mesh_92 = Instance.new("SpecialMesh", part_93)
- mesh_92.Scale = Vector3.new(0.102, 0.612, 0.204)
- mesh_92.MeshType = Enum.MeshType.Wedge
- part_94 = Instance.new("Part", m2carbine)
- part_94.FormFactor = Enum.FormFactor.Custom
- part_94.CanCollide = false
- part_94.TopSurface = Enum.SurfaceType.Smooth
- part_94.Anchored = false
- part_94.Size = Vector3.new(0.217, 0.217, 0.217)
- part_94.CFrame = CFrame.new(12.129, 0.929, 40.868)* CFrame.Angles(-1.5707963705063, 0.082732014358044, -1.5707963705063)
- part_94.BrickColor = BrickColor.new("Brick yellow")
- part_94.Friction = 0.3
- part_94.BottomSurface = Enum.SurfaceType.Smooth
- mesh_93 = Instance.new("SpecialMesh", part_94)
- mesh_93.Scale = Vector3.new(0.102, 0.612, 0.306)
- mesh_93.MeshType = Enum.MeshType.Wedge
- part_95 = Instance.new("Part", m2carbine)
- part_95.FormFactor = Enum.FormFactor.Custom
- part_95.CanCollide = false
- part_95.TopSurface = Enum.SurfaceType.Smooth
- part_95.Anchored = false
- part_95.Material = Enum.Material.Metal
- part_95.Size = Vector3.new(0.834, 0.834, 0.834)
- part_95.CFrame = CFrame.new(10.55, 0.595, 40.997)* CFrame.Angles(3.1415927410126, -3.0853097854333e-013, -2.7925267219543)
- part_95.BrickColor = BrickColor.new("Dark stone grey")
- part_95.Friction = 0.3
- part_95.BottomSurface = Enum.SurfaceType.Smooth
- mesh_94 = Instance.new("SpecialMesh", part_95)
- mesh_94.Scale = Vector3.new(0.345, 0.393, 0.133)
- mesh_94.MeshType = Enum.MeshType.Brick
- local ammo = Instance.new("NumberValue", m2carbine)
- ammo.Name = "Ammo"
- ammo.Value = 15
- local smoke = Instance.new("Smoke", m2carbine)
- smoke.Enabled = false
- smoke.Color = Color3.new(0.392157, 0.392157, 0.392157)
- smoke.Opacity = 0.1
- smoke.RiseVelocity = 15
- smoke.Size = 0.25
- local smoke1 = Instance.new("Smoke", m2carbine)
- smoke1.Enabled = false
- smoke1.Color = Color3.new(1, 0.6, 0.2)
- smoke1.Name = "Smoke1"
- smoke1.Opacity = 0.1
- smoke1.RiseVelocity = 15
- smoke1.Size = 0.1
- local storedammo = Instance.new("NumberValue", m2carbine)
- storedammo.Name = "StoredAmmo"
- storedammo.Value = 120
- local gui = Instance.new("ScreenGui", m2carbine)
- gui.Name = "Gui"
- local frame = Instance.new("Frame", gui)
- frame.Size = UDim2.new(0, 200, 0, 100)
- frame.BorderColor3 = Color3.new(0, 0, 0)
- frame.Position = UDim2.new(1, -200, 1, -100)
- frame.BorderSizePixel = 0
- frame.BackgroundTransparency = 1
- frame.BackgroundColor3 = Color3.new(0, 0, 0)
- local ammodisplay = Instance.new("TextLabel", frame)
- ammodisplay.BorderSizePixel = 0
- ammodisplay.BackgroundColor3 = Color3.new(0.639216, 0.635294, 0.647059)
- ammodisplay.BackgroundTransparency = 1
- ammodisplay.Size = UDim2.new(1, 0, 1, 0)
- ammodisplay.TextColor3 = Color3.new(0, 0, 0)
- ammodisplay.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- ammodisplay.Text = ""
- ammodisplay.Position = UDim2.new(0, -40, 0, 0)
- ammodisplay.Font = Enum.Font.ArialBold
- ammodisplay.Name = "AmmoDisplay"
- ammodisplay.TextXAlignment = Enum.TextXAlignment.Right
- ammodisplay.FontSize = Enum.FontSize.Size36
- local prev
- local parts = m2carbine: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
- wait(0.5)
- --Made by YouTubes--
- --Edit settings below--
- local Tool = m2carbine
- local Settings = {
- Range = 900
- ,Spread = 15
- ,Damage = {70, 80}
- ,HeadShotDamage = {100, 100}
- ,Bullets = 1
- ,FireRate = 0.1
- ,Automatic = true
- ,AntiTK = true
- ,ImpactDuration = 3
- --Reload
- ,ReloadKey = "R"
- ,ReloadTime = 2.6
- ,Ammo = 30
- ,IncludeChamberedBullet = false
- --Gui
- ,GuiPos = Vector2.new(m2carbine.Gui.Frame.Position.X.Scale, m2carbine.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://146544271"
- ,Fire1 = "rbxassetid://146544271"
- ,Fire2 = "rbxassetid://146544271"
- ,Fire3 = "rbxassetid://146544271"
- ,Reload = "rbxassetid://146544271"
- ,Aim = "rbxasset://textures/Blank.png"
- }
- ,FireMouseAnimTime = 0.15
- --Recoil
- ,Recoil = math.rad(1)
- --Smoke
- ,Smoke = true
- ,SmokePart = Tool.SmokePart
- ,Smokes = {{m2carbine.Smoke, 6, 0.1}, {m2carbine.Smoke1, 0.1}, {m2carbine.Smoke1, 0.1}}
- --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 = true
- }
- --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 = m2carbine.Ammo, m2carbine.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("Brown")
- 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 = m2carbine.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
- Fire(Mouse)
- 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
- if Settings.AimAnim.Enabled then
- Right_Weld.C1 = CFrame.new()
- Right_Weld.C0 = CFrame.new()
- Delay(0, function()
- Tween_C0(Right_Weld, Settings.AimAnim.Frames, Settings.AimAnim.Time, Right_Weld.C0, Character.Head.CFrame:toObjectSpace(Settings.AimPart.CFrame))
- end)
- Delay(0, function()
- Tween_C1(Left_Weld, Settings.AimAnim.Frames, Settings.AimAnim.Time, Left_Weld.C1, Settings.LeftAimPos)
- end)
- Delay(0, function()
- if Settings.ChangeFOV[1] then
- Camera.FieldOfView = 70
- local Cam_Dif, T_F = 70 - Settings.ChangeFOV[2], Settings.AimAnim.Time * Settings.AimAnim.Frames
- for i = 1, T_F do
- local FOV = 70 - Cam_Dif/T_F * i
- Camera.FieldOfView = FOV
- wait(Settings.AimAnim.Time/Settings.AimAnim.Frames)
- if not Aiming then
- return
- end
- end
- Camera.FieldOfView = Settings.ChangeFOV[2]
- end
- end)
- else
- 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
- 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
- if Settings.AimAnim.Enabled then
- Delay(0, function()
- Tween_C0(Right_Weld, Settings.AimAnim.Frames, Settings.AimAnim.Time, Right_Weld.C0, CFrame.new(0, -1.5, 0))
- end)
- Delay(0, function()
- Tween_C1(Left_Weld, Settings.AimAnim.Frames, Settings.AimAnim.Time, Left_Weld.C1, Settings.LeftPos)
- end)
- else
- Right_Weld.C1 = Settings.RightPos
- Right_Weld.C0 = CFrame.new(0, -1.5, 0)
- Left_Weld.C1 = Settings.LeftPos
- end
- 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)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement