Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Made by 1ndrew Five-Seven
- --Controls
- --T for Stand by
- --R for Reload
- --Right Click to Aim
- --Q for Inspect
- --C to Crouch
- --X to get back up
- --Left Shift to Sprint
- --When you click Q you can click E to cock it
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- Tool0 = Instance.new("Tool")
- Part1 = Instance.new("Part")
- SpecialMesh2 = Instance.new("SpecialMesh")
- Part3 = Instance.new("Part")
- SpecialMesh4 = Instance.new("SpecialMesh")
- Part5 = Instance.new("Part")
- BlockMesh6 = Instance.new("BlockMesh")
- Part7 = Instance.new("Part")
- CylinderMesh8 = Instance.new("CylinderMesh")
- Part9 = Instance.new("Part")
- BlockMesh10 = Instance.new("BlockMesh")
- Part11 = Instance.new("Part")
- SpecialMesh12 = Instance.new("SpecialMesh")
- Part13 = Instance.new("Part")
- SpecialMesh14 = Instance.new("SpecialMesh")
- Part15 = Instance.new("Part")
- BlockMesh16 = Instance.new("BlockMesh")
- Part17 = Instance.new("Part")
- BlockMesh18 = Instance.new("BlockMesh")
- Part19 = Instance.new("Part")
- BlockMesh20 = Instance.new("BlockMesh")
- Part21 = Instance.new("Part")
- BlockMesh22 = Instance.new("BlockMesh")
- Part23 = Instance.new("Part")
- SpecialMesh24 = Instance.new("SpecialMesh")
- Part25 = Instance.new("Part")
- CylinderMesh26 = Instance.new("CylinderMesh")
- Part27 = Instance.new("Part")
- BlockMesh28 = Instance.new("BlockMesh")
- Part29 = Instance.new("Part")
- SpecialMesh30 = Instance.new("SpecialMesh")
- Part31 = Instance.new("Part")
- BlockMesh32 = Instance.new("BlockMesh")
- Part33 = Instance.new("Part")
- BlockMesh34 = Instance.new("BlockMesh")
- Part35 = Instance.new("Part")
- SpecialMesh36 = Instance.new("SpecialMesh")
- Part37 = Instance.new("Part")
- SpecialMesh38 = Instance.new("SpecialMesh")
- Part39 = Instance.new("Part")
- BlockMesh40 = Instance.new("BlockMesh")
- Part41 = Instance.new("Part")
- BlockMesh42 = Instance.new("BlockMesh")
- Script43 = Instance.new("Script")
- Part44 = Instance.new("Part")
- BlockMesh45 = Instance.new("BlockMesh")
- Part46 = Instance.new("Part")
- BlockMesh47 = Instance.new("BlockMesh")
- Part48 = Instance.new("Part")
- BlockMesh49 = Instance.new("BlockMesh")
- Part50 = Instance.new("Part")
- BlockMesh51 = Instance.new("BlockMesh")
- Part52 = Instance.new("Part")
- BlockMesh53 = Instance.new("BlockMesh")
- Part54 = Instance.new("Part")
- BlockMesh55 = Instance.new("BlockMesh")
- Part56 = Instance.new("Part")
- BlockMesh57 = Instance.new("BlockMesh")
- Part58 = Instance.new("Part")
- BlockMesh59 = Instance.new("BlockMesh")
- Part60 = Instance.new("Part")
- BlockMesh61 = Instance.new("BlockMesh")
- LocalScript62 = Instance.new("LocalScript")
- NumberValue63 = Instance.new("NumberValue")
- StringValue64 = Instance.new("StringValue")
- NumberValue65 = Instance.new("NumberValue")
- NumberValue66 = Instance.new("NumberValue")
- NumberValue67 = Instance.new("NumberValue")
- ScreenGui68 = Instance.new("ScreenGui")
- Frame69 = Instance.new("Frame")
- Frame70 = Instance.new("Frame")
- TextLabel71 = Instance.new("TextLabel")
- Frame72 = Instance.new("Frame")
- TextLabel73 = Instance.new("TextLabel")
- TextLabel74 = Instance.new("TextLabel")
- TextLabel75 = Instance.new("TextLabel")
- Frame76 = Instance.new("Frame")
- ImageLabel77 = Instance.new("ImageLabel")
- ImageLabel78 = Instance.new("ImageLabel")
- ImageLabel79 = Instance.new("ImageLabel")
- ImageLabel80 = Instance.new("ImageLabel")
- Frame81 = Instance.new("Frame")
- TextLabel82 = Instance.new("TextLabel")
- ImageLabel83 = Instance.new("ImageLabel")
- Frame84 = Instance.new("Frame")
- TextLabel85 = Instance.new("TextLabel")
- Part86 = Instance.new("Part")
- BlockMesh87 = Instance.new("BlockMesh")
- Part88 = Instance.new("Part")
- BlockMesh89 = Instance.new("BlockMesh")
- Part90 = Instance.new("Part")
- BlockMesh91 = Instance.new("BlockMesh")
- Part92 = Instance.new("Part")
- BlockMesh93 = Instance.new("BlockMesh")
- Part94 = Instance.new("Part")
- BlockMesh95 = Instance.new("BlockMesh")
- Sound96 = Instance.new("Sound")
- Sound97 = Instance.new("Sound")
- Sound98 = Instance.new("Sound")
- Sound99 = Instance.new("Sound")
- Sound100 = Instance.new("Sound")
- Sound101 = Instance.new("Sound")
- Sound102 = Instance.new("Sound")
- Sound103 = Instance.new("Sound")
- Sound104 = Instance.new("Sound")
- Weld105 = Instance.new("Weld")
- Part106 = Instance.new("Part")
- Weld107 = Instance.new("Weld")
- Sound108 = Instance.new("Sound")
- Sound109 = Instance.new("Sound")
- Sound110 = Instance.new("Sound")
- Sound111 = Instance.new("Sound")
- Sound112 = Instance.new("Sound")
- Sound113 = Instance.new("Sound")
- Sound114 = Instance.new("Sound")
- Sound115 = Instance.new("Sound")
- Sound116 = Instance.new("Sound")
- Part117 = Instance.new("Part")
- BlockMesh118 = Instance.new("BlockMesh")
- Sound119 = Instance.new("Sound")
- ParticleEmitter120 = Instance.new("ParticleEmitter")
- SpotLight121 = Instance.new("SpotLight")
- ParticleEmitter122 = Instance.new("ParticleEmitter")
- ParticleEmitter123 = Instance.new("ParticleEmitter")
- Part124 = Instance.new("Part")
- BlockMesh125 = Instance.new("BlockMesh")
- Part126 = Instance.new("Part")
- BlockMesh127 = Instance.new("BlockMesh")
- Part128 = Instance.new("Part")
- BlockMesh129 = Instance.new("BlockMesh")
- Part130 = Instance.new("Part")
- BlockMesh131 = Instance.new("BlockMesh")
- Part132 = Instance.new("Part")
- BlockMesh133 = Instance.new("BlockMesh")
- Part134 = Instance.new("Part")
- BlockMesh135 = Instance.new("BlockMesh")
- Part136 = Instance.new("Part")
- SpecialMesh137 = Instance.new("SpecialMesh")
- Part138 = Instance.new("Part")
- SpecialMesh139 = Instance.new("SpecialMesh")
- Part140 = Instance.new("Part")
- SpecialMesh141 = Instance.new("SpecialMesh")
- Part142 = Instance.new("Part")
- SpecialMesh143 = Instance.new("SpecialMesh")
- Part144 = Instance.new("Part")
- SpecialMesh145 = Instance.new("SpecialMesh")
- Part146 = Instance.new("Part")
- BlockMesh147 = Instance.new("BlockMesh")
- Part148 = Instance.new("Part")
- SpecialMesh149 = Instance.new("SpecialMesh")
- Part150 = Instance.new("Part")
- Decal151 = Instance.new("Decal")
- CylinderMesh152 = Instance.new("CylinderMesh")
- Part153 = Instance.new("Part")
- BlockMesh154 = Instance.new("BlockMesh")
- Part155 = Instance.new("Part")
- BlockMesh156 = Instance.new("BlockMesh")
- Part157 = Instance.new("Part")
- SpecialMesh158 = Instance.new("SpecialMesh")
- Part159 = Instance.new("Part")
- SpecialMesh160 = Instance.new("SpecialMesh")
- Part161 = Instance.new("Part")
- BlockMesh162 = Instance.new("BlockMesh")
- Part163 = Instance.new("Part")
- BlockMesh164 = Instance.new("BlockMesh")
- Part165 = Instance.new("Part")
- CylinderMesh166 = Instance.new("CylinderMesh")
- Part167 = Instance.new("Part")
- SpecialMesh168 = Instance.new("SpecialMesh")
- Part169 = Instance.new("Part")
- BlockMesh170 = Instance.new("BlockMesh")
- Part171 = Instance.new("Part")
- BlockMesh172 = Instance.new("BlockMesh")
- Part173 = Instance.new("Part")
- SpecialMesh174 = Instance.new("SpecialMesh")
- LocalScript175 = Instance.new("LocalScript")
- Model176 = Instance.new("Model")
- Part177 = Instance.new("Part")
- SpecialMesh178 = Instance.new("SpecialMesh")
- Part179 = Instance.new("Part")
- BlockMesh180 = Instance.new("BlockMesh")
- Part181 = Instance.new("Part")
- BlockMesh182 = Instance.new("BlockMesh")
- Part183 = Instance.new("Part")
- Part184 = Instance.new("Part")
- BlockMesh185 = Instance.new("BlockMesh")
- Part186 = Instance.new("Part")
- BlockMesh187 = Instance.new("BlockMesh")
- Sound188 = Instance.new("Sound")
- Sound189 = Instance.new("Sound")
- Sound190 = Instance.new("Sound")
- Sound191 = Instance.new("Sound")
- Sound192 = Instance.new("Sound")
- Sound193 = Instance.new("Sound")
- Sound194 = Instance.new("Sound")
- Sound195 = Instance.new("Sound")
- Sound196 = Instance.new("Sound")
- Weld197 = Instance.new("Weld")
- Part198 = Instance.new("Part")
- Weld199 = Instance.new("Weld")
- Sound200 = Instance.new("Sound")
- Sound201 = Instance.new("Sound")
- Sound202 = Instance.new("Sound")
- Sound203 = Instance.new("Sound")
- Sound204 = Instance.new("Sound")
- Sound205 = Instance.new("Sound")
- Sound206 = Instance.new("Sound")
- Sound207 = Instance.new("Sound")
- Sound208 = Instance.new("Sound")
- Tool0.Name = "Five-Seven"
- Tool0.Parent = mas
- Tool0.GripForward = Vector3.new(-0.379291713, -0, -0.925277233)
- Tool0.GripPos = Vector3.new(0, -0.300000012, 0.5)
- Tool0.GripRight = Vector3.new(0.925277114, 0, -0.379291654)
- Tool0.CanBeDropped = false
- Part1.Parent = Tool0
- Part1.Material = Enum.Material.Metal
- Part1.BrickColor = BrickColor.new("Really black")
- Part1.Rotation = Vector3.new(90, 0, -180)
- Part1.Anchored = true
- Part1.FormFactor = Enum.FormFactor.Custom
- Part1.Size = Vector3.new(0.200000003, 0.200000003, 0.242857143)
- Part1.CFrame = CFrame.new(70.3000031, 0.557009995, -22.1189995, -1, 0, 0, -0, 0, -1, -0, -1, 0)
- Part1.BottomSurface = Enum.SurfaceType.Smooth
- Part1.TopSurface = Enum.SurfaceType.Smooth
- Part1.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part1.Position = Vector3.new(70.3000031, 0.557009995, -22.1189995)
- Part1.Orientation = Vector3.new(90, 180, 0)
- Part1.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- SpecialMesh2.Parent = Part1
- SpecialMesh2.Scale = Vector3.new(0.928571463, 0.464285731, 1)
- SpecialMesh2.MeshType = Enum.MeshType.Wedge
- SpecialMesh2.Scale = Vector3.new(0.928571463, 0.464285731, 1)
- Part3.Parent = Tool0
- Part3.Material = Enum.Material.Metal
- Part3.BrickColor = BrickColor.new("Really black")
- Part3.Rotation = Vector3.new(-180, 0, 0)
- Part3.Anchored = true
- Part3.FormFactor = Enum.FormFactor.Custom
- Part3.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part3.CFrame = CFrame.new(70.3000031, 0.782010019, -21.6149998, 1, 0, 0, 0, -1, 0, 0, 0, -1)
- Part3.BottomSurface = Enum.SurfaceType.Smooth
- Part3.TopSurface = Enum.SurfaceType.Smooth
- Part3.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part3.Position = Vector3.new(70.3000031, 0.782010019, -21.6149998)
- Part3.Orientation = Vector3.new(0, 180, 180)
- Part3.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- SpecialMesh4.Parent = Part3
- SpecialMesh4.Scale = Vector3.new(0.928571463, 0.25, 0.285714269)
- SpecialMesh4.MeshType = Enum.MeshType.Wedge
- SpecialMesh4.Scale = Vector3.new(0.928571463, 0.25, 0.285714269)
- Part5.Parent = Tool0
- Part5.Material = Enum.Material.Metal
- Part5.BrickColor = BrickColor.new("Really black")
- Part5.Rotation = Vector3.new(-180, 0, 0)
- Part5.Anchored = true
- Part5.FormFactor = Enum.FormFactor.Custom
- Part5.Size = Vector3.new(0.200000003, 0.200000003, 1.12142861)
- Part5.CFrame = CFrame.new(70.3000031, 0.886009991, -21.6900005, 1, 0, 0, 0, -1, 0, 0, 0, -1)
- Part5.BottomSurface = Enum.SurfaceType.Smooth
- Part5.TopSurface = Enum.SurfaceType.Smooth
- Part5.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part5.Position = Vector3.new(70.3000031, 0.886009991, -21.6900005)
- Part5.Orientation = Vector3.new(0, 180, 180)
- Part5.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- BlockMesh6.Parent = Part5
- BlockMesh6.Scale = Vector3.new(0.928571463, 0.785714328, 1)
- BlockMesh6.Scale = Vector3.new(0.928571463, 0.785714328, 1)
- Part7.Parent = Tool0
- Part7.Material = Enum.Material.Metal
- Part7.BrickColor = BrickColor.new("Really black")
- Part7.Rotation = Vector3.new(-90, 0, 0)
- Part7.Anchored = true
- Part7.FormFactor = Enum.FormFactor.Custom
- Part7.Size = Vector3.new(0.200000003, 0.664285719, 0.200000003)
- Part7.CFrame = CFrame.new(70.3000031, 0.926010013, -20.8190002, 1, 4.37113883e-08, 1.50995803e-07, -1.50995803e-07, 0, 1, 4.37113883e-08, -1, 0)
- Part7.BottomSurface = Enum.SurfaceType.Smooth
- Part7.TopSurface = Enum.SurfaceType.Smooth
- Part7.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part7.Position = Vector3.new(70.3000031, 0.926010013, -20.8190002)
- Part7.Orientation = Vector3.new(-90, 0, 0)
- Part7.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- CylinderMesh8.Parent = Part7
- CylinderMesh8.Scale = Vector3.new(0.25, 1, 0.25)
- CylinderMesh8.Scale = Vector3.new(0.25, 1, 0.25)
- Part9.Parent = Tool0
- Part9.Material = Enum.Material.Metal
- Part9.BrickColor = BrickColor.new("Really black")
- Part9.Rotation = Vector3.new(-180, 0, 0)
- Part9.Anchored = true
- Part9.FormFactor = Enum.FormFactor.Custom
- Part9.Size = Vector3.new(0.200000003, 0.200000003, 0.592857122)
- Part9.CFrame = CFrame.new(70.3000031, 0.862010002, -20.8260002, 1, 0, 0, 0, -1, 0, 0, 0, -1)
- Part9.BottomSurface = Enum.SurfaceType.Smooth
- Part9.TopSurface = Enum.SurfaceType.Smooth
- Part9.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part9.Position = Vector3.new(70.3000031, 0.862010002, -20.8260002)
- Part9.Orientation = Vector3.new(0, 180, 180)
- Part9.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- BlockMesh10.Parent = Part9
- BlockMesh10.Scale = Vector3.new(0.857142866, 0.178571433, 1)
- BlockMesh10.Scale = Vector3.new(0.857142866, 0.178571433, 1)
- Part11.Parent = Tool0
- Part11.Material = Enum.Material.Metal
- Part11.BrickColor = BrickColor.new("Really black")
- Part11.Rotation = Vector3.new(-165, 0, 180)
- Part11.Anchored = true
- Part11.FormFactor = Enum.FormFactor.Custom
- Part11.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part11.CFrame = CFrame.new(70.3000031, 0.715009987, -21.6340008, -1, -9.3184731e-08, 5.50950396e-11, -8.99952965e-08, 0.965926051, 0.258818388, -2.41711469e-08, 0.258818388, -0.965926051)
- Part11.BottomSurface = Enum.SurfaceType.Smooth
- Part11.TopSurface = Enum.SurfaceType.Smooth
- Part11.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part11.Position = Vector3.new(70.3000031, 0.715009987, -21.6340008)
- Part11.Orientation = Vector3.new(-15, 180, 0)
- Part11.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- SpecialMesh12.Parent = Part11
- SpecialMesh12.Scale = Vector3.new(0.785714328, 0.607142866, 0.321428597)
- SpecialMesh12.MeshType = Enum.MeshType.Wedge
- SpecialMesh12.Scale = Vector3.new(0.785714328, 0.607142866, 0.321428597)
- Part13.Parent = Tool0
- Part13.Material = Enum.Material.Metal
- Part13.BrickColor = BrickColor.new("Really black")
- Part13.Rotation = Vector3.new(0, 0, -180)
- Part13.Anchored = true
- Part13.FormFactor = Enum.FormFactor.Custom
- Part13.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part13.CFrame = CFrame.new(70.3000031, 0.782010019, -21.2150002, -1, 0, 0, -0, -1, 0, -0, 0, 1)
- Part13.BottomSurface = Enum.SurfaceType.Smooth
- Part13.TopSurface = Enum.SurfaceType.Smooth
- Part13.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part13.Position = Vector3.new(70.3000031, 0.782010019, -21.2150002)
- Part13.Orientation = Vector3.new(0, 0, -180)
- Part13.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- SpecialMesh14.Parent = Part13
- SpecialMesh14.Scale = Vector3.new(0.785714328, 0.25, 0.142857134)
- SpecialMesh14.MeshType = Enum.MeshType.Wedge
- SpecialMesh14.Scale = Vector3.new(0.785714328, 0.25, 0.142857134)
- Part15.Parent = Tool0
- Part15.Material = Enum.Material.Metal
- Part15.BrickColor = BrickColor.new("Really black")
- Part15.Rotation = Vector3.new(153.979996, 0, 90)
- Part15.Anchored = true
- Part15.FormFactor = Enum.FormFactor.Custom
- Part15.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part15.CFrame = CFrame.new(70.3960037, 0.882009983, -21.9279995, 8.05431011e-09, -1, -6.0249107e-08, -0.898638487, 1.91927843e-08, -0.438689888, 0.438689888, 5.76754999e-08, -0.898638487)
- Part15.BottomSurface = Enum.SurfaceType.Smooth
- Part15.TopSurface = Enum.SurfaceType.Smooth
- Part15.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part15.Position = Vector3.new(70.3960037, 0.882009983, -21.9279995)
- Part15.Orientation = Vector3.new(26.0199986, -180, -90)
- Part15.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- BlockMesh16.Parent = Part15
- BlockMesh16.Scale = Vector3.new(0.25, 0.0357142836, 0.964285731)
- BlockMesh16.Scale = Vector3.new(0.25, 0.0357142836, 0.964285731)
- Part17.Parent = Tool0
- Part17.Material = Enum.Material.Metal
- Part17.BrickColor = BrickColor.new("Really black")
- Part17.Rotation = Vector3.new(168, 90, 0)
- Part17.Anchored = true
- Part17.FormFactor = Enum.FormFactor.Custom
- Part17.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part17.CFrame = CFrame.new(70.3000031, 0.597010016, -21.2220001, -4.27561844e-08, -9.08810627e-09, 1, 0.20791167, -0.978147626, -1.77635684e-15, 0.978147626, 0.20791167, 4.37113883e-08)
- Part17.BottomSurface = Enum.SurfaceType.Smooth
- Part17.TopSurface = Enum.SurfaceType.Smooth
- Part17.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part17.Position = Vector3.new(70.3000031, 0.597010016, -21.2220001)
- Part17.Orientation = Vector3.new(0, 90, 168)
- Part17.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- BlockMesh18.Parent = Part17
- BlockMesh18.Scale = Vector3.new(1, 0.142857134, 0.785714328)
- BlockMesh18.Scale = Vector3.new(1, 0.142857134, 0.785714328)
- Part19.Parent = Tool0
- Part19.Material = Enum.Material.Metal
- Part19.BrickColor = BrickColor.new("Really black")
- Part19.Rotation = Vector3.new(177, 0, 90)
- Part19.Anchored = true
- Part19.FormFactor = Enum.FormFactor.Custom
- Part19.Size = Vector3.new(0.200000003, 0.200000003, 0.385714293)
- Part19.CFrame = CFrame.new(70.3960037, 0.887009978, -21.5639992, -1.09365146e-07, -1, -2.70665696e-05, -0.998629451, 1.52577013e-06, -0.0523359627, 0.0523359627, 2.70237524e-05, -0.998629451)
- Part19.BottomSurface = Enum.SurfaceType.Smooth
- Part19.TopSurface = Enum.SurfaceType.Smooth
- Part19.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part19.Position = Vector3.new(70.3960037, 0.887009978, -21.5639992)
- Part19.Orientation = Vector3.new(3, -180, -90)
- Part19.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- BlockMesh20.Parent = Part19
- BlockMesh20.Scale = Vector3.new(0.25, 0.0357142836, 1)
- BlockMesh20.Scale = Vector3.new(0.25, 0.0357142836, 1)
- Part21.Parent = Tool0
- Part21.Material = Enum.Material.Metal
- Part21.BrickColor = BrickColor.new("Really black")
- Part21.Rotation = Vector3.new(180, 90, 0)
- Part21.Anchored = true
- Part21.FormFactor = Enum.FormFactor.Custom
- Part21.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part21.CFrame = CFrame.new(70.3000031, 0.576009989, -21.4160004, -4.37113883e-08, 6.21724894e-15, 1, 0, -1, -1.77635684e-15, 1, 0, 4.37113883e-08)
- Part21.BottomSurface = Enum.SurfaceType.Smooth
- Part21.TopSurface = Enum.SurfaceType.Smooth
- Part21.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part21.Position = Vector3.new(70.3000031, 0.576009989, -21.4160004)
- Part21.Orientation = Vector3.new(0, 90, 180)
- Part21.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- BlockMesh22.Parent = Part21
- BlockMesh22.Scale = Vector3.new(1, 0.142857134, 0.785714328)
- BlockMesh22.Scale = Vector3.new(1, 0.142857134, 0.785714328)
- Part23.Parent = Tool0
- Part23.Material = Enum.Material.Metal
- Part23.BrickColor = BrickColor.new("Really black")
- Part23.Rotation = Vector3.new(180, 0, 0)
- Part23.Anchored = true
- Part23.FormFactor = Enum.FormFactor.Custom
- Part23.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part23.CFrame = CFrame.new(70.3000031, 0.76801002, -21.1399994, 1, -0, -0, 0, -1, -0, 0, -0, -1)
- Part23.BottomSurface = Enum.SurfaceType.Smooth
- Part23.TopSurface = Enum.SurfaceType.Smooth
- Part23.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part23.Position = Vector3.new(70.3000031, 0.76801002, -21.1399994)
- Part23.Orientation = Vector3.new(0, -180, 180)
- Part23.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- SpecialMesh24.Parent = Part23
- SpecialMesh24.Scale = Vector3.new(0.785714328, 0.392857164, 0.107142858)
- SpecialMesh24.MeshType = Enum.MeshType.Wedge
- SpecialMesh24.Scale = Vector3.new(0.785714328, 0.392857164, 0.107142858)
- Part25.Parent = Tool0
- Part25.Material = Enum.Material.Metal
- Part25.BrickColor = BrickColor.new("Really black")
- Part25.Rotation = Vector3.new(-90, 0, 0)
- Part25.Anchored = true
- Part25.FormFactor = Enum.FormFactor.Custom
- Part25.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part25.CFrame = CFrame.new(70.3000031, 1.07500899, -22.2409992, 1, 1.77635684e-15, 1.94707184e-07, -1.94707198e-07, 1.49011612e-08, 1, 0, -1, 1.49011612e-08)
- Part25.BottomSurface = Enum.SurfaceType.Smooth
- Part25.TopSurface = Enum.SurfaceType.Smooth
- Part25.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part25.Position = Vector3.new(70.3000031, 1.07500899, -22.2409992)
- Part25.Orientation = Vector3.new(-90, 0, 0)
- Part25.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- CylinderMesh26.Parent = Part25
- CylinderMesh26.Scale = Vector3.new(0.25, 0.0357142836, 0.25)
- CylinderMesh26.Scale = Vector3.new(0.25, 0.0357142836, 0.25)
- Part27.Parent = Tool0
- Part27.Material = Enum.Material.Metal
- Part27.BrickColor = BrickColor.new("Really black")
- Part27.Rotation = Vector3.new(177, 0, 90)
- Part27.Anchored = true
- Part27.FormFactor = Enum.FormFactor.Custom
- Part27.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part27.CFrame = CFrame.new(70.3960037, 0.915009975, -21.7049999, -1.09365146e-07, -1, 3.68935886e-08, -0.998629451, 1.072844e-07, -0.0523359776, 0.0523359776, -4.25667643e-08, -0.998629451)
- Part27.BottomSurface = Enum.SurfaceType.Smooth
- Part27.TopSurface = Enum.SurfaceType.Smooth
- Part27.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part27.Position = Vector3.new(70.3960037, 0.915009975, -21.7049999)
- Part27.Orientation = Vector3.new(3, 180, -90)
- Part27.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- BlockMesh28.Parent = Part27
- BlockMesh28.Scale = Vector3.new(0.107142858, 0.0357142836, 0.535714269)
- BlockMesh28.Scale = Vector3.new(0.107142858, 0.0357142836, 0.535714269)
- Part29.Parent = Tool0
- Part29.Material = Enum.Material.Metal
- Part29.BrickColor = BrickColor.new("Really black")
- Part29.Rotation = Vector3.new(-180, 0, 0)
- Part29.Anchored = true
- Part29.FormFactor = Enum.FormFactor.Custom
- Part29.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part29.CFrame = CFrame.new(70.3000031, 0.862010002, -20.5109997, 1, 0, 0, 0, -1, 0, 0, 0, -1)
- Part29.BottomSurface = Enum.SurfaceType.Smooth
- Part29.TopSurface = Enum.SurfaceType.Smooth
- Part29.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part29.Position = Vector3.new(70.3000031, 0.862010002, -20.5109997)
- Part29.Orientation = Vector3.new(0, 180, 180)
- Part29.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- SpecialMesh30.Parent = Part29
- SpecialMesh30.Scale = Vector3.new(0.857142866, 0.178571433, 0.178571433)
- SpecialMesh30.MeshType = Enum.MeshType.Wedge
- SpecialMesh30.Scale = Vector3.new(0.857142866, 0.178571433, 0.178571433)
- Part31.Parent = Tool0
- Part31.Material = Enum.Material.Metal
- Part31.BrickColor = BrickColor.new("Really black")
- Part31.Rotation = Vector3.new(-180, 0, 0)
- Part31.Anchored = true
- Part31.FormFactor = Enum.FormFactor.Custom
- Part31.Size = Vector3.new(0.200000003, 0.621428549, 0.271428585)
- Part31.CFrame = CFrame.new(70.3000031, 0.447010994, -21.9360008, 1, 0, 0, 0, -1, 0, 0, 0, -1)
- Part31.BottomSurface = Enum.SurfaceType.Smooth
- Part31.TopSurface = Enum.SurfaceType.Smooth
- Part31.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part31.Position = Vector3.new(70.3000031, 0.447010994, -21.9360008)
- Part31.Orientation = Vector3.new(0, 180, 180)
- Part31.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- BlockMesh32.Parent = Part31
- BlockMesh32.Scale = Vector3.new(0.928571463, 1, 1)
- BlockMesh32.Scale = Vector3.new(0.928571463, 1, 1)
- Part33.Parent = Tool0
- Part33.Material = Enum.Material.Metal
- Part33.BrickColor = BrickColor.new("Really black")
- Part33.Rotation = Vector3.new(180, 0, 0)
- Part33.Anchored = true
- Part33.FormFactor = Enum.FormFactor.Custom
- Part33.Size = Vector3.new(0.200000003, 0.200000003, 0.592857122)
- Part33.CFrame = CFrame.new(70.2320023, 0.922010005, -20.7900009, 1, 6.21724894e-15, -1.33226763e-15, -6.21724894e-15, -1, -0, 1.33226763e-15, 0, -1)
- Part33.BottomSurface = Enum.SurfaceType.Smooth
- Part33.TopSurface = Enum.SurfaceType.Smooth
- Part33.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part33.Position = Vector3.new(70.2320023, 0.922010005, -20.7900009)
- Part33.Orientation = Vector3.new(0, -180, -180)
- Part33.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- BlockMesh34.Parent = Part33
- BlockMesh34.Scale = Vector3.new(0.178571433, 0.428571433, 1)
- BlockMesh34.Scale = Vector3.new(0.178571433, 0.428571433, 1)
- Part35.Parent = Tool0
- Part35.Material = Enum.Material.Metal
- Part35.BrickColor = BrickColor.new("Really black")
- Part35.Rotation = Vector3.new(-180, 0, 0)
- Part35.Anchored = true
- Part35.FormFactor = Enum.FormFactor.Custom
- Part35.Size = Vector3.new(0.200000003, 0.535714269, 0.200000003)
- Part35.CFrame = CFrame.new(70.3000031, 0.489010006, -21.7220001, 1, 0, 0, 0, -1, 0, 0, 0, -1)
- Part35.BottomSurface = Enum.SurfaceType.Smooth
- Part35.TopSurface = Enum.SurfaceType.Smooth
- Part35.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part35.Position = Vector3.new(70.3000031, 0.489010006, -21.7220001)
- Part35.Orientation = Vector3.new(0, 180, 180)
- Part35.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- SpecialMesh36.Parent = Part35
- SpecialMesh36.Scale = Vector3.new(0.928571463, 1, 0.785714328)
- SpecialMesh36.MeshType = Enum.MeshType.Wedge
- SpecialMesh36.Scale = Vector3.new(0.928571463, 1, 0.785714328)
- Part37.Parent = Tool0
- Part37.Material = Enum.Material.Metal
- Part37.BrickColor = BrickColor.new("Really black")
- Part37.Rotation = Vector3.new(-33, 0, 180)
- Part37.Anchored = true
- Part37.FormFactor = Enum.FormFactor.Custom
- Part37.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part37.CFrame = CFrame.new(70.2929993, 0.674009979, -21.4979992, -1, -6.30198969e-08, 1.86736648e-09, 5.3869968e-08, -0.838670552, 0.544639051, -3.27569794e-08, 0.544639051, 0.838670552)
- Part37.BottomSurface = Enum.SurfaceType.Smooth
- Part37.TopSurface = Enum.SurfaceType.Smooth
- Part37.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part37.Position = Vector3.new(70.2929993, 0.674009979, -21.4979992)
- Part37.Orientation = Vector3.new(-33, 0, 180)
- Part37.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- SpecialMesh38.Parent = Part37
- SpecialMesh38.Scale = Vector3.new(0.142857134, 0.535714269, 0.142857134)
- SpecialMesh38.MeshType = Enum.MeshType.Wedge
- SpecialMesh38.Scale = Vector3.new(0.142857134, 0.535714269, 0.142857134)
- Part39.Name = "A1"
- Part39.Parent = Tool0
- Part39.Material = Enum.Material.Metal
- Part39.BrickColor = BrickColor.new("Really black")
- Part39.Anchored = true
- Part39.FormFactor = Enum.FormFactor.Custom
- Part39.Size = Vector3.new(0.200000003, 0.200000003, 0.778571427)
- Part39.CFrame = CFrame.new(70.3000031, 1.07901001, -20.8829994, 1, 1.50995803e-07, -4.37113883e-08, -1.50995803e-07, 1, 0, 4.37113883e-08, 0, 1)
- Part39.BottomSurface = Enum.SurfaceType.Smooth
- Part39.TopSurface = Enum.SurfaceType.Smooth
- Part39.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part39.Position = Vector3.new(70.3000031, 1.07901001, -20.8829994)
- Part39.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- BlockMesh40.Parent = Part39
- BlockMesh40.Scale = Vector3.new(0.892857134, 0.5, 1)
- BlockMesh40.Scale = Vector3.new(0.892857134, 0.5, 1)
- Part41.Name = "A10"
- Part41.Parent = Tool0
- Part41.Material = Enum.Material.Metal
- Part41.BrickColor = BrickColor.new("Really black")
- Part41.Rotation = Vector3.new(180, 0, -40)
- Part41.Anchored = true
- Part41.FormFactor = Enum.FormFactor.Custom
- Part41.Size = Vector3.new(0.200000003, 0.200000003, 0.778571427)
- Part41.CFrame = CFrame.new(70.3580017, 1.13900995, -20.8829994, 0.766044378, 0.642787695, 1.02265245e-08, 0.642787755, -0.766044378, -2.98023224e-08, 0, 4.47034836e-08, -1)
- Part41.BottomSurface = Enum.SurfaceType.Smooth
- Part41.TopSurface = Enum.SurfaceType.Smooth
- Part41.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part41.Position = Vector3.new(70.3580017, 1.13900995, -20.8829994)
- Part41.Orientation = Vector3.new(0, 180, 140)
- Part41.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- BlockMesh42.Parent = Part41
- BlockMesh42.Scale = Vector3.new(0.178571433, 0.278571397, 1)
- BlockMesh42.Scale = Vector3.new(0.178571433, 0.278571397, 1)
- Script43.Name = "Weld"
- Script43.Parent = Tool0
- table.insert(cors,sandbox(Script43,function()
- function Weld(x,y,Name)
- local W = Instance.new("Weld")
- W.Name = Name
- W.Part0 = x
- W.Part1 = y
- local CJ = CFrame.new(x.Position)
- local C0 = x.CFrame:inverse()*CJ
- local C1 = y.CFrame:inverse()*CJ
- W.C0 = C0
- W.C1 = C1
- W.Parent = x
- end
- function Get(A)
- if A.Name == "Slide" then
- Weld(script.Parent.Handle, A,"Slide")
- A.Anchored = false
- elseif A.className == "Part" or A.className == "UnionOperation" or A.className == "MeshPart" and not A.Name == "Bolt" then
- Weld(script.Parent.Handle, A,"Weld")
- A.Anchored = false
- else
- local C = A:GetChildren()
- for i=1, #C do
- Get(C[i])
- end
- end
- end
- function Finale()
- Get(script.Parent)
- end
- local Gun
- local Model
- script.Parent.Unequipped:connect(function()
- Model = Instance.new("Model",game.Players.LocalPlayer.Character)
- local C = script.Parent:GetChildren()
- for _,part in pairs(script.Parent:GetChildren()) do
- if part.className == "UnionOperation" or part.className == "MeshPart" or part.className == "Part" then
- Gun = part:clone()
- Gun.Anchored = false
- Gun.CanCollide = false
- Gun.Parent = Model
- end
- end
- wait(0.002)
- for _, parts in pairs(Model:GetChildren()) do
- Weld(Model.Handle, parts,"Weld")
- end
- local W = Instance.new("Weld")
- W.Part0 = game.Players.LocalPlayer.Character.Torso
- W.Part1 = Model.Handle
- W.Parent = Model.Handle
- W.C0 = CFrame.new(0.1,0.25,0.4)*CFrame.Angles(math.rad(-90),math.rad(0),math.rad(90))
- end)
- script.Parent.Equipped:connect(function()
- Model:Destroy()
- end)
- Finale()
- end))
- Part44.Name = "A12"
- Part44.Parent = Tool0
- Part44.Material = Enum.Material.Metal
- Part44.BrickColor = BrickColor.new("Really black")
- Part44.Rotation = Vector3.new(-180, 0, 0)
- Part44.Anchored = true
- Part44.FormFactor = Enum.FormFactor.Custom
- Part44.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part44.CFrame = CFrame.new(70.3000031, 1.19000995, -20.5470009, 1, -1.50995803e-07, 4.37113883e-08, -1.50995803e-07, -1, 0, 4.37113883e-08, 0, -1)
- Part44.BottomSurface = Enum.SurfaceType.Smooth
- Part44.TopSurface = Enum.SurfaceType.Smooth
- Part44.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part44.Position = Vector3.new(70.3000031, 1.19000995, -20.5470009)
- Part44.Orientation = Vector3.new(0, 180, -180)
- Part44.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- BlockMesh45.Parent = Part44
- BlockMesh45.Scale = Vector3.new(0.0714285672, 0.178571433, 0.535714269)
- BlockMesh45.Scale = Vector3.new(0.0714285672, 0.178571433, 0.535714269)
- Part46.Name = "A13"
- Part46.Parent = Tool0
- Part46.Material = Enum.Material.Metal
- Part46.BrickColor = BrickColor.new("Really black")
- Part46.Rotation = Vector3.new(-180, 0, 0)
- Part46.Anchored = true
- Part46.FormFactor = Enum.FormFactor.Custom
- Part46.Size = Vector3.new(0.200000003, 0.200000003, 0.221428573)
- Part46.CFrame = CFrame.new(70.3000031, 1.17900896, -22.0330009, 1, -1.50995803e-07, 4.37113883e-08, -1.50995803e-07, -1, 0, 4.37113883e-08, 0, -1)
- Part46.BottomSurface = Enum.SurfaceType.Smooth
- Part46.TopSurface = Enum.SurfaceType.Smooth
- Part46.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part46.Position = Vector3.new(70.3000031, 1.17900896, -22.0330009)
- Part46.Orientation = Vector3.new(0, 180, -180)
- Part46.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- BlockMesh47.Parent = Part46
- BlockMesh47.Scale = Vector3.new(0.535714269, 0.0714285672, 1)
- BlockMesh47.Scale = Vector3.new(0.535714269, 0.0714285672, 1)
- Part48.Name = "A14"
- Part48.Parent = Tool0
- Part48.Material = Enum.Material.Metal
- Part48.BrickColor = BrickColor.new("Really black")
- Part48.Rotation = Vector3.new(-180, 0, 0)
- Part48.Anchored = true
- Part48.FormFactor = Enum.FormFactor.Custom
- Part48.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part48.CFrame = CFrame.new(70.3359985, 1.20401001, -22.0900002, 1, -1.50995803e-07, 4.37113883e-08, -1.50995803e-07, -1, 0, 4.37113883e-08, 0, -1)
- Part48.BottomSurface = Enum.SurfaceType.Smooth
- Part48.TopSurface = Enum.SurfaceType.Smooth
- Part48.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part48.Position = Vector3.new(70.3359985, 1.20401001, -22.0900002)
- Part48.Orientation = Vector3.new(0, 180, -180)
- Part48.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- BlockMesh49.Parent = Part48
- BlockMesh49.Scale = Vector3.new(0.178571433, 0.178571433, 0.25)
- BlockMesh49.Scale = Vector3.new(0.178571433, 0.178571433, 0.25)
- Part50.Name = "A15"
- Part50.Parent = Tool0
- Part50.Material = Enum.Material.Metal
- Part50.BrickColor = BrickColor.new("Really black")
- Part50.Rotation = Vector3.new(-180, 0, 0)
- Part50.Anchored = true
- Part50.FormFactor = Enum.FormFactor.Custom
- Part50.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part50.CFrame = CFrame.new(70.2639999, 1.20401001, -22.0900002, 1, -1.50995803e-07, 4.37113883e-08, -1.50995803e-07, -1, 0, 4.37113883e-08, 0, -1)
- Part50.BottomSurface = Enum.SurfaceType.Smooth
- Part50.TopSurface = Enum.SurfaceType.Smooth
- Part50.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part50.Position = Vector3.new(70.2639999, 1.20401001, -22.0900002)
- Part50.Orientation = Vector3.new(0, 180, -180)
- Part50.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- BlockMesh51.Parent = Part50
- BlockMesh51.Scale = Vector3.new(0.178571433, 0.178571433, 0.25)
- BlockMesh51.Scale = Vector3.new(0.178571433, 0.178571433, 0.25)
- Part52.Name = "A16"
- Part52.Parent = Tool0
- Part52.Material = Enum.Material.Metal
- Part52.BrickColor = BrickColor.new("Really black")
- Part52.Rotation = Vector3.new(180, 0, 0)
- Part52.Anchored = true
- Part52.FormFactor = Enum.FormFactor.Custom
- Part52.Size = Vector3.new(0.200000003, 0.200000003, 0.528571427)
- Part52.CFrame = CFrame.new(70.3000031, 0.922010005, -20.7579994, 1, -6.35730188e-08, -1.33226763e-15, -6.35730402e-08, -1, -0, 3.55271368e-15, 0, -1)
- Part52.BottomSurface = Enum.SurfaceType.Smooth
- Part52.TopSurface = Enum.SurfaceType.Smooth
- Part52.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part52.Position = Vector3.new(70.3000031, 0.922010005, -20.7579994)
- Part52.Orientation = Vector3.new(0, -180, -180)
- Part52.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- BlockMesh53.Parent = Part52
- BlockMesh53.Scale = Vector3.new(0.5, 0.428571433, 1)
- BlockMesh53.Scale = Vector3.new(0.5, 0.428571433, 1)
- Part54.Name = "A17"
- Part54.Parent = Tool0
- Part54.Material = Enum.Material.Metal
- Part54.Rotation = Vector3.new(-180, 0, 0)
- Part54.Anchored = true
- Part54.FormFactor = Enum.FormFactor.Custom
- Part54.Size = Vector3.new(0.200000003, 0.200000003, 0.235714287)
- Part54.CFrame = CFrame.new(70.3679962, 1.07901001, -21.3899994, 1, -1.50995803e-07, 4.37113883e-08, -1.50995803e-07, -1, 0, 4.37113883e-08, 0, -1)
- Part54.BottomSurface = Enum.SurfaceType.Smooth
- Part54.TopSurface = Enum.SurfaceType.Smooth
- Part54.Position = Vector3.new(70.3679962, 1.07901001, -21.3899994)
- Part54.Orientation = Vector3.new(0, 180, -180)
- BlockMesh55.Parent = Part54
- BlockMesh55.Scale = Vector3.new(0.214285716, 0.5, 1)
- BlockMesh55.Scale = Vector3.new(0.214285716, 0.5, 1)
- Part56.Name = "A2"
- Part56.Parent = Tool0
- Part56.Material = Enum.Material.Metal
- Part56.BrickColor = BrickColor.new("Really black")
- Part56.Rotation = Vector3.new(180, 0, 0)
- Part56.Anchored = true
- Part56.FormFactor = Enum.FormFactor.Custom
- Part56.Size = Vector3.new(0.200000003, 0.200000003, 1.01428568)
- Part56.CFrame = CFrame.new(70.3000031, 0.997009993, -21.0009995, 1, 6.21724894e-15, -1.33226763e-15, -6.21724894e-15, -1, -0, 1.33226763e-15, 0, -1)
- Part56.BottomSurface = Enum.SurfaceType.Smooth
- Part56.TopSurface = Enum.SurfaceType.Smooth
- Part56.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part56.Position = Vector3.new(70.3000031, 0.997009993, -21.0009995)
- Part56.Orientation = Vector3.new(0, -180, -180)
- Part56.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- BlockMesh57.Parent = Part56
- BlockMesh57.Scale = Vector3.new(0.928571463, 0.321428597, 1)
- BlockMesh57.Scale = Vector3.new(0.928571463, 0.321428597, 1)
- Part58.Name = "A3"
- Part58.Parent = Tool0
- Part58.Material = Enum.Material.Metal
- Part58.BrickColor = BrickColor.new("Really black")
- Part58.Rotation = Vector3.new(179.979996, 0, 0.209999993)
- Part58.Anchored = true
- Part58.FormFactor = Enum.FormFactor.Custom
- Part58.Size = Vector3.new(0.200000003, 0.200000003, 0.742857158)
- Part58.CFrame = CFrame.new(70.3639984, 1.04700994, -21.8789997, 0.999993086, -0.00373011292, -2.77045019e-05, -0.00373012037, -0.999993026, -0.000344231725, -2.64203991e-05, 0.000344321132, -0.99999994)
- Part58.BottomSurface = Enum.SurfaceType.Smooth
- Part58.TopSurface = Enum.SurfaceType.Smooth
- Part58.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part58.Position = Vector3.new(70.3639984, 1.04700994, -21.8789997)
- Part58.Orientation = Vector3.new(0.0199999996, -180, -179.789993)
- Part58.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- BlockMesh59.Parent = Part58
- BlockMesh59.Scale = Vector3.new(0.285714269, 0.821428597, 1)
- BlockMesh59.Scale = Vector3.new(0.285714269, 0.821428597, 1)
- Part60.Name = "A4"
- Part60.Parent = Tool0
- Part60.Material = Enum.Material.Metal
- Part60.BrickColor = BrickColor.new("Really black")
- Part60.Rotation = Vector3.new(180, 0, 0)
- Part60.Anchored = true
- Part60.FormFactor = Enum.FormFactor.Custom
- Part60.Size = Vector3.new(0.200000003, 0.200000003, 0.742857158)
- Part60.CFrame = CFrame.new(70.2360001, 1.04700994, -21.8789997, 1, 6.21724894e-15, -1.33226763e-15, -6.21724894e-15, -1, -0, 1.33226763e-15, 0, -1)
- Part60.BottomSurface = Enum.SurfaceType.Smooth
- Part60.TopSurface = Enum.SurfaceType.Smooth
- Part60.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part60.Position = Vector3.new(70.2360001, 1.04700994, -21.8789997)
- Part60.Orientation = Vector3.new(0, -180, -180)
- Part60.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- BlockMesh61.Parent = Part60
- BlockMesh61.Scale = Vector3.new(0.285714269, 0.821428597, 1)
- BlockMesh61.Scale = Vector3.new(0.285714269, 0.821428597, 1)
- LocalScript62.Name = "GunScript"
- LocalScript62.Parent = Tool0
- table.insert(cors,sandbox(LocalScript62,function()
- wait(1)
- local Tool = script.Parent
- local Player = game.Players.LocalPlayer
- local Character = Player.Character
- local Torso = Character.Torso
- local Neck = Torso:WaitForChild("Neck")
- local Humanoid = Character.Humanoid
- local Mouse = Player:GetMouse()
- local Camera = game.Workspace.CurrentCamera
- local GunSetup = {
- Name = "M45A1";
- Ammo = script.Ammo.Value;
- RPM = 300;
- BurstRPM = 666;
- FireMode = "Single";
- BkFM = "Single";
- BurstFire = 3;
- SwitchableModes = {
- Burst = false;
- Single = true;
- Automatic = false;
- };
- GrenadeLauncher = false;
- M203Ammo = 1; -- 1 For HEGrenade, 2 For SmokeGrenade
- GLFirerate = 2;
- AnimSpeed = 1;
- Chamber = true;
- CanBreak = false;
- CanSeeMag = true;
- FastReload = true;
- BType = ".45 ACP";
- BSpeed = 884;
- ATK = true;
- BDrop = 5;
- BSpread = 0;
- LimbsDamage = {10,20};
- TorsoDamage = {30,40};
- HeadDamage = {85,100};
- HelmetDamage = 64;
- VestDamage = 34;
- Recoil = {32,42};
- Aimpart = Tool.AimPart;
- FOV1 = 45;
- FOV2 = 20;
- RightPos = CFrame.new(-0.76, 0.45, -1.05) * CFrame.Angles(math.rad(-100), math.rad(0), math.rad(0));
- LeftPos = CFrame.new(0.73,0.55,-1.075) * CFrame.Angles(math.rad(-100),math.rad(35.5),math.rad(2));
- ----------------------
- LeftAimPosition = CFrame.new(0.76,-0.7,-0.955) * CFrame.Angles(math.rad(-110),math.rad(48.5),math.rad(2));
- LeftAim2Position = CFrame.new(1.26,-0.185,-1.315) * CFrame.Angles(math.rad(-110),math.rad(48.5),math.rad(2));
- }
- local Recoilup = 0
- local Recoil = math.random(GunSetup.Recoil[1],GunSetup.Recoil[2])/60
- local RecoilG
- local Firerate = 1/(GunSetup.RPM/60)
- local BURSTFirerate = 1/(GunSetup.BurstRPM/60)
- local GLFirerate = GunSetup.GLFirerate
- local Ammo = GunSetup.Ammo
- local GLAmmo = script.GLAmmo
- local MaxAmmo = script.MaxAmmo
- local StoredAmmo = script.StoredAmmo
- local EnableCycleSight = true
- local EnableFireMode = true
- local AimPartMode = 1
- local slideback = false
- local Checando = false
- local Emperrado = false
- local Chambered = false
- local MagOut = false
- local GLChambered = false
- local Animando = false
- _G.Sprinting = false
- local Safemode = false
- local MouseHeld
- local Equipped = false
- local Sprinting = false
- local Shooting = false
- local Aiming = false
- local Reloading = false
- local GLReloading = false
- pos = 0.0006
- neg = -0.0006
- local shell
- local AmmoGui
- local RAW
- local LAW
- local arms
- local Shell = Tool:WaitForChild("Shells"):WaitForChild("Shell")
- local function GetAmmo()
- AmmoGui.Frame.AText.Text = Ammo
- return Ammo
- end
- local uis = game:GetService("UserInputService")
- local RG = Character["Right Arm"]:FindFirstChild("RightGrip")
- ---------------------------------------------------------------------------------------
- ---------------- [ Tween Module ] --------------------------------------------------------
- ---------------------------------------------------------------------------------------
- function tweenFoV(goal, frames)
- coroutine.resume(coroutine.create(function()
- SFn = SFn and SFn + 1 or 0
- local SFn_S = SFn
- for i = 1, frames do
- if SFn ~= SFn_S then break end
- Camera.FieldOfView = Camera.FieldOfView + (goal - Camera.FieldOfView) * (i / frames)
- game:GetService("RunService").RenderStepped:wait()
- end
- end))
- end
- --[[
- tweenJoint Function Parameters:
- Object Joint - This has to be a weld with a C0 and C1 property
- CFrame newC0 - This is what the new C0 of the weld will be. You can put nil if you don't want to effect the C0
- CFrame newC1 - This is what the new C1 of the weld will be. You can put nil if you don't want to effect the C1
- function Alpha - This is an alpha function that takes an input parameter of a number between 0 and 90 and returns a number between 0 and 1.
- For example, function(X) return math.sin(math.rad(X)) end
- float Duration - This is how long the tweening takes to complete
- --]]
- local RS = game:GetService("RunService")
- function tweenJoint(Joint, newC0, newC1, Alpha, Duration)
- spawn(function()
- local newCode = math.random(-1e9, 1e9) --This creates a random code between -1000000000 and 1000000000
- local tweenIndicator = nil
- if (not Joint:findFirstChild("tweenCode")) then --If the joint isn't being tweened, then
- tweenIndicator = Instance.new("IntValue")
- tweenIndicator.Name = "tweenCode"
- tweenIndicator.Value = newCode
- tweenIndicator.Parent = Joint
- else
- tweenIndicator = Joint.tweenCode
- tweenIndicator.Value = newCode --If the joint is already being tweened, this will change the code, and the tween loop will stop
- end
- --local tweenIndicator = createTweenIndicator:InvokeServer(Joint, newCode)
- if Duration <= 0 then --If the duration is less than or equal to 0 then there's no need for a tweening loop
- if newC0 then Joint.C0 = newC0 end
- if newC1 then Joint.C1 = newC1 end
- else
- local Increment = 1.5 / Duration
- local startC0 = Joint.C0
- local startC1 = Joint.C1
- local X = 0
- while true do
- RS.RenderStepped:wait() --This makes the for loop step every 1/60th of a second
- local newX = X + Increment
- X = (newX > 90 and 90 or newX)
- if tweenIndicator.Value ~= newCode then break end --This makes sure that another tween wasn't called on the same joint
- if (not Equipped) then break end --This stops the tween if the tool is deselected
- if newC0 then Joint.C0 = startC0:lerp(newC0, Alpha(X)) end
- if newC1 then Joint.C1 = startC1:lerp(newC1, Alpha(X)) end
- --if newC0 then lerpCF:InvokeServer(Joint, "C0", startC0, newC0, Alpha(X)) end
- --if newC1 then lerpCF:InvokeServer(Joint, "C1", startC1, newC1, Alpha(X)) end
- if X == 90 then break end
- end
- end
- if tweenIndicator.Value == newCode then --If this tween functions was the last one called on a joint then it will remove the code
- tweenIndicator:Destroy()
- end
- --deleteTweenIndicator:InvokeServer(tweenIndicator, newCode)
- end)
- end
- -------------Motor6Ding Section------------------------
- Tool.Equipped:connect(function()
- if Humanoid.Health > 0 then
- RAW = Instance.new("Motor6D")
- RAW.Name= "RightWeld"
- RAW.Part0 =Player.Character["Right Arm"]
- RAW.Part1 = Character["Head"]
- RAW.Parent=Player.Character["Right Arm"]
- -- Player.CameraMode="LockFirstPerson"
- Torso:WaitForChild("Right Shoulder").Part1 = nil
- if Reloading then
- Reloading = false
- end
- if GLReloading then
- GLReloading = false
- end
- LAW = Instance.new("Motor6D")
- LAW.Name= "LeftWeld"
- LAW.Part0 = Player.Character["Left Arm"]
- LAW.Part1 = Character["Head"]
- LAW.Parent = Player.Character["Left Arm"]
- LAW.C0 = GunSetup.LeftPos
- RAW.C0 = GunSetup.RightPos
- Torso:WaitForChild("Left Shoulder").Part1 = nil
- LAW.C1 = CFrame.new()
- RAW.C1 = CFrame.new()
- uis.MouseIconEnabled = false
- AmmoGui = script.AmmoGui:Clone()
- AmmoGui.Parent = Player.PlayerGui
- AmmoGui.Frame.Visible = false
- Equipped = true
- game:GetService('RunService').RenderStepped:connect(function()
- RAW.C1 = CFrame.new() * CFrame.new((Recoilup/4),0,(Recoilup*2))
- LAW.C1 = CFrame.new() * CFrame.new((Recoilup/4),0,(Recoilup*2))
- if not Equipped then
- IdleOrSteadyAnim()
- Reloading = false
- GLReloading = false
- end
- if AmmoGui:FindFirstChild("Frame") then
- AmmoGui.Frame.FText.Text = GunSetup.FireMode
- AmmoGui.Frame.SAText.Text = ""..math.ceil(StoredAmmo.Value/math.ceil(GunSetup.Ammo)).." MAGS"
- AmmoGui.Frame.Btext.Text = GunSetup.BType
- if Safemode then
- AmmoGui.Frame.A.Visible = true
- else
- AmmoGui.Frame.A.Visible = false
- end
- if Chambered then
- AmmoGui.Frame.B.Visible = false
- else
- AmmoGui.Frame.B.Visible = true
- end
- if GunSetup.GrenadeLauncher and GLChambered then
- AmmoGui.Frame.E.Visible = false
- elseif GunSetup.GrenadeLauncher and not GLChambered then
- AmmoGui.Frame.E.Visible = true
- else
- AmmoGui.Frame.E.Visible = false
- end
- if Emperrado then
- AmmoGui.Frame.C.Visible = true
- else
- AmmoGui.Frame.C.Visible = false
- end
- if slideback then
- AmmoGui.Frame.D.Visible = true
- else
- AmmoGui.Frame.D.Visible = false
- end
- if GunSetup.FireMode == "M203" then
- AmmoGui.Frame.NText.Text = "M203"
- AmmoGui.Frame.SAText.Text = GLAmmo.Value
- AmmoGui.Frame.AText.Text = Ammo .." Bullets"
- end
- if StoredAmmo.Value > MaxAmmo.Value then
- StoredAmmo.Value = MaxAmmo.Value
- end
- if GunSetup.FireMode ~= "M203" then
- AmmoGui.Frame.NText.Text = GunSetup.Name
- AmmoGui.Frame.AText.Text = Ammo .." Bullets"
- end
- end
- end)
- end
- end)
- ---------- Animations ------------------
- function SprintAnim()
- Humanoid.WalkSpeed = 24
- tweenJoint(RAW, RAW.C0 * CFrame.new(0,0,0.5) * CFrame.Angles(math.rad(20),math.rad(0),math.rad(0)) , nil, function(X) return math.sin(math.rad(X)) end, 0.25 * GunSetup.AnimSpeed)
- tweenJoint(LAW, LAW.C0 * CFrame.new(0,0,0.5) * CFrame.Angles(math.rad(25),math.rad(-10),math.rad(0)) , nil, function(X) return math.sin(math.rad(X)) end, 0.25 * GunSetup.AnimSpeed)
- _G.Sprinting = true
- end
- function SafetyAnim()
- Humanoid.WalkSpeed = Humanoid.WalkSpeed + 2
- tweenJoint(RAW, CFrame.new(-0.975, 1.065, -1.085) * CFrame.Angles(math.rad(-70), math.rad(-35), math.rad(0)) , nil, function(X) return math.sin(math.rad(X)) end, 0.25 * GunSetup.AnimSpeed)
- tweenJoint(LAW, CFrame.new(0.7623,0.95,-1.495) * CFrame.Angles(math.rad(-80),math.rad(6.5),math.rad(0)) , nil, function(X) return math.sin(math.rad(X)) end, 0.25 * GunSetup.AnimSpeed)
- end
- function IdleOrSteadyAnim()
- tweenJoint(RAW, GunSetup.RightPos , nil, function(X) return math.sin(math.rad(X)) end, 0.225 * GunSetup.AnimSpeed)
- tweenJoint(LAW, GunSetup.LeftPos , nil, function(X) return math.sin(math.rad(X)) end, 0.215 * GunSetup.AnimSpeed)
- end
- function ReloadAnim()
- if Equipped then
- tweenJoint(RAW, CFrame.new(-1.35,0,-0.85) * CFrame.Angles(math.rad(-110),math.rad(-20),math.rad(15)) , nil, function(X) return math.sin(math.rad(X)) end, 0.37257325 * GunSetup.AnimSpeed)
- tweenJoint(LAW, CFrame.new(0.45,0.35,-1.275) * CFrame.Angles(math.rad(-115),math.rad(30),math.rad(15)) , nil, function(X) return math.sin(math.rad(X)) end, 0.37257325 * GunSetup.AnimSpeed)
- tweenJoint(RG, nil , RG.C1 * CFrame.Angles(math.rad(10),math.rad(0),math.rad(0)) , function(X) return math.sin(math.rad(X)) end, 0.325 * GunSetup.AnimSpeed)
- wait(0.55 * GunSetup.AnimSpeed)
- tweenJoint(RAW, RAW.C0 * CFrame.new(-0.5,0,0) * CFrame.Angles(math.rad(-20),math.rad(0),math.rad(15)) , nil, function(X) return math.sin(math.rad(X)) end, 0.37257325 * GunSetup.AnimSpeed)
- tweenJoint(LAW, CFrame.new(1.25,1.3,-0.55) * CFrame.Angles(math.rad(-10),math.rad(35),math.rad(0)) , nil, function(X) return math.sin(math.rad(X)) end, 0.37257325 * GunSetup.AnimSpeed)
- Tool.Handle.MagOut:Play()
- local MagC = Tool:WaitForChild("Mag"):clone()
- Tool.Mag.Transparency = 1
- MagC.Parent = Tool
- MagC.Name = "MagC"
- MagC.Transparency = 0
- local MagCW = Instance.new("Motor6D")
- MagCW.Part0 = MagC
- MagCW.Part1 = Player.Character["Left Arm"]
- MagCW.Parent = MagC
- MagCW.C1 = MagC.CFrame:toObjectSpace(Tool.Mag.CFrame)
- wait(0.65 * (GunSetup.AnimSpeed/1))
- if (StoredAmmo.Value - (GunSetup.Ammo - Ammo)) < 0 then
- Ammo = Ammo + StoredAmmo.Value
- StoredAmmo.Value = 0
- elseif Ammo <= 0 then
- StoredAmmo.Value = StoredAmmo.Value - (GunSetup.Ammo - Ammo)
- Ammo = GunSetup.Ammo
- Chambered = false
- elseif Ammo > 0 and Chambered and GunSetup.Chamber then
- StoredAmmo.Value = StoredAmmo.Value - (GunSetup.Ammo - Ammo)
- Ammo = GunSetup.Ammo + 1
- elseif Ammo > 0 and Chambered and not GunSetup.Chamber then
- StoredAmmo.Value = StoredAmmo.Value - (GunSetup.Ammo - Ammo)
- Ammo = GunSetup.Ammo
- end
- tweenJoint(RAW, CFrame.new(-1.35,0,-0.85) * CFrame.Angles(math.rad(-110),math.rad(-20),math.rad(15)) , nil, function(X) return math.sin(math.rad(X)) end, 0.37257325 * GunSetup.AnimSpeed)
- tweenJoint(LAW, CFrame.new(0.45,0.35,-1.275) * CFrame.Angles(math.rad(-115),math.rad(30),math.rad(15)) , nil, function(X) return math.sin(math.rad(X)) end, 0.30257325 * GunSetup.AnimSpeed)
- tweenJoint(RG, nil , RG.C1 , function(X) return math.sin(math.rad(X)) end, 0.325 * GunSetup.AnimSpeed)
- wait(0.235 * GunSetup.AnimSpeed)
- Tool.Handle.MagIn:Play()
- wait(0.16 * GunSetup.AnimSpeed)
- MagC:Destroy()
- Tool.Mag.Transparency = 0
- wait(0.35 * GunSetup.AnimSpeed)
- end
- end
- function SeeMag()
- if Equipped then
- Animando = true
- tweenJoint(RAW, CFrame.new(0.213, -0.265, -1.25) * CFrame.Angles(math.rad(-90), math.rad(7.5), math.rad(-50.5)) , nil, function(X) return math.sin(math.rad(X)) end, 0.325 * GunSetup.AnimSpeed)
- tweenJoint(LAW, CFrame.new(2.195,-0.825,-1.08) * CFrame.Angles(math.rad(-100),math.rad(75),math.rad(-41)) , nil, function(X) return math.sin(math.rad(X)) end, 0.375 * GunSetup.AnimSpeed)
- wait(1.125 * (GunSetup.AnimSpeed/2))
- tweenJoint(RAW, CFrame.new(-0.875, -0.465, -1.15) * CFrame.Angles(math.rad(-95), math.rad(-2), math.rad(7.5)) , nil, function(X) return math.sin(math.rad(X)) end, 0.425 * GunSetup.AnimSpeed)
- tweenJoint(LAW, CFrame.new(1.195,-0.35,-1.48) * CFrame.Angles(math.rad(-100),math.rad(75),math.rad(0)) , nil, function(X) return math.sin(math.rad(X)) end, 0.375 * GunSetup.AnimSpeed)
- wait(0.55 * GunSetup.AnimSpeed)
- tweenJoint(RAW, CFrame.new(-0.975, -0.365, -1.2) * CFrame.Angles(math.rad(-85), math.rad(-2), math.rad(9)) , nil, function(X) return math.sin(math.rad(X)) end, 0.525 * GunSetup.AnimSpeed)
- tweenJoint(LAW, CFrame.new(1.195,1.4,-0.5) * CFrame.Angles(math.rad(0),math.rad(25),math.rad(0)) , nil, function(X) return math.sin(math.rad(X)) end, 0.375 * GunSetup.AnimSpeed)
- Tool.Handle.MagOut:Play()
- local MagC = Tool:WaitForChild("Mag"):clone()
- Tool.Mag.Transparency = 1
- MagC.Parent = Tool
- MagC.Name = "MagC"
- MagC.Transparency = 0
- local MagCW = Instance.new("Motor6D")
- MagCW.Part0 = MagC
- MagCW.Part1 = Player.Character["Left Arm"]
- MagCW.Parent = MagC
- MagCW.C1 = MagC.CFrame:toObjectSpace(Tool.Mag.CFrame)
- wait(0.75 * (GunSetup.AnimSpeed/1))
- tweenJoint(RAW, CFrame.new(-0.875, -0.465, -1.15) * CFrame.Angles(math.rad(-95), math.rad(-2), math.rad(7.5)) , nil, function(X) return math.sin(math.rad(X)) end, 0.325 * GunSetup.AnimSpeed)
- tweenJoint(LAW, CFrame.new(1.195,-0.35,-1.48) * CFrame.Angles(math.rad(-100),math.rad(45),math.rad(0)) , nil, function(X) return math.sin(math.rad(X)) end, 0.275 * GunSetup.AnimSpeed)
- wait(0.12 * (GunSetup.AnimSpeed/1))
- Animando = false
- --[[wait(0.15 * GunSetup.AnimSpeed)
- MagC:Destroy()
- Tool.Mag.Transparency = 0
- wait(0.35 * GunSetup.AnimSpeed)]]
- end
- end
- function UNSeeMag()
- if Equipped then
- Animando = true
- local MagC = Tool:WaitForChild("MagC")
- local MagCW = script.Parent.MagC.Motor6D
- wait(0.75 * (GunSetup.AnimSpeed/1))
- tweenJoint(RAW, CFrame.new(-0.875, -0.465, -1.15) * CFrame.Angles(math.rad(-95), math.rad(-2), math.rad(7.5)) , nil, function(X) return math.sin(math.rad(X)) end, 0.325 * GunSetup.AnimSpeed)
- tweenJoint(LAW, CFrame.new(1.195,-0.35,-1.48) * CFrame.Angles(math.rad(-100),math.rad(75),math.rad(0)) , nil, function(X) return math.sin(math.rad(X)) end, 0.275 * GunSetup.AnimSpeed)
- wait(0.15 * GunSetup.AnimSpeed)
- Tool.Handle.MagIn:Play()
- MagC:Destroy()
- Tool.Mag.Transparency = 0
- wait(0.35 * GunSetup.AnimSpeed)
- tweenJoint(RAW, CFrame.new(0.213, -0.265, -1.25) * CFrame.Angles(math.rad(-90), math.rad(7.5), math.rad(-50.5)) , nil, function(X) return math.sin(math.rad(X)) end, 0.325 * GunSetup.AnimSpeed)
- tweenJoint(LAW, CFrame.new(1.25,0.55,-1.08) * CFrame.Angles(math.rad(-100),math.rad(25),math.rad(-41)) , nil, function(X) return math.sin(math.rad(X)) end, 0.375 * GunSetup.AnimSpeed)
- wait(0.12 * (GunSetup.AnimSpeed/1))
- Animando = false
- end
- end
- function CheckAnim()
- if Equipped then
- Animando = true
- tweenJoint(RAW, CFrame.new(-0.475, 0.665, -1.285) * CFrame.Angles(math.rad(-100), math.rad(-15), math.rad(-50)) , nil, function(X) return math.sin(math.rad(X)) end, 0.17257325 * GunSetup.AnimSpeed)
- tweenJoint(LAW, CFrame.new(1.29845,0.35,-1.05) * CFrame.Angles(math.rad(-115),math.rad(45),math.rad(15)) , nil, function(X) return math.sin(math.rad(X)) end, 0.27257325 * GunSetup.AnimSpeed)
- wait(0.20 * (GunSetup.AnimSpeed/1))
- Animando = false
- end
- end
- function ChamberAnim()
- if Equipped then
- Animando = true
- tweenJoint(RAW, CFrame.new(-0.475, 0.665, -1.285) * CFrame.Angles(math.rad(-100), math.rad(-15), math.rad(-50)) , nil, function(X) return math.sin(math.rad(X)) end, 0.17257325 * GunSetup.AnimSpeed)
- tweenJoint(LAW, CFrame.new(1.29845,0.35,-1.05) * CFrame.Angles(math.rad(-115),math.rad(45),math.rad(15)) , nil, function(X) return math.sin(math.rad(X)) end, 0.27257325 * GunSetup.AnimSpeed)
- wait(0.15 * (GunSetup.AnimSpeed/2))
- Tool.Handle.MagIn:Play()
- tweenJoint(RAW, CFrame.new(-0.475, 0.665, -1.285) * CFrame.Angles(math.rad(-93), math.rad(-15), math.rad(-50)) , nil, function(X) return math.sin(math.rad(X)) end, 0.22257325 * GunSetup.AnimSpeed)
- tweenJoint(LAW, CFrame.new(1.39845,0.047265,-1.05) * CFrame.Angles(math.rad(-115),math.rad(65),math.rad(15)) , nil, function(X) return math.sin(math.rad(X)) end, 0.27257325 * GunSetup.AnimSpeed)
- wait(0.12 * (GunSetup.AnimSpeed/1))
- Animando = false
- end
- end
- function ChamberBKAnim()
- if Equipped then
- Animando = true
- tweenJoint(RAW, CFrame.new(-0.475, 0.665, -1.285) * CFrame.Angles(math.rad(-100), math.rad(-15), math.rad(-50)) , nil, function(X) return math.sin(math.rad(X)) end, 0.17257325 * GunSetup.AnimSpeed)
- tweenJoint(LAW, CFrame.new(1.29845,0.05,-1.05) * CFrame.Angles(math.rad(-115),math.rad(45),math.rad(15)) , nil, function(X) return math.sin(math.rad(X)) end, 0.27257325 * GunSetup.AnimSpeed)
- wait(0.15 * (GunSetup.AnimSpeed/2))
- Tool.Handle.MagIn:Play()
- tweenJoint(RAW, CFrame.new(-0.475, 0.665, -1.285) * CFrame.Angles(math.rad(-100), math.rad(-15), math.rad(-50)) , nil, function(X) return math.sin(math.rad(X)) end, 0.17257325 * GunSetup.AnimSpeed)
- tweenJoint(LAW, CFrame.new(1.29845,0.35,-1.05) * CFrame.Angles(math.rad(-115),math.rad(45),math.rad(15)) , nil, function(X) return math.sin(math.rad(X)) end, 0.27257325 * GunSetup.AnimSpeed)
- wait(0.12 * (GunSetup.AnimSpeed/1))
- Animando = false
- end
- end
- function FastReloadAnim()
- if Equipped then
- tweenJoint(RAW, CFrame.new(-1.35,0,-0.85) * CFrame.Angles(math.rad(-110),math.rad(-20),math.rad(15)) , nil, function(X) return math.sin(math.rad(X)) end, 0.37257325 * GunSetup.AnimSpeed)
- tweenJoint(LAW, CFrame.new(0.45,0.35,-1.275) * CFrame.Angles(math.rad(-115),math.rad(30),math.rad(15)) , nil, function(X) return math.sin(math.rad(X)) end, 0.37257325 * GunSetup.AnimSpeed)
- wait(0.55 * GunSetup.AnimSpeed)
- tweenJoint(RAW, RAW.C0 * CFrame.new(-0.5,0,0) * CFrame.Angles(math.rad(-20),math.rad(0),math.rad(15)) , nil, function(X) return math.sin(math.rad(X)) end, 0.37257325 * GunSetup.AnimSpeed)
- tweenJoint(LAW, CFrame.new(1.25,1.3,-0.55) * CFrame.Angles(math.rad(-10),math.rad(35),math.rad(0)) , nil, function(X) return math.sin(math.rad(X)) end, 0.37257325 * GunSetup.AnimSpeed)
- Tool.Handle.MagOut:Play()
- local MagC = Tool:WaitForChild("Mag"):clone()
- Tool.Mag.Transparency = 1
- MagC.Parent = Tool
- MagC.Name = "MagC"
- MagC.Transparency = 0
- local MagCW = Instance.new("Motor6D")
- MagCW.Part0 = MagC
- MagCW.Part1 = Player.Character["Left Arm"]
- MagCW.Parent = MagC
- MagCW.C1 = MagC.CFrame:toObjectSpace(Tool.Mag.CFrame)
- wait(0.65 * (GunSetup.AnimSpeed/1))
- AmmoGui.Frame.AText.Visible = true
- tweenJoint(LAW, CFrame.new(1.195,-0.45,-1.38) * CFrame.Angles(math.rad(-100),math.rad(45),math.rad(0)) , nil, function(X) return math.sin(math.rad(X)) end, 0.375 * GunSetup.AnimSpeed)
- wait(0.55 * GunSetup.AnimSpeed)
- if (StoredAmmo.Value - (GunSetup.Ammo - Ammo)) < 0 then
- Ammo = Ammo + StoredAmmo.Value
- StoredAmmo.Value = 0
- elseif Ammo <= 0 then
- StoredAmmo.Value = StoredAmmo.Value - (GunSetup.Ammo - Ammo)
- Ammo = GunSetup.Ammo
- Chambered = false
- elseif Ammo > 0 and Chambered and GunSetup.Chamber then
- StoredAmmo.Value = StoredAmmo.Value - (GunSetup.Ammo - Ammo)
- Ammo = GunSetup.Ammo + 1
- elseif Ammo > 0 and Chambered and not GunSetup.Chamber then
- StoredAmmo.Value = StoredAmmo.Value - (GunSetup.Ammo - Ammo)
- Ammo = GunSetup.Ammo
- end
- tweenJoint(RAW, CFrame.new(-1.35,0,-0.85) * CFrame.Angles(math.rad(-110),math.rad(-20),math.rad(15)) , nil, function(X) return math.sin(math.rad(X)) end, 0.37257325 * GunSetup.AnimSpeed)
- tweenJoint(LAW, CFrame.new(0.45,0.35,-1.275) * CFrame.Angles(math.rad(-115),math.rad(30),math.rad(15)) , nil, function(X) return math.sin(math.rad(X)) end, 0.30257325 * GunSetup.AnimSpeed)
- wait(0.235 * GunSetup.AnimSpeed)
- Tool.Handle.MagIn:Play()
- wait(0.16 * GunSetup.AnimSpeed)
- MagC:Destroy()
- Tool.Mag.Transparency = 0
- AmmoGui.Frame.AText.Visible = false
- wait(0.35 * GunSetup.AnimSpeed)
- end
- end
- function FastBolt()
- tweenJoint(RAW, CFrame.new(0.213, -0.265, -1.25) * CFrame.Angles(math.rad(-90), math.rad(7.5), math.rad(-50.5)) , nil, function(X) return math.sin(math.rad(X)) end, 0.325 * GunSetup.AnimSpeed)
- tweenJoint(LAW, CFrame.new(0.75,-0.6,-0.85) * CFrame.Angles(math.rad(-140),math.rad(70),math.rad(40)) , nil, function(X) return math.sin(math.rad(X)) end, 0.375 * GunSetup.AnimSpeed)
- wait(0.55 * (GunSetup.AnimSpeed/2))
- tweenJoint(RAW, CFrame.new(0.213, -0.265, -1.25) * CFrame.Angles(math.rad(-90), math.rad(7.5), math.rad(-50.5)) , nil, function(X) return math.sin(math.rad(X)) end, 0.325 * GunSetup.AnimSpeed)
- tweenJoint(LAW, CFrame.new(0.75,-0.6,-0.85) * CFrame.Angles(math.rad(-140),math.rad(70),math.rad(40)) , nil, function(X) return math.sin(math.rad(X)) end, 0.375 * GunSetup.AnimSpeed)
- wait(0.3 * (GunSetup.AnimSpeed/2))
- Tool.Handle.MagIn:Play()
- tweenJoint(RAW, CFrame.new(0.213, -0.265, -1.25) * CFrame.Angles(math.rad(-90), math.rad(7.5), math.rad(-50.5)) , nil, function(X) return math.sin(math.rad(X)) end, 0.325 * GunSetup.AnimSpeed)
- tweenJoint(LAW, CFrame.new(0.195,-0.8,-0.85) * CFrame.Angles(math.rad(-140),math.rad(70),math.rad(40)) , nil, function(X) return math.sin(math.rad(X)) end, 0.375 * GunSetup.AnimSpeed)
- slideback = true
- Emperrado = false
- if Ammo > 0 and Chambered then
- EjectShells()
- Ammo = Ammo - 1
- print(Ammo)
- end
- wait(0.75 * (GunSetup.AnimSpeed/2))
- Tool.Handle.MagIn:Play()
- tweenJoint(RAW, CFrame.new(0.213, -0.265, -1.25) * CFrame.Angles(math.rad(-90), math.rad(7.5), math.rad(-50.5)) , nil, function(X) return math.sin(math.rad(X)) end, 0.325 * GunSetup.AnimSpeed)
- tweenJoint(LAW, CFrame.new(0.75,-0.6,-0.85) * CFrame.Angles(math.rad(-140),math.rad(70),math.rad(40)) , nil, function(X) return math.sin(math.rad(X)) end, 0.375 * GunSetup.AnimSpeed)
- slideback = false
- Chambered = true
- wait(0.25 * (GunSetup.AnimSpeed/2))
- tweenJoint(RAW, GunSetup.RightPos , nil, function(X) return math.sin(math.rad(X)) end, 0.225 * GunSetup.AnimSpeed)
- tweenJoint(LAW, GunSetup.LeftPos , nil, function(X) return math.sin(math.rad(X)) end, 0.215 * GunSetup.AnimSpeed)
- end
- function GLReloadAnim()
- if Equipped then
- tweenJoint(RAW, CFrame.new(-0.975, -0.365, -1.2) * CFrame.Angles(math.rad(-85), math.rad(-2), math.rad(9)) , nil, function(X) return math.sin(math.rad(X)) end, 0.525 * GunSetup.AnimSpeed)
- tweenJoint(LAW, CFrame.new(1,0,-1.795) * CFrame.Angles(math.rad(-120),math.rad(45),math.rad(5)) , nil, function(X) return math.sin(math.rad(X)) end, 0.375 * GunSetup.AnimSpeed)
- wait(0.25 * (GunSetup.AnimSpeed/1))
- tweenJoint(RAW, CFrame.new(-0.875, -0.465, -1.15) * CFrame.Angles(math.rad(-95), math.rad(-2), math.rad(7.5)) , nil, function(X) return math.sin(math.rad(X)) end, 0.425 * GunSetup.AnimSpeed)
- tweenJoint(LAW, CFrame.new(1.195,1.4,-0.5) * CFrame.Angles(math.rad(0),math.rad(25),math.rad(0)) , nil, function(X) return math.sin(math.rad(X)) end, 0.375 * GunSetup.AnimSpeed)
- wait(0.75 * (GunSetup.AnimSpeed/1))
- Tool.Handle.MagOut:Play()
- tweenJoint(RAW, CFrame.new(-0.975, -0.365, -1.2) * CFrame.Angles(math.rad(-85), math.rad(-2), math.rad(9)) , nil, function(X) return math.sin(math.rad(X)) end, 0.525 * GunSetup.AnimSpeed)
- tweenJoint(LAW, CFrame.new(1,0,-1.795) * CFrame.Angles(math.rad(-120),math.rad(45),math.rad(5)) , nil, function(X) return math.sin(math.rad(X)) end, 0.375 * GunSetup.AnimSpeed)
- if (StoredAmmo.Value - (GunSetup.Ammo - Ammo)) < 0 then
- Ammo = Ammo + StoredAmmo.Value
- StoredAmmo.Value = 0
- elseif Ammo <= 0 then
- StoredAmmo.Value = StoredAmmo.Value - (GunSetup.Ammo - Ammo)
- Ammo = GunSetup.Ammo
- Chambered = false
- elseif Ammo > 0 and Chambered and GunSetup.Chamber then
- StoredAmmo.Value = StoredAmmo.Value - (GunSetup.Ammo - Ammo)
- Ammo = GunSetup.Ammo + 1
- elseif Ammo > 0 and Chambered and not GunSetup.Chamber then
- StoredAmmo.Value = StoredAmmo.Value - (GunSetup.Ammo - Ammo)
- Ammo = GunSetup.Ammo
- end
- wait(0.75 * GunSetup.AnimSpeed)
- tweenJoint(RAW, CFrame.new(0.213, -0.265, -1.25) * CFrame.Angles(math.rad(-90), math.rad(7.5), math.rad(-50.5)) , nil, function(X) return math.sin(math.rad(X)) end, 0.325 * GunSetup.AnimSpeed)
- tweenJoint(LAW, CFrame.new(1.25,0.55,-1.08) * CFrame.Angles(math.rad(-100),math.rad(25),math.rad(-41)) , nil, function(X) return math.sin(math.rad(X)) end, 0.375 * GunSetup.AnimSpeed)
- end
- end
- -----------------------ADS Function------------------------------
- Mouse.Button2Down:connect(function()
- if Equipped then
- if not Aiming and not Reloading and not GLReloading and not Sprinting and not Safemode and not Checando then
- Aiming = true
- -- Mouse.Icon = GunSetup.Cursor.Aiming
- if AimPartMode == 1 then
- tweenJoint(RAW, RAW.C0 * CFrame.new(-Tool.AimPart.CFrame:toObjectSpace(Character.Head.CFrame).p), nil, function(X) return math.sin(math.rad(X)) end, 0.25 * GunSetup.AnimSpeed)
- tweenJoint(LAW, GunSetup.LeftAimPosition , nil, function(X) return math.sin(math.rad(X)) end, 0.25 * GunSetup.AnimSpeed)
- tweenFoV(GunSetup.FOV1, 40)
- end
- if AimPartMode == 2 then
- tweenJoint(RAW, RAW.C0 * CFrame.new(-Tool.AimPart2.CFrame:toObjectSpace(Character.Head.CFrame).p), nil, function(X) return math.sin(math.rad(X)) end, 0.25 * GunSetup.AnimSpeed)
- tweenJoint(LAW, GunSetup.LeftAim2Position , nil, function(X) return math.sin(math.rad(X)) end, 0.25 * GunSetup.AnimSpeed)
- tweenFoV(GunSetup.FOV2, 40)
- end
- game.Workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character.Humanoid
- end
- end
- end)
- Mouse.Button2Up:connect(function()
- if Equipped then
- if Aiming then
- Aiming = false
- -- Mouse.Icon = GunSetup.Cursor.Aiming
- if not Safemode then
- IdleOrSteadyAnim()
- tweenFoV(70, 40)
- end
- end
- end
- end)
- -----------------------shooting function-----------------
- function Rand(Min, Max, Accuracy)
- local Inverse = 1 / (Accuracy or 1)
- return (math.random(Min * Inverse, Max * Inverse) / Inverse)
- end
- function GetHitSurfaceCFrame(HitPos,Obj)
- local SurfaceCF = {
- {"Back",Obj.CFrame * CFrame.new(0,0,Obj.Size.z)};
- {"Bottom",Obj.CFrame * CFrame.new(0,-Obj.Size.y,0)};
- {"Front",Obj.CFrame * CFrame.new(0,0,-Obj.Size.z)};
- {"Left",Obj.CFrame * CFrame.new(-Obj.Size.x,0,0)};
- {"Right",Obj.CFrame * CFrame.new(Obj.Size.x,0,0)};
- {"Top",Obj.CFrame * CFrame.new(0,Obj.Size.y,0)}
- }
- local ClosestDist = math.huge
- local ClosestSurface = nil
- for _,v in pairs(SurfaceCF) do
- local SurfaceDist = (HitPos - v[2].p).magnitude
- if SurfaceDist < ClosestDist then
- ClosestDist = SurfaceDist
- ClosestSurface = v
- end
- end
- return ClosestSurface[2]
- end
- local Bullet
- local HitMark
- local BulletModel = workspace:FindFirstChild("Ray_Ignore") or Instance.new("Model", workspace)
- BulletModel.Name = "Ray_Ignore"
- spawn(function()
- while true do
- BulletModel.Parent = game.Workspace
- wait(1 / 20)
- end
- end)
- local Ray_Ignore = {Character, BulletModel, Camera}
- function CreateBullet()
- local Origin = Tool.FirePart.Position
- local Direction = Tool.FirePart.CFrame.lookVector
- local BulletCF = CFrame.new(Origin, Origin + Direction)
- Bullet = Instance.new("Part")
- game.Debris:AddItem(Bullet, 3)
- Bullet.Name = "Bullet"
- Bullet.Shape = Enum.PartType.Ball
- Bullet.Size = Vector3.new(0.2, 0.2, 0.2)
- Bullet.TopSurface = "Smooth"
- Bullet.BottomSurface = "Smooth"
- Bullet.BrickColor = BrickColor.new("Bright yellow")
- Bullet.Material = "Neon"
- Bullet.Transparency = 0
- Bullet.CanCollide = false
- Bullet.CFrame = Tool.FirePart.CFrame + (Tool.FirePart.CFrame.p - Tool.FirePart.CFrame.p)
- Bullet.CFrame = CFrame.new(Tool.FirePart.CFrame.p, Tool.FirePart.CFrame.p + Tool.FirePart.CFrame.lookVector)
- local BM = Instance.new("SpecialMesh", Bullet)
- BM.MeshType = "Brick"
- BM.Scale = Vector3.new(0.2,0.2,25)
- local BulletMass = Bullet.Size.X * Bullet.Size.Y * Bullet.Size.Z
- local BF = Instance.new("BodyForce")
- BF.force = Vector3.new(0, BulletMass * (65 - GunSetup.BDrop), 0)
- BF.Parent = Bullet
- Bullet.Velocity = Direction * 1000
- Bullet.CFrame = BulletCF + Direction
- if GunSetup.BSpeed >= 343 then
- local BulletWhizz = Instance.new("Sound")
- BulletWhizz.Parent = Bullet
- BulletWhizz.Pitch = 1
- BulletWhizz.Looped = true
- BulletWhizz.EmitterSize = 25
- BulletWhizz.MaxDistance = 500
- BulletWhizz.SoundId = "rbxassetid://151284431"
- BulletWhizz:Play()
- end
- return Bullet
- end
- function CreateBulletImpact(HitPos, HitObj, HumanoidFound)
- local SurfaceCF = GetHitSurfaceCFrame(HitPos, HitObj)
- local SurfaceDir = CFrame.new(HitObj.CFrame.p, SurfaceCF.p)
- local SurfaceDist = SurfaceDir.lookVector * (HitObj.CFrame.p - SurfaceCF.p).magnitude / 2
- local SurfaceOffset = HitPos - SurfaceCF.p + SurfaceDist
- local SurfaceCFrame = SurfaceDir + SurfaceDist + SurfaceOffset
- HitMark = Instance.new("Part")
- HitMark.BrickColor = BrickColor.new("Black")
- HitMark.Transparency = 1
- HitMark.Anchored = true
- HitMark.CanCollide = false
- HitMark.FormFactor = "Custom"
- HitMark.Size = Vector3.new(math.random(1,1.5), math.random(1,1.5), 0.2)
- HitMark.TopSurface = 0
- HitMark.BottomSurface = 0
- local Mesh = Instance.new("BlockMesh")
- Mesh.Offset = Vector3.new(0, 0, -0.05)
- Mesh.Scale = Vector3.new(-0.25, -0.25, 0)
- Mesh.Parent = HitMark
- local mat = HitObj.Material
- if mat == Enum.Material.Wood or mat == Enum.Material.WoodPlanks then
- local BulletWhizz = Instance.new("Sound")
- BulletWhizz.Parent = HitMark
- BulletWhizz.Pitch = BulletWhizz.Pitch * math.random(34, 46)/40
- BulletWhizz.SoundId = "rbxassetid://142082171"
- BulletWhizz:Play()
- if game.ReplicatedStorage:FindFirstChild("Dust" or "Smoke") then
- local D1 = game.ReplicatedStorage.Dust:clone()
- D1.Parent = HitMark
- D1.Enabled = true
- end
- local Decal = Instance.new("Decal")
- Decal.Face = Enum.NormalId.Front
- Decal.Texture = "http://www.roblox.com/asset/?id=64291961"
- Decal.Parent = HitMark
- HitMark.Parent = BulletModel
- HitMark.CFrame = SurfaceCFrame
- local Particles = Instance.new("ParticleEmitter")
- Particles.Color = ColorSequence.new(Color3.new(255, 255, 255))
- Particles.LightEmission = 0
- Particles.Size = NumberSequence.new(0.25)
- Particles.Texture = "http://www.roblox.com/asset/?id=434255560"
- Particles.Transparency = NumberSequence.new(
- {
- NumberSequenceKeypoint.new(0, 0.25, 0.25);
- NumberSequenceKeypoint.new(1, 1);
- }
- )
- Particles.Acceleration = Vector3.new(0, -196.2, 0)
- Particles.Lifetime = NumberRange.new(0.25 - 0.05, 0.25 + 0.15)
- Particles.Rate = 500
- Particles.RotSpeed = NumberRange.new(360)
- Particles.Speed = NumberRange.new(25 - 0, 25 + 0)
- Particles.VelocitySpread = 45
- Particles.Parent = HitMark
- Particles.EmissionDirection = "Top"
- game.Debris:AddItem(Particles, 0.2)
- game.Debris:AddItem(HitMark, 0.95)
- elseif mat == Enum.Material.Plastic and HitObj.Name == "Head" or HitObj.Name == "Torso" or HitObj.Name == "Right Arm" or HitObj.Name == "Left Arm" or HitObj.Name == "Right Leg" or HitObj.Name == "Left Leg" then
- local BulletWhizz = Instance.new("Sound")
- BulletWhizz.Parent = HitMark
- BulletWhizz.Pitch = BulletWhizz.Pitch * math.random(34, 46)/40
- BulletWhizz.SoundId = "rbxassetid://330595293"
- BulletWhizz:Play()
- local Decal = Instance.new("Decal")
- Decal.Face = Enum.NormalId.Front
- Decal.Texture = "http://www.roblox.com/asset/?id=112969718"
- Decal.Parent = HitMark
- HitMark.Parent = BulletModel
- HitMark.CFrame = SurfaceCFrame
- local Particles = Instance.new("ParticleEmitter")
- Particles.Color = ColorSequence.new(Color3.new(25, 0, 0))
- Particles.LightEmission = 0
- Particles.Size = NumberSequence.new(.5)
- Particles.Texture = "http://www.roblox.com/asset/?id=176677966"
- Particles.Transparency = NumberSequence.new(
- {
- NumberSequenceKeypoint.new(0, 0, 0);
- NumberSequenceKeypoint.new(1, 1);
- }
- )
- Particles.Acceleration = Vector3.new(0, 0, 0)
- Particles.Lifetime = NumberRange.new(0.1 - 0.05, 0.1 + 0.05)
- Particles.Rate = 500
- Particles.RotSpeed = NumberRange.new(1000)
- Particles.Speed = NumberRange.new(0 - 0, 0 + 0)
- Particles.VelocitySpread = 0
- Particles.Parent = HitMark
- Particles.EmissionDirection = "Top"
- game.Debris:AddItem(Particles, 0.2)
- game.Debris:AddItem(HitMark, 0.95)
- elseif mat == Enum.Material.Concrete or mat == Enum.Material.Slate or mat == Enum.Material.Cobblestone or mat == Enum.Material.Brick or mat == Enum.Material.Granite or mat == Enum.Material.Granite or mat == Enum.Material.Plastic or mat == Enum.Material.SmoothPlastic then
- local BulletWhizz = Instance.new("Sound")
- BulletWhizz.Parent = HitMark
- BulletWhizz.Pitch = BulletWhizz.Pitch * math.random(34, 46)/40
- BulletWhizz.SoundId = "rbxassetid://142082166"
- BulletWhizz:Play()
- if game.ReplicatedStorage:FindFirstChild("Dust" or "Smoke") then
- local D1 = game.ReplicatedStorage.Dust:clone()
- D1.Parent = HitMark
- D1.Enabled = true
- local D2 = game.ReplicatedStorage.Smoke:clone()
- D2.Parent = HitMark
- D2.Enabled = true
- end
- local Decal = Instance.new("Decal")
- Decal.Face = Enum.NormalId.Front
- Decal.Texture = "http://www.roblox.com/asset/?id=64291961"
- Decal.Parent = HitMark
- HitMark.Parent = BulletModel
- HitMark.CFrame = SurfaceCFrame
- local Particles = Instance.new("ParticleEmitter")
- Particles.Color = ColorSequence.new(Color3.new(50, 50, 50))
- Particles.LightEmission = 0
- Particles.Size = NumberSequence.new(0.25)
- Particles.Texture = "rbxasset://textures/particles/smoke_main.dds"
- Particles.Transparency = NumberSequence.new(
- {
- NumberSequenceKeypoint.new(0, 0.25, 0.25);
- NumberSequenceKeypoint.new(1, 1);
- }
- )
- Particles.Acceleration = Vector3.new(0, -196.2, 0)
- Particles.Lifetime = NumberRange.new(0.1 - 0.05, 0.1 + 0.05)
- Particles.Rate = 500
- Particles.RotSpeed = NumberRange.new(360)
- Particles.Speed = NumberRange.new(25 - 5, 25 + 5)
- Particles.VelocitySpread = 45
- Particles.Parent = HitMark
- Particles.EmissionDirection = "Top"
- game.Debris:AddItem(Particles, 0.2)
- game.Debris:AddItem(HitMark, 0.95)
- elseif mat == Enum.Material.Grass or mat == Enum.Material.Sand then
- local BulletWhizz = Instance.new("Sound")
- BulletWhizz.Parent = HitMark
- BulletWhizz.Pitch = BulletWhizz.Pitch * math.random(34, 46)/40
- BulletWhizz.SoundId = "rbxassetid://133758545"
- BulletWhizz:Play()
- if game.ReplicatedStorage:FindFirstChild("Dust" or "Smoke") then
- local D1 = game.ReplicatedStorage.Dust:clone()
- D1.Parent = HitMark
- D1.Enabled = true
- local D2 = game.ReplicatedStorage.Smoke:clone()
- D2.Parent = HitMark
- D2.Enabled = true
- end
- if game.ReplicatedStorage:FindFirstChild("Dust" or "Smoke") then
- local D1 = game.ReplicatedStorage.Dust:clone()
- D1.Parent = HitMark
- D1.Enabled = true
- local D2 = game.ReplicatedStorage.Smoke:clone()
- D2.Parent = HitMark
- D2.Enabled = true
- end
- local Decal = Instance.new("Decal")
- Decal.Face = Enum.NormalId.Front
- Decal.Texture = "http://www.roblox.com/asset/?id=64291961"
- Decal.Parent = HitMark
- HitMark.Parent = BulletModel
- HitMark.CFrame = SurfaceCFrame
- local Particles = Instance.new("ParticleEmitter")
- Particles.Color = ColorSequence.new(Color3.new(50, 50, 50))
- Particles.LightEmission = 0
- Particles.Size = NumberSequence.new(0.25)
- Particles.Texture = "rbxasset://textures/particles/smoke_main.dds"
- Particles.Transparency = NumberSequence.new(
- {
- NumberSequenceKeypoint.new(0, 0.25, 0.25);
- NumberSequenceKeypoint.new(1, 1);
- }
- )
- Particles.Acceleration = Vector3.new(0, -196.2, 0)
- Particles.Lifetime = NumberRange.new(0.1 - 0.05, 0.1 + 0.05)
- Particles.Rate = 500
- Particles.RotSpeed = NumberRange.new(360)
- Particles.Speed = NumberRange.new(25 - 5, 25 + 5)
- Particles.VelocitySpread = 45
- Particles.Parent = HitMark
- Particles.EmissionDirection = "Top"
- game.Debris:AddItem(Particles, 0.2)
- game.Debris:AddItem(HitMark, 0.95)
- elseif mat == Enum.Material.CorrodedMetal or mat == Enum.Material.Metal or mat == Enum.Material.DiamondPlate then
- local BulletWhizz = Instance.new("Sound")
- BulletWhizz.Parent = HitMark
- BulletWhizz.Pitch = BulletWhizz.Pitch * math.random(34, 46)/40
- BulletWhizz.SoundId = "rbxassetid://142082170"
- BulletWhizz:Play()
- local Decal = Instance.new("Decal")
- Decal.Face = Enum.NormalId.Front
- Decal.Texture = "http://www.roblox.com/asset/?id=64291961"
- Decal.Parent = HitMark
- HitMark.Parent = BulletModel
- HitMark.CFrame = SurfaceCFrame
- local Particles = Instance.new("ParticleEmitter")
- Particles.Color = ColorSequence.new(Color3.new(255, 200, 0))
- Particles.LightEmission = 1
- Particles.Size = NumberSequence.new(0.075)
- Particles.Texture = "http://www.roblox.com/asset/?id=416917683"
- Particles.Transparency = NumberSequence.new(
- {
- NumberSequenceKeypoint.new(0, 0.25, 0.25);
- NumberSequenceKeypoint.new(1, 1);
- }
- )
- Particles.Acceleration = Vector3.new(0, -196.2, 0)
- Particles.Lifetime = NumberRange.new(0.1 - 0.05, 0.1 + 0.05)
- Particles.Rate = 500
- Particles.RotSpeed = NumberRange.new(360)
- Particles.Speed = NumberRange.new(25 - 5, 25 + 5)
- Particles.VelocitySpread = 45
- Particles.Parent = HitMark
- Particles.EmissionDirection = "Top"
- game.Debris:AddItem(Particles, 0.2)
- game.Debris:AddItem(HitMark, 0.95)
- else
- local BulletWhizz = Instance.new("Sound")
- BulletWhizz.Parent = HitMark
- BulletWhizz.Pitch = BulletWhizz.Pitch * math.random(34, 46)/40
- BulletWhizz.SoundId = "rbxassetid://142082166"
- BulletWhizz:Play()
- end
- end
- --rocket.Touched:connect(function(hit)
- function EjectShells()
- shell = Shell:clone()
- shell.CFrame = Tool.Chamber.CFrame * CFrame.fromEulerAnglesXYZ(2.5,1,1.25)
- shell.Velocity = Tool.Chamber.CFrame.lookVector * 20 + Vector3.new(0,10,0)
- shell.RotVelocity = Vector3.new(-10,40,30)
- shell.Parent = BulletModel
- game:GetService("Debris"):addItem(shell,0.125)
- print("Ejecting Shell")
- end
- local connection
- function M203()
- if GunSetup.GrenadeLauncher == true then
- Tool.Handle.M203:Play()
- local M203 = game.ReplicatedStorage.M203["M203"]:clone()
- M203.Parent = game.Workspace
- M203.CFrame = Tool.FirePart2.CFrame*CFrame.new(.15,-0.7,-5.5)
- if GunSetup.M203Ammo == 1 then
- M203.Velocity = Tool.FirePart2.CFrame.lookVector*(500-196.2)
- end
- if GunSetup.M203Ammo == 2 then
- M203.Velocity = Tool.FirePart2.CFrame.lookVector*(575-196.2)
- end
- if GunSetup.M203Ammo == 1 then
- local Explosion =Instance.new("Explosion")
- Explosion.BlastRadius=15
- Explosion.BlastPressure=0
- damage = math.random(80,120)
- M203.Touched:connect(function(Hit)
- Explosion.Hit:connect(Damage)
- Explosion.Position= M203.Position
- Explosion.Parent=game.Workspace
- M203:remove()
- end)
- end
- if GunSetup.M203Ammo == 2 then
- local Smoke = M203.Smoke
- M203.Touched:connect(function(Hit)
- Smoke.Enabled = true
- M203.Velocity = Camera.CoordinateFrame.lookVector*0
- wait(9.5)
- Smoke.Enabled = false
- wait(1.5)
- M203:remove()
- end)
- end
- end
- end
- function Raycasting()
- local Hit,Pos
- local Position0 = Bullet.Position;
- local Position1 = Bullet.Position;
- local Distance = 0
- while true do
- RS.RenderStepped:wait()
- if Distance > 1500 then
- Bullet:Destroy()
- break
- end
- Position1 = Bullet.Position;
- Distance = Distance + (Position1 - Position0).magnitude
- Hit, Pos = workspace:FindPartOnRayWithIgnoreList(Ray.new(Position0,(Position1 - Position0)), Ray_Ignore);
- if Hit then
- Bullet:Destroy()
- local hitHumanoid = ( Hit.Parent:IsA( "Accessory" ) and Hit.Parent.Parent:FindFirstChild( "Humanoid" ) or Hit.Parent:FindFirstChild( "Humanoid" ) );
- local c = Instance.new("ObjectValue");
- c.Name = "creator";
- c.Value = Player;
- game.Debris:AddItem(c, 3);
- c.Parent = hitHumanoid;
- local hitPlyr = ( hitHumanoid and game.Players:GetPlayerFromCharacter( hitHumanoid.Parent ) );
- if not hitHumanoid then
- CreateBulletImpact(Pos,Hit,false)
- if game.ReplicatedStorage:FindFirstChild("Smoke") then
- local D2 = game.ReplicatedStorage.Smoke:clone()
- D2.Parent = HitMark
- D2.Enabled = true
- end
- elseif hitHumanoid then
- if game.ReplicatedStorage:FindFirstChild("Blood") then
- local D2 = game.ReplicatedStorage.Blood:clone()
- D2.Parent = HitMark
- D2.Enabled = true
- end
- CreateBulletImpact(Pos,Hit,true)
- end
- if hitPlyr then
- local isEnemy;
- if GunSetup.ATK then
- isEnemy = ( hitPlyr.TeamColor ~= Player.TeamColor or hitPlyr.Neutral );
- elseif not GunSetup.ATK then
- isEnemy = (hitPlyr.TeamColor == Player.TeamColor or hitPlyr.TeamColor ~= Player.TeamColor or hitPlyr.Neutral );
- end
- if isEnemy and Hit.Name == "Head" then
- hitHumanoid:TakeDamage( GunSetup.HeadDamage );
- elseif isEnemy and Hit.Name ~= "Head" then
- hitHumanoid:TakeDamage( GunSetup.Damage);
- elseif isEnemy and Hit.Name == "Chest" then
- hitHumanoid:TakeDamage( GunSetup.Damage);
- elseif isEnemy and Hit:IsA("Accessory") or Hit:IsA("Hat") and Hit.Parent.Parent:FindFirstChild("Humanoid") then
- Hit.Parent.Parent:FindFirstChild("Humanoid"):TakeDamage(GunSetup.HeadDamage);
- end
- elseif hitHumanoid and Hit.Name == "Head" then
- hitHumanoid:TakeDamage( GunSetup.HeadDamage );
- elseif hitHumanoid and Hit.Name ~= "Head" then
- hitHumanoid:TakeDamage( GunSetup.Damage );
- elseif hitHumanoid and Hit.Name == "Chest" then
- hitHumanoid:TakeDamage( GunSetup.VestDamage );
- elseif hitHumanoid and Hit:IsA("Accessory") or Hit:IsA("Hat") or Hit.Name == "Face" and Hit.Parent.Parent:FindFirstChild("Humanoid") then
- Hit.Parent.Parent:FindFirstChild("Humanoid"):TakeDamage( GunSetup.HeadDamage);
- end
- print(Hit.Name)
- return Hit, Pos;
- end
- Position0 = Position1;
- end
- end
- function Damage(Targ)
- local humanoid=Targ.Parent:FindFirstChild("Humanoid")
- if Targ.Parent:FindFirstChild("Humanoid") then
- -- for i,v in ipairs(humanoids) do
- -- if v==targ.Parent.Humanoid then
- -- return
- -- end
- -- end
- -- table.insert(humanoids,targ.Parent.Humanoid)
- Targ.Parent.Humanoid:TakeDamage(damage)
- end
- end
- function shoot()
- local move = (Tool.FirePart.CFrame * CFrame.Angles(math.rad(math.random(-GunSetup.BSpread, GunSetup.BSpread)/10), math.rad(math.random(-GunSetup.BSpread, GunSetup.BSpread)/10), math.rad(math.random(-GunSetup.BSpread, GunSetup.BSpread)/10))).lookVector * 450
- local from = Tool.FirePart.Position
- local ray = Ray.new(from,move-Vector3.new(0, GunSetup.BDrop*0.05, 0))
- local Hit,Pos = workspace:FindPartOnRayWithIgnoreList(ray, Ray_Ignore)
- local HumanoidFound = false
- CreateBullet()
- local humanoid
- if Hit then
- CreateBulletImpact(Pos, Hit, HumanoidFound)
- if Hit.Parent.Name == "Chest" then
- if Hit.Parent.Parent:FindFirstChild("Humanoid") then
- humanoid = Hit.Parent.Parent:FindFirstChild("Humanoid")
- local c = Instance.new("ObjectValue")
- c.Name = "creator"
- c.Value = Player
- game.Debris:AddItem(c, 3)
- c.Parent = humanoid
- humanoid:TakeDamage(GunSetup.VestDamage)
- HumanoidFound = true
- end
- elseif Hit.Parent:IsA("Hat") or Hit.Parent:IsA("Accessory") then
- if Hit.Parent.Parent:FindFirstChild("Humanoid") then
- humanoid = Hit.Parent.Parent:FindFirstChild("Humanoid")
- local c = Instance.new("ObjectValue")
- c.Name = "creator"
- c.Value = Player
- game.Debris:AddItem(c, 3)
- c.Parent = humanoid
- local d = math.random(GunSetup.HeadDamage[1], GunSetup.HeadDamage[2])
- humanoid:TakeDamage(d)
- HumanoidFound = true
- end
- elseif Hit.Parent.Name=="Face" then
- if Hit.Parent.Parent:FindFirstChild("Humanoid") then
- humanoid = Hit.Parent.Parent:FindFirstChild("Humanoid")
- local c = Instance.new("ObjectValue")
- c.Name = "creator"
- c.Value = Player
- game.Debris:AddItem(c, 3)
- c.Parent = humanoid
- humanoid:TakeDamage(GunSetup.HelmetDamage)
- HumanoidFound = true
- end
- end
- if Hit.Parent:FindFirstChild("Humanoid") and Hit.Name == "Head" then
- humanoid = Hit.Parent:FindFirstChild("Humanoid")
- local c = Instance.new("ObjectValue")
- c.Name = "creator"
- c.Value = Player
- game.Debris:AddItem(c, 3)
- c.Parent = humanoid
- local d = math.random(GunSetup.HeadDamage[1], GunSetup.HeadDamage[2])
- humanoid:TakeDamage(d)
- HumanoidFound = true
- elseif Hit.Parent:FindFirstChild("Humanoid") and Hit.Name == "Torso" then
- humanoid = Hit.Parent:FindFirstChild("Humanoid")
- local c = Instance.new("ObjectValue")
- c.Name = "creator"
- c.Value = Player
- game.Debris:AddItem(c, 3)
- c.Parent = humanoid
- local d = math.random(GunSetup.TorsoDamage[1], GunSetup.TorsoDamage[2])
- humanoid:TakeDamage(d)
- HumanoidFound = true
- elseif Hit.Parent:FindFirstChild("Humanoid") and Hit.Name == "Right Arm" or Hit.Name == "Left Arm" or Hit.Name == "Right Leg" or Hit.Name == "Left Leg" then
- humanoid = Hit.Parent:FindFirstChild("Humanoid")
- local c = Instance.new("ObjectValue")
- c.Name = "creator"
- c.Value = Player
- game.Debris:AddItem(c, 3)
- c.Parent = humanoid
- local d = math.random(GunSetup.LimbsDamage[1], GunSetup.LimbsDamage[2])
- humanoid:TakeDamage(d)
- HumanoidFound = true
- end
- end
- Tool.FirePart.Fire:Play()
- RecoilG = math.rad(math.random(GunSetup.Recoil[1],GunSetup.Recoil[1])/10 * Rand(1, 1.5, 0.1))--(GunSettings.Recoil*math.random(1,4))
- Recoilup = RecoilG/2
- print(RecoilG)
- for i = Recoil, Recoil*Recoil do
- Recoilup = Recoilup * math.abs(Recoil) * math.random(-i,i)
- end
- for _, v in pairs(Tool.FirePart:GetChildren()) do
- if v.Name:sub(1, 7) == "FlashFX" or v.Name:sub(1, 7) == "Smoke" then
- v.Enabled = true
- end
- end
- delay(1 / 30, function()
- for _, v in pairs(Tool.FirePart:GetChildren()) do
- if v.Name:sub(1, 7) == "FlashFX" or v.Name:sub(1, 7) == "Smoke" then
- v.Enabled = false
- Recoilup = 0
- end
- end
- end)
- coroutine.resume(coroutine.create(function()
- local r = math.abs(Recoilup)/3
- local r2 = math.abs(Recoilup)/12
- local r3 = math.abs(Recoilup)/14
- if _G.Crouched then
- r = r2
- elseif _G.Proned then
- r = r3
- end
- local ran = math.random(-1, 1)
- Camera.CoordinateFrame = CFrame.new(Camera.Focus.p) * (Camera.CoordinateFrame - Camera.CoordinateFrame.p) * CFrame.Angles(r, 0, 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, 0, 0) * CFrame.new(0, 0, (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude)
- wait()
- else
- break
- end
- end
- end))
- -- Bullet Creation
- EjectShells()
- AmmoGui.Frame.AText.Text = Ammo
- print(Ammo)
- end
- ------------Some Random Functions----------------
- local Btype = script.BType
- Btype.Value = GunSetup.BType
- function Checar()
- CheckAnim()
- end
- function Emperrar()
- if GunSetup.CanBreak == true then
- local Jam = math.random(200)
- print("Chance de emperrar: "..Jam)
- if Jam <= 2 then
- Emperrado = true
- end
- end
- end
- ------------Shooting Function--------------------
- Mouse.Button1Down:connect(function()
- if Equipped then
- if Safemode or slideback then return end
- MouseHeld = true
- if GetAmmo() == 0 or MagOut and GunSetup.FireMode ~= "M203" then
- Tool.Handle.Click:Play()
- Chambered = false
- end
- if Emperrado or not Chambered and GunSetup.FireMode ~= "M203" then
- Tool.Handle.Click:Play()
- return
- end
- if not Shooting and not Reloading and not GLReloading or Sprinting and not Emperrado and not Checando then
- Shooting = true
- if GunSetup.FireMode == "Single" and GetAmmo() > 0 and not Checando then
- shoot()
- Emperrar()
- Ammo = Ammo - 1
- GetAmmo()
- wait(Firerate)
- elseif GunSetup.FireMode == "Automatic" then
- while MouseHeld and Equipped and Shooting and not Emperrado and GetAmmo() > 0 and not Checando do
- shoot()
- Emperrar()
- Ammo = Ammo - 1
- GetAmmo()
- wait(Firerate)
- end
- elseif GunSetup.FireMode == "Burst" and GetAmmo() > 0 and not Checando then
- for i = 1, GunSetup.BurstFire do
- if GetAmmo() < 1 then
- break
- end
- shoot()
- Emperrar()
- Ammo = Ammo - 1
- GetAmmo()
- wait(BURSTFirerate)
- end
- elseif GunSetup.FireMode == "M203" and GLAmmo.Value > 0 and GLChambered and not Checando then
- M203()
- GLChambered = false
- GLAmmo.Value = GLAmmo.Value - 1
- wait(GLFirerate)
- end
- Shooting = false
- end
- end
- end)
- Mouse.Button1Up:connect(function()
- if Equipped then
- MouseHeld = false
- end
- end)
- ----------------Mouse Function---------------------------
- Mouse.KeyDown:connect(function(Key)
- if Equipped then
- if Key == "t" then
- if not Reloading and not GLReloading and not Aiming and not Checando then
- if Safemode then
- Safemode = false
- IdleOrSteadyAnim()
- elseif not Safemode then
- if MouseHeld then
- MouseHeld = false
- end
- Safemode = true
- SafetyAnim()
- end
- end
- end
- if Key:byte() == 48 then
- if MouseHeld then
- MouseHeld = false
- end
- if not Sprinting and not Reloading and not GLReloading and not Checando and not Aiming and not _G.Crouched and not _G.Proned then
- Sprinting = true
- SprintAnim()
- end
- end
- if Key == "y" then
- if Tool:FindFirstChild('AimPart2') ~= nil then
- if EnableCycleSight then
- if AimPartMode == 1 then
- AimPartMode = 2
- if Aiming then
- tweenJoint(RAW, RAW.C0 * CFrame.new(-Tool.AimPart2.CFrame:toObjectSpace(Character.Head.CFrame).p), nil, function(X) return math.sin(math.rad(X)) end, 0.25)
- tweenJoint(LAW, GunSetup.LeftAim2Position , nil, function(X) return math.sin(math.rad(X)) end, 0.25)
- tweenFoV(GunSetup.FOV2, 60)
- end
- elseif AimPartMode == 2 then
- AimPartMode = 1
- if Aiming then
- tweenJoint(RAW, RAW.C0 * CFrame.new(-Tool.AimPart.CFrame:toObjectSpace(Character.Head.CFrame).p), nil, function(X) return math.sin(math.rad(X)) end, 0.25)
- tweenJoint(LAW, GunSetup.LeftAimPosition , nil, function(X) return math.sin(math.rad(X)) end, 0.25)
- tweenFoV(GunSetup.FOV1, 60)
- end
- end
- end
- end
- end
- if Key == "f" then
- if EnableFireMode then
- if MouseHeld then
- MouseHeld = false
- end
- if GunSetup.FireMode == "Automatic" then
- if GunSetup.SwitchableModes.Burst then
- GunSetup.FireMode = "Burst"
- Tool.Handle.SafetyClick:Play()
- elseif GunSetup.SwitchableModes.Single then
- GunSetup.FireMode = "Single"
- Tool.Handle.SafetyClick:Play()
- end
- elseif GunSetup.FireMode == "Burst" then
- if GunSetup.SwitchableModes.Single then
- GunSetup.FireMode = "Single"
- Tool.Handle.SafetyClick:Play()
- elseif GunSetup.SwitchableModes.Automatic then
- GunSetup.FireMode = "Automatic"
- Tool.Handle.SafetyClick:Play()
- end
- elseif GunSetup.FireMode == "Single" then
- if GunSetup.SwitchableModes.Automatic then
- GunSetup.FireMode = "Automatic"
- Tool.Handle.SafetyClick:Play()
- elseif GunSetup.SwitchableModes.Burst then
- GunSetup.FireMode = "Burst"
- Tool.Handle.SafetyClick:Play()
- end
- end
- -- if GunSetup.FireMode == "Automatic" then
- -- GunSetup.FireMode = "Single"
- -- Tool.Handle.SafetyClick:Play()
- -- elseif GunSetup.FireMode == "Single" then
- -- GunSetup.FireMode = "Burst"
- -- Tool.Handle.SafetyClick:Play()
- -- elseif GunSetup.FireMode == "Burst" then
- -- GunSetup.FireMode = "Automatic"
- -- Tool.Handle.SafetyClick:Play()
- -- end
- end
- end
- if Key == "r" then
- if not Reloading and not Animando and not GLReloading and StoredAmmo.Value > 0 and not Sprinting and not Aiming and Checando and not MagOut then
- if MouseHeld then
- MouseHeld = false
- end
- Reloading = true
- ReloadAnim()
- Reloading = false
- if Checando then
- CheckAnim()
- elseif Safemode then
- SafetyAnim()
- end
- end
- end
- if Key == "r" then
- if GunSetup.FastReload and not Animando and not Reloading and not GLReloading and StoredAmmo.Value > 0 and not Sprinting and not Aiming and not Checando and not MagOut then
- if MouseHeld then
- MouseHeld = false
- end
- Reloading = true
- FastReloadAnim()
- FastBolt()
- Reloading = false
- if Safemode then
- SafetyAnim()
- end
- end
- end
- if Key == "q" then
- if not Reloading and not GLReloading and not Sprinting and not Aiming and not Checando then
- if MouseHeld then
- MouseHeld = false
- end
- Checando = true
- CheckAnim()
- AmmoGui.Frame.Some.Visible = true
- AmmoGui.Frame.Btext.Visible = true
- AmmoGui.Frame.FText.Visible = true
- AmmoGui.Frame.SAText.Visible = true
- elseif not Reloading and not GLReloading and not Sprinting and not Aiming and Checando then
- if Safemode then
- SafetyAnim()
- Checando = false
- AmmoGui.Frame.Some.Visible = false
- AmmoGui.Frame.Btext.Visible = false
- AmmoGui.Frame.FText.Visible = false
- AmmoGui.Frame.SAText.Visible = false
- else
- IdleOrSteadyAnim()
- Checando = false
- AmmoGui.Frame.Some.Visible = false
- AmmoGui.Frame.Btext.Visible = false
- AmmoGui.Frame.FText.Visible = false
- AmmoGui.Frame.SAText.Visible = false
- end
- end
- end
- end
- if Key == "e" then
- if not Animando and not Reloading and not GLReloading and not Sprinting and not Aiming and Checando and not MagOut then
- if MouseHeld then
- MouseHeld = false
- end
- if not slideback then
- ChamberAnim()
- slideback = true
- Emperrado = false
- if Ammo > 0 and Chambered and not MagOut then
- EjectShells()
- Ammo = Ammo - 1
- print(Ammo)
- end
- elseif slideback then
- ChamberBKAnim()
- slideback = false
- Chambered = true
- end
- end
- end
- if Key == "g" then
- if GunSetup.GrenadeLauncher and not Checando then
- if MouseHeld then
- MouseHeld = false
- end
- if GunSetup.FireMode ~= "M203" then
- Tool.Handle.SafetyClick:Play()
- GunSetup.FireMode = "M203"
- else
- Tool.Handle.SafetyClick:Play()
- GunSetup.FireMode = GunSetup.BkFM
- end
- end
- end
- if Key == "g" then
- if GunSetup.GrenadeLauncher and not Animando and GLAmmo.Value > 0 and not Reloading and not GLReloading and not Sprinting and Checando and not MagOut then
- if MouseHeld then
- MouseHeld = false
- end
- GLReloading = true
- GLReloadAnim()
- GLReloading = false
- GLChambered = true
- end
- end
- if Key == "b" then
- if GunSetup.CanSeeMag and not Animando and not Reloading and not GLReloading and not Sprinting and not Aiming and Checando then
- if MouseHeld then
- MouseHeld = false
- end
- if not MagOut then
- MagOut = true
- SeeMag()
- AmmoGui.Frame.Some2.Visible = true
- AmmoGui.Frame.AText.Visible = true
- else
- AmmoGui.Frame.Some2.Visible = false
- AmmoGui.Frame.AText.Visible = false
- UNSeeMag()
- MagOut = false
- end
- end
- end
- end)
- Mouse.KeyUp:connect(function(Key)
- if Equipped then
- if Key:byte() == 48 then
- if MouseHeld then
- MouseHeld = false
- end
- if Sprinting and not Aiming and not Reloading and not GLReloading and not _G.Crouched and not _G.Proned then
- if not Safemode then
- IdleOrSteadyAnim()
- end
- wait(0.25 * GunSetup.AnimSpeed)
- _G.Sprinting = false
- Humanoid.WalkSpeed = 16
- Sprinting = false
- end
- end
- end
- end)
- -----------------Unequiping------------
- Character.Humanoid.Died:connect(function()
- Tool.Parent = Player.Backpack
- Equipped = false
- Torso:WaitForChild("Right Shoulder").Part1 = Character["Right Arm"]
- Torso:WaitForChild("Left Shoulder").Part1 = Character["Left Arm"]
- RAW:Destroy()
- LAW:Destroy()
- if Aiming then
- Aiming = false
- end
- if Reloading then
- Reloading = false
- end
- if GLReloading then
- GLReloading = false
- end
- if Sprinting then
- Sprinting = false
- end
- end)
- Tool.Unequipped:connect(function()
- Equipped = false
- uis.MouseIconEnabled = true
- if MouseHeld then
- MouseHeld = false
- end
- if GunSetup.FireMode == "M203" then
- AmmoGui.Frame.AText.Text = GLAmmo.Value
- end
- if GunSetup.FireMode ~= "M203" then
- AmmoGui.Frame.AText.Text = Ammo
- end
- Player.PlayerGui:WaitForChild("AmmoGui"):Destroy()
- if Aiming then
- Aiming = false
- end
- if Reloading then
- Reloading = false
- IdleOrSteadyAnim()
- end
- tweenFoV(70, 10)
- _G.Sprinting = false
- Player.CameraMode="Classic"
- Torso:WaitForChild("Right Shoulder").Part1 = Character["Right Arm"]
- Torso:WaitForChild("Left Shoulder").Part1 = Character["Left Arm"]
- RAW:Destroy()
- LAW:Destroy()
- end)
- end))
- NumberValue63.Name = "Ammo"
- NumberValue63.Parent = LocalScript62
- NumberValue63.Value = 7
- StringValue64.Name = "BType"
- StringValue64.Parent = LocalScript62
- NumberValue65.Name = "StoredAmmo"
- NumberValue65.Parent = LocalScript62
- NumberValue65.Value = 300
- NumberValue66.Name = "MaxAmmo"
- NumberValue66.Parent = LocalScript62
- NumberValue66.Value = 1000
- NumberValue67.Name = "GLAmmo"
- NumberValue67.Parent = LocalScript62
- NumberValue67.Value = 10
- ScreenGui68.Name = "AmmoGui"
- ScreenGui68.Parent = LocalScript62
- Frame69.Parent = ScreenGui68
- Frame69.Transparency = 1
- Frame69.Size = UDim2.new(0.0812182724, 0, 0.300000012, 0)
- Frame69.Position = UDim2.new(0.899999976, 0, 0.649999976, 0)
- Frame69.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame69.BackgroundTransparency = 1
- Frame70.Name = "nao"
- Frame70.Parent = Frame69
- Frame70.Size = UDim2.new(1, 0, 0.100000001, 0)
- Frame70.Style = Enum.FrameStyle.RobloxRound
- Frame70.BackgroundColor3 = Color3.new(0, 0, 0)
- TextLabel71.Name = "NText"
- TextLabel71.Parent = Frame69
- TextLabel71.Transparency = 1
- TextLabel71.Size = UDim2.new(1, 0, 0.100000001, 0)
- TextLabel71.Text = "M16A4"
- TextLabel71.BackgroundColor3 = Color3.new(0, 0, 0)
- TextLabel71.BackgroundTransparency = 1
- TextLabel71.BorderSizePixel = 0
- TextLabel71.Font = Enum.Font.SourceSansBold
- TextLabel71.FontSize = Enum.FontSize.Size18
- TextLabel71.TextColor3 = Color3.new(1, 1, 1)
- TextLabel71.TextStrokeTransparency = 0.85000002384186
- TextLabel71.TextWrapped = true
- Frame72.Name = "Some"
- Frame72.Parent = Frame69
- Frame72.Size = UDim2.new(1, 0, 0.600000024, 0)
- Frame72.Style = Enum.FrameStyle.RobloxRound
- Frame72.Position = UDim2.new(0, 0, 0.400000006, 0)
- Frame72.Visible = false
- Frame72.BackgroundColor3 = Color3.new(0, 0, 0)
- TextLabel73.Name = "FText"
- TextLabel73.Parent = Frame69
- TextLabel73.Transparency = 1
- TextLabel73.Size = UDim2.new(1, 0, 0.100000001, 0)
- TextLabel73.Text = "Automatic"
- TextLabel73.Position = UDim2.new(0, 0, 0.400000006, 0)
- TextLabel73.Visible = false
- TextLabel73.BackgroundColor3 = Color3.new(0, 0, 0)
- TextLabel73.BackgroundTransparency = 1
- TextLabel73.BorderSizePixel = 0
- TextLabel73.Font = Enum.Font.SourceSansBold
- TextLabel73.FontSize = Enum.FontSize.Size18
- TextLabel73.TextColor3 = Color3.new(1, 1, 1)
- TextLabel73.TextStrokeTransparency = 0.85000002384186
- TextLabel73.TextWrapped = true
- TextLabel74.Name = "SAText"
- TextLabel74.Parent = Frame69
- TextLabel74.Transparency = 1
- TextLabel74.Size = UDim2.new(1, 0, 0.25, 0)
- TextLabel74.Text = "30"
- TextLabel74.Position = UDim2.new(0, 0, 0.550000012, 0)
- TextLabel74.Visible = false
- TextLabel74.BackgroundColor3 = Color3.new(0, 0, 0)
- TextLabel74.BackgroundTransparency = 1
- TextLabel74.BorderSizePixel = 0
- TextLabel74.Font = Enum.Font.SourceSansBold
- TextLabel74.FontSize = Enum.FontSize.Size24
- TextLabel74.TextColor3 = Color3.new(1, 1, 1)
- TextLabel74.TextScaled = true
- TextLabel74.TextStrokeTransparency = 0.85000002384186
- TextLabel74.TextWrapped = true
- TextLabel75.Name = "Btext"
- TextLabel75.Parent = Frame69
- TextLabel75.Transparency = 1
- TextLabel75.Size = UDim2.new(1, 0, 0.100000001, 0)
- TextLabel75.Text = "5.56x45mm"
- TextLabel75.Position = UDim2.new(0, 0, 0.850000024, 0)
- TextLabel75.Visible = false
- TextLabel75.BackgroundColor3 = Color3.new(0, 0, 0)
- TextLabel75.BackgroundTransparency = 1
- TextLabel75.BorderSizePixel = 0
- TextLabel75.Font = Enum.Font.SourceSansBold
- TextLabel75.FontSize = Enum.FontSize.Size18
- TextLabel75.TextColor3 = Color3.new(1, 1, 1)
- TextLabel75.TextStrokeTransparency = 0.85000002384186
- TextLabel75.TextWrapped = true
- Frame76.Name = "nao"
- Frame76.Parent = Frame69
- Frame76.Size = UDim2.new(1, 0, 0.100000001, 0)
- Frame76.Style = Enum.FrameStyle.RobloxRound
- Frame76.Position = UDim2.new(0, 0, 0.150000006, 0)
- Frame76.BackgroundColor3 = Color3.new(0, 0, 0)
- ImageLabel77.Name = "A"
- ImageLabel77.Parent = Frame69
- ImageLabel77.Size = UDim2.new(0.100000001, 0, 0.0500000007, 0)
- ImageLabel77.Position = UDim2.new(0.100000001, 0, 0.180000007, 0)
- ImageLabel77.BackgroundColor3 = Color3.new(0, 1, 0)
- ImageLabel77.Image = "rbxassetid://133293265"
- ImageLabel77.ImageTransparency = 1
- ImageLabel78.Name = "B"
- ImageLabel78.Parent = Frame69
- ImageLabel78.Size = UDim2.new(0.100000001, 0, 0.0500000007, 0)
- ImageLabel78.Position = UDim2.new(0.280000001, 0, 0.180000007, 0)
- ImageLabel78.BackgroundColor3 = Color3.new(1, 1, 0)
- ImageLabel78.Image = "rbxassetid://133293265"
- ImageLabel78.ImageTransparency = 1
- ImageLabel79.Name = "C"
- ImageLabel79.Parent = Frame69
- ImageLabel79.Size = UDim2.new(0.100000001, 0, 0.0500000007, 0)
- ImageLabel79.Position = UDim2.new(0.460000008, 0, 0.180000007, 0)
- ImageLabel79.BackgroundColor3 = Color3.new(1, 0, 0)
- ImageLabel79.Image = "rbxassetid://133293265"
- ImageLabel79.ImageTransparency = 1
- ImageLabel80.Name = "D"
- ImageLabel80.Parent = Frame69
- ImageLabel80.Size = UDim2.new(0.100000001, 0, 0.0500000007, 0)
- ImageLabel80.Position = UDim2.new(0.819999993, 0, 0.180000007, 0)
- ImageLabel80.BackgroundColor3 = Color3.new(0, 1, 1)
- ImageLabel80.Image = "rbxassetid://133293265"
- ImageLabel80.ImageTransparency = 1
- Frame81.Name = "Some2"
- Frame81.Parent = Frame69
- Frame81.Size = UDim2.new(1, 0, 0.100000001, 0)
- Frame81.Style = Enum.FrameStyle.RobloxRound
- Frame81.Position = UDim2.new(0, 0, 0.289999992, 0)
- Frame81.Visible = false
- Frame81.BackgroundColor3 = Color3.new(0, 0, 0)
- TextLabel82.Name = "AText"
- TextLabel82.Parent = Frame69
- TextLabel82.Transparency = 1
- TextLabel82.Size = UDim2.new(1, 0, 0.100000001, 0)
- TextLabel82.Text = "30 Bullets"
- TextLabel82.Position = UDim2.new(0, 0, 0.280000001, 0)
- TextLabel82.Visible = false
- TextLabel82.BackgroundColor3 = Color3.new(0, 0, 0)
- TextLabel82.BackgroundTransparency = 1
- TextLabel82.BorderSizePixel = 0
- TextLabel82.Font = Enum.Font.SourceSansBold
- TextLabel82.FontSize = Enum.FontSize.Size48
- TextLabel82.TextColor3 = Color3.new(1, 1, 1)
- TextLabel82.TextScaled = true
- TextLabel82.TextStrokeTransparency = 0.85000002384186
- TextLabel82.TextWrapped = true
- ImageLabel83.Name = "E"
- ImageLabel83.Parent = Frame69
- ImageLabel83.Size = UDim2.new(0.100000001, 0, 0.0500000007, 0)
- ImageLabel83.Position = UDim2.new(0.639999986, 0, 0.180000007, 0)
- ImageLabel83.BackgroundColor3 = Color3.new(1, 1, 1)
- ImageLabel83.Image = "rbxassetid://133293265"
- ImageLabel83.ImageTransparency = 1
- Frame84.Parent = ScreenGui68
- Frame84.Transparency = 0.5
- Frame84.Size = UDim2.new(0, 126, 0, 10)
- Frame84.Position = UDim2.new(1, -153, 1, -62)
- Frame84.BackgroundColor3 = Color3.new(0.380392, 0.380392, 0.380392)
- Frame84.BackgroundTransparency = 0.5
- Frame84.BorderSizePixel = 3
- TextLabel85.Name = "Caliber"
- TextLabel85.Parent = Frame84
- TextLabel85.Transparency = 1
- TextLabel85.Size = UDim2.new(1, 0, 1, 0)
- TextLabel85.Text = "Made by 1ndrew"
- TextLabel85.BackgroundColor3 = Color3.new(0.380392, 0.380392, 0.380392)
- TextLabel85.BackgroundTransparency = 1
- TextLabel85.Font = Enum.Font.SourceSansBold
- TextLabel85.FontSize = Enum.FontSize.Size12
- TextLabel85.TextColor3 = Color3.new(0, 0, 0)
- TextLabel85.TextStrokeColor3 = Color3.new(0.380392, 0.380392, 0.380392)
- TextLabel85.TextStrokeTransparency = 0.5
- TextLabel85.TextXAlignment = Enum.TextXAlignment.Right
- Part86.Name = "A6"
- Part86.Parent = Tool0
- Part86.Material = Enum.Material.Metal
- Part86.BrickColor = BrickColor.new("Really black")
- Part86.Rotation = Vector3.new(180, 0, -42)
- Part86.Anchored = true
- Part86.FormFactor = Enum.FormFactor.Custom
- Part86.Size = Vector3.new(0.200000003, 0.200000003, 0.742857158)
- Part86.CFrame = CFrame.new(70.3600006, 1.13900995, -21.8789997, 0.743144929, 0.669130504, 1.12274909e-08, 0.669130504, -0.743144989, -2.98023224e-08, 0, 2.98023224e-08, -1)
- Part86.BottomSurface = Enum.SurfaceType.Smooth
- Part86.TopSurface = Enum.SurfaceType.Smooth
- Part86.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part86.Position = Vector3.new(70.3600006, 1.13900995, -21.8789997)
- Part86.Orientation = Vector3.new(0, 180, 138)
- Part86.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- BlockMesh87.Parent = Part86
- BlockMesh87.Scale = Vector3.new(0.178571433, 0.289285719, 1)
- BlockMesh87.Scale = Vector3.new(0.178571433, 0.289285719, 1)
- Part88.Name = "A7"
- Part88.Parent = Tool0
- Part88.Material = Enum.Material.Metal
- Part88.BrickColor = BrickColor.new("Really black")
- Part88.Rotation = Vector3.new(-180, 0, 0)
- Part88.Anchored = true
- Part88.FormFactor = Enum.FormFactor.Custom
- Part88.Size = Vector3.new(0.200000003, 0.200000003, 0.742857158)
- Part88.CFrame = CFrame.new(70.3000031, 1.14400899, -21.8789997, 1, -1.50995803e-07, 4.37113883e-08, -1.50995803e-07, -1, 0, 4.37113883e-08, 0, -1)
- Part88.BottomSurface = Enum.SurfaceType.Smooth
- Part88.TopSurface = Enum.SurfaceType.Smooth
- Part88.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part88.Position = Vector3.new(70.3000031, 1.14400899, -21.8789997)
- Part88.Orientation = Vector3.new(0, 180, -180)
- Part88.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- BlockMesh89.Parent = Part88
- BlockMesh89.Scale = Vector3.new(0.535714269, 0.285714269, 1)
- BlockMesh89.Scale = Vector3.new(0.535714269, 0.285714269, 1)
- Part90.Name = "A8"
- Part90.Parent = Tool0
- Part90.Material = Enum.Material.Metal
- Part90.BrickColor = BrickColor.new("Really black")
- Part90.Rotation = Vector3.new(-180, 0, 40)
- Part90.Anchored = true
- Part90.FormFactor = Enum.FormFactor.Custom
- Part90.Size = Vector3.new(0.200000003, 0.200000003, 0.778571427)
- Part90.CFrame = CFrame.new(70.2419968, 1.13900995, -20.8829994, 0.766044319, -0.642787755, 1.02265236e-08, -0.642787814, -0.766044378, 1.49011612e-08, -1.49011612e-08, -1.49011612e-08, -1)
- Part90.BottomSurface = Enum.SurfaceType.Smooth
- Part90.TopSurface = Enum.SurfaceType.Smooth
- Part90.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part90.Position = Vector3.new(70.2419968, 1.13900995, -20.8829994)
- Part90.Orientation = Vector3.new(0, 180, -140)
- Part90.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- BlockMesh91.Parent = Part90
- BlockMesh91.Scale = Vector3.new(0.178571433, 0.278571397, 1)
- BlockMesh91.Scale = Vector3.new(0.178571433, 0.278571397, 1)
- Part92.Name = "A9"
- Part92.Parent = Tool0
- Part92.Material = Enum.Material.Metal
- Part92.BrickColor = BrickColor.new("Really black")
- Part92.Rotation = Vector3.new(-180, 0, 0)
- Part92.Anchored = true
- Part92.FormFactor = Enum.FormFactor.Custom
- Part92.Size = Vector3.new(0.200000003, 0.200000003, 0.778571427)
- Part92.CFrame = CFrame.new(70.3000031, 1.15100896, -20.8829994, 1, -1.50995803e-07, 4.37113883e-08, -1.50995803e-07, -1, 0, 4.37113883e-08, 0, -1)
- Part92.BottomSurface = Enum.SurfaceType.Smooth
- Part92.TopSurface = Enum.SurfaceType.Smooth
- Part92.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part92.Position = Vector3.new(70.3000031, 1.15100896, -20.8829994)
- Part92.Orientation = Vector3.new(0, 180, -180)
- Part92.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- BlockMesh93.Parent = Part92
- BlockMesh93.Scale = Vector3.new(0.535714269, 0.214285716, 1)
- BlockMesh93.Scale = Vector3.new(0.535714269, 0.214285716, 1)
- Part94.Name = "Trigger"
- Part94.Parent = Tool0
- Part94.Material = Enum.Material.Metal
- Part94.BrickColor = BrickColor.new("Really black")
- Part94.Rotation = Vector3.new(179.979996, 0, -180)
- Part94.Anchored = true
- Part94.FormFactor = Enum.FormFactor.Custom
- Part94.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part94.CFrame = CFrame.new(70.2929993, 0.760010004, -21.5240002, -1, 3.18015907e-08, 4.3674337e-08, 3.17865201e-08, 0.99999994, -0.000345334411, -4.36853149e-08, -0.000345334411, -0.99999994)
- Part94.BottomSurface = Enum.SurfaceType.Smooth
- Part94.TopSurface = Enum.SurfaceType.Smooth
- Part94.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part94.Position = Vector3.new(70.2929993, 0.760010004, -21.5240002)
- Part94.Orientation = Vector3.new(0.0199999996, 180, 0)
- Part94.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- BlockMesh95.Parent = Part94
- BlockMesh95.Scale = Vector3.new(0.142857134, 0.485714287, 0.142857134)
- BlockMesh95.Scale = Vector3.new(0.142857134, 0.485714287, 0.142857134)
- Sound96.Name = "Click"
- Sound96.Parent = Part94
- Sound96.SoundId = "rbxassetid://132464034"
- Sound97.Name = "FireSound"
- Sound97.Parent = Part94
- Sound97.Pitch = 0.94999998807907
- Sound97.SoundId = "rbxassetid://153230626"
- Sound97.Volume = 1
- Sound98.Name = "M203"
- Sound98.Parent = Part94
- Sound98.SoundId = "http://roblox.com/asset/?id=135039581"
- Sound98.Volume = 1
- Sound99.Name = "MagIn"
- Sound99.Parent = Part94
- Sound99.SoundId = "rbxassetid://269079412"
- Sound99.Volume = 1
- Sound100.Name = "MagOut"
- Sound100.Parent = Part94
- Sound100.Pitch = 0.89999997615814
- Sound100.SoundId = "rbxassetid://268870109"
- Sound100.Volume = 1
- Sound101.Name = "ReloadSound"
- Sound101.Parent = Part94
- Sound101.SoundId = "rbxassetid://147323220"
- Sound101.Volume = 0.80000001192093
- Sound102.Name = "Running"
- Sound102.Parent = Part94
- Sound102.Pitch = 0.97500002384186
- Sound102.SoundId = "http://www.roblox.com/asset/?id=246376673"
- Sound102.Volume = 1
- Sound102.Looped = true
- Sound103.Name = "SafetyClick"
- Sound103.Parent = Part94
- Sound103.Pitch = 1.5
- Sound103.SoundId = "rbxassetid://132464034"
- Sound103.Volume = 0.30000001192093
- Sound104.Name = "WindowBreak"
- Sound104.Parent = Part94
- Sound104.Pitch = 0.97500002384186
- Sound104.SoundId = "http://www.roblox.com/asset/?id=142082167"
- Sound104.Volume = 1
- Weld105.Name = "Slide"
- Weld105.Parent = Part94
- Weld105.C0 = CFrame.new(0, 0, 0, -1, 2.01977812e-08, 1.26371216e-08, 1.76965127e-08, 0.984807849, -0.173648238, -1.59524411e-08, -0.173648223, -0.984807849)
- Weld105.C1 = CFrame.new(-0.102050781, -0.454270244, -0.0144729614, 1, 6.58968489e-08, -2.78179293e-08, -6.58968489e-08, 1, 1.49014543e-08, 2.78179293e-08, -1.49014525e-08, 1)
- Weld105.Part0 = Part106
- Part106.Name = "lalalal"
- Part106.Parent = Tool0
- Part106.Material = Enum.Material.Metal
- Part106.BrickColor = BrickColor.new("Dark stone grey")
- Part106.Transparency = 1
- Part106.Rotation = Vector3.new(172.119995, 0.239999995, -179.839996)
- Part106.FormFactor = Enum.FormFactor.Custom
- Part106.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part106.CFrame = CFrame.new(70.1421967, 0.0328967124, -22.0837383, -0.999987364, 0.00287522771, 0.00413909042, 0.00228100084, 0.990565896, -0.137018174, -0.00449400116, -0.137006983, -0.990559876)
- Part106.BottomSurface = Enum.SurfaceType.Smooth
- Part106.TopSurface = Enum.SurfaceType.Smooth
- Part106.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part106.Position = Vector3.new(70.1421967, 0.0328967124, -22.0837383)
- Part106.Orientation = Vector3.new(7.87999964, 179.759995, 0.129999995)
- Part106.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Weld107.Name = "Slide"
- Weld107.Parent = Part106
- Weld107.C0 = CFrame.new(0, 0, 0, -1, 2.01977812e-08, 1.26371216e-08, 1.76965127e-08, 0.984807849, -0.173648238, -1.59524411e-08, -0.173648223, -0.984807849)
- Weld107.C1 = CFrame.new(-0.102050781, -0.454270244, -0.0144729614, 1, 6.58968489e-08, -2.78179293e-08, -6.58968489e-08, 1, 1.49014543e-08, 2.78179293e-08, -1.49014525e-08, 1)
- Weld107.Part0 = Part106
- Sound108.Name = "Click"
- Sound108.Parent = Part106
- Sound108.SoundId = "rbxassetid://132464034"
- Sound109.Name = "FireSound"
- Sound109.Parent = Part106
- Sound109.Pitch = 0.94999998807907
- Sound109.SoundId = "rbxassetid://153230626"
- Sound109.Volume = 1
- Sound110.Name = "M203"
- Sound110.Parent = Part106
- Sound110.SoundId = "http://roblox.com/asset/?id=135039581"
- Sound110.Volume = 1
- Sound111.Name = "MagIn"
- Sound111.Parent = Part106
- Sound111.SoundId = "rbxassetid://269079412"
- Sound111.Volume = 1
- Sound112.Name = "MagOut"
- Sound112.Parent = Part106
- Sound112.Pitch = 0.89999997615814
- Sound112.SoundId = "rbxassetid://268870109"
- Sound112.Volume = 1
- Sound113.Name = "ReloadSound"
- Sound113.Parent = Part106
- Sound113.SoundId = "rbxassetid://147323220"
- Sound113.Volume = 0.80000001192093
- Sound114.Name = "Running"
- Sound114.Parent = Part106
- Sound114.Pitch = 0.97500002384186
- Sound114.SoundId = "http://www.roblox.com/asset/?id=246376673"
- Sound114.Volume = 1
- Sound114.Looped = true
- Sound115.Name = "SafetyClick"
- Sound115.Parent = Part106
- Sound115.Pitch = 1.5
- Sound115.SoundId = "rbxassetid://132464034"
- Sound115.Volume = 0.30000001192093
- Sound116.Name = "WindowBreak"
- Sound116.Parent = Part106
- Sound116.Pitch = 0.97500002384186
- Sound116.SoundId = "http://www.roblox.com/asset/?id=142082167"
- Sound116.Volume = 1
- Part117.Name = "FirePart"
- Part117.Parent = Tool0
- Part117.Material = Enum.Material.Metal
- Part117.BrickColor = BrickColor.new("Really black")
- Part117.Reflectance = 0.30000001192093
- Part117.Transparency = 1
- Part117.Rotation = Vector3.new(-180, 0, -90)
- Part117.CanCollide = false
- Part117.FormFactor = Enum.FormFactor.Custom
- Part117.Size = Vector3.new(0.219398826, 0.219398826, 0.219398826)
- Part117.CFrame = CFrame.new(70.3000031, 1.07599998, -20.0109997, 5.89999981e-05, 1, 0, 1, -5.89999981e-05, 0, 0, 0, -1)
- Part117.BottomSurface = Enum.SurfaceType.Smooth
- Part117.TopSurface = Enum.SurfaceType.Smooth
- Part117.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part117.Position = Vector3.new(70.3000031, 1.07599998, -20.0109997)
- Part117.Orientation = Vector3.new(0, 180, 90)
- Part117.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- BlockMesh118.Parent = Part117
- BlockMesh118.Scale = Vector3.new(0.902499974, 0.902499974, 0.902499974)
- BlockMesh118.Scale = Vector3.new(0.902499974, 0.902499974, 0.902499974)
- Sound119.Name = "Fire"
- Sound119.Parent = Part117
- Sound119.SoundId = "rbxassetid://474452428"
- Sound119.Volume = 1
- ParticleEmitter120.Name = "1FlashFX2"
- ParticleEmitter120.Parent = Part117
- ParticleEmitter120.Transparency = NumberSequence.new(0.625,1)
- ParticleEmitter120.Rotation = NumberRange.new(0, 90)
- ParticleEmitter120.Size = NumberSequence.new(1,0)
- ParticleEmitter120.Color = ColorSequence.new(Color3.new(1, 1, 0.498039),Color3.new(1, 1, 0.498039))
- ParticleEmitter120.Enabled = false
- ParticleEmitter120.LightEmission = 1
- ParticleEmitter120.Texture = "http://www.roblox.com/asset/?id=257430870"
- ParticleEmitter120.Lifetime = NumberRange.new(0.050000000745058, 0.075000002980232)
- ParticleEmitter120.Rate = 1000
- ParticleEmitter120.Speed = NumberRange.new(100, 100)
- ParticleEmitter120.Color = ColorSequence.new(Color3.new(1, 1, 0.498039),Color3.new(1, 1, 0.498039))
- SpotLight121.Name = "FlashFX"
- SpotLight121.Parent = Part117
- SpotLight121.Color = Color3.new(1, 0.843137, 0.145098)
- SpotLight121.Enabled = false
- SpotLight121.Brightness = 5
- SpotLight121.Range = 10
- SpotLight121.Angle = 180
- SpotLight121.Color = Color3.new(1, 0.843137, 0.145098)
- ParticleEmitter122.Name = "Smoke"
- ParticleEmitter122.Parent = Part117
- ParticleEmitter122.Transparency = NumberSequence.new(0.99000000953674,0.99000000953674)
- ParticleEmitter122.Rotation = NumberRange.new(0, 100)
- ParticleEmitter122.Size = NumberSequence.new(0.20000000298023,0.20000000298023)
- ParticleEmitter122.Enabled = false
- ParticleEmitter122.LightEmission = 0.0099999997764826
- ParticleEmitter122.Texture = "http://www.roblox.com/asset/?id=117472237"
- ParticleEmitter122.Lifetime = NumberRange.new(1, 1)
- ParticleEmitter122.Rate = 998
- ParticleEmitter122.RotSpeed = NumberRange.new(200, 200)
- ParticleEmitter122.Speed = NumberRange.new(7, 7)
- ParticleEmitter122.VelocitySpread = 40
- ParticleEmitter123.Name = "FlashFX[Flash]"
- ParticleEmitter123.Parent = Part117
- ParticleEmitter123.Transparency = NumberSequence.new(1,1)
- ParticleEmitter123.Rotation = NumberRange.new(0, 90)
- ParticleEmitter123.Size = NumberSequence.new(0.5,0)
- ParticleEmitter123.Color = ColorSequence.new(Color3.new(1, 1, 0.498039),Color3.new(1, 1, 0.498039))
- ParticleEmitter123.Enabled = false
- ParticleEmitter123.LightEmission = 1
- ParticleEmitter123.Texture = "http://www.roblox.com/asset/?id=257430870"
- ParticleEmitter123.Lifetime = NumberRange.new(0.050000000745058, 0.075000002980232)
- ParticleEmitter123.Rate = 1000
- ParticleEmitter123.Speed = NumberRange.new(50, 50)
- ParticleEmitter123.Color = ColorSequence.new(Color3.new(1, 1, 0.498039),Color3.new(1, 1, 0.498039))
- Part124.Name = "Mag2"
- Part124.Parent = Tool0
- Part124.Material = Enum.Material.Metal
- Part124.Rotation = Vector3.new(-168, 0, 90)
- Part124.Anchored = true
- Part124.FormFactor = Enum.FormFactor.Custom
- Part124.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part124.CFrame = CFrame.new(70.3000031, 0.128011018, -22.0820007, 8.62358434e-08, -1, 5.84531143e-08, -0.978147507, -7.21982758e-08, 0.207912147, -0.207912147, -7.51052482e-08, -0.978147507)
- Part124.BottomSurface = Enum.SurfaceType.Smooth
- Part124.TopSurface = Enum.SurfaceType.Smooth
- Part124.Position = Vector3.new(70.3000031, 0.128011018, -22.0820007)
- Part124.Orientation = Vector3.new(-12, 180, -90)
- BlockMesh125.Parent = Part124
- BlockMesh125.Scale = Vector3.new(0.142857134, 0.857142866, 0.678571463)
- BlockMesh125.Scale = Vector3.new(0.142857134, 0.857142866, 0.678571463)
- Part126.Parent = Tool0
- Part126.Material = Enum.Material.Metal
- Part126.BrickColor = BrickColor.new("Really black")
- Part126.Rotation = Vector3.new(-180, 0, 0)
- Part126.Anchored = true
- Part126.FormFactor = Enum.FormFactor.Custom
- Part126.Size = Vector3.new(0.200000003, 0.300000012, 0.200000003)
- Part126.CFrame = CFrame.new(70.3000031, 0.286009997, -22.1189995, 1, 0, 0, 0, -1, 0, 0, 0, -1)
- Part126.BottomSurface = Enum.SurfaceType.Smooth
- Part126.TopSurface = Enum.SurfaceType.Smooth
- Part126.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part126.Position = Vector3.new(70.3000031, 0.286009997, -22.1189995)
- Part126.Orientation = Vector3.new(0, 180, 180)
- Part126.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- BlockMesh127.Parent = Part126
- BlockMesh127.Scale = Vector3.new(0.928571463, 1, 0.464285731)
- BlockMesh127.Scale = Vector3.new(0.928571463, 1, 0.464285731)
- Part128.Parent = Tool0
- Part128.Material = Enum.Material.Metal
- Part128.Rotation = Vector3.new(-180, 0, 0)
- Part128.Anchored = true
- Part128.FormFactor = Enum.FormFactor.Custom
- Part128.Size = Vector3.new(0.200000003, 0.200000003, 0.235714287)
- Part128.CFrame = CFrame.new(70.2959976, 1.083009, -21.3899994, 1, -1.50995803e-07, 4.37113883e-08, -1.50995803e-07, -1, 0, 4.37113883e-08, 0, -1)
- Part128.BottomSurface = Enum.SurfaceType.Smooth
- Part128.TopSurface = Enum.SurfaceType.Smooth
- Part128.Position = Vector3.new(70.2959976, 1.083009, -21.3899994)
- Part128.Orientation = Vector3.new(0, 180, -180)
- BlockMesh129.Parent = Part128
- BlockMesh129.Scale = Vector3.new(0.642857194, 0.607142866, 1)
- BlockMesh129.Scale = Vector3.new(0.642857194, 0.607142866, 1)
- Part130.Parent = Tool0
- Part130.Material = Enum.Material.Metal
- Part130.BrickColor = BrickColor.new("Really black")
- Part130.Rotation = Vector3.new(-180, 0, 0)
- Part130.Anchored = true
- Part130.FormFactor = Enum.FormFactor.Custom
- Part130.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part130.CFrame = CFrame.new(70.3000031, 0.822009981, -22.2649994, 1, 0, 0, 0, -1, 0, 0, 0, -1)
- Part130.BottomSurface = Enum.SurfaceType.Smooth
- Part130.TopSurface = Enum.SurfaceType.Smooth
- Part130.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part130.Position = Vector3.new(70.3000031, 0.822009981, -22.2649994)
- Part130.Orientation = Vector3.new(0, 180, 180)
- Part130.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- BlockMesh131.Parent = Part130
- BlockMesh131.Scale = Vector3.new(0.928571463, 0.142857134, 0.142857134)
- BlockMesh131.Scale = Vector3.new(0.928571463, 0.142857134, 0.142857134)
- Part132.Parent = Tool0
- Part132.Material = Enum.Material.Metal
- Part132.BrickColor = BrickColor.new("Really black")
- Part132.Rotation = Vector3.new(-15, 90, 0)
- Part132.Anchored = true
- Part132.FormFactor = Enum.FormFactor.Custom
- Part132.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part132.CFrame = CFrame.new(70.3000031, 1.06100905, -22.2970009, -4.22219699e-08, -1.13133325e-08, 1, -0.258818686, 0.965925932, 0, -0.965925932, -0.258818686, -4.37113954e-08)
- Part132.BottomSurface = Enum.SurfaceType.Smooth
- Part132.TopSurface = Enum.SurfaceType.Smooth
- Part132.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part132.Position = Vector3.new(70.3000031, 1.06100905, -22.2970009)
- Part132.Orientation = Vector3.new(0, 90, -15)
- Part132.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- BlockMesh133.Parent = Part132
- BlockMesh133.Scale = Vector3.new(0.142857134, 0.178571433, 0.285714269)
- BlockMesh133.Scale = Vector3.new(0.142857134, 0.178571433, 0.285714269)
- Part134.Parent = Tool0
- Part134.Material = Enum.Material.Metal
- Part134.BrickColor = BrickColor.new("Really black")
- Part134.Rotation = Vector3.new(-180, 0, 0)
- Part134.Anchored = true
- Part134.FormFactor = Enum.FormFactor.Custom
- Part134.Size = Vector3.new(0.200000003, 0.200000003, 0.478571415)
- Part134.CFrame = CFrame.new(70.3000031, 0.782010019, -21.9220009, 1, 0, 0, 0, -1, 0, 0, 0, -1)
- Part134.BottomSurface = Enum.SurfaceType.Smooth
- Part134.TopSurface = Enum.SurfaceType.Smooth
- Part134.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part134.Position = Vector3.new(70.3000031, 0.782010019, -21.9220009)
- Part134.Orientation = Vector3.new(0, 180, 180)
- Part134.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- BlockMesh135.Parent = Part134
- BlockMesh135.Offset = Vector3.new(0, 0, -0.0399999991)
- BlockMesh135.Scale = Vector3.new(0.928571463, 0.25, 1)
- BlockMesh135.Scale = Vector3.new(0.928571463, 0.25, 1)
- Part136.Parent = Tool0
- Part136.Material = Enum.Material.Metal
- Part136.BrickColor = BrickColor.new("Really black")
- Part136.Rotation = Vector3.new(-165, 0, 180)
- Part136.Anchored = true
- Part136.FormFactor = Enum.FormFactor.Custom
- Part136.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part136.CFrame = CFrame.new(70.3000031, 0.649010003, -21.6219997, -1, -9.31847453e-08, 5.5012439e-11, -8.99952823e-08, 0.965925872, 0.258818865, -2.41711113e-08, 0.258818865, -0.965925872)
- Part136.BottomSurface = Enum.SurfaceType.Smooth
- Part136.TopSurface = Enum.SurfaceType.Smooth
- Part136.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part136.Position = Vector3.new(70.3000031, 0.649010003, -21.6219997)
- Part136.Orientation = Vector3.new(-15, 180, 0)
- Part136.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- SpecialMesh137.Parent = Part136
- SpecialMesh137.Scale = Vector3.new(0.785714328, 0.285714269, 0.75)
- SpecialMesh137.MeshType = Enum.MeshType.Wedge
- SpecialMesh137.Scale = Vector3.new(0.785714328, 0.285714269, 0.75)
- Part138.Parent = Tool0
- Part138.Material = Enum.Material.Metal
- Part138.BrickColor = BrickColor.new("Really black")
- Part138.Rotation = Vector3.new(-165, 0, 0)
- Part138.Anchored = true
- Part138.FormFactor = Enum.FormFactor.Custom
- Part138.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part138.CFrame = CFrame.new(70.3000031, 0.56200999, -21.6310005, 1, 1.24971237e-07, 5.51247936e-11, 1.20698672e-07, -0.965926111, 0.258818269, 3.23980842e-08, -0.258818269, -0.965926111)
- Part138.BottomSurface = Enum.SurfaceType.Smooth
- Part138.TopSurface = Enum.SurfaceType.Smooth
- Part138.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part138.Position = Vector3.new(70.3000031, 0.56200999, -21.6310005)
- Part138.Orientation = Vector3.new(-15, 180, 180)
- Part138.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- SpecialMesh139.Parent = Part138
- SpecialMesh139.Scale = Vector3.new(0.785714328, 0.285714269, 0.892857134)
- SpecialMesh139.MeshType = Enum.MeshType.Wedge
- SpecialMesh139.Scale = Vector3.new(0.785714328, 0.285714269, 0.892857134)
- Part140.Parent = Tool0
- Part140.Material = Enum.Material.Metal
- Part140.BrickColor = BrickColor.new("Really black")
- Part140.Anchored = true
- Part140.FormFactor = Enum.FormFactor.Custom
- Part140.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part140.CFrame = CFrame.new(70.3000031, 0.90000999, -22.2649994, 1, 3.17865059e-08, 6.44094333e-09, -3.17865094e-08, 1, 0, -6.44093934e-09, 0, 1)
- Part140.BottomSurface = Enum.SurfaceType.Smooth
- Part140.TopSurface = Enum.SurfaceType.Smooth
- Part140.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part140.Position = Vector3.new(70.3000031, 0.90000999, -22.2649994)
- Part140.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- SpecialMesh141.Parent = Part140
- SpecialMesh141.Scale = Vector3.new(0.928571463, 0.642857194, 0.142857134)
- SpecialMesh141.MeshType = Enum.MeshType.Wedge
- SpecialMesh141.Scale = Vector3.new(0.928571463, 0.642857194, 0.142857134)
- Part142.Parent = Tool0
- Part142.Material = Enum.Material.Metal
- Part142.BrickColor = BrickColor.new("Really black")
- Part142.Rotation = Vector3.new(-180, 0, 0)
- Part142.Anchored = true
- Part142.FormFactor = Enum.FormFactor.Custom
- Part142.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part142.CFrame = CFrame.new(70.3000031, 0.887009978, -21.0760002, 1, 0, 0, 0, -1, 0, 0, 0, -1)
- Part142.BottomSurface = Enum.SurfaceType.Smooth
- Part142.TopSurface = Enum.SurfaceType.Smooth
- Part142.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part142.Position = Vector3.new(70.3000031, 0.887009978, -21.0760002)
- Part142.Orientation = Vector3.new(0, 180, 180)
- Part142.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- SpecialMesh143.Parent = Part142
- SpecialMesh143.Scale = Vector3.new(0.928571463, 0.785714328, 0.535714269)
- SpecialMesh143.MeshType = Enum.MeshType.Wedge
- SpecialMesh143.Scale = Vector3.new(0.928571463, 0.785714328, 0.535714269)
- Part144.Parent = Tool0
- Part144.Material = Enum.Material.Metal
- Part144.BrickColor = BrickColor.new("Really black")
- Part144.Rotation = Vector3.new(0, 0, -180)
- Part144.Anchored = true
- Part144.FormFactor = Enum.FormFactor.Custom
- Part144.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part144.CFrame = CFrame.new(70.3000031, 0.732010007, -22.0970001, -1, 0, 0, -0, -1, 0, -0, 0, 1)
- Part144.BottomSurface = Enum.SurfaceType.Smooth
- Part144.TopSurface = Enum.SurfaceType.Smooth
- Part144.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part144.Position = Vector3.new(70.3000031, 0.732010007, -22.0970001)
- Part144.Orientation = Vector3.new(0, 0, -180)
- Part144.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- SpecialMesh145.Parent = Part144
- SpecialMesh145.Scale = Vector3.new(0.928571463, 0.25, 0.25)
- SpecialMesh145.MeshType = Enum.MeshType.Wedge
- SpecialMesh145.Scale = Vector3.new(0.928571463, 0.25, 0.25)
- Part146.Parent = Tool0
- Part146.Material = Enum.Material.Metal
- Part146.BrickColor = BrickColor.new("Really black")
- Part146.Rotation = Vector3.new(-180, 0, 0)
- Part146.Anchored = true
- Part146.FormFactor = Enum.FormFactor.Custom
- Part146.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part146.CFrame = CFrame.new(70.3000031, 0.707009017, -21.1760006, 1, 0, 0, 0, -1, 0, 0, 0, -1)
- Part146.BottomSurface = Enum.SurfaceType.Smooth
- Part146.TopSurface = Enum.SurfaceType.Smooth
- Part146.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part146.Position = Vector3.new(70.3000031, 0.707009017, -21.1760006)
- Part146.Orientation = Vector3.new(0, 180, 180)
- Part146.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- BlockMesh147.Parent = Part146
- BlockMesh147.Scale = Vector3.new(0.785714328, 1, 0.25)
- BlockMesh147.Scale = Vector3.new(0.785714328, 1, 0.25)
- Part148.Parent = Tool0
- Part148.Material = Enum.Material.Metal
- Part148.BrickColor = BrickColor.new("Really black")
- Part148.Rotation = Vector3.new(168, 0, -180)
- Part148.Anchored = true
- Part148.FormFactor = Enum.FormFactor.Custom
- Part148.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part148.CFrame = CFrame.new(70.3000031, 0.688009977, -21.1539993, -1, 1.55134501e-07, -4.33326131e-09, 1.52645541e-07, 0.978148758, -0.207906425, -2.801489e-08, -0.207906425, -0.978148758)
- Part148.BottomSurface = Enum.SurfaceType.Smooth
- Part148.TopSurface = Enum.SurfaceType.Smooth
- Part148.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part148.Position = Vector3.new(70.3000031, 0.688009977, -21.1539993)
- Part148.Orientation = Vector3.new(12, -180, 0)
- Part148.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- SpecialMesh149.Parent = Part148
- SpecialMesh149.Scale = Vector3.new(0.785714328, 0.607142866, 0.142857134)
- SpecialMesh149.MeshType = Enum.MeshType.Wedge
- SpecialMesh149.Scale = Vector3.new(0.785714328, 0.607142866, 0.142857134)
- Part150.Parent = Tool0
- Part150.Material = Enum.Material.Metal
- Part150.BrickColor = BrickColor.new("Really black")
- Part150.Rotation = Vector3.new(-90, 0, 0)
- Part150.Anchored = true
- Part150.FormFactor = Enum.FormFactor.Custom
- Part150.Size = Vector3.new(0.200000003, 1.12142861, 0.200000003)
- Part150.CFrame = CFrame.new(70.3000031, 1.07600796, -20.9610004, 1, 4.37113883e-08, 1.50995803e-07, -1.50995803e-07, 0, 1, 4.37113883e-08, -1, 0)
- Part150.BottomSurface = Enum.SurfaceType.Smooth
- Part150.TopSurface = Enum.SurfaceType.Smooth
- Part150.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part150.Position = Vector3.new(70.3000031, 1.07600796, -20.9610004)
- Part150.Orientation = Vector3.new(-90, 0, 0)
- Part150.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Decal151.Parent = Part150
- Decal151.Texture = "http://www.roblox.com/asset/?id=47760372"
- Decal151.Face = Enum.NormalId.Bottom
- CylinderMesh152.Parent = Part150
- CylinderMesh152.Scale = Vector3.new(0.535714269, 1, 0.535714269)
- CylinderMesh152.Scale = Vector3.new(0.535714269, 1, 0.535714269)
- Part153.Parent = Tool0
- Part153.Material = Enum.Material.Metal
- Part153.BrickColor = BrickColor.new("Really black")
- Part153.Rotation = Vector3.new(-165, 90, 0)
- Part153.Anchored = true
- Part153.FormFactor = Enum.FormFactor.Custom
- Part153.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part153.CFrame = CFrame.new(70.3000031, 0.601009011, -21.6089993, -4.22219593e-08, 1.1313344e-08, 1, -0.258819044, -0.965925813, -1.77635684e-15, 0.965925813, -0.258819044, 4.37113883e-08)
- Part153.BottomSurface = Enum.SurfaceType.Smooth
- Part153.TopSurface = Enum.SurfaceType.Smooth
- Part153.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part153.Position = Vector3.new(70.3000031, 0.601009011, -21.6089993)
- Part153.Orientation = Vector3.new(0, 90, -165)
- Part153.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- BlockMesh154.Parent = Part153
- BlockMesh154.Scale = Vector3.new(1, 0.142857134, 0.785714328)
- BlockMesh154.Scale = Vector3.new(1, 0.142857134, 0.785714328)
- Part155.Parent = Tool0
- Part155.Material = Enum.Material.Metal
- Part155.BrickColor = BrickColor.new("Really black")
- Part155.Rotation = Vector3.new(180, 0, 0)
- Part155.Anchored = true
- Part155.FormFactor = Enum.FormFactor.Custom
- Part155.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part155.CFrame = CFrame.new(70.3000031, 1.04001105, -22.2259998, 1, 6.21724894e-15, -1.33226763e-15, -6.21724894e-15, -1, -0, 1.33226763e-15, 0, -1)
- Part155.BottomSurface = Enum.SurfaceType.Smooth
- Part155.TopSurface = Enum.SurfaceType.Smooth
- Part155.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part155.Position = Vector3.new(70.3000031, 1.04001105, -22.2259998)
- Part155.Orientation = Vector3.new(0, -180, -180)
- Part155.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- BlockMesh156.Parent = Part155
- BlockMesh156.Scale = Vector3.new(0.357142866, 0.75, 0.178571433)
- BlockMesh156.Scale = Vector3.new(0.357142866, 0.75, 0.178571433)
- Part157.Parent = Tool0
- Part157.Material = Enum.Material.Metal
- Part157.BrickColor = BrickColor.new("Really black")
- Part157.Rotation = Vector3.new(0, 0, -180)
- Part157.Anchored = true
- Part157.FormFactor = Enum.FormFactor.Custom
- Part157.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part157.CFrame = CFrame.new(70.3000031, 0.782010019, -22.2010002, -1, 0, 0, -0, -1, 0, -0, 0, 1)
- Part157.BottomSurface = Enum.SurfaceType.Smooth
- Part157.TopSurface = Enum.SurfaceType.Smooth
- Part157.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part157.Position = Vector3.new(70.3000031, 0.782010019, -22.2010002)
- Part157.Orientation = Vector3.new(0, 0, -180)
- Part157.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- SpecialMesh158.Parent = Part157
- SpecialMesh158.Scale = Vector3.new(0.928571463, 0.25, 0.785714328)
- SpecialMesh158.MeshType = Enum.MeshType.Wedge
- SpecialMesh158.Scale = Vector3.new(0.928571463, 0.25, 0.785714328)
- Part159.Parent = Tool0
- Part159.Material = Enum.Material.Metal
- Part159.BrickColor = BrickColor.new("Really black")
- Part159.Rotation = Vector3.new(179.979996, 0, 0)
- Part159.Anchored = true
- Part159.FormFactor = Enum.FormFactor.Custom
- Part159.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part159.CFrame = CFrame.new(70.2929993, 0.779009998, -21.5060005, 1, -1.50998588e-07, 4.36743264e-08, -1.50983524e-07, -1, -0.000345364213, 4.37264802e-08, 0.000345364213, -1)
- Part159.BottomSurface = Enum.SurfaceType.Smooth
- Part159.TopSurface = Enum.SurfaceType.Smooth
- Part159.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part159.Position = Vector3.new(70.2929993, 0.779009998, -21.5060005)
- Part159.Orientation = Vector3.new(0.0199999996, 180, -180)
- Part159.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- SpecialMesh160.Parent = Part159
- SpecialMesh160.Scale = Vector3.new(0.142857134, 0.285714269, 0.0357142836)
- SpecialMesh160.MeshType = Enum.MeshType.Wedge
- SpecialMesh160.Scale = Vector3.new(0.142857134, 0.285714269, 0.0357142836)
- Part161.Parent = Tool0
- Part161.Material = Enum.Material.Metal
- Part161.BrickColor = BrickColor.new("Really black")
- Part161.Rotation = Vector3.new(180, 0, 0)
- Part161.Anchored = true
- Part161.FormFactor = Enum.FormFactor.Custom
- Part161.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part161.CFrame = CFrame.new(70.3000031, 0.107010998, -22.2259998, 1, 6.21724894e-15, -1.33226763e-15, -6.21724894e-15, -1, -0, 1.33226763e-15, 0, -1)
- Part161.BottomSurface = Enum.SurfaceType.Smooth
- Part161.TopSurface = Enum.SurfaceType.Smooth
- Part161.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part161.Position = Vector3.new(70.3000031, 0.107010998, -22.2259998)
- Part161.Orientation = Vector3.new(0, -180, -180)
- Part161.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- BlockMesh162.Parent = Part161
- BlockMesh162.Scale = Vector3.new(0.928571463, 0.285714269, 0.321428597)
- BlockMesh162.Scale = Vector3.new(0.928571463, 0.285714269, 0.321428597)
- Part163.Name = "Mag3"
- Part163.Parent = Tool0
- Part163.Material = Enum.Material.Metal
- Part163.BrickColor = BrickColor.new("Really black")
- Part163.Rotation = Vector3.new(-180, 0, 90)
- Part163.Anchored = true
- Part163.FormFactor = Enum.FormFactor.Custom
- Part163.Size = Vector3.new(0.200000003, 0.200000003, 0.400000006)
- Part163.CFrame = CFrame.new(70.302002, 0.100010999, -21.9829998, 1.19248869e-08, -1, 4.37113883e-08, -1, -1.1924878e-08, 1.49011612e-08, -1.49011612e-08, -4.37113883e-08, -1)
- Part163.BottomSurface = Enum.SurfaceType.Smooth
- Part163.TopSurface = Enum.SurfaceType.Smooth
- Part163.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part163.Position = Vector3.new(70.302002, 0.100010999, -21.9829998)
- Part163.Orientation = Vector3.new(0, 180, -90)
- Part163.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- BlockMesh164.Parent = Part163
- BlockMesh164.Scale = Vector3.new(0.321428597, 0.928571463, 1)
- BlockMesh164.Scale = Vector3.new(0.321428597, 0.928571463, 1)
- Part165.Parent = Tool0
- Part165.Material = Enum.Material.Metal
- Part165.BrickColor = BrickColor.new("Really black")
- Part165.Rotation = Vector3.new(-93, 0, 90)
- Part165.Anchored = true
- Part165.FormFactor = Enum.FormFactor.Custom
- Part165.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part165.CFrame = CFrame.new(70.3960037, 0.912010014, -21.3689995, 7.94603636e-08, -1, 1.53076542e-07, -0.0523359627, 1.48708111e-07, 0.998629451, -0.998629451, -8.73628778e-08, -0.0523359627)
- Part165.BottomSurface = Enum.SurfaceType.Smooth
- Part165.TopSurface = Enum.SurfaceType.Smooth
- Part165.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part165.Position = Vector3.new(70.3960037, 0.912010014, -21.3689995)
- Part165.Orientation = Vector3.new(-87, 180, -90)
- Part165.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- CylinderMesh166.Parent = Part165
- CylinderMesh166.Scale = Vector3.new(0.392857164, 0.0357142836, 0.392857164)
- CylinderMesh166.Scale = Vector3.new(0.392857164, 0.0357142836, 0.392857164)
- Part167.Parent = Tool0
- Part167.Material = Enum.Material.Metal
- Part167.BrickColor = BrickColor.new("Really black")
- Part167.Anchored = true
- Part167.FormFactor = Enum.FormFactor.Custom
- Part167.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part167.CFrame = CFrame.new(70.3000031, 0.625010014, -21.2259998, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part167.BottomSurface = Enum.SurfaceType.Smooth
- Part167.TopSurface = Enum.SurfaceType.Smooth
- Part167.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part167.Position = Vector3.new(70.3000031, 0.625010014, -21.2259998)
- Part167.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- SpecialMesh168.Parent = Part167
- SpecialMesh168.Scale = Vector3.new(0.785714328, 0.25, 0.321428597)
- SpecialMesh168.MeshType = Enum.MeshType.Wedge
- SpecialMesh168.Scale = Vector3.new(0.785714328, 0.25, 0.321428597)
- Part169.Parent = Tool0
- Part169.Material = Enum.Material.Metal
- Part169.BrickColor = BrickColor.new("Really black")
- Part169.Rotation = Vector3.new(180, 0, 0)
- Part169.Anchored = true
- Part169.FormFactor = Enum.FormFactor.Custom
- Part169.Size = Vector3.new(0.200000003, 0.200000003, 0.592857122)
- Part169.CFrame = CFrame.new(70.3679962, 0.922010005, -20.7900009, 1, 6.21724894e-15, -1.33226763e-15, -6.21724894e-15, -1, -0, 1.33226763e-15, 0, -1)
- Part169.BottomSurface = Enum.SurfaceType.Smooth
- Part169.TopSurface = Enum.SurfaceType.Smooth
- Part169.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part169.Position = Vector3.new(70.3679962, 0.922010005, -20.7900009)
- Part169.Orientation = Vector3.new(0, -180, -180)
- Part169.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- BlockMesh170.Parent = Part169
- BlockMesh170.Scale = Vector3.new(0.178571433, 0.428571433, 1)
- BlockMesh170.Scale = Vector3.new(0.178571433, 0.428571433, 1)
- Part171.Parent = Tool0
- Part171.Material = Enum.Material.Metal
- Part171.BrickColor = BrickColor.new("Really black")
- Part171.Rotation = Vector3.new(-15, 90, 0)
- Part171.Anchored = true
- Part171.FormFactor = Enum.FormFactor.Custom
- Part171.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part171.CFrame = CFrame.new(70.3000031, 1.02501094, -22.2649994, -4.22219699e-08, -1.13133325e-08, 1, -0.258818686, 0.965925932, 0, -0.965925932, -0.258818686, -4.37113954e-08)
- Part171.BottomSurface = Enum.SurfaceType.Smooth
- Part171.TopSurface = Enum.SurfaceType.Smooth
- Part171.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part171.Position = Vector3.new(70.3000031, 1.02501094, -22.2649994)
- Part171.Orientation = Vector3.new(0, 90, -15)
- Part171.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- BlockMesh172.Parent = Part171
- BlockMesh172.Scale = Vector3.new(0.0714285672, 0.75, 0.285714269)
- BlockMesh172.Scale = Vector3.new(0.0714285672, 0.75, 0.285714269)
- Part173.Parent = Tool0
- Part173.Material = Enum.Material.Metal
- Part173.BrickColor = BrickColor.new("Really black")
- Part173.Rotation = Vector3.new(90, 0, -180)
- Part173.Anchored = true
- Part173.FormFactor = Enum.FormFactor.Custom
- Part173.Size = Vector3.new(0.200000003, 0.200000003, 0.300000012)
- Part173.CFrame = CFrame.new(70.3000031, 0.286009997, -22.2110004, -1, 0, 0, -0, 0, -1, -0, -1, 0)
- Part173.BottomSurface = Enum.SurfaceType.Smooth
- Part173.TopSurface = Enum.SurfaceType.Smooth
- Part173.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part173.Position = Vector3.new(70.3000031, 0.286009997, -22.2110004)
- Part173.Orientation = Vector3.new(90, 180, 0)
- Part173.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- SpecialMesh174.Parent = Part173
- SpecialMesh174.Scale = Vector3.new(0.928571463, 0.464285731, 1)
- SpecialMesh174.MeshType = Enum.MeshType.Wedge
- SpecialMesh174.Scale = Vector3.new(0.928571463, 0.464285731, 1)
- LocalScript175.Parent = Tool0
- table.insert(cors,sandbox(LocalScript175,function()
- wait(1)
- --Warning if You removed this,You're head wont follow to the Camera, I made it seperately cuz to prevent lag(Hope so)
- local Player = game.Players.LocalPlayer
- local Character = Player.Character
- local Humanoid = Character.Humanoid
- local Mouse = Player:GetMouse()
- local Tool = script.Parent
- local Camera = game.Workspace.CurrentCamera
- local Equipped = false
- local RA = Character:WaitForChild("Right Arm")
- local LA = Character:WaitForChild("Left Arm")
- local HumanoidRootPart = Character:WaitForChild("HumanoidRootPart")
- local Torso = Character:WaitForChild("Torso")
- local Neck = Torso["Neck"]
- local FRA
- local FLA
- local FRW
- local FLW
- function MakeArmModel()
- arms = Instance.new("Model", Camera)
- arms.Name = "Arms"
- end
- function RemoveArmModel()
- arms:Destroy()
- end
- -- Making the FakeArms
- function MakeFakeArms()
- FRA = RA:clone()
- FRA.Parent = arms
- FRA.Name = "Right Arm"
- FRA.FormFactor = "Custom"
- FRA.Size = Vector3.new(0.6,1.9,0.6)
- FRA.Transparency = 0
- FRA.Anchored = false
- FRW = Instance.new("Motor6D")
- FRW.Part0 = FRA
- FRW.Part1 = RA
- FRW.Parent = FRA
- FRW.C0 = CFrame.new(0.2,0,0.2)
- FRW.C1 = CFrame.new()
- FLA = LA:clone()
- FLA.Parent = arms
- FLA.Name = "Left Arm"
- FLA.FormFactor = "Custom"
- FLA.Size = Vector3.new(0.6,1.9,0.6)
- FLA.Transparency = 0
- FLA.Anchored = false
- FLW = Instance.new("Motor6D")
- FLW.Part0 = FLA
- FLW.Part1 = LA
- FLW.Parent = FLA
- FLW.C0 = CFrame.new(-0.2,0,0.2)
- FLW.C1 = CFrame.new()
- end
- function RemoveFakeArms()
- FRA:Destroy()
- FLA:Destroy()
- end
- -- Making Arm Model Stuff
- function MakeArmStuff()
- local Human = Instance.new("Humanoid")
- Human.MaxHealth = 0
- Human.Health = 0
- Human.Name = ""
- Human.Parent = arms
- local newShirt = Character:WaitForChild("Shirt"):clone()
- newShirt.Parent = arms
- end
- Tool.Equipped:connect(function()
- Equipped = true
- MakeArmModel()
- MakeFakeArms()
- MakeArmStuff()
- game:GetService("RunService").RenderStepped:connect(function()
- if Equipped then
- local HRPCF = HumanoidRootPart.CFrame * CFrame.new(0, 1.5, 0)* CFrame.new(Humanoid.CameraOffset)
- Neck.C0 = Torso.CFrame:toObjectSpace(HRPCF)
- Neck.C1 = CFrame.Angles(-math.asin(Camera.CoordinateFrame.lookVector.y), 0, 0)
- end
- end)
- end)
- Tool.Unequipped:connect(function()
- Equipped = false
- RemoveArmModel()
- RemoveFakeArms()
- 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))
- Model176.Name = "Shells"
- Model176.Parent = Tool0
- Part177.Name = "Shell"
- Part177.Parent = Model176
- Part177.BrickColor = BrickColor.new("Cool yellow")
- Part177.Transparency = 1
- Part177.Rotation = Vector3.new(-90, 0, -90)
- Part177.Anchored = true
- Part177.Size = Vector3.new(0.0520000011, 0.0520000011, 0.236000001)
- Part177.CFrame = CFrame.new(70.2320023, 100.921997, -20.7900009, 0, 1, 0, 0, 0, 1, 1, 0, 0)
- Part177.BottomSurface = Enum.SurfaceType.Smooth
- Part177.TopSurface = Enum.SurfaceType.Smooth
- Part177.Color = Color3.new(0.992157, 0.917647, 0.552941)
- Part177.Position = Vector3.new(70.2320023, 100.921997, -20.7900009)
- Part177.Orientation = Vector3.new(-90, -90, 0)
- Part177.Color = Color3.new(0.992157, 0.917647, 0.552941)
- SpecialMesh178.Parent = Part177
- SpecialMesh178.MeshId = "http://www.roblox.com/Asset/?id=10207677"
- SpecialMesh178.Scale = Vector3.new(0.0199999996, 0.0199999996, 0.0199999996)
- SpecialMesh178.MeshType = Enum.MeshType.FileMesh
- SpecialMesh178.Scale = Vector3.new(0.0199999996, 0.0199999996, 0.0199999996)
- Part179.Name = "A5"
- Part179.Parent = Tool0
- Part179.Material = Enum.Material.Metal
- Part179.BrickColor = BrickColor.new("Really black")
- Part179.Rotation = Vector3.new(-180, 0, 42)
- Part179.Anchored = true
- Part179.FormFactor = Enum.FormFactor.Custom
- Part179.Size = Vector3.new(0.200000003, 0.200000003, 0.742857158)
- Part179.CFrame = CFrame.new(70.2399979, 1.13900995, -21.8789997, 0.743144691, -0.669130743, 1.12274972e-08, -0.669130683, -0.743144751, 1.49011612e-08, -2.98023224e-08, -2.98023224e-08, -1)
- Part179.BottomSurface = Enum.SurfaceType.Smooth
- Part179.TopSurface = Enum.SurfaceType.Smooth
- Part179.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part179.Position = Vector3.new(70.2399979, 1.13900995, -21.8789997)
- Part179.Orientation = Vector3.new(0, 180, -138)
- Part179.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- BlockMesh180.Parent = Part179
- BlockMesh180.Scale = Vector3.new(0.178571433, 0.289285719, 1)
- BlockMesh180.Scale = Vector3.new(0.178571433, 0.289285719, 1)
- Part181.Name = "AimPart"
- Part181.Parent = Tool0
- Part181.Material = Enum.Material.Metal
- Part181.BrickColor = BrickColor.new("Really black")
- Part181.Reflectance = 0.30000001192093
- Part181.Transparency = 1
- Part181.Rotation = Vector3.new(176, 0, 178)
- Part181.CanCollide = false
- Part181.FormFactor = Enum.FormFactor.Custom
- Part181.Size = Vector3.new(0.219398826, 0.219398826, 0.219398826)
- Part181.CFrame = CFrame.new(70.2939987, 1.32099998, -22.7689991, -0.999390841, -0.0348994881, 8.72098198e-08, -0.0348144844, 0.996956408, -0.0697564706, 0.00243437826, -0.06971398, -0.997564077)
- Part181.BottomSurface = Enum.SurfaceType.Smooth
- Part181.TopSurface = Enum.SurfaceType.Smooth
- Part181.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part181.Position = Vector3.new(70.2939987, 1.32099998, -22.7689991)
- Part181.Orientation = Vector3.new(4, 180, -2)
- Part181.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- BlockMesh182.Parent = Part181
- BlockMesh182.Scale = Vector3.new(0.902499974, 0.902499974, 0.902499974)
- BlockMesh182.Scale = Vector3.new(0.902499974, 0.902499974, 0.902499974)
- Part183.Name = "Chamber"
- Part183.Parent = Tool0
- Part183.Material = Enum.Material.Metal
- Part183.BrickColor = BrickColor.new("Really red")
- Part183.Reflectance = 0.30000001192093
- Part183.Transparency = 1
- Part183.Rotation = Vector3.new(91.2799988, 72.6800003, -89.1199951)
- Part183.CanCollide = false
- Part183.FormFactor = Enum.FormFactor.Custom
- Part183.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part183.CFrame = CFrame.new(70.1959991, 100.083, -21.3799992, 0.00457400177, 0.297712058, 0.954644859, 0.0370680131, 0.953948259, -0.297672421, -0.999302328, 0.0367483385, -0.00667223288)
- Part183.BottomSurface = Enum.SurfaceType.Smooth
- Part183.TopSurface = Enum.SurfaceType.Smooth
- Part183.Color = Color3.new(1, 0, 0)
- Part183.Position = Vector3.new(70.1959991, 100.083, -21.3799992)
- Part183.Orientation = Vector3.new(17.3199997, 90.4000015, 2.23000002)
- Part183.Color = Color3.new(1, 0, 0)
- Part184.Name = "Mag"
- Part184.Parent = Tool0
- Part184.Material = Enum.Material.Metal
- Part184.Rotation = Vector3.new(-168, 0, 90)
- Part184.Anchored = true
- Part184.FormFactor = Enum.FormFactor.Custom
- Part184.Size = Vector3.new(0.800000012, 0.200000003, 0.285714298)
- Part184.CFrame = CFrame.new(70.3000031, 0.518010974, -21.9230003, 8.62358434e-08, -1, 5.84531143e-08, -0.978147507, -7.21982758e-08, 0.207912147, -0.207912147, -7.51052482e-08, -0.978147507)
- Part184.BottomSurface = Enum.SurfaceType.Smooth
- Part184.TopSurface = Enum.SurfaceType.Smooth
- Part184.Position = Vector3.new(70.3000031, 0.518010974, -21.9230003)
- Part184.Orientation = Vector3.new(-12, 180, -90)
- BlockMesh185.Parent = Part184
- BlockMesh185.Scale = Vector3.new(1, 0.857142866, 1)
- BlockMesh185.Scale = Vector3.new(1, 0.857142866, 1)
- Part186.Name = "eee"
- Part186.Parent = Tool0
- Part186.Material = Enum.Material.Metal
- Part186.BrickColor = BrickColor.new("Really black")
- Part186.Transparency = 1
- Part186.Rotation = Vector3.new(179.979996, 0, -180)
- Part186.Anchored = true
- Part186.FormFactor = Enum.FormFactor.Custom
- Part186.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part186.CFrame = CFrame.new(69.8929977, 0.75999999, -21.5240002, -1, 3.18015907e-08, 4.3674337e-08, 3.17865201e-08, 0.99999994, -0.000345334411, -4.36853149e-08, -0.000345334411, -0.99999994)
- Part186.BottomSurface = Enum.SurfaceType.Smooth
- Part186.TopSurface = Enum.SurfaceType.Smooth
- Part186.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part186.Position = Vector3.new(69.8929977, 0.75999999, -21.5240002)
- Part186.Orientation = Vector3.new(0.0199999996, 180, 0)
- Part186.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- BlockMesh187.Parent = Part186
- BlockMesh187.Scale = Vector3.new(0.142857134, 0.485714287, 0.142857134)
- BlockMesh187.Scale = Vector3.new(0.142857134, 0.485714287, 0.142857134)
- Sound188.Name = "Click"
- Sound188.Parent = Part186
- Sound188.SoundId = "rbxassetid://132464034"
- Sound189.Name = "FireSound"
- Sound189.Parent = Part186
- Sound189.Pitch = 0.94999998807907
- Sound189.SoundId = "rbxassetid://153230626"
- Sound189.Volume = 1
- Sound190.Name = "M203"
- Sound190.Parent = Part186
- Sound190.SoundId = "http://roblox.com/asset/?id=135039581"
- Sound190.Volume = 1
- Sound191.Name = "MagIn"
- Sound191.Parent = Part186
- Sound191.SoundId = "rbxassetid://269079412"
- Sound191.Volume = 1
- Sound192.Name = "MagOut"
- Sound192.Parent = Part186
- Sound192.Pitch = 0.89999997615814
- Sound192.SoundId = "rbxassetid://268870109"
- Sound192.Volume = 1
- Sound193.Name = "ReloadSound"
- Sound193.Parent = Part186
- Sound193.SoundId = "rbxassetid://147323220"
- Sound193.Volume = 0.80000001192093
- Sound194.Name = "Running"
- Sound194.Parent = Part186
- Sound194.Pitch = 0.97500002384186
- Sound194.SoundId = "http://www.roblox.com/asset/?id=246376673"
- Sound194.Volume = 1
- Sound194.Looped = true
- Sound195.Name = "SafetyClick"
- Sound195.Parent = Part186
- Sound195.Pitch = 1.5
- Sound195.SoundId = "rbxassetid://132464034"
- Sound195.Volume = 0.30000001192093
- Sound196.Name = "WindowBreak"
- Sound196.Parent = Part186
- Sound196.Pitch = 0.97500002384186
- Sound196.SoundId = "http://www.roblox.com/asset/?id=142082167"
- Sound196.Volume = 1
- Weld197.Name = "Slide"
- Weld197.Parent = Part186
- Weld197.C0 = CFrame.new(0, 0, 0, -1, 2.01977812e-08, 1.26371216e-08, 1.76965127e-08, 0.984807849, -0.173648238, -1.59524411e-08, -0.173648223, -0.984807849)
- Weld197.C1 = CFrame.new(-0.102050781, -0.454270244, -0.0144729614, 1, 6.58968489e-08, -2.78179293e-08, -6.58968489e-08, 1, 1.49014543e-08, 2.78179293e-08, -1.49014525e-08, 1)
- Weld197.Part0 = Part106
- Part198.Name = "Handle"
- Part198.Parent = Tool0
- Part198.Material = Enum.Material.Metal
- Part198.BrickColor = BrickColor.new("Dark stone grey")
- Part198.Transparency = 1
- Part198.Rotation = Vector3.new(175.709991, 25.1800003, -178.039993)
- Part198.FormFactor = Enum.FormFactor.Custom
- Part198.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part198.CFrame = CFrame.new(69.7929993, 0.75999999, -21.3139992, -0.904461801, 0.0309061985, 0.425433576, 0.0022637255, 0.9977054, -0.0676670298, -0.42654869, -0.0602391809, -0.902456343)
- Part198.BottomSurface = Enum.SurfaceType.Smooth
- Part198.TopSurface = Enum.SurfaceType.Smooth
- Part198.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part198.Position = Vector3.new(69.7929993, 0.75999999, -21.3139992)
- Part198.Orientation = Vector3.new(3.87999988, 154.759995, 0.129999995)
- Part198.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Weld199.Name = "Slide"
- Weld199.Parent = Part198
- Weld199.C0 = CFrame.new(0, 0, 0, -1, 2.01977812e-08, 1.26371216e-08, 1.76965127e-08, 0.984807849, -0.173648238, -1.59524411e-08, -0.173648223, -0.984807849)
- Weld199.C1 = CFrame.new(-0.102050781, -0.454270244, -0.0144729614, 1, 6.58968489e-08, -2.78179293e-08, -6.58968489e-08, 1, 1.49014543e-08, 2.78179293e-08, -1.49014525e-08, 1)
- Weld199.Part0 = Part198
- Sound200.Name = "Click"
- Sound200.Parent = Part198
- Sound200.SoundId = "rbxassetid://132464034"
- Sound201.Name = "FireSound"
- Sound201.Parent = Part198
- Sound201.Pitch = 0.94999998807907
- Sound201.SoundId = "rbxassetid://153230626"
- Sound201.Volume = 1
- Sound202.Name = "M203"
- Sound202.Parent = Part198
- Sound202.SoundId = "http://roblox.com/asset/?id=135039581"
- Sound202.Volume = 1
- Sound203.Name = "MagIn"
- Sound203.Parent = Part198
- Sound203.SoundId = "rbxassetid://269079412"
- Sound203.Volume = 1
- Sound204.Name = "MagOut"
- Sound204.Parent = Part198
- Sound204.Pitch = 0.89999997615814
- Sound204.SoundId = "rbxassetid://268870109"
- Sound204.Volume = 1
- Sound205.Name = "ReloadSound"
- Sound205.Parent = Part198
- Sound205.SoundId = "rbxassetid://147323220"
- Sound205.Volume = 0.80000001192093
- Sound206.Name = "Running"
- Sound206.Parent = Part198
- Sound206.Pitch = 0.97500002384186
- Sound206.SoundId = "http://www.roblox.com/asset/?id=246376673"
- Sound206.Volume = 1
- Sound206.Looped = true
- Sound207.Name = "SafetyClick"
- Sound207.Parent = Part198
- Sound207.Pitch = 1.5
- Sound207.SoundId = "rbxassetid://132464034"
- Sound207.Volume = 0.30000001192093
- Sound208.Name = "WindowBreak"
- Sound208.Parent = Part198
- Sound208.Pitch = 0.97500002384186
- Sound208.SoundId = "http://www.roblox.com/asset/?id=142082167"
- Sound208.Volume = 1
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = game:GetService("Players").LocalPlayer.Backpack
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement