Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --A Golden MP5 ^-^
- --Has a 30 round magazine and does lots of damage
- --Don't leak this. If you do i will fucking shoot you till your dead :\
- local runDummyScript = function(f,scri)
- local oldenv = getfenv(f)
- local newenv = setmetatable({}, {
- __index = function(_, k)
- if k:lower() == 'script' then
- return scri
- else
- return oldenv[k]
- end
- end
- })
- setfenv(f, newenv)
- ypcall(function() f() end)
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- mas.Name = "CompiledModel"
- o1 = Instance.new("Tool")
- o2 = Instance.new("Part")
- o3 = Instance.new("SpecialMesh")
- o4 = Instance.new("PointLight")
- o5 = Instance.new("Sound")
- o6 = Instance.new("Sound")
- o7 = Instance.new("Sound")
- o8 = Instance.new("Sound")
- o9 = Instance.new("Weld")
- o10 = Instance.new("Weld")
- o12 = Instance.new("LocalScript")
- o13 = Instance.new("NumberValue")
- o14 = Instance.new("NumberValue")
- o15 = Instance.new("Smoke")
- o16 = Instance.new("Smoke")
- o17 = Instance.new("Smoke")
- o18 = Instance.new("NumberValue")
- o19 = Instance.new("ScreenGui")
- o20 = Instance.new("Frame")
- o21 = Instance.new("TextLabel")
- o22 = Instance.new("TextLabel")
- o23 = Instance.new("Frame")
- o24 = Instance.new("TextLabel")
- o25 = Instance.new("Frame")
- o26 = Instance.new("Frame")
- o27 = Instance.new("Part")
- o28 = Instance.new("BlockMesh")
- o29 = Instance.new("Part")
- o30 = Instance.new("BlockMesh")
- o1.Name = "Golden MP5"
- o1.Parent = game.Players.LocalPlayer.Backpack
- o1.TextureId = "http://www.roblox.com/asset/?id=122080062"
- o1.GripForward = Vector3.new(-0, -0, 1)
- o1.GripPos = Vector3.new(-0.1, 0.25, -1)
- o1.GripRight = Vector3.new(1, 0, 0)
- o1.GripUp = Vector3.new(0, -1, 0)
- o1.ToolTip = "MP5"
- o1.CanBeDropped = false
- o2.Name = "Handle"
- o2.Parent = o1
- o2.BrickColor = BrickColor.new("Gold")
- o2.Position = Vector3.new(10.3698215, -8.49250793, 9.99193001)
- o2.Rotation = Vector3.new(-179.710007, 4.6500001, -0.0199999996)
- o2.CanCollide = false
- o2.FormFactor = Enum.FormFactor.Custom
- o2.Size = Vector3.new(0.200000003, 1, 3)
- o2.CFrame = CFrame.new(10.3698215, -8.49250793, 9.99193001, 0.996700466, 0.000403226441, 0.081140928, -1.96705855e-06, -0.999987543, 0.00499360403, 0.0811419338, -0.00497728772, -0.996688247)
- o2.BottomSurface = Enum.SurfaceType.Smooth
- o2.TopSurface = Enum.SurfaceType.Smooth
- o2.Position = Vector3.new(10.3698215, -8.49250793, 9.99193001)
- o3.Parent = o2
- o3.MeshId = "http://www.roblox.com/asset/?id=2760846"
- o3.Scale = Vector3.new(-0.949999988, -0.850000024, -0.850000024)
- o3.MeshType = Enum.MeshType.FileMesh
- o4.Name = "Flash"
- o4.Parent = o2
- o4.Color = Color3.new(1, 1, 0)
- o4.Enabled = false
- o4.Brightness = 1.5
- o5.Name = "Bolt"
- o5.Parent = o2
- o5.SoundId = "http://roblox.com/asset/?id=166238161"
- o5.Volume = 0.20000000298023
- o6.Name = "MagIn"
- o6.Parent = o2
- o6.SoundId = "http://roblox.com/asset/?id=166238223"
- o6.Volume = 0.20000000298023
- o7.Name = "MagOut"
- o7.Parent = o2
- o7.SoundId = "http://roblox.com/asset/?id=166238177"
- o7.Volume = 0.20000000298023
- o8.Name = "Shoot"
- o8.Parent = o2
- o8.SoundId = "http://www.roblox.com/asset/?id=180955656"
- o8.Volume = 1
- o9.Parent = o2
- o9.C0 = CFrame.new(-0.00968074799, -0.660612106, -1.09442449, 1, 3.01910623e-05, -3.21764019e-05, 3.01900891e-05, -1, -3.0264544e-05, -3.2177315e-05, 3.02635726e-05, -1)
- o9.Part0 = o2
- o9.Part1 = o27
- o10.Parent = o2
- o10.C0 = CFrame.new(0.000315666199, -0.38229084, 1.55278492, 1, 3.01910623e-05, -3.21764019e-05, 3.01900891e-05, -1, -3.0264544e-05, -3.2177315e-05, 3.02635726e-05, -1)
- o10.Part0 = o2
- o10.Part1 = o29
- o12.Name = "Gun_Script"
- o12.Parent = o1
- print("Giving "..game.Players.LocalPlayer.Name.. " a " ..o1.Name.. " Don't leak this. If you do i will fucking shoot you till your dead! ")
- table.insert(cors,coroutine.create(function()
- wait()
- runDummyScript(function()
- sp = o1
- Mesh = false -- If true will load BC 2.0 Arm meshes as well.
- Shirt = true -- If true will load the user's shirt to the arms as well
- function onEquipped(mouse)
- local Player = game:GetService("Players").LocalPlayer
- local Cam = game.Workspace.CurrentCamera
- local Arms = Instance.new("Model")
- Arms.Name = "Arms"
- Arms.Parent = Cam
- if Shirt == true then
- local Humanoid = Instance.new("Humanoid")
- Humanoid.MaxHealth = 0
- Humanoid.Health = 0
- Humanoid.Name = ""
- Humanoid.Parent = Arms
- local newShirt = Player.Character:FindFirstChild("Shirt"):clone()
- newShirt.Parent = Arms
- else end
- local RightArm = Player.Character:FindFirstChild("Right Arm"):clone()
- RightArm.Name = "Right Arm"
- RightArm.Transparency = 0
- local w = Instance.new("Weld")
- w.Part0 = RightArm
- w.Part1 = Player.Character:FindFirstChild("Right Arm")
- w.C0 = CFrame.new()
- w.C1 = CFrame.new()
- w.Parent = RightArm
- RightArm.Parent = Arms
- local LeftArm = Player.Character:FindFirstChild("Left Arm"):clone()
- LeftArm.Name = "Left Arm"
- LeftArm.Transparency = 0
- local w = Instance.new("Weld")
- w.Part0 = LeftArm
- w.Part1 = Player.Character:FindFirstChild("Left Arm")
- w.C0 = CFrame.new()
- w.C1 = CFrame.new()
- w.Parent = LeftArm
- LeftArm.Parent = Arms
- if Mesh ~= false then
- local LeftArmMesh = script:FindFirstChild("LeftArm")
- LeftArmMesh.Parent = LeftArm
- local RightArmMesh = script:FindFirstChild("RightArm")
- RightArmMesh.Parent = RightArm
- else end
- end
- function onUnequipped(mouse)
- local Player = game:GetService("Players").LocalPlayer
- local Cam = game.Workspace.CurrentCamera
- for _, Model in pairs(Cam:GetChildren()) do
- if Model.Name == "Arms" then
- Model:remove()
- else end
- end
- end
- sp.Equipped:connect(onEquipped)
- sp.Unequipped:connect(onUnequipped)
- wait(0.5)
- --Made by YouTubes--
- --Edit settings below--
- local Tool = o1
- local Settings = {
- Range = math.huge
- ,Spread = 0
- ,Damage = math.huge
- ,HeadShotDamage = math.huge
- ,Bullets = 10
- ,FireRate = 0.01
- ,Automatic = true
- ,AntiTK = false
- ,ImpactDuration = 0.1
- --Reload
- ,ReloadKey = "R"
- ,ReloadTime = 1.83
- ,Ammo = math.huge
- ,IncludeChamberedBullet = false
- --Gui
- ,GuiPos = Vector2.new(script.Gui.Frame.Position.X.Scale, script.Gui.Frame.Position.Y.Scale)
- --Arms
- ,OneHanded = false
- ,FakeArms = false
- ,FakeArmTransparency = 1
- -- (+Left to -Right, +Fward to -Bward, +Up to -Down) (+Up to -Down, +Left to -Right, +Counter to -Clock)
- ,RightPos = CFrame.new(-0.75, -0.25, 0.45) * CFrame.Angles(math.rad(-90), 0, 0)
- ,LeftPos = CFrame.new(1.2, 0.21, 0.55)* CFrame.Angles(math.rad(-90), math.rad(55), math.rad(5), 0)
- ,AimPart = Tool.AimPart
- ,AimPartOffset = CFrame.new()
- ,AimGripOffset = Vector3.new(0, 0, 0)
- ,LeftAimPos = CFrame.new(1.05, 0.98, 0.48) * CFrame.Angles(math.rad(-95), math.rad(24), math.rad(0), 00)
- ,AimAnim = {
- Enabled = false
- ,Frames = 50
- ,Time = 0.1
- }
- ,ChangeFOV = {true, 55}
- ,SpreadReduction = 7.5
- --Weld
- ,Weld = true
- --Mouse
- ,Icons = {
- Idle = "rbxassetid://70288585"
- ,Fire1 = "rbxassetid://70288578"
- ,Fire2 = "rbxassetid://70288572"
- ,Fire3 = "rbxassetid://70288578"
- ,Reload = "rbxassetid://70288599"
- ,Aim = "rbxasset://textures/Blank.png"
- }
- ,FireMouseAnimTime = 0.15
- --Recoil
- ,Recoil = math.rad(0.5)
- --Smoke
- ,Smoke = true
- ,SmokePart = Tool.SmokePart
- ,Smokes = {{script.Smoke, 6, 0.01}, {script.Smoke1, 0.01}, {script.Smoke2, 0.01}}
- --Sprint
- ,Sprint = true
- ,SprintSpeed = 20
- ,SprintKey = "0"
- ,SprintSpreadIncrease = 40
- ,SprintArmOffset = CFrame.new(0.25, 0.125, 0.25) * CFrame.Angles(math.rad(-30), math.rad(35), 0)
- --Other
- ,DropHats = false
- }
- --Do not edit below this lign--
- local Orig_Spread = Settings.Spread
- local Orig_Grip = Tool.GripPos
- local Player = game.Players.LocalPlayer
- local Character = Player.Character
- local Camera = Workspace.CurrentCamera
- local Ammo, StoredAmmo = script.Ammo, script.StoredAmmo
- local Gui, CanUpdateGui = nil, true
- local Sprinting, Equipped
- function Update_Gui()
- if Gui and CanUpdateGui then
- Gui.Frame.AmmoDisplay.Text = Ammo.Value .. "|" .. StoredAmmo.Value
- end
- end
- local Welded
- if Settings.Weld then
- Delay(0, function()
- local weldC0s = {}
- for i, v in pairs(Tool:GetChildren()) do
- if v:IsA("BasePart") and v ~= Tool.Handle then
- table.insert(weldC0s, {v, Tool.Handle.CFrame:toObjectSpace(v.CFrame)})
- v.Anchored = false
- end
- end
- Tool.Handle.Anchored = false
- local welds = {}
- Tool.Equipped:connect(function()
- for i, v in ipairs(welds) do
- v.Part1 = nil
- v:Destroy()
- end
- for i, v in ipairs(weldC0s) do
- if v[1] and v[2] then
- local w = Instance.new("Weld", Tool.Handle)
- w.Part0 = Tool.Handle
- w.Part1 = v[1]
- w.C0 = v[2]
- table.insert(welds, w)
- end
- end
- end)
- wait()
- Welded = true
- end)
- end
- local Left_Weld, Right_Weld
- Ammo.Changed:connect(Update_Gui)
- StoredAmmo.Changed:connect(Update_Gui)
- Settings.Range = math.min(Settings.Range, 999)
- local Ignore_Model = Workspace:FindFirstChild("Ray_Ignore") or Instance.new("Model", Workspace)
- Ignore_Model.Name = "Ray_Ignore"
- local Ray_Ignore = {Character, Ignore_Model, Camera}
- Character.Humanoid.Died:connect(function()
- Tool.Parent = Player.Backpack
- end)
- function Fire(Mouse)
- local Spread = CFrame.Angles(math.rad(math.random(-Settings.Spread, Settings.Spread)/10), math.rad(math.random(-Settings.Spread, Settings.Spread)/10), math.rad(math.random(-Settings.Spread, Settings.Spread)/10))
- local Ray = Ray.new(Character.Head.Position, (CFrame.new(Character.Head.Position, Mouse.Hit.p) * Spread).lookVector.unit * Settings.Range)
- local Hit, Pos = Workspace:FindPartOnRayWithIgnoreList(Ray, Ray_Ignore)
- if Hit and Hit.Parent:FindFirstChild("Humanoid") then
- local Hit_Player = game.Players:GetPlayerFromCharacter(Hit.Parent)
- if Settings.AntiTK and not Hit_Player.Neutral and Hit_Player.TeamColor == Player.TeamColor then
- return
- end
- local Humanoid = Hit.Parent.Humanoid
- local c = Instance.new("ObjectValue")
- c.Name = "creator"
- c.Value = Player
- game.Debris:AddItem(c, 3)
- c.Parent = Humanoid
- if Hit.Name == "Head" then
- Humanoid.Health = 0 -- Kill Those God Mode Skids
- else
- Humanoid.Health = 0
- end
- elseif Hit then
- local Hit_Part = Instance.new("Part", Ignore_Model)
- Hit_Part.FormFactor = "Custom"
- Hit_Part.TopSurface = 0
- Hit_Part.BottomSurface = 0
- Hit_Part.Anchored = true
- Hit_Part.CanCollide = false
- Hit_Part.Size = Vector3.new()
- Hit_Part.CFrame = CFrame.new(Pos) * CFrame.Angles(math.random(0, 360), math.random(0, 360), math.random(0, 360))
- Hit_Part.BrickColor = BrickColor.new("Really black")
- Hit_Part.Material = "Metal"
- Instance.new("BlockMesh", Hit_Part).Scale = Vector3.new(0.5, 0.5, 0.5)
- local brickcolor = BrickColor.new(Hit.BrickColor.Name)
- Instance.new("Smoke", Hit_Part).Opacity = .2
- local Meta = Instance.new("Sound")
- Meta.Name = "Crack"
- Meta.SoundId = "rbxassetid://1"
- Meta.Volume = math.random(0.9,1)
- Meta.Pitch = math.random(1,1.2)
- Meta.Parent = Hit_Part
- Meta:play()
- local Cur = Instance.new("SpecialMesh",Hit_Part)
- Cur.MeshType = "Sphere"
- Cur.Scale = Vector3.new(0.5,0.5,0.5)
- game.Debris:AddItem(Hit_Part, Settings.ImpactDuration)
- if not Hit.Anchored then
- local w = Instance.new("Weld", Hit_Part)
- w.Part0 = Hit
- w.Part1 = Hit_Part
- w.C0 = Hit.CFrame:toObjectSpace(Hit_Part.CFrame)
- Hit_Part.Anchored = false
- end
- if Hit.Parent:IsA("Hat") and Settings.DropHats then
- Hit.Parent.Parent = workspace
- game.Debris:AddItem(Hit, 3)
- end
- end
- end
- local Can_Shoot = true
- local Reloading = false
- local First_Person = false
- local Mouse_Held
- Tool.Equipped:connect(function(Mouse)
- Equipped = true
- if Settings.Weld and not Welded then
- wait()
- Tool.Parent = Player.Backpack
- end
- Character = Player.Character
- if Gui then
- return
- end
- Ray_Ignore = {Character, Ignore_Model, Camera}
- Mouse.Icon = Settings.Icons.Idle
- Gui = script.Gui:Clone()
- Gui.Parent = Player.PlayerGui
- Gui.Frame.Position = UDim2.new(Settings.GuiPos.X, Gui.Frame.Position.X.Offset, 1.1, Gui.Frame.Position.Y.Offset)
- Gui.Frame:TweenPosition(UDim2.new(Settings.GuiPos.X, Gui.Frame.Position.X.Offset, Settings.GuiPos.Y, Gui.Frame.Position.Y.Offset), "Out", "Bounce", 1)
- CanUpdateGui = true
- Update_Gui()
- Mouse.Button1Down:connect(function()
- if Can_Shoot and Ammo.Value > 0 and Character.Humanoid.Health > 0 then
- Mouse_Held = true
- while true do
- Can_Shoot = false
- Delay(0, function()
- local t = math.min(Settings.FireMouseAnimTime/3, Settings.FireRate/3)
- if not Aiming then
- Mouse.Icon = Settings.Icons.Fire1
- end
- wait(t)
- if not Aiming then
- if Reloading then return end
- Mouse.Icon = Settings.Icons.Fire2
- end
- wait(t)
- if not Aiming then
- if Reloading then return end
- Mouse.Icon = Settings.Icons.Fire3
- end
- wait(t)
- if not Aiming then
- if Reloading then return end
- Mouse.Icon = Settings.Icons.Idle
- end
- end)
- for _ = 1, Settings.Bullets do
- Delay(0, function()
- Fire(Mouse, RANGE, SPEED, DROP)
- end)
- end
- local bg = Instance.new("BillboardGui", Settings.SmokePart)
- bg.Adornee = Settings.SmokePart
- local flashsize = math.random(5, 15)/10
- bg.Size = UDim2.new(flashsize, 0, flashsize, 0)
- local flashs = Instance.new("ImageLabel", bg)
- flashs.BackgroundTransparency = 1
- flashs.Size = UDim2.new(math.random (0.2, 0.6), 0, math.random (0.2, 0.6), 0)
- flashs.Image = "rbxassetid://210355445"
- flashs.Rotation = math.random(0, 360)
- local g = Instance.new("PointLight", Settings.SmokePart)
- g.Color = Color3.new(255, 250, 167)
- g.Brightness = 5
- g.Range = 5
- g.Shadows = true
- local flash = Instance.new("ImageLabel", bg)
- flash.BackgroundTransparency = 1
- flash.Size = UDim2.new(math.random (0.7, 1), 0, math.random (0.7, 1), 0)
- flash.Image = "rbxassetid://180072687"
- flash.Rotation = math.random(0, 360)
- game.Debris:AddItem(bg, 0.025)
- local flash1 = Instance.new("ImageLabel", bg)
- flash1.BackgroundTransparency = 1
- flash1.Size = UDim2.new(math.random (0.5, 1), 0, math.random (0.5, 1), 0)
- flash1.Image = "rbxassetid://210355513"
- flash1.Rotation = math.random(0, 360)
- game.Debris:AddItem(bg, 0.025)
- delay(0, function()
- local r = math.abs(Settings.Recoil)
- local ran = math.random(-1, 1)
- Camera.CoordinateFrame = CFrame.new(Camera.Focus.p) * (Camera.CoordinateFrame - Camera.CoordinateFrame.p) * CFrame.Angles(r, r*ran, 0) * CFrame.new(0, 0, (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude)
- local c = -r/20
- local cx = -(r*ran)/20
- for i = 1, math.random(15, 25) do
- if EquipId == curId then
- Camera.CoordinateFrame = CFrame.new(Camera.Focus.p) * (Camera.CoordinateFrame - Camera.CoordinateFrame.p) * CFrame.Angles(c, cx, 0) * CFrame.new(0, 0, (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude)
- g:remove()
- wait()
- else
- break
- end
- end
- end)
- if Tool.Handle:FindFirstChild("Shoot") then
- Tool.Handle.Shoot:Play()
- end
- Ammo.Value = Ammo.Value - 1
- --[[Tool.A1.Transparency = 1
- Tool.A2.Transparency = 1
- Tool.B1.Transparency = 0
- Tool.B2.Transparency = 0]]
- wait(Settings.FireRate)
- --[[Tool.A1.Transparency = 0
- Tool.A2.Transparency = 0
- Tool.B1.Transparency = 1
- Tool.B2.Transparency = 1]]
- if not Settings.Automatic or Ammo.Value <= 0 or Character.Humanoid.Health <= 0 or not Mouse_Held then
- break
- end
- end
- Can_Shoot = true
- elseif Can_Shoot and Character.Humanoid.Health > 0 and Tool.Handle:FindFirstChild("Click") then
- Tool.Handle.Click:Play()
- end
- end)
- Mouse.Button1Up:connect(function()
- Mouse_Held = false
- end)
- Mouse.KeyDown:connect(function(Key)
- if Key:upper() == Settings.ReloadKey:upper() and Can_Shoot and StoredAmmo.Value > 0 and not Aiming then
- if Settings.IncludeChamberedBullet and Ammo.Value == Settings.Ammo + 1 or not Settings.IncludeChamberedBullet and Ammo.Value == Settings.Ammo then
- return
- end
- Can_Shoot = false
- Reloading = true
- local TextLabel = Gui.Frame.AmmoDisplay
- Delay(0, function()
- CanUpdateGui = false
- TextLabel.Text = "0"
- wait(Settings.ReloadTime/3)
- if TextLabel then
- TextLabel.Text = "000"
- end
- wait(Settings.ReloadTime/3)
- if TextLabel then
- TextLabel.Text = "000"
- end
- end)
- Mouse.Icon = Settings.Icons.Reload
- -- (+Left to -Right, +Fward to -Bward, +Up to -Down) (+Up to -Down, +Left to -Right, +Counter to -Clock)
- Right_Weld.C1 = CFrame.new(-0.75, -0.2, 0.5) * CFrame.Angles(math.rad(-90), 0, 0.1)
- Left_Weld.C1 = CFrame.new(1.2, 0.6, 0.45) * CFrame.Angles(math.rad(-90), math.rad(45), math.rad(0), 0)
- wait(.02)
- Right_Weld.C1 = CFrame.new(-0.75, -0.15, 0.55) * CFrame.Angles(math.rad(-90), 0, 0.15)
- Left_Weld.C1 = CFrame.new(1.2, 0.5, 0.45) * CFrame.Angles(math.rad(-90), math.rad(50), math.rad(0), 0)
- wait(.02)
- Right_Weld.C1 = CFrame.new(-0.75, -0.1, 0.6) * CFrame.Angles(math.rad(-90), 0, 0.2)
- Left_Weld.C1 = CFrame.new(1.2, 0.4, 0.45) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(0), 0)
- wait(0.02)
- Left_Weld.C1 = CFrame.new(1.2, 0.4, 0.40) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(0), 0)
- Tool.Handle.MagOut:play()
- --Tool.Magazine.Transparency = 1
- wait(0.03)
- Left_Weld.C1 = CFrame.new(1.2, 0.35, 0.35) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(5), 0)
- wait(0.03)
- Left_Weld.C1 = CFrame.new(1.2, 0.3, 0.30) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(10), 0)
- wait(0.03)
- Left_Weld.C1 = CFrame.new(1.2, 0.3, 0.25) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(15), 0)
- wait(0.03)
- Left_Weld.C1 = CFrame.new(1.2, 0.3, 0.20) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(20), 0)
- wait(0.03)
- Left_Weld.C1 = CFrame.new(1.2, 0.3, 0.15) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(25), 0)
- wait(0.03)
- Left_Weld.C1 = CFrame.new(1.2, 0.3, 0.10) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(30), 0)
- wait(0.03)
- Left_Weld.C1 = CFrame.new(1.2, 0.25, 0.05) * CFrame.Angles(math.rad(-90), math.rad(60), math.rad(35), 0)
- wait(0.03)
- Left_Weld.C1 = CFrame.new(1.2, 0.2, 0) * CFrame.Angles(math.rad(-90), math.rad(65), math.rad(40), 0)
- wait(0.03)
- Left_Weld.C1 = CFrame.new(1.2, 0.15, 0) * CFrame.Angles(math.rad(-90), math.rad(70), math.rad(45), 0)
- wait(0.03)
- Left_Weld.C1 = CFrame.new(1.2, 0.1, 0) * CFrame.Angles(math.rad(-90), math.rad(75), math.rad(50), 0)
- wait(0.5)
- Left_Weld.C1 = CFrame.new(1.2, 0.1, 0.0) * CFrame.Angles(math.rad(-90), math.rad(75), math.rad(40), 0)
- Tool.Handle.MagIn:play()
- --Tool.Magazine.Transparency = 0
- wait(0.03)
- Left_Weld.C1 = CFrame.new(1.2, 0.15, 0.05) * CFrame.Angles(math.rad(-90), math.rad(70), math.rad(35), 0)
- wait(0.03)
- Left_Weld.C1 = CFrame.new(1.2, 0.2, 0.10) * CFrame.Angles(math.rad(-90), math.rad(65), math.rad(30), 0)
- wait(0.03)
- Left_Weld.C1 = CFrame.new(1.2, 0.25, 0.15) * CFrame.Angles(math.rad(-90), math.rad(60), math.rad(25), 0)
- wait(0.03)
- Left_Weld.C1 = CFrame.new(1.2, 0.3, 0.20) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(20), 0)
- wait(0.03)
- Left_Weld.C1 = CFrame.new(1.2, 0.3, 0.25) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(15), 0)
- wait(0.03)
- Right_Weld.C1 = CFrame.new(-0.75, -0.1, 0.6) * CFrame.Angles(math.rad(-90), 0, 0.2)
- Left_Weld.C1 = CFrame.new(1.2, 0.3, 0.30) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(10), 0)
- wait(0.03)
- Right_Weld.C1 = CFrame.new(-0.75, -0.15, 0.55) * CFrame.Angles(math.rad(-90), 0, 0.15)
- Left_Weld.C1 = CFrame.new(1.2, 0.35, 0.35) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(05), 0)
- wait(0.03)
- Right_Weld.C1 = CFrame.new(-0.75, -0.2, 0.5) * CFrame.Angles(math.rad(-90), 0, 0.1)
- Left_Weld.C1 = CFrame.new(1.2, 0.4, 0.40) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(0), 0)
- wait(0.03)
- Right_Weld.C1 = CFrame.new(-0.75, -0.2, 0.4) * CFrame.Angles(math.rad(-90), 0, -0.05)
- wait(0.02)
- Right_Weld.C1 = CFrame.new(-0.76, -0.2, 0.3) * CFrame.Angles(math.rad(-90), 0, -0.1)
- wait(0.02)
- Right_Weld.C1 = CFrame.new(-0.77, -0.2, 0.2) * CFrame.Angles(math.rad(-90), 0, -0.15)
- wait(0.02)
- Right_Weld.C1 = CFrame.new(-0.78, -0.2, 0.1) * CFrame.Angles(math.rad(-90), 0, -0.20)
- wait(0.02)
- Right_Weld.C1 = CFrame.new(-0.79, -0.2, 0) * CFrame.Angles(math.rad(-90), 0, -0.25)
- wait(0.02)
- Right_Weld.C1 = CFrame.new(-0.8, -0.2, -0.1) * CFrame.Angles(math.rad(-90), 0, -0.30)
- wait(0.02)
- Right_Weld.C1 = CFrame.new(-0.81, -0.2, -0.15) * CFrame.Angles(math.rad(-90), 0, -0.35)
- wait(0.02)
- Right_Weld.C1 = CFrame.new(-0.82, -0.2, -0.20) * CFrame.Angles(math.rad(-90), 0, -0.40)
- wait(0.02)
- Left_Weld.C1 = CFrame.new(1.2, 0.4, 0.45) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(-05), 0)
- Right_Weld.C1 = CFrame.new(-0.83, -0.2, -0.25) * CFrame.Angles(math.rad(-90), 0, -0.45)
- wait(0.02)
- Left_Weld.C1 = CFrame.new(1.2, 0.4, 0.45) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(-10), 0)
- Right_Weld.C1 = CFrame.new(-0.84, -0.2, -0.3) * CFrame.Angles(math.rad(-90), 0, -0.50)
- wait(0.02)
- Left_Weld.C1 = CFrame.new(1.2, 0.4, 0.45) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(-15), 0)
- Right_Weld.C1 = CFrame.new(-0.85, -0.2, -0.35) * CFrame.Angles(math.rad(-90), 0, -0.55)
- wait(0.02)
- Left_Weld.C1 = CFrame.new(1.2, 0.4, 0.45) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(-20), 0)
- Right_Weld.C1 = CFrame.new(-0.86, -0.2, -0.4) * CFrame.Angles(math.rad(-90), 0, -0.60)
- wait(0.02)
- Right_Weld.C1 = CFrame.new(-0.87, -0.2, -0.45) * CFrame.Angles(math.rad(-90), 0, -0.65)
- Tool.Handle.Bolt:play()
- wait(0.02)
- Left_Weld.C1 = CFrame.new(1.2, 0.4, 0.45) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(-20), 0)
- Right_Weld.C1 = CFrame.new(-0.88, -0.2, -0.5) * CFrame.Angles(math.rad(-90), 0, -0.70)
- wait(0.02)
- Left_Weld.C1 = CFrame.new(1.2, 0.3, 0.45) * CFrame.Angles(math.rad(-90), math.rad(60), math.rad(-20), 0)
- Right_Weld.C1 = CFrame.new(-0.89, -0.2, -0.55) * CFrame.Angles(math.rad(-90), 0, -0.75)
- wait(0.02)
- Left_Weld.C1 = CFrame.new(1.2, 0.2, 0.45) * CFrame.Angles(math.rad(-90), math.rad(65), math.rad(-20), 0)
- Right_Weld.C1 = CFrame.new(-0.9, -0.2, -0.6) * CFrame.Angles(math.rad(-90), 0, -0.80)
- wait(0.02)
- Left_Weld.C1 = CFrame.new(1.2, 0.1, 0.45) * CFrame.Angles(math.rad(-90), math.rad(70), math.rad(-20), 0)
- Right_Weld.C1 = CFrame.new(-0.91, -0.2, -0.65) * CFrame.Angles(math.rad(-90), 0, -0.85)
- wait(0.02)
- Left_Weld.C1 = CFrame.new(1.2, 0, 0.45) * CFrame.Angles(math.rad(-90), math.rad(75), math.rad(-20), 0)
- Right_Weld.C1 = CFrame.new(-0.92, -0.2, -0.7) * CFrame.Angles(math.rad(-90), 0, -0.90)
- wait(0.02)
- Left_Weld.C1 = CFrame.new(1.2, -0.5, 0.45) * CFrame.Angles(math.rad(-90), math.rad(80), math.rad(-20), 0)
- --[[Tool.A1.Transparency = 1
- Tool.A2.Transparency = 1
- Tool.B1.Transparency = 0
- Tool.B2.Transparency = 0]]
- wait(0.02)
- Left_Weld.C1 = CFrame.new(1.2, 0.0, 0.45) * CFrame.Angles(math.rad(-90), math.rad(75), math.rad(-20), 0)
- wait(0.02)
- Left_Weld.C1 = CFrame.new(1.2, 0.1, 0.45) * CFrame.Angles(math.rad(-90), math.rad(70), math.rad(-20), 0)
- wait(0.02)
- Left_Weld.C1 = CFrame.new(1.2, 0.2, 0.45) * CFrame.Angles(math.rad(-90), math.rad(65), math.rad(-20), 0)
- wait(0.02)
- Left_Weld.C1 = CFrame.new(1.2, 0.3, 0.45) * CFrame.Angles(math.rad(-90), math.rad(60), math.rad(-20), 0)
- wait(0.02)
- Left_Weld.C1 = CFrame.new(1.2, 0.4, 0.45) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(-20), 0)
- --[[Tool.A1.Transparency = 0
- Tool.A2.Transparency = 0
- Tool.B1.Transparency = 1
- Tool.B2.Transparency = 1]]
- wait(0.02)
- Right_Weld.C1 = CFrame.new(-0.86, -0.2, -0.4) * CFrame.Angles(math.rad(-90), 0, -0.60)
- wait(0.02)
- Right_Weld.C1 = CFrame.new(-0.85, -0.2, -0.35) * CFrame.Angles(math.rad(-90), 0, -0.55)
- wait(0.02)
- Right_Weld.C1 = CFrame.new(-0.84, -0.2, -0.3) * CFrame.Angles(math.rad(-90), 0, -0.50)
- wait(0.02)
- Right_Weld.C1 = CFrame.new(-0.83, -0.2, -0.25) * CFrame.Angles(math.rad(-90), 0, -0.45)
- wait(0.02)
- Right_Weld.C1 = CFrame.new(-0.82, -0.2, -0.20) * CFrame.Angles(math.rad(-90), 0, -0.40)
- wait(0.02)
- Right_Weld.C1 = CFrame.new(-0.81, -0.2, -0.15) * CFrame.Angles(math.rad(-90), 0, -0.35)
- wait(0.02)
- Right_Weld.C1 = CFrame.new(-0.8, -0.2, -0.1) * CFrame.Angles(math.rad(-90), 0, -0.30)
- wait(0.02)
- Right_Weld.C1 = CFrame.new(-0.79, -0.2, 0) * CFrame.Angles(math.rad(-90), 0, -0.25)
- wait(0.02)
- Right_Weld.C1 = CFrame.new(-0.78, -0.2, 0.1) * CFrame.Angles(math.rad(-90), 0, -0.20)
- wait(0.02)
- Right_Weld.C1 = CFrame.new(-0.77, -0.2, 0.2) * CFrame.Angles(math.rad(-90), 0, -0.15)
- wait(0.02)
- Right_Weld.C1 = CFrame.new(-0.76, -0.2, 0.3) * CFrame.Angles(math.rad(-90), 0, -0.1)
- wait(0.02)
- Right_Weld.C1 = CFrame.new(-0.75, -0.2, 0.4) * CFrame.Angles(math.rad(-90), 0, -0.05)
- wait(0.02)
- Right_Weld.C1 = CFrame.new(-0.75, -0.25, 0.4) * CFrame.Angles(math.rad(-90), 0, 0)
- Left_Weld.C1 = CFrame.new(0.8, 1.1, 0.02) * CFrame.Angles(math.rad(-100), math.rad(30), math.rad(0), 0)
- Mouse.Icon = Settings.Icons.Idle
- CanUpdateGui = true
- local m = Settings.Ammo
- if Ammo.Value > 0 and Settings.IncludeChamberedBullet then
- m = m + 1
- end
- if (StoredAmmo.Value - (m - Ammo.Value)) <= 0 then
- Ammo.Value = Ammo.Value + StoredAmmo.Value
- StoredAmmo.Value = 0
- else
- StoredAmmo.Value = StoredAmmo.Value - (m - Ammo.Value)
- Ammo.Value = m
- end
- Can_Shoot = true
- Reloading = false
- elseif Key:upper() == Settings.SprintKey:upper() and Settings.Sprint and not Aiming then
- Sprinting = true
- Character.Humanoid.WalkSpeed = Settings.SprintSpeed
- Settings.Spread = Settings.Spread + Settings.SprintSpreadIncrease
- end
- end)
- Mouse.KeyUp:connect(function(Key)
- if Key:upper() == Settings.SprintKey:upper() and Sprinting then
- Sprinting = false
- Character.Humanoid.WalkSpeed = 16
- Settings.Spread = Settings.Spread - Settings.SprintSpreadIncrease
- Right_Weld.C0 = CFrame.new(0, -1.5, 0)
- end
- end)
- Mouse.Button2Down:connect(function()
- if not Reloading and not Sprinting and not Aiming and (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude < 1 then
- Aiming = true
- Mouse.Icon = Settings.Icons.Aim
- if Settings.AimAnim.Enabled then
- Right_Weld.C1 = CFrame.new()
- Right_Weld.C0 = CFrame.new()
- Delay(0, function()
- Tween_C0(Right_Weld, Settings.AimAnim.Frames, Settings.AimAnim.Time, Right_Weld.C0, Character.Head.CFrame:toObjectSpace(Settings.AimPart.CFrame))
- end)
- Delay(0, function()
- Tween_C1(Left_Weld, Settings.AimAnim.Frames, Settings.AimAnim.Time, Left_Weld.C1, Settings.LeftAimPos)
- end)
- Delay(0, function()
- if Settings.ChangeFOV[1] then
- Camera.FieldOfView = 70
- local Cam_Dif, T_F = 70 - Settings.ChangeFOV[2], Settings.AimAnim.Time * Settings.AimAnim.Frames
- for i = 1, T_F do
- local FOV = 70 - Cam_Dif/T_F * i
- Camera.FieldOfView = FOV
- wait(Settings.AimAnim.Time/Settings.AimAnim.Frames)
- if not Aiming then
- return
- end
- end
- Camera.FieldOfView = Settings.ChangeFOV[2]
- end
- end)
- else
- Right_Weld.C1 = CFrame.new()
- Right_Weld.C0 = CFrame.new()
- Right_Weld.C1 = Character.Head.CFrame:toObjectSpace(Settings.AimPart.CFrame)
- Left_Weld.C1 = Settings.LeftAimPos
- if Settings.ChangeFOV[1] then
- Camera.FieldOfView = Settings.ChangeFOV[2]
- end
- end
- Tool.GripPos = Orig_Grip + Settings.AimGripOffset
- Settings.Spread = Settings.Spread - Settings.SpreadReduction
- end
- end)
- Mouse.Button2Up:connect(function()
- if Aiming then
- Mouse.Icon = Settings.Icons.Idle
- Tool.GripPos = Orig_Grip
- if Settings.AimAnim.Enabled then
- Delay(0, function()
- Tween_C0(Right_Weld, Settings.AimAnim.Frames, Settings.AimAnim.Time, Right_Weld.C0, CFrame.new(0, -1.5, 0))
- end)
- Delay(0, function()
- Tween_C1(Left_Weld, Settings.AimAnim.Frames, Settings.AimAnim.Time, Left_Weld.C1, Settings.LeftPos)
- end)
- else
- Right_Weld.C1 = Settings.RightPos
- Right_Weld.C0 = CFrame.new(0, -1.5, 0)
- Left_Weld.C1 = Settings.LeftPos
- end
- if Settings.ChangeFOV[1] then
- Camera.FieldOfView = 70
- end
- Settings.Spread = Settings.Spread + Settings.SpreadReduction
- Character.Torso.Neck.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- Character.Torso.Neck.C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- wait(0.25)
- Aiming = false
- end
- end)
- wait()
- Camera.Changed:connect(function()
- if (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude < 1 and Equipped then
- Mouse.TargetFilter = workspace
- Character.Torso.Neck.C1 = CFrame.new()
- Character.Torso.Neck.C0 = CFrame.new(0, 1.5, 0) * CFrame.Angles(math.asin((Mouse.Hit.p - Mouse.Origin.p).unit.y), 0, 0)
- end
- end)
- Mouse.Idle:connect(function()
- if (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude < 1 and Equipped then
- Mouse.TargetFilter = workspace
- Character.Torso.Neck.C1 = CFrame.new()
- Character.Torso.Neck.C0 = CFrame.new(0, 1.5, 0) * CFrame.Angles(math.asin((Mouse.Hit.p - Mouse.Origin.p).unit.y), 0, 0)
- end
- end)
- while wait() and Equipped do
- if Sprinting then
- Can_Shoot = false
- Right_Weld.C0 = CFrame.new(0, -1.5, 0) * Settings.SprintArmOffset
- Left_Weld.C0 = CFrame.new(0, -1.5, 0) * Settings.SprintArmOffset
- elseif not Aiming and not Sprinting then
- Can_Shoot = true
- Left_Weld.C0 = CFrame.new(0, -1.5, 0)
- end
- if (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude > 1 and Equipped then
- Mouse.TargetFilter = nil
- Character.Torso.Neck.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- Character.Torso.Neck.C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- end
- end
- end)
- local Arms_Made
- local Fake_Arm_Right, Fake_Arm_Left, Fake_Arm_Model
- Tool.Equipped:connect(function(Mouse)
- if Character and not Arms_Made then
- Arms_Made = true
- local Torso = Character.Torso
- Torso["Right Shoulder"].Part1 = nil
- Left_Weld = Instance.new("Weld", Torso)
- Left_Weld.Name = "Left_Weld"
- Left_Weld.Part0 = Character.Head
- Left_Weld.C0 = CFrame.new(0, -1.5, 0)
- if not Settings.OneHanded then
- Torso["Left Shoulder"].Part1 = nil
- Left_Weld.Part1 = Character["Left Arm"]
- end
- Right_Weld = Instance.new("Weld", Torso)
- Right_Weld.Name = "Right_Weld"
- Right_Weld.Part0 = Character.Head
- Right_Weld.Part1 = Character["Right Arm"]
- Right_Weld.C0 = CFrame.new(0, -1.5, 0)
- Left_Weld.C1 = Settings.LeftPos
- Right_Weld.C1 = Settings.RightPos
- end
- if Settings.FakeArms and not Fake_Arm_Right then
- Fake_Arm_Right, Fake_Arm_Left = Character["Right Arm"]:Clone(), Character["Left Arm"]:Clone()
- Fake_Arm_Right.FormFactor, Fake_Arm_Left.FormFactor = "Custom", "Custom"
- Fake_Arm_Right.Size, Fake_Arm_Left.Size = Vector3.new(), Vector3.new()
- local fakeArms = {Fake_Arm_Right, Fake_Arm_Left}
- for i = 1, 2 do
- local w = Instance.new("Weld", fakeArms[i])
- w.Part0 = Character[fakeArms[i].Name]
- w.Part1 = fakeArms[i]
- fakeArms[i].Transparency = Settings.FakeArmTransparency
- end
- Fake_Arm_Model = Instance.new("Model", Camera)
- Fake_Arm_Right.Parent = Fake_Arm_Model
- if not Settings.OneHanded then
- Fake_Arm_Left.Parent = Fake_Arm_Model
- end
- Fake_Arm_Model.Name = "FakeArms"
- if Settings.CharacterMeshes then
- for i, v in pairs(Character:GetChildren()) do
- if v:IsA("CharacterMesh") and v.BodyPart == Enum.BodyPart.LeftArm or v:IsA("CharacterMesh") and v.BodyPart == Enum.BodyPart.RightArm then
- v:Clone().Parent = Fake_Arm_Model
- end
- end
- end
- if Character:FindFirstChild("Shirt") then
- Instance.new("Humanoid", Fake_Arm_Model)
- Character.Shirt:Clone().Parent = Fake_Arm_Model
- else
- local Arm_Mesh = Instance.new("SpecialMesh", Fake_Arm_Right)
- Arm_Mesh.MeshType, Arm_Mesh.Scale = "Brick", Vector3.new(1, 2, 1)
- local Arm_Mesh2 = Instance.new("SpecialMesh", Fake_Arm_Left)
- Arm_Mesh2.MeshType, Arm_Mesh2.Scale = "Brick", Vector3.new(1, 2, 1)
- end
- end
- end)
- Tool.Unequipped:connect(function()
- Equipped = false
- Tool.GripPos = Orig_Grip
- Aiming = false
- Settings.Spread = Orig_Spread
- if Settings.ChangeFOV[1] then
- Camera.FieldOfView = 70
- end
- if Gui then
- Gui:Destroy()
- Gui = nil
- end
- for i, v in pairs(Tool.Handle:GetChildren()) do
- if v:IsA("Sound") then
- v:Stop()
- end
- end
- if Fake_Arm_Right and Fake_Arm_Left and Fake_Arm_Model then
- Fake_Arm_Model:Destroy()
- Fake_Arm_Right, Fake_Arm_Left, Fake_Arm_Model = nil, nil, nil
- end
- if Character and Left_Weld and Right_Weld then
- Arms_Made = false
- local Torso = Character.Torso
- Torso["Right Shoulder"].Part1, Torso["Left Shoulder"].Part1 = Character["Right Arm"], Character["Left Arm"]
- Left_Weld:Destroy()
- Right_Weld:Destroy()
- end
- Sprinting = false
- Character.Torso.Neck.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- Character.Torso.Neck.C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- Character.Humanoid.WalkSpeed = 16
- end)
- end,o12)
- end))
- o13.Name = "StoredAmmo"
- o13.Parent = o12
- o13.Value = math.huge
- o14.Name = "Ammo"
- o14.Parent = o12
- o14.Value = math.huge
- o15.Parent = o12
- o15.Size = 0.25
- o15.Color = Color3.new(0.807843, 0.807843, 0.807843)
- o15.Enabled = false
- o15.Opacity = 0.10000000149012
- o15.RiseVelocity = 10
- o16.Name = "Smoke1"
- o16.Parent = o12
- o16.Size = 0.25
- o16.Color = Color3.new(0.807843, 0.807843, 0.807843)
- o16.Enabled = false
- o16.Opacity = 0.10000000149012
- o16.RiseVelocity = 10
- o17.Name = "Smoke2"
- o17.Parent = o12
- o17.Size = 0.25
- o17.Color = Color3.new(0.807843, 0.807843, 0.807843)
- o17.Enabled = false
- o17.Opacity = 0.10000000149012
- o17.RiseVelocity = 10
- o18.Name = "MaxAmmo"
- o18.Parent = o12
- o18.Value = 30
- o19.Name = "Gui"
- o19.Parent = o12
- o20.Name = "Box1"
- o20.Parent = o19
- o20.Position = UDim2.new(1,-5,1,-120)
- o20.Rotation = 5
- o20.Size = UDim2.new(-0.125,0,-0.03999999910593,0)
- o20.Position = UDim2.new(1,-5,1,-120)
- o20.BackgroundColor3 = Color3.new(0.0196078, 0.0196078, 0.0196078)
- o20.BackgroundTransparency = 0.30000001192093
- o20.BorderColor3 = Color3.new(0, 0, 0)
- o20.BorderSizePixel = 0
- o20.SizeConstraint = Enum.SizeConstraint.RelativeXX
- o21.Name = "GunName"
- o21.Parent = o20
- o21.Position = UDim2.new(0.92500001192093,0,0,0)
- o21.Size = UDim2.new(-0.80000001192093,0,0.5,0)
- o21.Text = "MP5"
- o21.Position = UDim2.new(0.92500001192093,0,0,0)
- o21.BackgroundColor3 = Color3.new(0.501961, 0, 0)
- o21.BackgroundTransparency = 1
- o21.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- o21.ZIndex = 2
- o21.FontSize = Enum.FontSize.Size14
- o21.TextColor3 = Color3.new(1, 1, 1)
- o21.TextScaled = true
- o21.TextStrokeColor3 = Color3.new(0.647059, 0, 0.129412)
- o21.TextTransparency = 0.40000000596046
- o21.TextWrapped = true
- o21.TextXAlignment = Enum.TextXAlignment.Right
- o22.Name = "GunTip"
- o22.Parent = o20
- o22.Position = UDim2.new(0.92500001192093,0,0.44999998807907,0)
- o22.Size = UDim2.new(-0.80000001192093,0,0.5,0)
- o22.Text = "9x19mm"
- o22.Position = UDim2.new(0.92500001192093,0,0.44999998807907,0)
- o22.BackgroundColor3 = Color3.new(0.501961, 0, 0)
- o22.BackgroundTransparency = 1
- o22.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- o22.ZIndex = 2
- o22.FontSize = Enum.FontSize.Size14
- o22.TextColor3 = Color3.new(1, 1, 1)
- o22.TextScaled = true
- o22.TextStrokeColor3 = Color3.new(0.647059, 0, 0.129412)
- o22.TextTransparency = 0.40000000596046
- o22.TextWrapped = true
- o22.TextXAlignment = Enum.TextXAlignment.Right
- o23.Parent = o19
- o23.Position = UDim2.new(1,-5,1,-60)
- o23.Rotation = 5
- o23.Size = UDim2.new(-0.125,0,-0.03999999910593,0)
- o23.Position = UDim2.new(1,-5,1,-60)
- o23.BackgroundColor3 = Color3.new(0.0196078, 0.0196078, 0.0196078)
- o23.BackgroundTransparency = 0.30000001192093
- o23.BorderColor3 = Color3.new(0, 0, 0)
- o23.BorderSizePixel = 0
- o23.SizeConstraint = Enum.SizeConstraint.RelativeXX
- o24.Name = "AmmoDisplay"
- o24.Parent = o23
- o24.Position = UDim2.new(0.90399998426437,0,0.10000000149012,0)
- o24.Size = UDim2.new(-0.80000001192093,0,0.5,0)
- o24.Text = ""
- o24.Position = UDim2.new(0.90399998426437,0,0.10000000149012,0)
- o24.BackgroundColor3 = Color3.new(0.501961, 0, 0)
- o24.BackgroundTransparency = 1
- o24.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- o24.ZIndex = 2
- o24.FontSize = Enum.FontSize.Size14
- o24.TextColor3 = Color3.new(1, 1, 1)
- o24.TextScaled = true
- o24.TextStrokeColor3 = Color3.new(0.647059, 0, 0.129412)
- o24.TextTransparency = 0.40000000596046
- o24.TextWrapped = true
- o25.Name = "Ammobar"
- o25.Parent = o23
- o25.Position = UDim2.new(0.050000000745058,0,0.8500000834465,0)
- o25.Size = UDim2.new(0.89999997615814,0,-0.15000003576279,0)
- o25.Position = UDim2.new(0.050000000745058,0,0.8500000834465,0)
- o25.BackgroundColor3 = Color3.new(0.109804, 0.109804, 0.109804)
- o25.BackgroundTransparency = 0.5
- o25.BorderColor3 = Color3.new(0.466667, 0.466667, 0.466667)
- o26.Name = "Percentage"
- o26.Parent = o25
- o26.Position = UDim2.new(0,1,0,1)
- o26.Size = UDim2.new(1,-2,1,-2)
- o26.Position = UDim2.new(0,1,0,1)
- o26.BackgroundColor3 = Color3.new(1, 1, 1)
- o26.BackgroundTransparency = 0.5
- o26.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- o26.BorderSizePixel = 0
- o27.Name = "AimPart"
- o27.Parent = o1
- o27.Material = Enum.Material.SmoothPlastic
- o27.BrickColor = BrickColor.new("Dark stone grey")
- o27.Transparency = 1
- o27.Position = Vector3.new(10.2711039, -7.83736897, 11.0852327)
- o27.Rotation = Vector3.new(0.289999992, -4.65999985, 0.0199999996)
- o27.CanCollide = false
- o27.FormFactor = Enum.FormFactor.Custom
- o27.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- o27.CFrame = CFrame.new(10.2711039, -7.83736897, 11.0852327, 0.996697843, -0.000370679394, -0.0811730102, -3.23174536e-05, 0.999987721, -0.00496333977, 0.0811738521, 0.00494957436, 0.996685803)
- o27.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o27.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o27.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o27.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o27.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o27.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o27.Color = Color3.new(0.388235, 0.372549, 0.384314)
- o27.Position = Vector3.new(10.2711039, -7.83736897, 11.0852327)
- o28.Parent = o27
- o28.Scale = Vector3.new(0.141079962, 0.357402384, 0.141079962)
- o29.Name = "SmokePart"
- o29.Parent = o1
- o29.Material = Enum.Material.SmoothPlastic
- o29.BrickColor = BrickColor.new("Dark stone grey")
- o29.Transparency = 1
- o29.Position = Vector3.new(10.4959764, -8.10246754, 8.44621563)
- o29.Rotation = Vector3.new(0.289999992, -4.65999985, 0.0199999996)
- o29.CanCollide = false
- o29.FormFactor = Enum.FormFactor.Custom
- o29.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- o29.CFrame = CFrame.new(10.4959764, -8.10246754, 8.44621563, 0.996697843, -0.000370679394, -0.0811730102, -3.23174536e-05, 0.999987721, -0.00496333977, 0.0811738521, 0.00494957436, 0.996685803)
- o29.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o29.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o29.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o29.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o29.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o29.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o29.Color = Color3.new(0.388235, 0.372549, 0.384314)
- o29.Position = Vector3.new(10.4959764, -8.10246754, 8.44621563)
- o30.Parent = o29
- o30.Scale = Vector3.new(0.658373058, 0.658372879, 0.658373058)
- mas.Parent = workspace
- mas:MakeJoints()
- local mas1 = mas:GetChildren()
- for i=1,#mas1 do
- mas1[i].Parent = workspace
- ypcall(function() mas1[i]:MakeJoints() end)
- end
- mas:Destroy()
- for i=1,#cors do
- coroutine.resume(cors[i])
- end
Add Comment
Please, Sign In to add comment