Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --A M4A1 ^-^
- --Has a infinite round magazine and kills anyone who gets shot
- --Don't leak this. If you do i will fucking shoot you till your dead :\
- local runDummyScript = function(f,scri)
- local oldenv = getfenv(f)
- local newenv = setmetatable({}, {
- __index = function(_, k)
- if k:lower() == 'script' then
- return scri
- else
- return oldenv[k]
- end
- end
- })
- setfenv(f, newenv)
- ypcall(function() f() end)
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- mas.Name = "CompiledModel"
- o1 = Instance.new("Tool")
- o2 = Instance.new("Part")
- o3 = Instance.new("BlockMesh")
- o4 = Instance.new("Part")
- o5 = Instance.new("CylinderMesh")
- o6 = Instance.new("Part")
- o7 = Instance.new("CylinderMesh")
- o8 = Instance.new("Part")
- o9 = Instance.new("CylinderMesh")
- o10 = Instance.new("Part")
- o11 = Instance.new("CylinderMesh")
- o12 = Instance.new("Part")
- o13 = Instance.new("SpecialMesh")
- o14 = Instance.new("Part")
- o15 = Instance.new("BlockMesh")
- o16 = Instance.new("Part")
- o17 = Instance.new("BlockMesh")
- o18 = Instance.new("Part")
- o19 = Instance.new("CylinderMesh")
- o20 = Instance.new("Part")
- o21 = Instance.new("CylinderMesh")
- o22 = Instance.new("Part")
- o23 = Instance.new("CylinderMesh")
- o24 = Instance.new("Part")
- o25 = Instance.new("CylinderMesh")
- o26 = Instance.new("Part")
- o27 = Instance.new("SpecialMesh")
- o28 = Instance.new("Part")
- o29 = Instance.new("SpecialMesh")
- o30 = Instance.new("Part")
- o31 = Instance.new("CylinderMesh")
- o32 = Instance.new("Part")
- o33 = Instance.new("SurfaceGui")
- o34 = Instance.new("ImageLabel")
- o35 = Instance.new("Part")
- o36 = Instance.new("CylinderMesh")
- o37 = Instance.new("Part")
- o38 = Instance.new("IntValue")
- o39 = Instance.new("BlockMesh")
- o40 = Instance.new("Part")
- o41 = Instance.new("SpecialMesh")
- o42 = Instance.new("Part")
- o43 = Instance.new("CylinderMesh")
- o44 = Instance.new("Part")
- o45 = Instance.new("CylinderMesh")
- o46 = Instance.new("Part")
- o47 = Instance.new("SpecialMesh")
- o48 = Instance.new("Part")
- o49 = Instance.new("BlockMesh")
- o50 = Instance.new("Sound")
- o51 = Instance.new("Sound")
- o53 = Instance.new("Part")
- o54 = Instance.new("SpecialMesh")
- o55 = Instance.new("Part")
- o56 = Instance.new("BlockMesh")
- o57 = Instance.new("Part")
- o58 = Instance.new("SpecialMesh")
- o59 = Instance.new("Part")
- o60 = Instance.new("BlockMesh")
- o61 = Instance.new("Part")
- o62 = Instance.new("BlockMesh")
- o63 = Instance.new("Part")
- o64 = Instance.new("CylinderMesh")
- o65 = Instance.new("Part")
- o66 = Instance.new("BlockMesh")
- o67 = Instance.new("Part")
- o68 = Instance.new("CylinderMesh")
- o69 = Instance.new("Part")
- o70 = Instance.new("CylinderMesh")
- o71 = Instance.new("Part")
- o72 = Instance.new("BlockMesh")
- o73 = Instance.new("Part")
- o74 = Instance.new("CylinderMesh")
- o75 = Instance.new("Part")
- o76 = Instance.new("SpecialMesh")
- o77 = Instance.new("Part")
- o78 = Instance.new("SpecialMesh")
- o79 = Instance.new("Part")
- o80 = Instance.new("BlockMesh")
- o81 = Instance.new("Part")
- o82 = Instance.new("SpecialMesh")
- o83 = Instance.new("Part")
- o84 = Instance.new("BlockMesh")
- o85 = Instance.new("Part")
- o86 = Instance.new("BlockMesh")
- o87 = Instance.new("Part")
- o88 = Instance.new("SpecialMesh")
- o89 = Instance.new("Part")
- o90 = Instance.new("BlockMesh")
- o91 = Instance.new("Part")
- o92 = Instance.new("SpotLight")
- o93 = Instance.new("Part")
- o94 = Instance.new("SpecialMesh")
- o95 = Instance.new("Part")
- o96 = Instance.new("CylinderMesh")
- o97 = Instance.new("Part")
- o98 = Instance.new("BlockMesh")
- o99 = Instance.new("Part")
- o100 = Instance.new("SpecialMesh")
- o101 = Instance.new("Part")
- o102 = Instance.new("CylinderMesh")
- o103 = Instance.new("Part")
- o104 = Instance.new("SpecialMesh")
- o105 = Instance.new("Part")
- o106 = Instance.new("BlockMesh")
- o107 = Instance.new("Part")
- o108 = Instance.new("CylinderMesh")
- o109 = Instance.new("Part")
- o110 = Instance.new("BlockMesh")
- o111 = Instance.new("Part")
- o112 = Instance.new("BlockMesh")
- o113 = Instance.new("LocalScript")
- o114 = Instance.new("NumberValue")
- o115 = Instance.new("NumberValue")
- o116 = Instance.new("Smoke")
- o117 = Instance.new("Smoke")
- o118 = Instance.new("Smoke")
- o119 = Instance.new("NumberValue")
- o120 = Instance.new("ScreenGui")
- o121 = Instance.new("Frame")
- o122 = Instance.new("TextLabel")
- o123 = Instance.new("TextLabel")
- o124 = Instance.new("Frame")
- o125 = Instance.new("TextLabel")
- o126 = Instance.new("Frame")
- o127 = Instance.new("Frame")
- o128 = Instance.new("Part")
- o129 = Instance.new("BlockMesh")
- o130 = Instance.new("Part")
- o131 = Instance.new("BlockMesh")
- o132 = Instance.new("Part")
- o133 = Instance.new("BlockMesh")
- o134 = Instance.new("Part")
- o135 = Instance.new("CylinderMesh")
- o136 = Instance.new("Part")
- o137 = Instance.new("BlockMesh")
- o138 = Instance.new("Part")
- o139 = Instance.new("CylinderMesh")
- o140 = Instance.new("Part")
- o141 = Instance.new("BlockMesh")
- o142 = Instance.new("Part")
- o143 = Instance.new("BlockMesh")
- o1.Name = "Golden M4A1"
- o1.Parent = game.Players.LocalPlayer.Backpack
- o1.TextureId = "rbxassetid://112746403"
- o1.GripForward = Vector3.new(-0, 1, -0)
- o1.GripPos = Vector3.new(0.170000002, 0.200000003, 0)
- o1.GripRight = Vector3.new(0, 0, 1)
- o1.GripUp = Vector3.new(-1, 0, 0)
- o1.ToolTip = "The M4A1 is a powerful assault rifle effective at long range. Compatible with 5.56 x 45mm STANAG magazines."
- o1.CanBeDropped = false
- o2.Name = "AimPart"
- o2.Parent = o1
- o2.Material = Enum.Material.SmoothPlastic
- o2.BrickColor = BrickColor.new("Dark stone grey")
- o2.Transparency = 1
- o2.Position = Vector3.new(8.93596935, -1.86055636, -8.59378052)
- o2.Anchored = true
- o2.CanCollide = false
- o2.FormFactor = Enum.FormFactor.Custom
- o2.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- o2.CFrame = CFrame.new(8.93596935, -1.86055636, -8.59378052, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o2.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o2.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o2.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o2.Color = Color3.new(0.388235, 0.372549, 0.384314)
- o2.Position = Vector3.new(8.93596935, -1.86055636, -8.59378052)
- o3.Parent = o2
- o3.Scale = Vector3.new(0.658373058, 0.658372879, 0.658373058)
- o4.Name = "Flash"
- o4.Parent = o1
- o4.Material = Enum.Material.SmoothPlastic
- o4.BrickColor = BrickColor.new("Black")
- o4.Position = Vector3.new(8.93297195, -2.44837093, -10.4191017)
- o4.Rotation = Vector3.new(-90, -90, 0)
- o4.Anchored = true
- o4.CanCollide = false
- o4.Elasticity = 0
- o4.FormFactor = Enum.FormFactor.Symmetric
- o4.Size = Vector3.new(1, 1, 1)
- o4.CFrame = CFrame.new(8.93297195, -2.44837093, -10.4191017, 0, 0, -1, 1, 0, 0, 0, -1, 0)
- o4.BottomSurface = Enum.SurfaceType.Smooth
- o4.TopSurface = Enum.SurfaceType.Smooth
- o4.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o4.Position = Vector3.new(8.93297195, -2.44837093, -10.4191017)
- o5.Parent = o4
- o5.Scale = Vector3.new(0.285714298, 0.476190478, 0.190476194)
- o6.Name = "Drum3"
- o6.Parent = o1
- o6.Material = Enum.Material.SmoothPlastic
- o6.BrickColor = BrickColor.new("Black")
- o6.Position = Vector3.new(9.41001034, -2.81037092, -9.39200592)
- o6.Rotation = Vector3.new(-92.2900009, 90, 0)
- o6.Anchored = true
- o6.CanCollide = false
- o6.Elasticity = 0
- o6.FormFactor = Enum.FormFactor.Symmetric
- o6.Size = Vector3.new(1, 1, 1)
- o6.CFrame = CFrame.new(9.41001034, -2.81037092, -9.39200592, 0, 0, 1, -0.999199986, -0.0399929993, 0, 0.0399929993, -0.999199986, 0)
- o6.BottomSurface = Enum.SurfaceType.Smooth
- o6.TopSurface = Enum.SurfaceType.Smooth
- o6.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o6.Position = Vector3.new(9.41001034, -2.81037092, -9.39200592)
- o7.Parent = o6
- o7.Scale = Vector3.new(0.673205376, 0.407065511, 0.673205376)
- o8.Name = "Flash"
- o8.Parent = o1
- o8.Material = Enum.Material.SmoothPlastic
- o8.BrickColor = BrickColor.new("Cool yellow")
- o8.Position = Vector3.new(8.93296242, -2.44837093, -10.8570862)
- o8.Rotation = Vector3.new(90, 0, -180)
- o8.Anchored = true
- o8.CanCollide = false
- o8.Elasticity = 0
- o8.FormFactor = Enum.FormFactor.Plate
- o8.Size = Vector3.new(1, 0.400000006, 1)
- o8.CFrame = CFrame.new(8.93296242, -2.44837093, -10.8570862, -1, 0, 0, 0, 0, -1, 0, -1, 0)
- o8.BottomSurface = Enum.SurfaceType.Smooth
- o8.TopSurface = Enum.SurfaceType.Smooth
- o8.Color = Color3.new(0.992157, 0.917647, 0.552941)
- o8.Position = Vector3.new(8.93296242, -2.44837093, -10.8570862)
- o9.Parent = o8
- o9.Offset = Vector3.new(0, -0.0185714271, 0)
- o9.Scale = Vector3.new(0.209523812, 0.0476190485, 0.104761906)
- o10.Name = "Drum4"
- o10.Parent = o1
- o10.Material = Enum.Material.SmoothPlastic
- o10.BrickColor = BrickColor.new("Black")
- o10.Position = Vector3.new(8.463974, -2.81037092, -9.39200211)
- o10.Rotation = Vector3.new(-92.2900009, 90, 0)
- o10.Anchored = true
- o10.CanCollide = false
- o10.Elasticity = 0
- o10.FormFactor = Enum.FormFactor.Symmetric
- o10.Size = Vector3.new(1, 1, 1)
- o10.CFrame = CFrame.new(8.463974, -2.81037092, -9.39200211, 0, 0, 1, -0.999199986, -0.0399929993, 0, 0.0399929993, -0.999199986, 0)
- o10.BottomSurface = Enum.SurfaceType.Smooth
- o10.TopSurface = Enum.SurfaceType.Smooth
- o10.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o10.Position = Vector3.new(8.463974, -2.81037092, -9.39200211)
- o11.Parent = o10
- o11.Scale = Vector3.new(0.666540027, 0.407065511, 0.666540027)
- o12.Name = "ColorPart"
- o12.Parent = o1
- o12.Material = Enum.Material.SmoothPlastic
- o12.BrickColor = BrickColor.new("Gold")
- o12.Position = Vector3.new(8.86302376, -2.41236711, -7.64591217)
- o12.Rotation = Vector3.new(180, 90, 0)
- o12.Anchored = true
- o12.CanCollide = false
- o12.Elasticity = 0
- o12.FormFactor = Enum.FormFactor.Symmetric
- o12.Size = Vector3.new(1, 1, 1)
- o12.CFrame = CFrame.new(8.86302376, -2.41236711, -7.64591217, 9.99999975e-06, -0.000345999986, 1, 0, -1, -0.000345999986, 1, 3.45999984e-09, -9.99999975e-06)
- o12.BottomSurface = Enum.SurfaceType.Smooth
- o12.TopSurface = Enum.SurfaceType.Smooth
- o12.Color = Color3.new(0.937255, 0.721569, 0.219608)
- o12.Position = Vector3.new(8.86302376, -2.41236711, -7.64591217)
- o13.Parent = o12
- o13.Scale = Vector3.new(0.0476099998, 0.428490013, 0.0476099998)
- o13.MeshType = Enum.MeshType.Wedge
- o14.Name = "Block"
- o14.Parent = o1
- o14.Material = Enum.Material.SmoothPlastic
- o14.BrickColor = BrickColor.new("Black")
- o14.Position = Vector3.new(8.91001606, -2.60137105, -9.04410362)
- o14.Rotation = Vector3.new(-60, 0, -180)
- o14.Anchored = true
- o14.CanCollide = false
- o14.Elasticity = 0
- o14.FormFactor = Enum.FormFactor.Plate
- o14.Size = Vector3.new(1, 0.400000006, 1)
- o14.CFrame = CFrame.new(8.91001606, -2.60137105, -9.04410362, -1, 8.66025493e-06, 4.9999976e-06, 0, -0.499999762, 0.866025627, 9.99999975e-06, 0.866025567, 0.499999791)
- o14.BottomSurface = Enum.SurfaceType.Smooth
- o14.TopSurface = Enum.SurfaceType.Smooth
- o14.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o14.Position = Vector3.new(8.91001606, -2.60137105, -9.04410362)
- o15.Parent = o14
- o15.Scale = Vector3.new(0.0476099998, 0.0476099998, 0.142829999)
- o16.Name = "ACOG"
- o16.Parent = o1
- o16.Material = Enum.Material.SmoothPlastic
- o16.BrickColor = BrickColor.new("Black")
- o16.Position = Vector3.new(8.9350481, -2.0973649, -9.33805275)
- o16.Rotation = Vector3.new(-180, 0, -180)
- o16.Anchored = true
- o16.CanCollide = false
- o16.Elasticity = 0
- o16.FormFactor = Enum.FormFactor.Symmetric
- o16.Size = Vector3.new(1, 1, 1)
- o16.CFrame = CFrame.new(8.9350481, -2.0973649, -9.33805275, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- o16.BottomSurface = Enum.SurfaceType.Smooth
- o16.TopSurface = Enum.SurfaceType.Smooth
- o16.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o16.Position = Vector3.new(8.9350481, -2.0973649, -9.33805275)
- o17.Parent = o16
- o17.Scale = Vector3.new(0.178571433, 0.0595238097, 0.535714269)
- o18.Name = "ACOG"
- o18.Parent = o1
- o18.Material = Enum.Material.SmoothPlastic
- o18.BrickColor = BrickColor.new("Dark stone grey")
- o18.Position = Vector3.new(8.83298969, -1.87136805, -9.24918747)
- o18.Rotation = Vector3.new(-90, 0, -90)
- o18.Anchored = true
- o18.CanCollide = false
- o18.Elasticity = 0
- o18.FormFactor = Enum.FormFactor.Symmetric
- o18.Size = Vector3.new(1, 1, 1)
- o18.CFrame = CFrame.new(8.83298969, -1.87136805, -9.24918747, 0, 1, 0, 0, 0, 1, 1, 0, 0)
- o18.BottomSurface = Enum.SurfaceType.Smooth
- o18.TopSurface = Enum.SurfaceType.Smooth
- o18.Color = Color3.new(0.388235, 0.372549, 0.384314)
- o18.Position = Vector3.new(8.83298969, -1.87136805, -9.24918747)
- o19.Parent = o18
- o19.Scale = Vector3.new(0.119047619, 0.0476190522, 0.178571433)
- o20.Parent = o1
- o20.Material = Enum.Material.SmoothPlastic
- o20.BrickColor = BrickColor.new("Really black")
- o20.Position = Vector3.new(8.93407154, -2.22237206, -11.6600609)
- o20.Rotation = Vector3.new(90, 0, 180)
- o20.Anchored = true
- o20.CanCollide = false
- o20.Elasticity = 0
- o20.FormFactor = Enum.FormFactor.Plate
- o20.Size = Vector3.new(1, 0.400000006, 1)
- o20.CFrame = CFrame.new(8.93407154, -2.22237206, -11.6600609, -1, -9.99999975e-06, 0, 0, 0, -1, 9.99999975e-06, -1, 0)
- o20.BottomSurface = Enum.SurfaceType.Smooth
- o20.TopSurface = Enum.SurfaceType.Smooth
- o20.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o20.Position = Vector3.new(8.93407154, -2.22237206, -11.6600609)
- o21.Parent = o20
- o21.Offset = Vector3.new(0, -0.0185678992, 0)
- o21.Scale = Vector3.new(0.0333269984, 0.0476099998, 0.0333269984)
- o22.Parent = o1
- o22.Material = Enum.Material.SmoothPlastic
- o22.BrickColor = BrickColor.new("Black")
- o22.Position = Vector3.new(8.93406773, -2.22237206, -11.3409729)
- o22.Rotation = Vector3.new(-90, 0, 0)
- o22.Anchored = true
- o22.CanCollide = false
- o22.Elasticity = 0
- o22.FormFactor = Enum.FormFactor.Symmetric
- o22.Size = Vector3.new(1, 1, 1)
- o22.CFrame = CFrame.new(8.93406773, -2.22237206, -11.3409729, 1, -9.99999975e-06, 0, 0, 0, 1, -9.99999975e-06, -1, 0)
- o22.BottomSurface = Enum.SurfaceType.Smooth
- o22.TopSurface = Enum.SurfaceType.Smooth
- o22.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o22.Position = Vector3.new(8.93406773, -2.22237206, -11.3409729)
- o23.Parent = o22
- o23.Scale = Vector3.new(0.0714149997, 0.618929982, 0.0714149997)
- o24.Name = "ColorPart"
- o24.Parent = o1
- o24.Material = Enum.Material.SmoothPlastic
- o24.BrickColor = BrickColor.new("Gold")
- o24.Position = Vector3.new(8.93406582, -2.22237206, -10.288002)
- o24.Rotation = Vector3.new(90, -90, 0)
- o24.Anchored = true
- o24.CanCollide = false
- o24.Elasticity = 0
- o24.FormFactor = Enum.FormFactor.Symmetric
- o24.Size = Vector3.new(1, 1, 1)
- o24.CFrame = CFrame.new(8.93406582, -2.22237206, -10.288002, 0, 9.99999975e-06, -1, -1, 0, 0, 0, 1, 9.99999975e-06)
- o24.BottomSurface = Enum.SurfaceType.Smooth
- o24.TopSurface = Enum.SurfaceType.Smooth
- o24.Color = Color3.new(0.937255, 0.721569, 0.219608)
- o24.Position = Vector3.new(8.93406582, -2.22237206, -10.288002)
- o25.Parent = o24
- o25.Scale = Vector3.new(0.285659999, 0.952199996, 0.285659999)
- o26.Name = "Drum1"
- o26.Parent = o1
- o26.Material = Enum.Material.SmoothPlastic
- o26.BrickColor = BrickColor.new("Black")
- o26.Position = Vector3.new(8.93797779, -2.78736711, -9.39200974)
- o26.Rotation = Vector3.new(-2.28999996, 90, 0)
- o26.Anchored = true
- o26.CanCollide = false
- o26.Elasticity = 0
- o26.FormFactor = Enum.FormFactor.Symmetric
- o26.Size = Vector3.new(1, 1, 1)
- o26.CFrame = CFrame.new(8.93797779, -2.78736711, -9.39200974, 0, 0, 1, -0.039989002, 0.999200106, 0, -0.999200106, -0.0399889983, 0)
- o26.BottomSurface = Enum.SurfaceType.Smooth
- o26.TopSurface = Enum.SurfaceType.Smooth
- o26.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o26.Position = Vector3.new(8.93797779, -2.78736711, -9.39200974)
- o27.Parent = o26
- o27.Scale = Vector3.new(0.400000006, 0.709999979, 0.140000001)
- o27.MeshType = Enum.MeshType.Brick
- o28.Name = "Grip"
- o28.Parent = o1
- o28.Material = Enum.Material.SmoothPlastic
- o28.BrickColor = BrickColor.new("Black")
- o28.Position = Vector3.new(8.93406773, -2.63136911, -10.4029903)
- o28.Rotation = Vector3.new(90, 0, 90)
- o28.Anchored = true
- o28.CanCollide = false
- o28.Elasticity = 0
- o28.FormFactor = Enum.FormFactor.Symmetric
- o28.Size = Vector3.new(1, 1, 1)
- o28.CFrame = CFrame.new(8.93406773, -2.63136911, -10.4029903, 0, -1, 0, 0, 0, -1, 1, 0, 0)
- o28.BottomSurface = Enum.SurfaceType.Smooth
- o28.TopSurface = Enum.SurfaceType.Smooth
- o28.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o28.Position = Vector3.new(8.93406773, -2.63136911, -10.4029903)
- o29.Parent = o28
- o29.MeshId = "http://www.roblox.com/asset/?id=3270017"
- o29.Scale = Vector3.new(0.119999997, 0.119999997, 2.79999995)
- o29.MeshType = Enum.MeshType.FileMesh
- o30.Name = "Supp"
- o30.Parent = o1
- o30.Material = Enum.Material.SmoothPlastic
- o30.BrickColor = BrickColor.new("Black")
- o30.Position = Vector3.new(8.93407154, -2.22137403, -12.0260315)
- o30.Rotation = Vector3.new(-90, 0, 0)
- o30.Anchored = true
- o30.CanCollide = false
- o30.Elasticity = 0
- o30.FormFactor = Enum.FormFactor.Custom
- o30.Size = Vector3.new(0.200000003, 0.752238154, 0.200000003)
- o30.CFrame = CFrame.new(8.93407154, -2.22137403, -12.0260315, 1, 0, 0, 0, 0, 1, 0, -1, 0)
- o30.BottomSurface = Enum.SurfaceType.Smooth
- o30.TopSurface = Enum.SurfaceType.Smooth
- o30.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o30.Position = Vector3.new(8.93407154, -2.22137403, -12.0260315)
- o31.Parent = o30
- o31.Scale = Vector3.new(0.666539967, 1, 0.666539967)
- o32.Name = "ACOG"
- o32.Parent = o1
- o32.Material = Enum.Material.SmoothPlastic
- o32.Transparency = 1
- o32.Position = Vector3.new(8.93505001, -1.87136805, -9.52896118)
- o32.Rotation = Vector3.new(-180, 0, -180)
- o32.Anchored = true
- o32.CanCollide = false
- o32.FormFactor = Enum.FormFactor.Custom
- o32.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- o32.CFrame = CFrame.new(8.93505001, -1.87136805, -9.52896118, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- o32.Position = Vector3.new(8.93505001, -1.87136805, -9.52896118)
- o33.Name = "ACOGGUI"
- o33.Parent = o32
- o33.CanvasSize = Vector2.new(256, 256)
- o34.Parent = o33
- o34.Position = UDim2.new(0.10000000149012,0,0.10000000149012,0)
- o34.Size = UDim2.new(0.80000001192093,0,0.80000001192093,0)
- o34.Position = UDim2.new(0.10000000149012,0,0.10000000149012,0)
- o34.BackgroundColor3 = Color3.new(1, 1, 1)
- o34.BackgroundTransparency = 1
- o34.Image = "http://www.roblox.com/asset/?id=113196157"
- o35.Parent = o1
- o35.Material = Enum.Material.SmoothPlastic
- o35.BrickColor = BrickColor.new("Black")
- o35.Position = Vector3.new(8.93406582, -2.22237206, -10.9071369)
- o35.Rotation = Vector3.new(90, -90, 0)
- o35.Anchored = true
- o35.CanCollide = false
- o35.Elasticity = 0
- o35.FormFactor = Enum.FormFactor.Symmetric
- o35.Size = Vector3.new(1, 1, 1)
- o35.CFrame = CFrame.new(8.93406582, -2.22237206, -10.9071369, 0, 9.99999975e-06, -1, -1, 0, 0, 0, 1, 9.99999975e-06)
- o35.BottomSurface = Enum.SurfaceType.Smooth
- o35.TopSurface = Enum.SurfaceType.Smooth
- o35.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o35.Position = Vector3.new(8.93406582, -2.22237206, -10.9071369)
- o36.Parent = o35
- o36.Scale = Vector3.new(0.142829999, 0.285659999, 0.142829999)
- o37.Name = "ACOG"
- o37.Parent = o1
- o37.Material = Enum.Material.SmoothPlastic
- o37.BrickColor = BrickColor.new("White")
- o37.Transparency = 1
- o37.Position = Vector3.new(8.93505001, -1.87136805, -9.41910172)
- o37.Rotation = Vector3.new(-180, 0, -180)
- o37.Anchored = true
- o37.CanCollide = false
- o37.Elasticity = 0
- o37.FormFactor = Enum.FormFactor.Custom
- o37.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- o37.CFrame = CFrame.new(8.93505001, -1.87136805, -9.41910172, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- o37.BottomSurface = Enum.SurfaceType.Smooth
- o37.TopSurface = Enum.SurfaceType.Smooth
- o37.Color = Color3.new(0.94902, 0.952941, 0.952941)
- o37.Position = Vector3.new(8.93505001, -1.87136805, -9.41910172)
- o38.Name = "lenspart"
- o38.Parent = o37
- o39.Parent = o37
- o39.Scale = Vector3.new(0.0952381045, 0.095238097, 0.0476190485)
- o40.Name = "ACOG"
- o40.Parent = o1
- o40.Material = Enum.Material.SmoothPlastic
- o40.BrickColor = BrickColor.new("Black")
- o40.Position = Vector3.new(8.93504238, -1.87136805, -9.24917984)
- o40.Anchored = true
- o40.CanCollide = false
- o40.Elasticity = 0
- o40.FormFactor = Enum.FormFactor.Symmetric
- o40.Size = Vector3.new(1, 1, 1)
- o40.CFrame = CFrame.new(8.93504238, -1.87136805, -9.24917984, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o40.BottomSurface = Enum.SurfaceType.Smooth
- o40.TopSurface = Enum.SurfaceType.Smooth
- o40.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o40.Position = Vector3.new(8.93504238, -1.87136805, -9.24917984)
- o41.Parent = o40
- o41.MeshId = "http://www.roblox.com/asset/?id=3270017"
- o41.Scale = Vector3.new(0.166666672, 0.166666672, 2.97619057)
- o41.MeshType = Enum.MeshType.FileMesh
- o42.Name = "ACOG"
- o42.Parent = o1
- o42.Material = Enum.Material.SmoothPlastic
- o42.BrickColor = BrickColor.new("Light blue")
- o42.Transparency = 0.80000001192093
- o42.Position = Vector3.new(8.93504429, -1.87136805, -9.42618561)
- o42.Rotation = Vector3.new(-90, 0, 0)
- o42.Anchored = true
- o42.CanCollide = false
- o42.Elasticity = 0
- o42.FormFactor = Enum.FormFactor.Symmetric
- o42.Size = Vector3.new(1, 1, 1)
- o42.CFrame = CFrame.new(8.93504429, -1.87136805, -9.42618561, 1, 0, 0, 0, 0, 1, 0, -1, 0)
- o42.BottomSurface = Enum.SurfaceType.Smooth
- o42.TopSurface = Enum.SurfaceType.Smooth
- o42.Color = Color3.new(0.705882, 0.823529, 0.894118)
- o42.Position = Vector3.new(8.93504429, -1.87136805, -9.42618561)
- o43.Parent = o42
- o43.Scale = Vector3.new(0.257142842, 0.0119047621, 0.171428561)
- o44.Name = "ACOG"
- o44.Parent = o1
- o44.Material = Enum.Material.SmoothPlastic
- o44.BrickColor = BrickColor.new("Light blue")
- o44.Transparency = 0.89999997615814
- o44.Position = Vector3.new(8.93505001, -1.87136805, -9.04117393)
- o44.Rotation = Vector3.new(-90, 0, 0)
- o44.Anchored = true
- o44.CanCollide = false
- o44.Elasticity = 0
- o44.FormFactor = Enum.FormFactor.Symmetric
- o44.Size = Vector3.new(1, 1, 1)
- o44.CFrame = CFrame.new(8.93505001, -1.87136805, -9.04117393, 1, 0, 0, 0, 0, 1, 0, -1, 0)
- o44.BottomSurface = Enum.SurfaceType.Smooth
- o44.TopSurface = Enum.SurfaceType.Smooth
- o44.Color = Color3.new(0.705882, 0.823529, 0.894118)
- o44.Position = Vector3.new(8.93505001, -1.87136805, -9.04117393)
- o45.Parent = o44
- o45.Scale = Vector3.new(0.160714269, 0.0119047621, 0.160714269)
- o46.Name = "Grip"
- o46.Parent = o1
- o46.Material = Enum.Material.SmoothPlastic
- o46.BrickColor = BrickColor.new("Black")
- o46.Position = Vector3.new(8.93406773, -2.39137006, -10.3031368)
- o46.Rotation = Vector3.new(-180, 0, 0)
- o46.Anchored = true
- o46.CanCollide = false
- o46.Elasticity = 0
- o46.FormFactor = Enum.FormFactor.Symmetric
- o46.Size = Vector3.new(1, 1, 1)
- o46.CFrame = CFrame.new(8.93406773, -2.39137006, -10.3031368, 1, 0, 0, 0, -1, 0, 0, 0, -1)
- o46.BottomSurface = Enum.SurfaceType.Smooth
- o46.TopSurface = Enum.SurfaceType.Smooth
- o46.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o46.Position = Vector3.new(8.93406773, -2.39137006, -10.3031368)
- o47.Parent = o46
- o47.Scale = Vector3.new(0.159999996, 0.0399999991, 0.0799999982)
- o47.MeshType = Enum.MeshType.Wedge
- o48.Name = "Handle"
- o48.Parent = o1
- o48.Material = Enum.Material.SmoothPlastic
- o48.BrickColor = BrickColor.new("Black")
- o48.Position = Vector3.new(8.93406773, -2.72237206, -9.02701378)
- o48.Rotation = Vector3.new(-90, 90, 0)
- o48.Anchored = true
- o48.CanCollide = false
- o48.Elasticity = 0
- o48.FormFactor = Enum.FormFactor.Symmetric
- o48.Size = Vector3.new(1, 1, 1)
- o48.CFrame = CFrame.new(8.93406773, -2.72237206, -9.02701378, 0, -9.99999975e-06, 1, -1, 0, 0, 0, -1, -9.99999975e-06)
- o48.BottomSurface = Enum.SurfaceType.Smooth
- o48.TopSurface = Enum.SurfaceType.Smooth
- o48.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o48.Position = Vector3.new(8.93406773, -2.72237206, -9.02701378)
- o49.Parent = o48
- o49.Scale = Vector3.new(0.0476099998, 0.333270013, 0.0952199996)
- o50.Name = "Shoot"
- o50.Parent = o48
- o50.SoundId = "http://www.roblox.com/asset/?id=132456317"
- o50.Volume = 0.29999998211861
- o51.Name = "Reload"
- o51.Parent = o48
- o51.SoundId = "http://www.roblox.com/asset/?id=2691591"
- o51.Volume = 0.049999993294477
- o53.Parent = o1
- o53.Material = Enum.Material.SmoothPlastic
- o53.BrickColor = BrickColor.new("Black")
- o53.Position = Vector3.new(8.9340601, -2.72237206, -9.40811729)
- o53.Rotation = Vector3.new(-90, 0, 0)
- o53.Anchored = true
- o53.CanCollide = false
- o53.Elasticity = 0
- o53.FormFactor = Enum.FormFactor.Symmetric
- o53.Size = Vector3.new(1, 1, 1)
- o53.CFrame = CFrame.new(8.9340601, -2.72237206, -9.40811729, 1, 0, 0, 0, 0, 1, 0, -1, 0)
- o53.BottomSurface = Enum.SurfaceType.Smooth
- o53.TopSurface = Enum.SurfaceType.Smooth
- o53.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o53.Position = Vector3.new(8.9340601, -2.72237206, -9.40811729)
- o54.Parent = o53
- o54.Scale = Vector3.new(0.190439999, 0.428490013, 0.142829999)
- o54.MeshType = Enum.MeshType.Wedge
- o55.Parent = o1
- o55.Material = Enum.Material.SmoothPlastic
- o55.BrickColor = BrickColor.new("Black")
- o55.Position = Vector3.new(8.9340601, -2.603369, -9.40811729)
- o55.Rotation = Vector3.new(-90, 90, 0)
- o55.Anchored = true
- o55.CanCollide = false
- o55.Elasticity = 0
- o55.FormFactor = Enum.FormFactor.Symmetric
- o55.Size = Vector3.new(1, 1, 1)
- o55.CFrame = CFrame.new(8.9340601, -2.603369, -9.40811729, -0.000319000013, 0.000119999982, 1, -1, -3.82799996e-08, -0.000319000013, 0, -1, 0.000119999997)
- o55.BottomSurface = Enum.SurfaceType.Smooth
- o55.TopSurface = Enum.SurfaceType.Smooth
- o55.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o55.Position = Vector3.new(8.9340601, -2.603369, -9.40811729)
- o56.Parent = o55
- o56.Scale = Vector3.new(0.0952199996, 0.428490013, 0.190439999)
- o57.Name = "ACOG"
- o57.Parent = o1
- o57.Material = Enum.Material.SmoothPlastic
- o57.BrickColor = BrickColor.new("Black")
- o57.Position = Vector3.new(8.9350462, -1.87136805, -9.5050354)
- o57.Rotation = Vector3.new(-90, 0, -180)
- o57.Anchored = true
- o57.CanCollide = false
- o57.Elasticity = 0
- o57.FormFactor = Enum.FormFactor.Symmetric
- o57.Size = Vector3.new(1, 1, 1)
- o57.CFrame = CFrame.new(8.9350462, -1.87136805, -9.5050354, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- o57.BottomSurface = Enum.SurfaceType.Smooth
- o57.TopSurface = Enum.SurfaceType.Smooth
- o57.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o57.Position = Vector3.new(8.9350462, -1.87136805, -9.5050354)
- o58.Parent = o57
- o58.MeshId = "http://www.roblox.com/asset/?id=16659502"
- o58.Scale = Vector3.new(0.178571433, 0.416666657, 0.178571433)
- o58.TextureId = "http://www.roblox.com/asset/?id=trixareforkids"
- o58.VertexColor = Vector3.new(0.280000001, 0.360000014, 0.460000008)
- o58.MeshType = Enum.MeshType.FileMesh
- o59.Name = "SmokePart"
- o59.Parent = o1
- o59.Material = Enum.Material.SmoothPlastic
- o59.BrickColor = BrickColor.new("Dark stone grey")
- o59.Transparency = 1
- o59.Position = Vector3.new(8.93596935, -2.19055629, -12.5137787)
- o59.Anchored = true
- o59.CanCollide = false
- o59.FormFactor = Enum.FormFactor.Custom
- o59.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- o59.CFrame = CFrame.new(8.93596935, -2.19055629, -12.5137787, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o59.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o59.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o59.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o59.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o59.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o59.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o59.Color = Color3.new(0.388235, 0.372549, 0.384314)
- o59.Position = Vector3.new(8.93596935, -2.19055629, -12.5137787)
- o60.Parent = o59
- o60.Scale = Vector3.new(0.658373058, 0.658372879, 0.658373058)
- o61.Name = "ACOG"
- o61.Parent = o1
- o61.Material = Enum.Material.SmoothPlastic
- o61.BrickColor = BrickColor.new("Black")
- o61.Position = Vector3.new(8.93503761, -2.00836706, -9.27896881)
- o61.Rotation = Vector3.new(-180, 0, -180)
- o61.Anchored = true
- o61.CanCollide = false
- o61.Elasticity = 0
- o61.FormFactor = Enum.FormFactor.Symmetric
- o61.Size = Vector3.new(1, 1, 1)
- o61.CFrame = CFrame.new(8.93503761, -2.00836706, -9.27896881, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- o61.BottomSurface = Enum.SurfaceType.Smooth
- o61.TopSurface = Enum.SurfaceType.Smooth
- o61.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o61.Position = Vector3.new(8.93503761, -2.00836706, -9.27896881)
- o62.Parent = o61
- o62.Scale = Vector3.new(0.0595238097, 0.119047619, 0.297619045)
- o63.Parent = o1
- o63.Material = Enum.Material.SmoothPlastic
- o63.BrickColor = BrickColor.new("Black")
- o63.Position = Vector3.new(8.93406773, -2.22237206, -9.7879982)
- o63.Rotation = Vector3.new(90, -90, 0)
- o63.Anchored = true
- o63.CanCollide = false
- o63.Elasticity = 0
- o63.FormFactor = Enum.FormFactor.Symmetric
- o63.Size = Vector3.new(1, 1, 1)
- o63.CFrame = CFrame.new(8.93406773, -2.22237206, -9.7879982, 0, 9.99999975e-06, -1, -1, 0, 0, 0, 1, 9.99999975e-06)
- o63.BottomSurface = Enum.SurfaceType.Smooth
- o63.TopSurface = Enum.SurfaceType.Smooth
- o63.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o63.Position = Vector3.new(8.93406773, -2.22237206, -9.7879982)
- o64.Parent = o63
- o64.Scale = Vector3.new(0.285659999, 0.0476099998, 0.190439999)
- o65.Parent = o1
- o65.Material = Enum.Material.SmoothPlastic
- o65.BrickColor = BrickColor.new("Black")
- o65.Position = Vector3.new(8.93406582, -2.43636894, -9.2411232)
- o65.Rotation = Vector3.new(-90, 90, 0)
- o65.Anchored = true
- o65.CanCollide = false
- o65.Elasticity = 0
- o65.FormFactor = Enum.FormFactor.Symmetric
- o65.Size = Vector3.new(1, 1, 1)
- o65.CFrame = CFrame.new(8.93406582, -2.43636894, -9.2411232, 0, -9.99999975e-06, 1, -1, 0, 0, 0, -1, -9.99999975e-06)
- o65.BottomSurface = Enum.SurfaceType.Smooth
- o65.TopSurface = Enum.SurfaceType.Smooth
- o65.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o65.Position = Vector3.new(8.93406582, -2.43636894, -9.2411232)
- o66.Parent = o65
- o66.Scale = Vector3.new(0.238049999, 0.761759996, 0.190439999)
- o67.Name = "ACOG"
- o67.Parent = o1
- o67.Material = Enum.Material.SmoothPlastic
- o67.BrickColor = BrickColor.new("Dark stone grey")
- o67.Position = Vector3.new(8.93504238, -1.77037001, -9.24917984)
- o67.Rotation = Vector3.new(-180, -90, 0)
- o67.Anchored = true
- o67.CanCollide = false
- o67.Elasticity = 0
- o67.FormFactor = Enum.FormFactor.Symmetric
- o67.Size = Vector3.new(1, 1, 1)
- o67.CFrame = CFrame.new(8.93504238, -1.77037001, -9.24917984, 0, 0, -1, 0, -1, 0, -1, 0, 0)
- o67.BottomSurface = Enum.SurfaceType.Smooth
- o67.TopSurface = Enum.SurfaceType.Smooth
- o67.Color = Color3.new(0.388235, 0.372549, 0.384314)
- o67.Position = Vector3.new(8.93504238, -1.77037001, -9.24917984)
- o68.Parent = o67
- o68.Scale = Vector3.new(0.119047619, 0.0476190522, 0.178571433)
- o69.Name = "Grip"
- o69.Parent = o1
- o69.Material = Enum.Material.SmoothPlastic
- o69.BrickColor = BrickColor.new("Black")
- o69.Position = Vector3.new(8.93406773, -2.63136911, -10.4029903)
- o69.Rotation = Vector3.new(-180, -90, 0)
- o69.Anchored = true
- o69.CanCollide = false
- o69.Elasticity = 0
- o69.FormFactor = Enum.FormFactor.Symmetric
- o69.Size = Vector3.new(1, 1, 1)
- o69.CFrame = CFrame.new(8.93406773, -2.63136911, -10.4029903, 0, 0, -1, 0, -1, 0, -1, 0, 0)
- o69.BottomSurface = Enum.SurfaceType.Smooth
- o69.TopSurface = Enum.SurfaceType.Smooth
- o69.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o69.Position = Vector3.new(8.93406773, -2.63136911, -10.4029903)
- o70.Parent = o69
- o70.Scale = Vector3.new(0.119999997, 0.439999998, 0.159999996)
- o71.Parent = o1
- o71.Material = Enum.Material.SmoothPlastic
- o71.BrickColor = BrickColor.new("Black")
- o71.Position = Vector3.new(8.93405819, -2.61037207, -8.77018356)
- o71.Rotation = Vector3.new(-15, 90, 0)
- o71.Anchored = true
- o71.CanCollide = false
- o71.Elasticity = 0
- o71.FormFactor = Enum.FormFactor.Symmetric
- o71.Size = Vector3.new(1, 1, 1)
- o71.CFrame = CFrame.new(8.93405819, -2.61037207, -8.77018356, -1.2999998e-05, 0, 1, -0.258818984, 0.965925872, -3.36464632e-06, -0.965925872, -0.258818984, -1.25570341e-05)
- o71.BottomSurface = Enum.SurfaceType.Smooth
- o71.TopSurface = Enum.SurfaceType.Smooth
- o71.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o71.Position = Vector3.new(8.93405819, -2.61037207, -8.77018356)
- o72.Parent = o71
- o72.Scale = Vector3.new(0.285659999, 0.809369981, 0.190439999)
- o73.Parent = o1
- o73.Material = Enum.Material.SmoothPlastic
- o73.BrickColor = BrickColor.new("Black")
- o73.Position = Vector3.new(8.93406391, -2.19837093, -9.17008209)
- o73.Rotation = Vector3.new(90, -90, 0)
- o73.Anchored = true
- o73.CanCollide = false
- o73.Elasticity = 0
- o73.FormFactor = Enum.FormFactor.Symmetric
- o73.Size = Vector3.new(1, 1, 1)
- o73.CFrame = CFrame.new(8.93406391, -2.19837093, -9.17008209, 0, 9.99999975e-06, -1, -1, 0, 0, 0, 1, 9.99999975e-06)
- o73.BottomSurface = Enum.SurfaceType.Smooth
- o73.TopSurface = Enum.SurfaceType.Smooth
- o73.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o73.Position = Vector3.new(8.93406391, -2.19837093, -9.17008209)
- o74.Parent = o73
- o74.Scale = Vector3.new(0.238049999, 1.19025004, 0.285659999)
- o75.Name = "ACOG"
- o75.Parent = o1
- o75.Material = Enum.Material.SmoothPlastic
- o75.BrickColor = BrickColor.new("Black")
- o75.Position = Vector3.new(8.93504047, -2.00836706, -9.48697662)
- o75.Anchored = true
- o75.CanCollide = false
- o75.Elasticity = 0
- o75.FormFactor = Enum.FormFactor.Symmetric
- o75.Size = Vector3.new(1, 1, 1)
- o75.CFrame = CFrame.new(8.93504047, -2.00836706, -9.48697662, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o75.BottomSurface = Enum.SurfaceType.Smooth
- o75.TopSurface = Enum.SurfaceType.Smooth
- o75.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o75.Position = Vector3.new(8.93504047, -2.00836706, -9.48697662)
- o76.Parent = o75
- o76.Scale = Vector3.new(0.0595238097, 0.119047619, 0.119047619)
- o76.MeshType = Enum.MeshType.Wedge
- o77.Name = "ACOG"
- o77.Parent = o1
- o77.Material = Enum.Material.SmoothPlastic
- o77.BrickColor = BrickColor.new("Black")
- o77.Position = Vector3.new(8.93504238, -1.87136805, -9.24917984)
- o77.Anchored = true
- o77.CanCollide = false
- o77.Elasticity = 0
- o77.FormFactor = Enum.FormFactor.Symmetric
- o77.Size = Vector3.new(1, 1, 1)
- o77.CFrame = CFrame.new(8.93504238, -1.87136805, -9.24917984, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o77.BottomSurface = Enum.SurfaceType.Smooth
- o77.TopSurface = Enum.SurfaceType.Smooth
- o77.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o77.Position = Vector3.new(8.93504238, -1.87136805, -9.24917984)
- o78.Parent = o77
- o78.MeshId = "http://www.roblox.com/asset/?id=3270017"
- o78.Scale = Vector3.new(0.190476194, 0.190476194, 0.892857134)
- o78.MeshType = Enum.MeshType.FileMesh
- o79.Parent = o1
- o79.Material = Enum.Material.SmoothPlastic
- o79.BrickColor = BrickColor.new("Black")
- o79.Position = Vector3.new(8.93406391, -2.19837093, -9.17008209)
- o79.Rotation = Vector3.new(-90, 90, 0)
- o79.Anchored = true
- o79.CanCollide = false
- o79.Elasticity = 0
- o79.FormFactor = Enum.FormFactor.Symmetric
- o79.Size = Vector3.new(1, 1, 1)
- o79.CFrame = CFrame.new(8.93406391, -2.19837093, -9.17008209, 0, -9.99999975e-06, 1, -1, 0, 0, 0, -1, -9.99999975e-06)
- o79.BottomSurface = Enum.SurfaceType.Smooth
- o79.TopSurface = Enum.SurfaceType.Smooth
- o79.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o79.Position = Vector3.new(8.93406391, -2.19837093, -9.17008209)
- o80.Parent = o79
- o80.Scale = Vector3.new(0.238049999, 1.19025004, 0.190439999)
- o81.Parent = o1
- o81.Material = Enum.Material.SmoothPlastic
- o81.BrickColor = BrickColor.new("Black")
- o81.Position = Vector3.new(8.93406582, -2.35436893, -8.64200211)
- o81.Rotation = Vector3.new(165, 0, 0)
- o81.Anchored = true
- o81.CanCollide = false
- o81.Elasticity = 0
- o81.FormFactor = Enum.FormFactor.Symmetric
- o81.Size = Vector3.new(1, 1, 1)
- o81.CFrame = CFrame.new(8.93406582, -2.35436893, -8.64200211, 1, 0, 0, 0, -0.965926349, -0.258817077, 0, 0.258817077, -0.965926349)
- o81.BottomSurface = Enum.SurfaceType.Smooth
- o81.TopSurface = Enum.SurfaceType.Smooth
- o81.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o81.Position = Vector3.new(8.93406582, -2.35436893, -8.64200211)
- o82.Parent = o81
- o82.Scale = Vector3.new(0.190439999, 0.190439999, 0.0952199996)
- o82.MeshType = Enum.MeshType.Wedge
- o83.Name = "ACOG"
- o83.Parent = o1
- o83.Material = Enum.Material.SmoothPlastic
- o83.BrickColor = BrickColor.new("Black")
- o83.Transparency = 1
- o83.Position = Vector3.new(8.93504429, -1.87136805, -9.42618561)
- o83.Rotation = Vector3.new(-180, 0, -180)
- o83.Anchored = true
- o83.CanCollide = false
- o83.Elasticity = 0
- o83.FormFactor = Enum.FormFactor.Custom
- o83.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- o83.CFrame = CFrame.new(8.93504429, -1.87136805, -9.42618561, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- o83.BottomSurface = Enum.SurfaceType.Smooth
- o83.TopSurface = Enum.SurfaceType.Smooth
- o83.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o83.Position = Vector3.new(8.93504429, -1.87136805, -9.42618561)
- o84.Parent = o83
- o84.Scale = Vector3.new(0.678571522, 0.678571701, 0.0595238097)
- o85.Name = "Flash"
- o85.Parent = o1
- o85.Material = Enum.Material.SmoothPlastic
- o85.BrickColor = BrickColor.new("Black")
- o85.Position = Vector3.new(8.93297195, -2.37737107, -10.4191017)
- o85.Rotation = Vector3.new(0, 90, 0)
- o85.Anchored = true
- o85.CanCollide = false
- o85.Elasticity = 0
- o85.FormFactor = Enum.FormFactor.Symmetric
- o85.Size = Vector3.new(1, 1, 1)
- o85.CFrame = CFrame.new(8.93297195, -2.37737107, -10.4191017, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- o85.BottomSurface = Enum.SurfaceType.Smooth
- o85.TopSurface = Enum.SurfaceType.Smooth
- o85.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o85.Position = Vector3.new(8.93297195, -2.37737107, -10.4191017)
- o86.Parent = o85
- o86.Scale = Vector3.new(0.476190478, 0.142857149, 0.190476194)
- o87.Name = "Drum2"
- o87.Parent = o1
- o87.Material = Enum.Material.SmoothPlastic
- o87.BrickColor = BrickColor.new("Black")
- o87.Position = Vector3.new(8.93797207, -3.04836893, -9.38199615)
- o87.Rotation = Vector3.new(177.710007, -90, 0)
- o87.Anchored = true
- o87.CanCollide = false
- o87.Elasticity = 0
- o87.FormFactor = Enum.FormFactor.Symmetric
- o87.Size = Vector3.new(1, 1, 1)
- o87.CFrame = CFrame.new(8.93797207, -3.04836893, -9.38199615, 0, 0, -1, -0.039989002, -0.999200106, 0, -0.999200106, 0.0399889983, 0)
- o87.BottomSurface = Enum.SurfaceType.Smooth
- o87.TopSurface = Enum.SurfaceType.Smooth
- o87.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o87.Position = Vector3.new(8.93797207, -3.04836893, -9.38199615)
- o88.Parent = o87
- o88.Scale = Vector3.new(0.402780592, 0.190439999, 0.952199996)
- o88.MeshType = Enum.MeshType.Brick
- o89.Name = "Grip"
- o89.Parent = o1
- o89.Material = Enum.Material.SmoothPlastic
- o89.BrickColor = BrickColor.new("Black")
- o89.Position = Vector3.new(8.93406773, -2.39137006, -10.4029903)
- o89.Rotation = Vector3.new(0, -90, 0)
- o89.Anchored = true
- o89.CanCollide = false
- o89.Elasticity = 0
- o89.FormFactor = Enum.FormFactor.Symmetric
- o89.Size = Vector3.new(1, 1, 1)
- o89.CFrame = CFrame.new(8.93406773, -2.39137006, -10.4029903, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- o89.BottomSurface = Enum.SurfaceType.Smooth
- o89.TopSurface = Enum.SurfaceType.Smooth
- o89.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o89.Position = Vector3.new(8.93406773, -2.39137006, -10.4029903)
- o90.Parent = o89
- o90.Scale = Vector3.new(0.119999997, 0.0399999991, 0.159999996)
- o91.Name = "Flash"
- o91.Parent = o1
- o91.Material = Enum.Material.SmoothPlastic
- o91.Transparency = 1
- o91.Position = Vector3.new(8.9360199, -2.27937007, -9.99698448)
- o91.Anchored = true
- o91.CanCollide = false
- o91.Elasticity = 0
- o91.FormFactor = Enum.FormFactor.Plate
- o91.Size = Vector3.new(1, 0.400000006, 1)
- o91.CFrame = CFrame.new(8.9360199, -2.27937007, -9.99698448, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o91.FrontSurface = Enum.SurfaceType.Universal
- o91.Position = Vector3.new(8.9360199, -2.27937007, -9.99698448)
- o92.Name = "FlashLight"
- o92.Parent = o91
- o92.Color = Color3.new(1, 1, 0.823529)
- o92.Enabled = false
- o92.Brightness = 0.80000001192093
- o92.Range = 40
- o92.Shadows = true
- o93.Name = "Grip"
- o93.Parent = o1
- o93.Material = Enum.Material.SmoothPlastic
- o93.BrickColor = BrickColor.new("Black")
- o93.Position = Vector3.new(8.93407154, -2.39137006, -10.4830666)
- o93.Rotation = Vector3.new(0, 0, -180)
- o93.Anchored = true
- o93.CanCollide = false
- o93.Elasticity = 0
- o93.FormFactor = Enum.FormFactor.Symmetric
- o93.Size = Vector3.new(1, 1, 1)
- o93.CFrame = CFrame.new(8.93407154, -2.39137006, -10.4830666, -1, 0, 0, 0, -1, 0, 0, 0, 1)
- o93.BottomSurface = Enum.SurfaceType.Smooth
- o93.TopSurface = Enum.SurfaceType.Smooth
- o93.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o93.Position = Vector3.new(8.93407154, -2.39137006, -10.4830666)
- o94.Parent = o93
- o94.Scale = Vector3.new(0.159999996, 0.0399999991, 0.0399999991)
- o94.MeshType = Enum.MeshType.Wedge
- o95.Name = "Supp"
- o95.Parent = o1
- o95.Material = Enum.Material.SmoothPlastic
- o95.BrickColor = BrickColor.new("Really black")
- o95.Position = Vector3.new(8.93406582, -2.22137403, -12.392971)
- o95.Rotation = Vector3.new(-90, 90, 0)
- o95.Anchored = true
- o95.CanCollide = false
- o95.Elasticity = 0
- o95.FormFactor = Enum.FormFactor.Plate
- o95.Size = Vector3.new(1, 0.400000006, 1)
- o95.CFrame = CFrame.new(8.93406582, -2.22137403, -12.392971, 0, 0, 1, -1, 0, 0, 0, -1, 0)
- o95.BottomSurface = Enum.SurfaceType.Smooth
- o95.TopSurface = Enum.SurfaceType.Smooth
- o95.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o95.Position = Vector3.new(8.93406582, -2.22137403, -12.392971)
- o96.Parent = o95
- o96.Scale = Vector3.new(0.0761760026, 0.0523710027, 0.0761760026)
- o97.Name = "Grip"
- o97.Parent = o1
- o97.Material = Enum.Material.SmoothPlastic
- o97.BrickColor = BrickColor.new("Black")
- o97.Position = Vector3.new(8.93406391, -2.35137105, -10.3829689)
- o97.Rotation = Vector3.new(0, -90, 0)
- o97.Anchored = true
- o97.CanCollide = false
- o97.Elasticity = 0
- o97.FormFactor = Enum.FormFactor.Symmetric
- o97.Size = Vector3.new(1, 1, 1)
- o97.CFrame = CFrame.new(8.93406391, -2.35137105, -10.3829689, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- o97.BottomSurface = Enum.SurfaceType.Smooth
- o97.TopSurface = Enum.SurfaceType.Smooth
- o97.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o97.Position = Vector3.new(8.93406391, -2.35137105, -10.3829689)
- o98.Parent = o97
- o98.Scale = Vector3.new(0.239999995, 0.0399999991, 0.159999996)
- o99.Name = "ColorPart"
- o99.Parent = o1
- o99.Material = Enum.Material.SmoothPlastic
- o99.BrickColor = BrickColor.new("Gold")
- o99.Position = Vector3.new(9.00597382, -2.41236711, -7.64713669)
- o99.Rotation = Vector3.new(-83.7699966, -89.9700012, 97.0400009)
- o99.Anchored = true
- o99.CanCollide = false
- o99.Elasticity = 0
- o99.FormFactor = Enum.FormFactor.Symmetric
- o99.Size = Vector3.new(1, 1, 1)
- o99.CFrame = CFrame.new(9.00597382, -2.41236711, -7.64713669, -5.99999985e-05, -0.000485999946, -0.999999881, -0.0141449999, -0.999899864, 0.000486800011, -0.999899983, 0.0141450269, 5.31195183e-05)
- o99.BottomSurface = Enum.SurfaceType.Smooth
- o99.TopSurface = Enum.SurfaceType.Smooth
- o99.Color = Color3.new(0.937255, 0.721569, 0.219608)
- o99.Position = Vector3.new(9.00597382, -2.41236711, -7.64713669)
- o100.Parent = o99
- o100.Scale = Vector3.new(0.0476099998, 0.428490013, 0.0476099998)
- o100.MeshType = Enum.MeshType.Wedge
- o101.Name = "Flash"
- o101.Parent = o1
- o101.Material = Enum.Material.SmoothPlastic
- o101.BrickColor = BrickColor.new("Black")
- o101.Position = Vector3.new(8.93297386, -2.44837093, -10.7521114)
- o101.Rotation = Vector3.new(-90, -90, 0)
- o101.Anchored = true
- o101.CanCollide = false
- o101.Elasticity = 0
- o101.FormFactor = Enum.FormFactor.Symmetric
- o101.Size = Vector3.new(1, 1, 1)
- o101.CFrame = CFrame.new(8.93297386, -2.44837093, -10.7521114, 0, 0, -1, 1, 0, 0, 0, -1, 0)
- o101.BottomSurface = Enum.SurfaceType.Smooth
- o101.TopSurface = Enum.SurfaceType.Smooth
- o101.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o101.Position = Vector3.new(8.93297386, -2.44837093, -10.7521114)
- o102.Parent = o101
- o102.Scale = Vector3.new(0.142857149, 0.190476194, 0.190476194)
- o103.Name = "ColorPart"
- o103.Parent = o1
- o103.Material = Enum.Material.SmoothPlastic
- o103.BrickColor = BrickColor.new("Gold")
- o103.Position = Vector3.new(8.93406582, -2.4883709, -8.0511837)
- o103.Rotation = Vector3.new(0, 0, -180)
- o103.Anchored = true
- o103.CanCollide = false
- o103.Elasticity = 0
- o103.FormFactor = Enum.FormFactor.Symmetric
- o103.Size = Vector3.new(1, 1, 1)
- o103.CFrame = CFrame.new(8.93406582, -2.4883709, -8.0511837, -1, 0, 9.99999975e-06, 0, -1, 0, 9.99999975e-06, 0, 1)
- o103.BottomSurface = Enum.SurfaceType.Smooth
- o103.TopSurface = Enum.SurfaceType.Smooth
- o103.Color = Color3.new(0.937255, 0.721569, 0.219608)
- o103.Position = Vector3.new(8.93406582, -2.4883709, -8.0511837)
- o104.Parent = o103
- o104.Scale = Vector3.new(0.0476099998, 0.238049999, 0.761759996)
- o104.MeshType = Enum.MeshType.Wedge
- o105.Name = "ColorPart"
- o105.Parent = o1
- o105.Material = Enum.Material.SmoothPlastic
- o105.BrickColor = BrickColor.new("Gold")
- o105.Position = Vector3.new(8.93406582, -2.29836893, -8.0511837)
- o105.Rotation = Vector3.new(-90, 0, 0)
- o105.Anchored = true
- o105.CanCollide = false
- o105.Elasticity = 0
- o105.FormFactor = Enum.FormFactor.Symmetric
- o105.Size = Vector3.new(1, 1, 1)
- o105.CFrame = CFrame.new(8.93406582, -2.29836893, -8.0511837, 1, -5.99999985e-05, 0, 0, 0, 1, -5.99999985e-05, -1, 0)
- o105.BottomSurface = Enum.SurfaceType.Smooth
- o105.TopSurface = Enum.SurfaceType.Smooth
- o105.Color = Color3.new(0.937255, 0.721569, 0.219608)
- o105.Position = Vector3.new(8.93406582, -2.29836893, -8.0511837)
- o106.Parent = o105
- o106.Scale = Vector3.new(0.0476099998, 0.761759996, 0.142829999)
- o107.Name = "ColorPart"
- o107.Parent = o1
- o107.Material = Enum.Material.SmoothPlastic
- o107.BrickColor = BrickColor.new("Gold")
- o107.Position = Vector3.new(8.93406963, -2.15037394, -8.09806061)
- o107.Rotation = Vector3.new(90, -90, 0)
- o107.Anchored = true
- o107.CanCollide = false
- o107.Elasticity = 0
- o107.FormFactor = Enum.FormFactor.Symmetric
- o107.Size = Vector3.new(1, 1, 1)
- o107.CFrame = CFrame.new(8.93406963, -2.15037394, -8.09806061, -0.000262999994, -0.000214999978, -1, -1, 5.6544998e-08, 0.000262999994, 0, 1, -0.000214999993)
- o107.BottomSurface = Enum.SurfaceType.Smooth
- o107.TopSurface = Enum.SurfaceType.Smooth
- o107.Color = Color3.new(0.937255, 0.721569, 0.219608)
- o107.Position = Vector3.new(8.93406963, -2.15037394, -8.09806061)
- o108.Parent = o107
- o108.Scale = Vector3.new(0.238049999, 0.952199996, 0.190439999)
- o109.Name = "ColorPart"
- o109.Parent = o1
- o109.Material = Enum.Material.SmoothPlastic
- o109.BrickColor = BrickColor.new("Gold")
- o109.Position = Vector3.new(8.93406773, -2.41236711, -7.64591408)
- o109.Rotation = Vector3.new(0, 90, 0)
- o109.Anchored = true
- o109.CanCollide = false
- o109.Elasticity = 0
- o109.FormFactor = Enum.FormFactor.Symmetric
- o109.Size = Vector3.new(1, 1, 1)
- o109.CFrame = CFrame.new(8.93406773, -2.41236711, -7.64591408, -9.99999975e-06, 0, 1, 0, 1, 0, -1, 0, -9.99999975e-06)
- o109.BottomSurface = Enum.SurfaceType.Smooth
- o109.TopSurface = Enum.SurfaceType.Smooth
- o109.Color = Color3.new(0.937255, 0.721569, 0.219608)
- o109.Position = Vector3.new(8.93406773, -2.41236711, -7.64591408)
- o110.Parent = o109
- o110.Scale = Vector3.new(0.0476099998, 0.428490013, 0.0952199996)
- o111.Name = "ColorPart"
- o111.Parent = o1
- o111.Material = Enum.Material.SmoothPlastic
- o111.BrickColor = BrickColor.new("Gold")
- o111.Position = Vector3.new(8.93406773, -2.1743679, -7.64591408)
- o111.Rotation = Vector3.new(-90, 90, 0)
- o111.Anchored = true
- o111.CanCollide = false
- o111.Elasticity = 0
- o111.FormFactor = Enum.FormFactor.Symmetric
- o111.Size = Vector3.new(1, 1, 1)
- o111.CFrame = CFrame.new(8.93406773, -2.1743679, -7.64591408, 0, -9.99999975e-06, 1, -1, 0, 0, 0, -1, -9.99999975e-06)
- o111.BottomSurface = Enum.SurfaceType.Smooth
- o111.TopSurface = Enum.SurfaceType.Smooth
- o111.Color = Color3.new(0.937255, 0.721569, 0.219608)
- o111.Position = Vector3.new(8.93406773, -2.1743679, -7.64591408)
- o112.Parent = o111
- o112.Scale = Vector3.new(0.0476099998, 0.0476099998, 0.190439999)
- o113.Name = "Gun_Script"
- o113.Parent = o1
- print("Giving "..game.Players.LocalPlayer.Name.. " a " ..o1.Name.. " Don't leak this. If you do i will fucking shoot you till your dead! ")
- table.insert(cors,coroutine.create(function()
- wait()
- runDummyScript(function()
- sp = script.Parent
- Mesh = false -- If true will load BC 2.0 Arm meshes as well.
- Shirt = true -- If true will load the user's shirt to the arms as well
- function onEquipped(mouse)
- local Player = game:GetService("Players").LocalPlayer
- local Cam = game.Workspace.CurrentCamera
- local Arms = Instance.new("Model")
- Arms.Name = "Arms"
- Arms.Parent = Cam
- if Shirt == true then
- local Humanoid = Instance.new("Humanoid")
- Humanoid.MaxHealth = 0
- Humanoid.Health = 0
- Humanoid.Name = ""
- Humanoid.Parent = Arms
- local newShirt = Player.Character:FindFirstChild("Shirt"):clone()
- newShirt.Parent = Arms
- else end
- local RightArm = Player.Character:FindFirstChild("Right Arm"):clone()
- RightArm.Name = "Right Arm"
- RightArm.Transparency = 0
- local w = Instance.new("Weld")
- w.Part0 = RightArm
- w.Part1 = Player.Character:FindFirstChild("Right Arm")
- w.C0 = CFrame.new()
- w.C1 = CFrame.new()
- w.Parent = RightArm
- RightArm.Parent = Arms
- local LeftArm = Player.Character:FindFirstChild("Left Arm"):clone()
- LeftArm.Name = "Left Arm"
- LeftArm.Transparency = 0
- local w = Instance.new("Weld")
- w.Part0 = LeftArm
- w.Part1 = Player.Character:FindFirstChild("Left Arm")
- w.C0 = CFrame.new()
- w.C1 = CFrame.new()
- w.Parent = LeftArm
- LeftArm.Parent = Arms
- if Mesh ~= false then
- local LeftArmMesh = script:FindFirstChild("LeftArm")
- LeftArmMesh.Parent = LeftArm
- local RightArmMesh = script:FindFirstChild("RightArm")
- RightArmMesh.Parent = RightArm
- else end
- end
- function onUnequipped(mouse)
- local Player = game:GetService("Players").LocalPlayer
- local Cam = game.Workspace.CurrentCamera
- for _, Model in pairs(Cam:GetChildren()) do
- if Model.Name == "Arms" then
- Model:remove()
- else end
- end
- end
- sp.Equipped:connect(onEquipped)
- sp.Unequipped:connect(onUnequipped)
- wait(0.5)
- --Made by YouTubes--
- --Edit settings below--
- local Tool = script.Parent
- local Settings = {
- Range = math.huge
- ,Spread = 8
- ,Damage = {math.huge, math.huge}
- ,HeadShotDamage = {math.huge, math.huge}
- ,Bullets = 1
- ,FireRate = 0.01
- ,Automatic = true
- ,AntiTK = false
- ,ImpactDuration = 0.1
- --Reload
- ,ReloadKey = "R"
- ,ReloadTime = 1.83
- ,Ammo = math.huge
- ,IncludeChamberedBullet = false
- --Gui
- ,GuiPos = Vector2.new(script.Gui.Frame.Position.X.Scale, script.Gui.Frame.Position.Y.Scale)
- --Arms
- ,OneHanded = false
- ,FakeArms = false
- ,FakeArmTransparency = 1
- -- (+Left to -Right, +Fward to -Bward, +Up to -Down) (+Up to -Down, +Left to -Right, +Counter to -Clock)
- ,RightPos = CFrame.new(-0.75, -0.25, 0.45) * CFrame.Angles(math.rad(-90), 0, 0)
- ,LeftPos = CFrame.new(1.2, 0.21, 0.55)* CFrame.Angles(math.rad(-90), math.rad(55), math.rad(5), 0)
- ,AimPart = Tool.AimPart
- ,AimPartOffset = CFrame.new()
- ,AimGripOffset = Vector3.new(0, 0, 0)
- ,LeftAimPos = CFrame.new(1.05, 0.98, 0.48) * CFrame.Angles(math.rad(-95), math.rad(24), math.rad(0), 00)
- ,AimAnim = {
- Enabled = false
- ,Frames = 50
- ,Time = 0.1
- }
- ,ChangeFOV = {true, 55}
- ,SpreadReduction = 7.5
- --Weld
- ,Weld = true
- --Mouse
- ,Icons = {
- Idle = "rbxassetid://70288585"
- ,Fire1 = "rbxassetid://70288578"
- ,Fire2 = "rbxassetid://70288572"
- ,Fire3 = "rbxassetid://70288578"
- ,Reload = "rbxassetid://70288599"
- ,Aim = "rbxasset://textures/Blank.png"
- }
- ,FireMouseAnimTime = 0.15
- --Recoil
- ,Recoil = math.rad(0.5)
- --Smoke
- ,Smoke = true
- ,SmokePart = Tool.SmokePart
- ,Smokes = {{script.Smoke, 6, 0.01}, {script.Smoke1, 0.01}, {script.Smoke2, 0.01}}
- --Sprint
- ,Sprint = true
- ,SprintSpeed = 20
- ,SprintKey = "0"
- ,SprintSpreadIncrease = 40
- ,SprintArmOffset = CFrame.new(0.25, 0.125, 0.25) * CFrame.Angles(math.rad(-30), math.rad(35), 0)
- --Other
- ,DropHats = false
- }
- --Do not edit below this lign--
- local Orig_Spread = Settings.Spread
- local Orig_Grip = Tool.GripPos
- local Player = game.Players.LocalPlayer
- local Character = Player.Character
- local Camera = Workspace.CurrentCamera
- local Ammo, StoredAmmo = script.Ammo, script.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 = 0
- else
- Humanoid.Health = 0
- 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("Really black")
- Hit_Part.Material = "Metal"
- Instance.new("BlockMesh", Hit_Part).Scale = Vector3.new(0.5, 0.5, 0.5)
- local brickcolor = BrickColor.new(Hit.BrickColor.Name)
- Instance.new("Smoke", Hit_Part).Opacity = .2
- local Meta = Instance.new("Sound")
- Meta.Name = "Crack"
- Meta.SoundId = "rbxassetid://1"
- Meta.Volume = math.random(0.9,1)
- Meta.Pitch = math.random(1,1.2)
- Meta.Parent = Hit_Part
- Meta:play()
- local Cur = Instance.new("SpecialMesh",Hit_Part)
- Cur.MeshType = "Sphere"
- Cur.Scale = Vector3.new(0.5,0.5,0.5)
- 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 = script.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)
- for _ = 1, Settings.Bullets do
- Delay(0, function()
- Fire(Mouse, RANGE, SPEED, DROP)
- end)
- end
- local bg = Instance.new("BillboardGui", Settings.SmokePart)
- bg.Adornee = Settings.SmokePart
- local flashsize = math.random(5, 15)/10
- bg.Size = UDim2.new(flashsize, 0, flashsize, 0)
- local flashs = Instance.new("ImageLabel", bg)
- flashs.BackgroundTransparency = 1
- flashs.Size = UDim2.new(math.random (0.2, 0.6), 0, math.random (0.2, 0.6), 0)
- flashs.Image = "rbxassetid://210355445"
- flashs.Rotation = math.random(0, 360)
- local g = Instance.new("PointLight", Settings.SmokePart)
- g.Color = Color3.new(255, 250, 167)
- g.Brightness = 5
- g.Range = 5
- g.Shadows = true
- local flash = Instance.new("ImageLabel", bg)
- flash.BackgroundTransparency = 1
- flash.Size = UDim2.new(math.random (0.7, 1), 0, math.random (0.7, 1), 0)
- flash.Image = "rbxassetid://180072687"
- flash.Rotation = math.random(0, 360)
- game.Debris:AddItem(bg, 0.025)
- local flash1 = Instance.new("ImageLabel", bg)
- flash1.BackgroundTransparency = 1
- flash1.Size = UDim2.new(math.random (0.5, 1), 0, math.random (0.5, 1), 0)
- flash1.Image = "rbxassetid://210355513"
- flash1.Rotation = math.random(0, 360)
- game.Debris:AddItem(bg, 0.025)
- delay(0, function()
- local r = math.abs(Settings.Recoil)
- local ran = math.random(-1, 1)
- Camera.CoordinateFrame = CFrame.new(Camera.Focus.p) * (Camera.CoordinateFrame - Camera.CoordinateFrame.p) * CFrame.Angles(r, r*ran, 0) * CFrame.new(0, 0, (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude)
- local c = -r/20
- local cx = -(r*ran)/20
- for i = 1, math.random(15, 25) do
- if EquipId == curId then
- Camera.CoordinateFrame = CFrame.new(Camera.Focus.p) * (Camera.CoordinateFrame - Camera.CoordinateFrame.p) * CFrame.Angles(c, cx, 0) * CFrame.new(0, 0, (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude)
- g:remove()
- wait()
- else
- break
- end
- end
- end)
- if Tool.Handle:FindFirstChild("Shoot") then
- Tool.Handle.Shoot:Play()
- end
- Ammo.Value = Ammo.Value - 1
- --[[Tool.A1.Transparency = 1
- Tool.A2.Transparency = 1
- Tool.B1.Transparency = 0
- Tool.B2.Transparency = 0]]
- wait(Settings.FireRate)
- --[[Tool.A1.Transparency = 0
- Tool.A2.Transparency = 0
- Tool.B1.Transparency = 1
- Tool.B2.Transparency = 1]]
- 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 = "0"
- wait(Settings.ReloadTime/3)
- if TextLabel then
- TextLabel.Text = "000"
- end
- wait(Settings.ReloadTime/3)
- if TextLabel then
- TextLabel.Text = "000"
- end
- end)
- Mouse.Icon = Settings.Icons.Reload
- -- (+Left to -Right, +Fward to -Bward, +Up to -Down) (+Up to -Down, +Left to -Right, +Counter to -Clock)
- Right_Weld.C1 = CFrame.new(-0.75, -0.2, 0.5) * CFrame.Angles(math.rad(-90), 0, 0.1)
- Left_Weld.C1 = CFrame.new(1.2, 0.6, 0.45) * CFrame.Angles(math.rad(-90), math.rad(45), math.rad(0), 0)
- wait(.02)
- Right_Weld.C1 = CFrame.new(-0.75, -0.15, 0.55) * CFrame.Angles(math.rad(-90), 0, 0.15)
- Left_Weld.C1 = CFrame.new(1.2, 0.5, 0.45) * CFrame.Angles(math.rad(-90), math.rad(50), math.rad(0), 0)
- wait(.02)
- Right_Weld.C1 = CFrame.new(-0.75, -0.1, 0.6) * CFrame.Angles(math.rad(-90), 0, 0.2)
- Left_Weld.C1 = CFrame.new(1.2, 0.4, 0.45) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(0), 0)
- wait(0.02)
- Left_Weld.C1 = CFrame.new(1.2, 0.4, 0.40) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(0), 0)
- Tool.Handle.Reload:play()
- Tool.Mag1.Transparency = 1
- Tool.Mag2.Transparency = 1
- wait(0.03)
- Left_Weld.C1 = CFrame.new(1.2, 0.35, 0.35) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(5), 0)
- wait(0.03)
- Left_Weld.C1 = CFrame.new(1.2, 0.3, 0.30) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(10), 0)
- wait(0.03)
- Left_Weld.C1 = CFrame.new(1.2, 0.3, 0.25) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(15), 0)
- wait(0.03)
- Left_Weld.C1 = CFrame.new(1.2, 0.3, 0.20) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(20), 0)
- wait(0.03)
- Left_Weld.C1 = CFrame.new(1.2, 0.3, 0.15) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(25), 0)
- wait(0.03)
- Left_Weld.C1 = CFrame.new(1.2, 0.3, 0.10) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(30), 0)
- wait(0.03)
- Left_Weld.C1 = CFrame.new(1.2, 0.25, 0.05) * CFrame.Angles(math.rad(-90), math.rad(60), math.rad(35), 0)
- wait(0.03)
- Left_Weld.C1 = CFrame.new(1.2, 0.2, 0) * CFrame.Angles(math.rad(-90), math.rad(65), math.rad(40), 0)
- wait(0.03)
- Left_Weld.C1 = CFrame.new(1.2, 0.15, 0) * CFrame.Angles(math.rad(-90), math.rad(70), math.rad(45), 0)
- wait(0.03)
- Left_Weld.C1 = CFrame.new(1.2, 0.1, 0) * CFrame.Angles(math.rad(-90), math.rad(75), math.rad(50), 0)
- wait(0.5)
- Left_Weld.C1 = CFrame.new(1.2, 0.1, 0.0) * CFrame.Angles(math.rad(-90), math.rad(75), math.rad(40), 0)
- --Tool.Handle.MagIn:play()
- Tool.Mag1.Transparency = 0
- Tool.Mag2.Transparency = 0
- wait(0.03)
- Left_Weld.C1 = CFrame.new(1.2, 0.15, 0.05) * CFrame.Angles(math.rad(-90), math.rad(70), math.rad(35), 0)
- wait(0.03)
- Left_Weld.C1 = CFrame.new(1.2, 0.2, 0.10) * CFrame.Angles(math.rad(-90), math.rad(65), math.rad(30), 0)
- wait(0.03)
- Left_Weld.C1 = CFrame.new(1.2, 0.25, 0.15) * CFrame.Angles(math.rad(-90), math.rad(60), math.rad(25), 0)
- wait(0.03)
- Left_Weld.C1 = CFrame.new(1.2, 0.3, 0.20) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(20), 0)
- wait(0.03)
- Left_Weld.C1 = CFrame.new(1.2, 0.3, 0.25) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(15), 0)
- wait(0.03)
- Right_Weld.C1 = CFrame.new(-0.75, -0.1, 0.6) * CFrame.Angles(math.rad(-90), 0, 0.2)
- Left_Weld.C1 = CFrame.new(1.2, 0.3, 0.30) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(10), 0)
- wait(0.03)
- Right_Weld.C1 = CFrame.new(-0.75, -0.15, 0.55) * CFrame.Angles(math.rad(-90), 0, 0.15)
- Left_Weld.C1 = CFrame.new(1.2, 0.35, 0.35) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(05), 0)
- wait(0.03)
- Right_Weld.C1 = CFrame.new(-0.75, -0.2, 0.5) * CFrame.Angles(math.rad(-90), 0, 0.1)
- Left_Weld.C1 = CFrame.new(1.2, 0.4, 0.40) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(0), 0)
- wait(0.03)
- Right_Weld.C1 = CFrame.new(-0.75, -0.2, 0.4) * CFrame.Angles(math.rad(-90), 0, -0.05)
- wait(0.02)
- Right_Weld.C1 = CFrame.new(-0.76, -0.2, 0.3) * CFrame.Angles(math.rad(-90), 0, -0.1)
- wait(0.02)
- Right_Weld.C1 = CFrame.new(-0.77, -0.2, 0.2) * CFrame.Angles(math.rad(-90), 0, -0.15)
- wait(0.02)
- Right_Weld.C1 = CFrame.new(-0.78, -0.2, 0.1) * CFrame.Angles(math.rad(-90), 0, -0.20)
- wait(0.02)
- Right_Weld.C1 = CFrame.new(-0.79, -0.2, 0) * CFrame.Angles(math.rad(-90), 0, -0.25)
- wait(0.02)
- Right_Weld.C1 = CFrame.new(-0.8, -0.2, -0.1) * CFrame.Angles(math.rad(-90), 0, -0.30)
- wait(0.02)
- Right_Weld.C1 = CFrame.new(-0.81, -0.2, -0.15) * CFrame.Angles(math.rad(-90), 0, -0.35)
- wait(0.02)
- Right_Weld.C1 = CFrame.new(-0.82, -0.2, -0.20) * CFrame.Angles(math.rad(-90), 0, -0.40)
- wait(0.02)
- Left_Weld.C1 = CFrame.new(1.2, 0.4, 0.45) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(-05), 0)
- Right_Weld.C1 = CFrame.new(-0.83, -0.2, -0.25) * CFrame.Angles(math.rad(-90), 0, -0.45)
- wait(0.02)
- Left_Weld.C1 = CFrame.new(1.2, 0.4, 0.45) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(-10), 0)
- Right_Weld.C1 = CFrame.new(-0.84, -0.2, -0.3) * CFrame.Angles(math.rad(-90), 0, -0.50)
- wait(0.02)
- Left_Weld.C1 = CFrame.new(1.2, 0.4, 0.45) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(-15), 0)
- Right_Weld.C1 = CFrame.new(-0.85, -0.2, -0.35) * CFrame.Angles(math.rad(-90), 0, -0.55)
- wait(0.02)
- Left_Weld.C1 = CFrame.new(1.2, 0.4, 0.45) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(-20), 0)
- Right_Weld.C1 = CFrame.new(-0.86, -0.2, -0.4) * CFrame.Angles(math.rad(-90), 0, -0.60)
- wait(0.02)
- Right_Weld.C1 = CFrame.new(-0.87, -0.2, -0.45) * CFrame.Angles(math.rad(-90), 0, -0.65)
- --Tool.Handle.Bolt:play()
- wait(0.02)
- Left_Weld.C1 = CFrame.new(1.2, 0.4, 0.45) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(-20), 0)
- Right_Weld.C1 = CFrame.new(-0.88, -0.2, -0.5) * CFrame.Angles(math.rad(-90), 0, -0.70)
- wait(0.02)
- Left_Weld.C1 = CFrame.new(1.2, 0.3, 0.45) * CFrame.Angles(math.rad(-90), math.rad(60), math.rad(-20), 0)
- Right_Weld.C1 = CFrame.new(-0.89, -0.2, -0.55) * CFrame.Angles(math.rad(-90), 0, -0.75)
- wait(0.02)
- Left_Weld.C1 = CFrame.new(1.2, 0.2, 0.45) * CFrame.Angles(math.rad(-90), math.rad(65), math.rad(-20), 0)
- Right_Weld.C1 = CFrame.new(-0.9, -0.2, -0.6) * CFrame.Angles(math.rad(-90), 0, -0.80)
- wait(0.02)
- Left_Weld.C1 = CFrame.new(1.2, 0.1, 0.45) * CFrame.Angles(math.rad(-90), math.rad(70), math.rad(-20), 0)
- Right_Weld.C1 = CFrame.new(-0.91, -0.2, -0.65) * CFrame.Angles(math.rad(-90), 0, -0.85)
- wait(0.02)
- Left_Weld.C1 = CFrame.new(1.2, 0, 0.45) * CFrame.Angles(math.rad(-90), math.rad(75), math.rad(-20), 0)
- Right_Weld.C1 = CFrame.new(-0.92, -0.2, -0.7) * CFrame.Angles(math.rad(-90), 0, -0.90)
- wait(0.02)
- Left_Weld.C1 = CFrame.new(1.2, -0.5, 0.45) * CFrame.Angles(math.rad(-90), math.rad(80), math.rad(-20), 0)
- --[[Tool.A1.Transparency = 1
- Tool.A2.Transparency = 1
- Tool.B1.Transparency = 0
- Tool.B2.Transparency = 0]]
- wait(0.02)
- Left_Weld.C1 = CFrame.new(1.2, 0.0, 0.45) * CFrame.Angles(math.rad(-90), math.rad(75), math.rad(-20), 0)
- wait(0.02)
- Left_Weld.C1 = CFrame.new(1.2, 0.1, 0.45) * CFrame.Angles(math.rad(-90), math.rad(70), math.rad(-20), 0)
- wait(0.02)
- Left_Weld.C1 = CFrame.new(1.2, 0.2, 0.45) * CFrame.Angles(math.rad(-90), math.rad(65), math.rad(-20), 0)
- wait(0.02)
- Left_Weld.C1 = CFrame.new(1.2, 0.3, 0.45) * CFrame.Angles(math.rad(-90), math.rad(60), math.rad(-20), 0)
- wait(0.02)
- Left_Weld.C1 = CFrame.new(1.2, 0.4, 0.45) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(-20), 0)
- --[[Tool.A1.Transparency = 0
- Tool.A2.Transparency = 0
- Tool.B1.Transparency = 1
- Tool.B2.Transparency = 1]]
- wait(0.02)
- Right_Weld.C1 = CFrame.new(-0.86, -0.2, -0.4) * CFrame.Angles(math.rad(-90), 0, -0.60)
- wait(0.02)
- Right_Weld.C1 = CFrame.new(-0.85, -0.2, -0.35) * CFrame.Angles(math.rad(-90), 0, -0.55)
- wait(0.02)
- Right_Weld.C1 = CFrame.new(-0.84, -0.2, -0.3) * CFrame.Angles(math.rad(-90), 0, -0.50)
- wait(0.02)
- Right_Weld.C1 = CFrame.new(-0.83, -0.2, -0.25) * CFrame.Angles(math.rad(-90), 0, -0.45)
- wait(0.02)
- Right_Weld.C1 = CFrame.new(-0.82, -0.2, -0.20) * CFrame.Angles(math.rad(-90), 0, -0.40)
- wait(0.02)
- Right_Weld.C1 = CFrame.new(-0.81, -0.2, -0.15) * CFrame.Angles(math.rad(-90), 0, -0.35)
- wait(0.02)
- Right_Weld.C1 = CFrame.new(-0.8, -0.2, -0.1) * CFrame.Angles(math.rad(-90), 0, -0.30)
- wait(0.02)
- Right_Weld.C1 = CFrame.new(-0.79, -0.2, 0) * CFrame.Angles(math.rad(-90), 0, -0.25)
- wait(0.02)
- Right_Weld.C1 = CFrame.new(-0.78, -0.2, 0.1) * CFrame.Angles(math.rad(-90), 0, -0.20)
- wait(0.02)
- Right_Weld.C1 = CFrame.new(-0.77, -0.2, 0.2) * CFrame.Angles(math.rad(-90), 0, -0.15)
- wait(0.02)
- Right_Weld.C1 = CFrame.new(-0.76, -0.2, 0.3) * CFrame.Angles(math.rad(-90), 0, -0.1)
- wait(0.02)
- Right_Weld.C1 = CFrame.new(-0.75, -0.2, 0.4) * CFrame.Angles(math.rad(-90), 0, -0.05)
- wait(0.02)
- Right_Weld.C1 = CFrame.new(-0.75, -0.25, 0.4) * CFrame.Angles(math.rad(-90), 0, 0)
- Left_Weld.C1 = CFrame.new(0.8, 1.1, 0.02) * CFrame.Angles(math.rad(-100), math.rad(30), math.rad(0), 0)
- 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
- Can_Shoot = false
- 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 and not Sprinting then
- Can_Shoot = true
- 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(1, 2, 1)
- local Arm_Mesh2 = Instance.new("SpecialMesh", Fake_Arm_Left)
- Arm_Mesh2.MeshType, Arm_Mesh2.Scale = "Brick", Vector3.new(1, 2, 1)
- 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)
- end,o113)
- end))
- o114.Name = "StoredAmmo"
- o114.Parent = o113
- o114.Value = math.huge
- o115.Name = "Ammo"
- o115.Parent = o113
- o115.Value = math.huge
- o116.Parent = o113
- o116.Size = 0.25
- o116.Color = Color3.new(0.807843, 0.807843, 0.807843)
- o116.Enabled = false
- o116.Opacity = 0.10000000149012
- o116.RiseVelocity = 10
- o117.Name = "Smoke1"
- o117.Parent = o113
- o117.Size = 0.25
- o117.Color = Color3.new(0.807843, 0.807843, 0.807843)
- o117.Enabled = false
- o117.Opacity = 0.10000000149012
- o117.RiseVelocity = 10
- o118.Name = "Smoke2"
- o118.Parent = o113
- o118.Size = 0.25
- o118.Color = Color3.new(0.807843, 0.807843, 0.807843)
- o118.Enabled = false
- o118.Opacity = 0.10000000149012
- o118.RiseVelocity = 10
- o119.Name = "MaxAmmo"
- o119.Parent = o113
- o119.Value = math.huge
- o120.Name = "Gui"
- o120.Parent = o113
- o121.Name = "Box1"
- o121.Parent = o120
- o121.Position = UDim2.new(1,-5,1,-120)
- o121.Rotation = 5
- o121.Size = UDim2.new(-0.125,0,-0.03999999910593,0)
- o121.Position = UDim2.new(1,-5,1,-120)
- o121.BackgroundColor3 = Color3.new(0.0196078, 0.0196078, 0.0196078)
- o121.BackgroundTransparency = 0.30000001192093
- o121.BorderColor3 = Color3.new(0, 0, 0)
- o121.BorderSizePixel = 0
- o121.SizeConstraint = Enum.SizeConstraint.RelativeXX
- o122.Name = "GunName"
- o122.Parent = o121
- o122.Position = UDim2.new(0.92500001192093,0,0,0)
- o122.Size = UDim2.new(-0.80000001192093,0,0.5,0)
- o122.Text = "M4A1"
- o122.Position = UDim2.new(0.92500001192093,0,0,0)
- o122.BackgroundColor3 = Color3.new(0.501961, 0, 0)
- o122.BackgroundTransparency = 1
- o122.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- o122.ZIndex = 2
- o122.FontSize = Enum.FontSize.Size14
- o122.TextColor3 = Color3.new(1, 1, 1)
- o122.TextScaled = true
- o122.TextStrokeColor3 = Color3.new(0.647059, 0, 0.129412)
- o122.TextTransparency = 0.40000000596046
- o122.TextWrapped = true
- o122.TextXAlignment = Enum.TextXAlignment.Right
- o123.Name = "GunTip"
- o123.Parent = o121
- o123.Position = UDim2.new(0.92500001192093,0,0.44999998807907,0)
- o123.Size = UDim2.new(-0.80000001192093,0,0.5,0)
- o123.Text = "5.56x45mm"
- o123.Position = UDim2.new(0.92500001192093,0,0.44999998807907,0)
- o123.BackgroundColor3 = Color3.new(0.501961, 0, 0)
- o123.BackgroundTransparency = 1
- o123.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- o123.ZIndex = 2
- o123.FontSize = Enum.FontSize.Size14
- o123.TextColor3 = Color3.new(1, 1, 1)
- o123.TextScaled = true
- o123.TextStrokeColor3 = Color3.new(0.647059, 0, 0.129412)
- o123.TextTransparency = 0.40000000596046
- o123.TextWrapped = true
- o123.TextXAlignment = Enum.TextXAlignment.Right
- o124.Parent = o120
- o124.Position = UDim2.new(1,-5,1,-60)
- o124.Rotation = 5
- o124.Size = UDim2.new(-0.125,0,-0.03999999910593,0)
- o124.Position = UDim2.new(1,-5,1,-60)
- o124.BackgroundColor3 = Color3.new(0.0196078, 0.0196078, 0.0196078)
- o124.BackgroundTransparency = 0.30000001192093
- o124.BorderColor3 = Color3.new(0, 0, 0)
- o124.BorderSizePixel = 0
- o124.SizeConstraint = Enum.SizeConstraint.RelativeXX
- o125.Name = "AmmoDisplay"
- o125.Parent = o124
- o125.Position = UDim2.new(0.90399998426437,0,0.10000000149012,0)
- o125.Size = UDim2.new(-0.80000001192093,0,0.5,0)
- o125.Text = ""
- o125.Position = UDim2.new(0.90399998426437,0,0.10000000149012,0)
- o125.BackgroundColor3 = Color3.new(0.501961, 0, 0)
- o125.BackgroundTransparency = 1
- o125.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- o125.ZIndex = 2
- o125.FontSize = Enum.FontSize.Size14
- o125.TextColor3 = Color3.new(1, 1, 1)
- o125.TextScaled = true
- o125.TextStrokeColor3 = Color3.new(0.647059, 0, 0.129412)
- o125.TextTransparency = 0.40000000596046
- o125.TextWrapped = true
- o126.Name = "Ammobar"
- o126.Parent = o124
- o126.Position = UDim2.new(0.050000000745058,0,0.8500000834465,0)
- o126.Size = UDim2.new(0.89999997615814,0,-0.15000003576279,0)
- o126.Position = UDim2.new(0.050000000745058,0,0.8500000834465,0)
- o126.BackgroundColor3 = Color3.new(0.109804, 0.109804, 0.109804)
- o126.BackgroundTransparency = 0.5
- o126.BorderColor3 = Color3.new(0.466667, 0.466667, 0.466667)
- o127.Name = "Percentage"
- o127.Parent = o126
- o127.Position = UDim2.new(0,1,0,1)
- o127.Size = UDim2.new(1,-2,1,-2)
- o127.Position = UDim2.new(0,1,0,1)
- o127.BackgroundColor3 = Color3.new(1, 1, 1)
- o127.BackgroundTransparency = 0.5
- o127.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- o127.BorderSizePixel = 0
- o128.Name = "NoSight"
- o128.Parent = o1
- o128.Material = Enum.Material.SmoothPlastic
- o128.BrickColor = BrickColor.new("Black")
- o128.Position = Vector3.new(8.93406963, -2.02737308, -10.8700294)
- o128.Rotation = Vector3.new(60, 90, 0)
- o128.Anchored = true
- o128.CanCollide = false
- o128.Elasticity = 0
- o128.FormFactor = Enum.FormFactor.Plate
- o128.Size = Vector3.new(1, 0.400000006, 1)
- o128.CFrame = CFrame.new(8.93406963, -2.02737308, -10.8700294, 0, 0, 1, 0.866024852, 0.500000954, 0, -0.500000954, 0.866024852, 0)
- o128.BottomSurface = Enum.SurfaceType.Smooth
- o128.TopSurface = Enum.SurfaceType.Smooth
- o128.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o128.Position = Vector3.new(8.93406963, -2.02737308, -10.8700294)
- o129.Parent = o128
- o129.Scale = Vector3.new(0.333270013, 0.0952199996, 0.0476099998)
- o130.Name = "NoSight"
- o130.Parent = o1
- o130.Material = Enum.Material.SmoothPlastic
- o130.BrickColor = BrickColor.new("Black")
- o130.Position = Vector3.new(8.934062, -1.85136998, -10.9601135)
- o130.Rotation = Vector3.new(-11.4499998, 90, 0)
- o130.Anchored = true
- o130.CanCollide = false
- o130.Elasticity = 0
- o130.FormFactor = Enum.FormFactor.Custom
- o130.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- o130.CFrame = CFrame.new(8.934062, -1.85136998, -10.9601135, -0.000346999906, -8.19999696e-05, 1, -0.198534951, 0.980093777, 1.14760505e-05, -0.980093777, -0.198534936, -0.000356372329)
- o130.BottomSurface = Enum.SurfaceType.Smooth
- o130.TopSurface = Enum.SurfaceType.Smooth
- o130.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o130.Position = Vector3.new(8.934062, -1.85136998, -10.9601135)
- o131.Parent = o130
- o131.Scale = Vector3.new(0.142829999, 0.190439999, 0.0476099998)
- o132.Name = "NoSight"
- o132.Parent = o1
- o132.Material = Enum.Material.SmoothPlastic
- o132.BrickColor = BrickColor.new("Black")
- o132.Position = Vector3.new(8.934062, -1.87936997, -10.9601135)
- o132.Rotation = Vector3.new(0, -90, 0)
- o132.Anchored = true
- o132.CanCollide = false
- o132.Elasticity = 0
- o132.FormFactor = Enum.FormFactor.Plate
- o132.Size = Vector3.new(1, 0.400000006, 1)
- o132.CFrame = CFrame.new(8.934062, -1.87936997, -10.9601135, 9.99999975e-06, 0, -1, 0, 1, 0, 1, 0, 9.99999975e-06)
- o132.BottomSurface = Enum.SurfaceType.Smooth
- o132.TopSurface = Enum.SurfaceType.Smooth
- o132.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o132.Position = Vector3.new(8.934062, -1.87936997, -10.9601135)
- o133.Parent = o132
- o133.Scale = Vector3.new(0.0476099998, 0.0476099998, 0.0476099998)
- o134.Name = "NoSight"
- o134.Parent = o1
- o134.Material = Enum.Material.SmoothPlastic
- o134.BrickColor = BrickColor.new("Black")
- o134.Position = Vector3.new(8.95299244, -1.83637202, -10.9601154)
- o134.Rotation = Vector3.new(90, 0, 90)
- o134.Anchored = true
- o134.CanCollide = false
- o134.Elasticity = 0
- o134.FormFactor = Enum.FormFactor.Custom
- o134.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- o134.CFrame = CFrame.new(8.95299244, -1.83637202, -10.9601154, 9.99999975e-06, -1, 0, 0, 0, -1, 1, 9.99999975e-06, 0)
- o134.BottomSurface = Enum.SurfaceType.Smooth
- o134.TopSurface = Enum.SurfaceType.Smooth
- o134.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o134.Position = Vector3.new(8.95299244, -1.83637202, -10.9601154)
- o135.Parent = o134
- o135.Scale = Vector3.new(0.238049999, 0.0476099998, 0.476099998)
- o136.Name = "NoSight"
- o136.Parent = o1
- o136.Material = Enum.Material.SmoothPlastic
- o136.BrickColor = BrickColor.new("Black")
- o136.Position = Vector3.new(8.93406963, -2.03736711, -10.9650002)
- o136.Rotation = Vector3.new(90, 90, 0)
- o136.Anchored = true
- o136.CanCollide = false
- o136.Elasticity = 0
- o136.FormFactor = Enum.FormFactor.Plate
- o136.Size = Vector3.new(1, 0.400000006, 1)
- o136.CFrame = CFrame.new(8.93406963, -2.03736711, -10.9650002, 0, 9.99999975e-06, 1, 1, 0, 0, 0, 1, -9.99999975e-06)
- o136.BottomSurface = Enum.SurfaceType.Smooth
- o136.TopSurface = Enum.SurfaceType.Smooth
- o136.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o136.Position = Vector3.new(8.93406963, -2.03736711, -10.9650002)
- o137.Parent = o136
- o137.Scale = Vector3.new(0.333270013, 0.0952199996, 0.0476099998)
- o138.Name = "NoSight"
- o138.Parent = o1
- o138.Material = Enum.Material.SmoothPlastic
- o138.BrickColor = BrickColor.new("Black")
- o138.Position = Vector3.new(8.91502953, -1.83637202, -10.9601135)
- o138.Rotation = Vector3.new(90, 0, -90)
- o138.Anchored = true
- o138.CanCollide = false
- o138.Elasticity = 0
- o138.FormFactor = Enum.FormFactor.Custom
- o138.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- o138.CFrame = CFrame.new(8.91502953, -1.83637202, -10.9601135, -9.99999975e-06, 1, 0, 0, 0, -1, -1, -9.99999975e-06, 0)
- o138.BottomSurface = Enum.SurfaceType.Smooth
- o138.TopSurface = Enum.SurfaceType.Smooth
- o138.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o138.Position = Vector3.new(8.91502953, -1.83637202, -10.9601135)
- o139.Parent = o138
- o139.Scale = Vector3.new(0.238049999, 0.0476099998, 0.476099998)
- o140.Name = "NoSight"
- o140.Parent = o1
- o140.Material = Enum.Material.SmoothPlastic
- o140.BrickColor = BrickColor.new("Black")
- o140.Position = Vector3.new(8.95299244, -1.86037397, -10.9601154)
- o140.Rotation = Vector3.new(0, 90, 0)
- o140.Anchored = true
- o140.CanCollide = false
- o140.Elasticity = 0
- o140.FormFactor = Enum.FormFactor.Custom
- o140.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- o140.CFrame = CFrame.new(8.95299244, -1.86037397, -10.9601154, -9.99999975e-06, 0, 1, 0, 1, 0, -1, 0, -9.99999975e-06)
- o140.BottomSurface = Enum.SurfaceType.Smooth
- o140.TopSurface = Enum.SurfaceType.Smooth
- o140.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o140.Position = Vector3.new(8.95299244, -1.86037397, -10.9601154)
- o141.Parent = o140
- o141.Scale = Vector3.new(0.238049999, 0.285659999, 0.0476099998)
- o142.Name = "NoSight"
- o142.Parent = o1
- o142.Material = Enum.Material.SmoothPlastic
- o142.BrickColor = BrickColor.new("Black")
- o142.Position = Vector3.new(8.91502953, -1.86037397, -10.9601135)
- o142.Rotation = Vector3.new(0, 90, 0)
- o142.Anchored = true
- o142.CanCollide = false
- o142.Elasticity = 0
- o142.FormFactor = Enum.FormFactor.Custom
- o142.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- o142.CFrame = CFrame.new(8.91502953, -1.86037397, -10.9601135, -9.99999975e-06, 0, 1, 0, 1, 0, -1, 0, -9.99999975e-06)
- o142.BottomSurface = Enum.SurfaceType.Smooth
- o142.TopSurface = Enum.SurfaceType.Smooth
- o142.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o142.Position = Vector3.new(8.91502953, -1.86037397, -10.9601135)
- o143.Parent = o142
- o143.Scale = Vector3.new(0.238049999, 0.285659999, 0.0476099998)
- mas.Parent = workspace
- mas:MakeJoints()
- local mas1 = mas:GetChildren()
- for i=1,#mas1 do
- mas1[i].Parent = script
- ypcall(function() mas1[i]:MakeJoints() end)
- end
- mas:Destroy()
- for i=1,#cors do
- coroutine.resume(cors[i])
- end
Add Comment
Please, Sign In to add comment