GunMod
Key Required

GunMod

Last RunZemon07Zemon07 600 views 59 executesUpdated Jan 12, 2026
0.0/ 5(1 votes)
010% Positive
Lua Script•119 lines (3552 chars)
-- ===== OP GUN MODE =====
if game:GetService("CoreGui"):FindFirstChild("ToraScript") then
    game:GetService("CoreGui").ToraScript:Destroy()
end

local Library = loadstring(game:HttpGet(
    "https://raw.githubusercontent.com/liebertsx/Tora-Library/main/src/librarynew",
    true
))()

local Window = Library:CreateWindow("Last Run - Gun Mod")

local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer

local GunBackup = {}

local function SetGun(tool, enable)
    if not tool:IsA("Tool") then return end

    if enable then
        
        if not GunBackup[tool] then
            GunBackup[tool] = {
                ammo = tool:GetAttribute("ammo"),
                damage = tool:GetAttribute("damage"),
                fireMode = tool:GetAttribute("fireMode"),
                recoilMax = tool:GetAttribute("recoilMax"),
                recoilMin = tool:GetAttribute("recoilMin"),
                rateOfFire = tool:GetAttribute("rateOfFire"),
            }
        end
        
        tool:SetAttribute("ammo", math.huge)
        tool:SetAttribute("damage", math.huge)
        tool:SetAttribute("fireMode", "Auto")
        tool:SetAttribute("recoilMax", Vector2.new(0, 0))
        tool:SetAttribute("recoilMin", Vector2.new(0, 0))
        tool:SetAttribute("rateOfFire", 0)
    else
        
        local old = GunBackup[tool]
        if old then
            tool:SetAttribute("ammo", old.ammo)
            tool:SetAttribute("damage", old.damage)
            tool:SetAttribute("fireMode", old.fireMode)
            tool:SetAttribute("recoilMax", old.recoilMax)
            tool:SetAttribute("recoilMin", old.recoilMin)
            tool:SetAttribute("rateOfFire", old.rateOfFire)
        end
    end
end

local function ApplyGunMod(enable)
    local backpack = LocalPlayer:WaitForChild("Backpack")
    local character = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait()

    for _, tool in ipairs(backpack:GetChildren()) do
        SetGun(tool, enable)
    end

    for _, tool in ipairs(character:GetChildren()) do
        SetGun(tool, enable)
    end
end

LocalPlayer.Backpack.ChildAdded:Connect(function(tool)
    if _G.GUNMODE then
        task.wait(0.2)
        SetGun(tool, true)
    end
end)

LocalPlayer.CharacterAdded:Connect(function(char)
    char.ChildAdded:Connect(function(tool)
        if _G.GUNMODE then
            task.wait(0.2)
            SetGun(tool, true)
        end
    end)
end)

task.spawn(function()
    while task.wait(1) do
        if not _G.GUNMODE then continue end

        local function Check(container)
            if not container then return end
            for _, tool in ipairs(container:GetChildren()) do
                if tool:IsA("Tool") then
                    if tool:GetAttribute("ammo") ~= math.huge then
                        tool:SetAttribute("ammo", math.huge)
                    end
                    if tool:GetAttribute("damage") ~= math.huge then
                        tool:SetAttribute("damage", math.huge)
                    end
                    if tool:GetAttribute("fireMode") ~= "Auto" then
                        tool:SetAttribute("fireMode", "Auto")
                    end
                end
            end
        end

        Check(LocalPlayer.Character)
        Check(LocalPlayer:FindFirstChild("Backpack"))
    end
end)

Window:AddToggle({
    text = "OP GUN MODE",
    state = false,
    callback = function(state)
        _G.GUNMODE = state
        ApplyGunMod(state)
        print("GUN MODE:", state)
    end
})

Library:Init()

Features & Information

[+] GunMod

Community Comments (2)

skyuwu1skyuwu1Jan 12, 2026

doesnt work on velocity

Replying to @skyuwu1
Zemon07Zemon07Jan 12, 2026

@skyuwu1 It works, I tested it.

More Scripts for Last Run