local Player = game:GetService("Players").LocalPlayer local GunNames = { "AK", "AUGA1", "ARP", "Beretta", "Bullpup", "CZ75", "Deagle", "DoubleBarrel", "Draco", "Famas", "Glock18", "M1Grand", "M4A1", "MAC10", "MAG7", "MP5", "MP7", "MP9", "Negev", "Nova", "P220", "PPBizon", "Pistol", "RPG", "Revolver", "SA58", "SawnOff", "Shotgun", "Uzi" } local SwitchValue = true local SetSwitch = function(Gun) if not Gun:IsA("Tool") or not table.find(GunNames, Gun.Name) then return end local Switch = Gun:FindFirstChild("Switch") then Switch.Value = SwitchValue end end local OnChildAdded = function(Child) SetSwitch(Child) end Player.Backpack.ChildAdded:Connect(OnChildAdded) for _, Object in ipairs(Player.Backpack:GetChildren()) do SetSwitch(Object) end