Gun Mods
Key Required

Gun Mods

Brother's VowA_CoderA_Coder 31.5K views 403 executesUpdated May 4, 2025
2.0/ 5(5 votes)
2340% Positive
Lua Script•158 lines (5518 chars)
local Players = game:GetService("Players")
local lp = Players.LocalPlayer
local UIS = game:GetService("UserInputService")
local RS = game:GetService("RunService")
local plrGui = lp:WaitForChild("PlayerGui")

-- UI setup
local gui = Instance.new("ScreenGui", plrGui)
gui.Name = "GunGUI"
gui.ResetOnSpawn = false

local frame = Instance.new("Frame", gui)
frame.Size = UDim2.new(0, 400, 0, 450)
frame.Position = UDim2.new(0.5, -200, 0.5, -225)
frame.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
frame.Active = true
frame.Draggable = true
Instance.new("UICorner", frame).CornerRadius = UDim.new(0, 10)

local title = Instance.new("TextLabel", frame)
title.Size = UDim2.new(1, 0, 0, 40)
title.BackgroundTransparency = 1
title.Text = "Gun Selector"
title.TextColor3 = Color3.fromRGB(255, 255, 255)
title.Font = Enum.Font.GothamBold
title.TextSize = 22

local dropdownToggle = Instance.new("TextButton", frame)
dropdownToggle.Position = UDim2.new(0, 20, 0, 50)
dropdownToggle.Size = UDim2.new(1, -40, 0, 40)
dropdownToggle.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
dropdownToggle.TextColor3 = Color3.fromRGB(255, 255, 255)
dropdownToggle.Text = "Select Gun ▼"
dropdownToggle.Font = Enum.Font.Gotham
dropdownToggle.TextSize = 16
Instance.new("UICorner", dropdownToggle).CornerRadius = UDim.new(0, 6)

local dropdownFrame = Instance.new("ScrollingFrame", frame)
dropdownFrame.Position = UDim2.new(0, 20, 0, 100)
dropdownFrame.Size = UDim2.new(1, -40, 0, 160)
dropdownFrame.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
dropdownFrame.Visible = false
dropdownFrame.CanvasSize = UDim2.new(0, 0, 0, 0)
dropdownFrame.ScrollBarThickness = 8
dropdownFrame.BorderSizePixel = 0
Instance.new("UICorner", dropdownFrame).CornerRadius = UDim.new(0, 6)

local layout = Instance.new("UIListLayout", dropdownFrame)
layout.Padding = UDim.new(0, 4)

local gunList = {"Rifle", "DoubleBarrel", "M1911", "Revolver", "AK74", "Tec9"}
local selectedGun = nil

for _, gunName in ipairs(gunList) do
    local button = Instance.new("TextButton", dropdownFrame)
    button.Size = UDim2.new(1, -10, 0, 35)
    button.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
    button.TextColor3 = Color3.fromRGB(255, 255, 255)
    button.Font = Enum.Font.Gotham
    button.TextSize = 16
    button.Text = gunName
    button.BorderSizePixel = 0
    Instance.new("UICorner", button).CornerRadius = UDim.new(0, 4)

    button.MouseButton1Click:Connect(function()
        selectedGun = gunName
        dropdownToggle.Text = "Selected: " .. gunName
        dropdownFrame.Visible = false
        print("Selected gun:", gunName)
    end)
end

layout:GetPropertyChangedSignal("AbsoluteContentSize"):Connect(function()
    dropdownFrame.CanvasSize = UDim2.new(0, 0, 0, layout.AbsoluteContentSize.Y + 10)
end)

dropdownToggle.MouseButton1Click:Connect(function()
    dropdownFrame.Visible = not dropdownFrame.Visible
end)

local applyButton = Instance.new("TextButton", frame)
applyButton.Position = UDim2.new(0, 20, 0, 280)
applyButton.Size = UDim2.new(1, -40, 0, 40)
applyButton.BackgroundColor3 = Color3.fromRGB(0, 170, 0)
applyButton.TextColor3 = Color3.fromRGB(255, 255, 255)
applyButton.Font = Enum.Font.GothamBold
applyButton.TextSize = 16
applyButton.Text = "Apply Gun Stats"
Instance.new("UICorner", applyButton).CornerRadius = UDim.new(0, 6)

applyButton.MouseButton1Click:Connect(function()
    if not selectedGun then
        warn("No gun selected.")
        return
    end

    local gunData = require(game:GetService("ReplicatedStorage"):WaitForChild("Guns"))
    local char = lp.Character or lp.CharacterAdded:Wait()
    local tool = char:FindFirstChild(selectedGun)

    if tool then
        gunData[selectedGun] = {
            Damage = 200,
            AttackSpeed = 0.5,
            ReloadSpeed = 0.5,
            CrosshairSize = UDim2.new(0, 20, 0, 20),
            Recoil = 0,
            Pellets = 10,
            Spray = nil,
            Automatic = false
        }
        print("Stats applied to " .. selectedGun)
    else
        warn("Tool " .. selectedGun .. " not found in character.")
    end
end)

local proxButton = Instance.new("TextButton", frame)
proxButton.Position = UDim2.new(0, 20, 1, -60)
proxButton.Size = UDim2.new(1, -40, 0, 40)
proxButton.BackgroundColor3 = Color3.fromRGB(255, 85, 0)
proxButton.TextColor3 = Color3.fromRGB(255, 255, 255)
proxButton.Font = Enum.Font.GothamBold
proxButton.TextSize = 14
proxButton.Text = "Set All ProximityPrompts to 0"
Instance.new("UICorner", proxButton).CornerRadius = UDim.new(0, 6)

