weaponry script pastebin
weaponry script pastebin
Why Did Hermione Norris Leave Wire In The Blood
,
How To Do Color Roles On Discord Carl Bot
,
Articles W
| 1.11 KB, Lua | Note : You can get anything you desire with the cheat without having to use it. Run and done Note : 1. Weapon Fighting Simulator Script | Pastebin 2022. ["Material"] = "models/props_wasteland/tugboat01". ["Position"] = Vector(1.7352294921875, -2.118408203125, 1.6767578125). And if you duplicate the Weapon Fighting Simulator Script and then inject it, that indicates that you are prepared to play the game. 2 hours ago If you're an avid gamer looking to gain an edge, this video is a must-watch. ["Angles"] = Angle(2.0999999046326, -90.900001525879, 174). Character.Torso:FindFirstChild("Left Shoulder"). Jan 24th, 2020. ["Angles"] = Angle(-7.0436326495837e-06, -4.2688682810876e-07, 90). Watch video for showcase Never . Paste the script into your script application. Character.Torso:FindFirstChild("Right Hip"), Character.Torso:FindFirstChild("Left Hip"), if Joints[Limb] == nil then return false end, if Limbs[Limb] == nil then return false end, Joint.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0), Joint.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0), Joint.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0), Joint.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0), Joint.C0 = CFrame.new(0.5, -1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0), Joint.C1 = CFrame.new(0, 1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0), Joint.C0 = CFrame.new(-0.5, -1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0), Joint.C1 = CFrame.new(0, 1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0), Joint.MaxVelocity = Joints[Limb].MaxVelocity, Joint.CurrentAngle = Joints[Limb].CurrentAngle, Joint.DesiredAngle = Joints[Limb].DesiredAngle, function ResetLimbCFrame(Limb, Character), if Character.Parent == nil then return false end, Joints[Limb].C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0), Joints[Limb].C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0), Joints[Limb].C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0), Joints[Limb].C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0), Joints[Limb].C0 = CFrame.new(0.5, -1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0), Joints[Limb].C1 = CFrame.new(0, 1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0), Joints[Limb].C0 = CFrame.new(-0.5, -1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0), Joints[Limb].C1 = CFrame.new(0, 1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0), Animate = Character:FindFirstChild("Animate"), Player.Character[Name.. " (Holstered)"].Handle.Weld:Remove(), w.Part0 = Player.Character[Name.. " (Holstered)"].Handle, w.Parent = Player.Character[Name.. " (Holstered)"].Handle, if Player.Character:FindFirstChild("Torso") ~= nil then, if Player.Character.Torso:FindFirstChild("Left Shoulder 2") ~= nil and Player.Character.Torso:FindFirstChild("Right Shoulder 2") ~= nil then, Player.Character.Torso["Left Shoulder 2"].C0 = CFrame.new(), Player.Character.Torso["Left Shoulder 2"].C1 = CFrame.new((-0.55 * i) + (1.5 * (1 - i)), 0.75 * i, 0.35 * i) * CFrame.fromEulerAnglesXYZ(math.rad(315 + ((1 - i) * 50)), 0, math.rad(-90) * i), Player.Character.Torso["Right Shoulder 2"].C0 = CFrame.new(), Player.Character.Torso["Right Shoulder 2"].C1 = CFrame.new((-1 * i) + (-1.5 * (1 - i)), 0.5 * i, 0.6 * i) * CFrame.fromEulerAnglesXYZ(math.rad(-90 * i), math.rad(-5 * i), 0), if Player.Character.Torso:FindFirstChild("Right Shoulder 2") ~= nil then, Player.Character[Name.. " (Holstered, Left)"].Handle.Weld:Remove(), w.Part0 = Player.Character[Name.. " (Holstered, Left)"].Handle, w.Parent = Player.Character[Name.. " (Holstered, Left)"].Handle, if Player.Character.Torso:FindFirstChild("Left Shoulder 2") ~= nil then, Player.Character.Torso["Left Shoulder 2"].C1 = CFrame.new((1 * i) + (1.5 * (1 - i)), 0.5 * i, 0.6 * i) * CFrame.fromEulerAnglesXYZ(math.rad(-90 * i), math.rad(5 * i), 0), Player.Character[Name].Light.Transparency = 1, Player.Character.Torso["Right Shoulder 2"].C1 = CFrame.new((-1 * i) + (-1.5 * (1 - i)), 0.5 * i, 0.6 * i) * CFrame.fromEulerAnglesXYZ(math.rad(-90 * i), math.rad(-5 * i), 0), Player.Character[Name.. " (Left)"].Light.Transparency = 1, Player.Character.Torso["Left Shoulder 2"].C1 = CFrame.new(-0.3, 1.2, 0.4) * CFrame.fromEulerAnglesXYZ(math.rad(300), math.rad(10), math.rad(-90)), Player.Character.Torso["Right Shoulder 2"].C1 = CFrame.new(-1, 0.2, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-5), 0), Player.Character.Torso["Right Shoulder 2"].C1 = CFrame.new(-0.72, 0.5, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-5), math.rad(-5)), Player.Character.Torso["Left Shoulder 2"].C1 = CFrame.new(0.72, 0.5, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(5), math.rad(5)), Player.Character[Name].Handle.Empty:Play(), Player.Character.Torso["Right Shoulder 2"].C1 = CFrame.new(-1, 0.5, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(-90 + i * 1.2), math.rad(-5), 0), Player.Character[Name].Handle.Release:Play(), Player.Character[Name].Magazine.Transparency = 1, local magazineDrop = Player.Character[Name].Magazine:Clone(), magazineDrop.Parent = game:GetService("Workspace"), Player.Character.Torso["Left Shoulder 2"].C1 = CFrame.new(-0.5 + (i / 60), 1.2 - (i / 20), 0.8 + (i / 35)) * CFrame.fromEulerAnglesXYZ(math.rad(300 - i), math.rad(10 + -i * 3.5), math.rad(-90)), coroutine.resume(coroutine.create(function(part) wait(4.5) for i = 0, 1, 0.1 do part.Transparency = i wait() end part:Remove() end), magazineDrop), delay(0.1, function() magazineDrop.CanCollide = true end), Player.Character[Name].Handle.Reload:Play(), local magazineNew = Player.Character[Name].Magazine:Clone(), magazineNew.Parent = Player.Character[Name], w.C1 = CFrame.new() * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0), Player.Character.Torso["Left Shoulder 2"].C1 = CFrame.new(-0.55 + (i / 50), 0.75 - (i / 50), 0.35 + (i / 22.5)) * CFrame.fromEulerAnglesXYZ(math.rad(315 - (i * 2)), math.rad(-i * 3.5), math.rad(-90)), Player.Character[Name].Magazine.Transparency = 0, Player.Character[Name]["New Magazine"]:Remove(), Player.Character[Name].Handle.Lock.Pitch = 3, Player.Character[Name].Handle.Lock:Play(), Player.Character.Torso["Left Shoulder 2"].C1 = CFrame.new(-0.55, 0.75, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(315 + (i * 1.5)), math.rad(i * 4), math.rad(-90)), Player.Character.Torso["Left Shoulder 2"].C1 = CFrame.new(-0.3, 1.2, 0.4) * CFrame.fromEulerAnglesXYZ(math.rad(300), math.rad(10 + i), math.rad(-90)), Player.Character.Torso["Right Shoulder 2"].C1 = CFrame.new(-1, 0.2, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(-90 - i), math.rad(-5), 0), Player.Character.Torso["Left Shoulder 2"].C1 = CFrame.new(-0.5, 1.2 - (i / 10), 0.1) * CFrame.fromEulerAnglesXYZ(math.rad(300), math.rad(10), math.rad(-90)), Player.Character[Name].Handle.Lock.Pitch = 1.5, Player.Character[Name].Bolt.Weld.C0 = CFrame.new(0, 0.6, -0.125), makeShell(Player.Character[Name]:FindFirstChild("ShellOut")), Player.Character[Name].Bolt.Weld.C0 = CFrame.new(0, 0.8, -0.125), Player.Character.Torso["Left Shoulder 2"].C1 = CFrame.new(0.7, 0.5, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(-90 - i), math.rad(5), 0), Player.Character.Torso["Right Shoulder 2"].C1 = CFrame.new(-0.7, 0.5, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(-90 - i), math.rad(-5), 0), Player.Character[Name].WeldPoint.Weld.C0 = CFrame.new(0, 1, 0.71), Player.Character[Name.. " (Left)"].WeldPoint.Weld.C0 = CFrame.new(0, 1, 0.71), pcall(function() Player.Character[Name].Handle.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(i), 0, 0) end), pcall(function() Player.Character[Name.. " (Left)"].Handle.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(i), 0, 0) end), pcall(function() Player.Character[Name].Handle.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), 0, 0) end), pcall(function() Player.Character[Name.. " (Left)"].Handle.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), 0, 0) end), Player.Character[Name.. " (Left)"].Magazine.Transparency = 1, local magazineDropDual = Player.Character[Name.. " (Left)"].Magazine:Clone(), magazineDropDual.Parent = game:GetService("Workspace"), coroutine.resume(coroutine.create(function(part) wait(4.5) for i = 0, 1, 0.1 do part.Transparency = i wait() end part:Remove() end), magazineDropDual), delay(0.1, function() magazineDropDual.CanCollide = true end), Player.Character.Torso["Left Shoulder 2"].C1 = CFrame.new(0.7, 0.5, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad((-90 - i) + 100), math.rad(5), 0), Player.Character.Torso["Right Shoulder 2"].C1 = CFrame.new(-0.7, 0.5, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad((-90 - i) + 100), math.rad(-5), 0), Player.Character[Name.. " (Left)"].Magazine.Transparency = 0, pcall(function() Player.Character[Name].Handle.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0, 0) end), pcall(function() Player.Character[Name.. " (Left)"].Handle.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0, 0) end), Player.Character[Name].WeldPoint.Weld.C0 = CFrame.new(0, 0.2, 0.71), Player.Character[Name.. " (Left)"].WeldPoint.Weld.C0 = CFrame.new(0, 0.2, 0.71), if Player.Character[Name]:FindFirstChild("Handle") ~= nil then, Player.Character[Name].Handle.Fire2.Volume = math.random(3, 8) / 10, Player.Character[Name].Handle.Fire2.Pitch = math.random(1.8, 2), Player.Character[Name].Handle.Fire2:Play(), Player.Character[Name].Handle.Fire.Volume = math.random(8, 12) / 10, Player.Character[Name].Handle.Fire.Pitch = math.random(25, 35) / 20, Player.Character[Name].Handle.Fire:Play(), if Player.Character[Name]:FindFirstChild("Muzzle") ~= nil then, coroutine.resume(coroutine.create(function() Player.Character[Name].Muzzle.Smoke.Enabled = true Player.Character[Name].Muzzle.Fire.Enabled = true wait(0.1) Player.Character[Name].Muzzle.Smoke.Enabled = false Player.Character[Name].Muzzle.Fire.Enabled = false end)), Player.Character.Torso["Right Shoulder 2"].C1 = CFrame.new(-0.72, 0.5, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(-90 - i), math.rad(-5), math.rad(-5)), if Player.Character[Name.. " (Left)"]:FindFirstChild("Handle") ~= nil then, Player.Character[Name.. " (Left)"].Handle.Fire2.Volume = math.random(3, 8) / 10, Player.Character[Name.. " (Left)"].Handle.Fire2.Pitch = math.random(1.8, 2), Player.Character[Name.. " (Left)"].Handle.Fire2:Play(), Player.Character[Name.. " (Left)"].Handle.Fire.Volume = math.random(8, 12) / 10, Player.Character[Name.. " (Left)"].Handle.Fire.Pitch = math.random(25, 35) / 20, Player.Character[Name.. " (Left)"].Handle.Fire:Play(), if Player.Character[Name.. " (Left)"]:FindFirstChild("Muzzle") ~= nil then, coroutine.resume(coroutine.create(function() Player.Character[Name.. " (Left)"].Muzzle.Smoke.Enabled = true Player.Character[Name.. " (Left)"].Muzzle.Fire.Enabled = true wait(0.1) Player.Character[Name.. " (Left)"].Muzzle.Smoke.Enabled = false Player.Character[Name.. " (Left)"].Muzzle.Fire.Enabled = false end)), Player.Character.Torso["Left Shoulder 2"].C1 = CFrame.new(0.72, 0.5, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(-90 - i), math.rad(5), math.rad(5)), makeShell(Player.Character[Name.. " (Left)"]:FindFirstChild("ShellOut")), Player.Character.Torso["Right Shoulder 2"].C1 = CFrame.new(-0.9, -0.6, 0.51) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-5), 0), Player.Character.Torso["Left Shoulder 2"].C1 = CFrame.new(-0.9, 1.4 - (i / 25), 0.8) * CFrame.fromEulerAnglesXYZ(math.rad(290), 0, math.rad(-90)), Player.Character[Name].Handle.Switch:Play(), Player.Character.Torso["Left Shoulder 2"].C1 = CFrame.new(-0.5 - (i / 25), 1.2, 0.8) * CFrame.fromEulerAnglesXYZ(math.rad(300 - i), math.rad(10 - i), math.rad(-90)), coroutine.resume(coroutine.create(function(), local cam = game:GetService("Workspace").CurrentCamera, local seed = Vector3.new(math.random(100, 200) / freq, math.random(100, 200) / freq, 0), if math.random(1, 2) == 1 then seed = Vector3.new(-seed.x, seed.y, 0) end, if math.random(1, 2) == 1 then seed = Vector3.new(seed.x, -seed.y, 0) end, cam.CoordinateFrame = (CFrame.new(cam.Focus.p) * (cam.CoordinateFrame - cam.CoordinateFrame.p) * CFrame.fromEulerAnglesXYZ(seed.x * time, seed.y * time, 0)) * CFrame.new(0, 0, (cam.CoordinateFrame.p - cam.Focus.p).magnitude), cam.CoordinateFrame = (CFrame.new(cam.Focus.p) * (cam.CoordinateFrame - cam.CoordinateFrame.p) * CFrame.fromEulerAnglesXYZ(-seed.x, -seed.y, 0)) * CFrame.new(0, 0, (cam.CoordinateFrame.p - cam.Focus.p).magnitude), casing.Size = Vector3.new(0.2, 0.26, 0.2), casing.CFrame = CFrame.new(part.Position) * CFrame.fromEulerAnglesXYZ(math.rad(math.random(0, 360)), math.rad(math.random(0, 360)), math.rad(math.random(0, 360))), casing.BrickColor = BrickColor.new("New Yeller"), local mesh = Instance.new("CylinderMesh"), casing.Parent = game:GetService("Workspace"), casing.Velocity = (part.CFrame.lookVector * 50) + Vector3.new(0, 10, 0), coroutine.resume(coroutine.create(function() wait(4.5) for i = 0, 1, 0.1 do casing.Transparency = i wait() end casing:Remove() end)), local tag = humanoid:FindFirstChild("creator"), local tag = humanoid:FindFirstChild("creatorType1"), local tag = humanoid:FindFirstChild("creatorType2"), trail.BrickColor = BrickColor.new("Dark stone grey"), trail.CFrame = CFrame.new((startPoint + endPoint) / 2, endPoint), trail.Parent = game:GetService("Workspace"), mesh.Scale = Vector3.new(0.1, 0.1, (startPoint - endPoint).magnitude), coroutine.resume(coroutine.create(function(part) for i = 1, 10 do part.Mesh.Scale = Vector3.new(part.Mesh.Scale.x - 0.01, part.Mesh.Scale.y - 0.01, part.Mesh.Scale.z) wait() end part:Remove() end), trail), if hit.Parent.Parent.Humanoid ~= nil then, hit.Parent.Parent.Humanoid:TakeDamage(damage * 5), if hit.Parent:FindFirstChild("Humanoid") ~= nil then, hit.Parent.Humanoid:TakeDamage(damage * 10), hit.Parent.Humanoid:TakeDamage(damage * 2), delay(0.1, function() untagHumanoid(hit.Parent.Humanoid) end), hit.Velocity = hit.Velocity + ((endPoint - startPoint).unit * (damage * 2)), if Player.Character:FindFirstChild(Name) ~= nil and Button1Down == false and canFire == true and (function() if dual == true then if Player.Character:FindFirstChild(Name.. " (Left)") ~= nil then return true else return false end else return true end end)() == true then, if Player.Character[Name]:FindFirstChild("Handle") == nil then return end, if Player.Character[Name]:FindFirstChild("Muzzle") == nil then return end, if dual == true then if Player.Character[Name.. " (Left)"]:FindFirstChild("Handle") == nil then return end end, if dual == true then if Player.Character[Name.. " (Left)"]:FindFirstChild("Muzzle") == nil then return end end, mouse.Icon = "http://www.roblox.com/asset/?id=59125642", local humanoid = Player.Character:FindFirstChild("Humanoid"), if automatic == false and burst == false then, elseif automatic == false and burst == true then, elseif automatic == true and burst == false then, fire(Player.Character[Name].Muzzle.Position, mouse.Hit.p, mouse.Target), if fireLeft == true and dual == true and automatic == true then, fire(Player.Character[Name.. " (Left)"].Muzzle.Position, mouse.Hit.p, mouse.Target), mouse.Icon = "http://www.roblox.com/asset/?id=59125633", if dual == true and automatic == false then, if Player.Character[Name.. " (Left)"]:FindFirstChild("Handle") == nil then return end, if Player.Character[Name.. " (Left)"]:FindFirstChild("Muzzle") == nil then return end, if key == "q" and Button1Down == false and canFire == true then, if game:GetService("Players"):GetPlayerFromCharacter(mouse.Target.Parent) ~= nil then, if dual == true then onKeyDown("t", mouse) end, script.Parent.Parent = game:GetService("Players"):GetPlayerFromCharacter(mouse.Target.Parent).Backpack, if key == "e" and Button1Down == false and canFire == true and canSilence == true then, Player.Character[Name].Handle.Lock.Pitch = 5, if Player.Character:FindFirstChild(Name) == nil then return end, if Player.Character[Name]:FindFirstChild("Muzzle 2") == nil then return end, Player.Character[Name].Muzzle.Transparency = 1, Player.Character[Name].Silencer1.Transparency = 1, Player.Character[Name].Muzzle.Name = "Silencer", Player.Character[Name]["Muzzle 2"].Name = "Muzzle", if Player.Character[Name.. " (Left)"]:FindFirstChild("Muzzle 2") == nil then return end, Player.Character[Name.. " (Left)"].Muzzle.Transparency = 1, Player.Character[Name.. " (Left)"].Silencer1.Transparency = 1, Player.Character[Name.. " (Left)"].Muzzle.Name = "Silencer", Player.Character[Name.. " (Left)"]["Muzzle 2"].Name = "Muzzle", if Player.Character[Name]:FindFirstChild("Silencer") == nil then return end, Player.Character[Name].Silencer.Transparency = 0, Player.Character[Name].Silencer1.Transparency = 0, Player.Character[Name].Muzzle.Name = "Muzzle 2", Player.Character[Name].Silencer.Name = "Muzzle", if Player.Character[Name.. " (Left)"]:FindFirstChild("Silencer") == nil then return end, Player.Character[Name.. " (Left)"].Silencer.Transparency = 0, Player.Character[Name.. " (Left)"].Silencer1.Transparency = 0, Player.Character[Name.. " (Left)"].Muzzle.Name = "Muzzle 2", Player.Character[Name.. " (Left)"].Silencer.Name = "Muzzle", if key == "r" and Button1Down == false and canFire == true then, if ammo.Value > 0 and magazine.Value ~= magazineMax.Value + Chamber then, if magazine.Value > 0 then magazine.Value = Chamber end, if ammo.Value - magazineMax.Value < 0 then, elseif ammo.Value - magazineMax.Value >= 0 then, ammo.Value = ammo.Value - magazineMax.Value, magazine.Value = magazine.Value + MagSize, if key == "t" and Button1Down == false and canFire == true and canDual == true then, for _, p in pairs(Player.Backpack:GetChildren()) do, if p.Name == Name and p ~= script.Parent then weapon = p break end, magazineMax.Value = math.ceil(magazineMax.Value * 2), ammoMax.Value = math.ceil(ammoMax.Value * 2), magazine.Value = magazine.Value + weapon.Magazine.Value, ammo.Value = ammo.Value + weapon.Ammo.Value, local weapon = script:FindFirstChild("Dual"), weapon.Magazine.Value = math.floor(magazine.Value / 2), weapon.Ammo.Value = math.floor(ammo.Value / 2), magazineMax.Value = math.ceil(magazineMax.Value / 2), ammoMax.Value = math.ceil(ammoMax.Value / 2), magazine.Value = math.ceil(magazine.Value / 2), focus.CFrame = CFrame.new(pos) * (CFrame.new(Player.Character.Torso.CFrame.p, pos) - CFrame.new(Player.Character.Torso.CFrame.p, pos).p), while zoom == true and selected == true do, focus.CFrame = CFrame.new(target.CFrame.p) * (CFrame.new(Player.Character.Torso.CFrame.p, target.CFrame.p) - CFrame.new(Player.Character.Torso.CFrame.p, target.CFrame.p).p), if focus ~= nil then focus:Remove() focus = nil end, cam.CameraSubject = Player.Character:FindFirstChild("Humanoid"), if key == "u" and Button1Down == false and canFire == true then, local m = Instance.new("Message", Player), pcall(function() Player.Character[Name].Handle.Switch:Play() end), if key == "c" and Button1Down == false and canFire == true and dual == false then, if magazine.Value ~= 0 then magazine.Value = magazine.Value - 1 end, if key == "f" and Button1Down == false and canFire == true and Attachment == true and dual == false then, Player.Character[Name].Light.Transparency = 0.6, while Player.Character:FindFirstChild("WeaponActivated") ~= nil do, if Player.Character.WeaponActivated.Value == nil then break end, if Player.Character.WeaponActivated.Value.Parent == nil then break end, local weapon = Instance.new("ObjectValue"), coroutine.resume(coroutine.create(function() playAnimation("leftEquip") end)), mouse.Button1Down:connect(function() onButton1Down(mouse) end), mouse.Button1Up:connect(function() onButton1Up(mouse) end), mouse.KeyDown:connect(function(key) onKeyDown(key, mouse) end), coroutine.resume(coroutine.create(function() playAnimation("leftUnequip") end)), coroutine.resume(coroutine.create(function() playAnimation("rightUnequip") end)), if Player.PlayerGui:FindFirstChild(Name) ~= nil then Player.PlayerGui[Name]:Remove() end, if Player.Character:FindFirstChild("WeaponActivated") ~= nil then, if Player.Character.WeaponActivated.Value == script.Parent then, Player.Character.WeaponActivated:Remove(), if script.Parent.ClassName ~= "HopperBin" then, if Player == nil then print("Error: Player not found!")
weaponry script pastebin