proxButton.MouseButton1Click:Connect(function()
    for _, obj in ipairs(workspace:GetDescendants()) do
        if obj:IsA("ProximityPrompt") then
            obj.HoldDuration = 0
            print("HoldDuration set to 0 for: " .. obj:GetFullName())
        end
    end
end)

-- GUI Toggle (press K)
UIS.InputBegan:Connect(function(input, gameProcessed)
    if not gameProcessed and input.KeyCode == Enum.KeyCode.K then
        frame.Visible = not frame.Visible
        -- Lock the mouse when the GUI is closed
        if not frame.Visible then
            UIS.MouseBehavior = Enum.MouseBehavior.Locked
        end
    end
end)

-- 🧠 Mouse unlock fix
lp:GetMouse().Icon = "rbxasset://textures/ArrowCursor.png"
UIS.MouseIconEnabled = true
lp.CameraMode = Enum.CameraMode.Classic
game:GetService("StarterPlayer").EnableMouseLockOption = false

RS.RenderStepped:Connect(function()
    if UIS.MouseBehavior ~= Enum.MouseBehavior.Default then
        UIS.MouseBehavior = Enum.MouseBehavior.Default
    end
end)

Features & Information

🔫 Gun Mod Features: Custom Gun Selector GUI Smooth draggable frame with a clean dark UI. Dropdown menu for selecting different weapons. Weapon Options Available Rifle DoubleBarrel M1911 Revolver AK74 Tec9 Real-Time Gun Stat Editor Apply custom stats to any selected gun instantly. Stats applied include: ✅ Damage: 200 ✅ Attack Speed: 0.5 ✅ Reload Speed: 0.5 ✅ Recoil: 0 ✅ Crosshair Size: 20x20 ✅ Pellets: 10 ✅ Automatic Mode: Off Quick ProximityPrompt Optimization One click sets all ProximityPrompts in the game to 0 hold duration. Keyboard Toggle for UI Press K to show/hide the GUI at any time. Safe Integration Auto waits for PlayerGui and character to load. Automatically updates dropdown size based on content. Includes fallback warnings if selected tools aren't found. MouseLock Disabled & Classic Camera Mode Gives players full control over their view and mouse. NOTE: You have to Equip The gun you want to add the mod on.
#Brothers Vow#BV#Op#Script#Op script

Community Comments (29)

ReiiiKReiiiKMay 4, 2025

this does NOT work

A_CoderA_CoderMay 5, 2025

Only works on high level executors

A_CoderA_CoderMay 5, 2025

I think you use xeno or solara or nezur

roaldballestad08roaldballestad08May 5, 2025

how the hell am i supposed to apply gun stats to my rifle if my mouse is locked

A_CoderA_CoderMay 5, 2025

Press B to unlock the stats

A_CoderA_CoderMay 5, 2025

How the hell you don't know this?

A_CoderA_CoderMay 5, 2025

I did a fix and I'll add it rn

roaldballestad08roaldballestad08May 5, 2025

@A_Coder ts does not work after all

A_CoderA_CoderMay 5, 2025(edited)

@roaldballestad08 Are you dumb I said in the beginning it doesn't work for xeno, solara, nezur or any low unc executors you dumb *

A_CoderA_CoderMay 5, 2025(edited)

@roaldballestad08 why are you hating on me? why are you mad? like what did do to you? to start hating.

A_CoderA_CoderMay 5, 2025

like tell what did I do?

roaldballestad08roaldballestad08May 6, 2025

@A_Coder It doesnt work, simple as that. No need to be childish about it. Btw im using visual 100 sunc and unc

A_CoderA_CoderMay 8, 2025(edited)

@roaldballestad08 yea that executor doesn't support require use swfit. it works

roaldballestad08roaldballestad08May 8, 2025

@A_Coder I used swift too. noob get reported

rtyweropnmuwrtyweropnmuwMay 12, 2025

alr so the script works and it's the best one so far

rtyweropnmuwrtyweropnmuwMay 12, 2025

maybe ur executer doesn't support

rtyweropnmuwrtyweropnmuwMay 12, 2025

w @A_Coder

A_CoderA_CoderMay 13, 2025

Thx man

A_CoderA_CoderMay 13, 2025(edited)

@roaldballestad08 if it didn't work then none of my business. I Ain't gonna make a fix you can make it if you want but I ain't making anything for you lil *

hdbutonghdbutongMay 14, 2025

Um i think this is patched?? The gun mods don't do anything

hdbutonghdbutongMay 14, 2025

Also I'm using volcano executor

hdbutonghdbutongMay 14, 2025

It has 95 sUnc and 98% UNC I think

huyv2110huyv2110May 14, 2025

Where's the AK47

A_CoderA_CoderMay 15, 2025

@hdbutong this executor doesn't support the function 'require'

hdbutonghdbutongMay 16, 2025

what executors does this script support?

MentalMentalJun 3, 2025

Can U make another script for this basically like bring shi or hitbox expander for the npcs

A_CoderA_CoderJun 3, 2025

Alright I'll do this

abdurrahmanwaqar29abdurrahmanwaqar29Mar 25, 2026

Does this still work?

More Scripts for Brother's Vow