gun modification
Key Required

gun modification

[HALLOWEEN] TECHYelysiumisevilelysiumisevil 1.6K views 4.9K executesUpdated Aug 2, 2026
Unrated
00
Lua Script•50 lines (1217 chars)
local Recoil = require(game:GetService("ReplicatedStorage").Shared.Weapons.RecoilConfig)

local fields = {
    "VelocityDegPerSec", "MagnitudeVariance", "RecoilAngleDeg",
    "AngleVarianceDeg", "AimPunchScale", "ViewRecoilTracking",
    "ViewPunchExtraFrac", "ViewPunchDecay", "DecayExp",
    "DecayLin", "VelDecay"
}

local function punchee(punch)
    if not punch then return end
    for _, key in ipairs(fields) do
        punch[key] = 0
    end
end

punchee(Recoil.Punch)
Recoil.PatternResetTime = 0

for _, config in pairs(Recoil.Configs or {}) do
    if config.Primary then
        punchee(config.Primary.Punch)
        punchee(config.Secondary.Punch)
    else
        punchee(config.Punch)
    end
    config.PatternResetTime = 0
end

local oldGet = Recoil.Get
Recoil.Get = function(weapon, mode)
    local config = oldGet(weapon, mode)
    if config.Primary then
        punchee(config.Primary.Punch)
        punchee(config.Secondary.Punch)
    else
        punchee(config.Punch)
    end
    config.PatternResetTime = 0
    return config
end

local oldR8Punch = Recoil.r8Punch
Recoil.r8Punch = function(...)
    local punch = oldR8Punch(...)
    punchee(punch)
    return punch
end

--ok i used AI on that sh

Features & Information

if u find any error in the script. just ask me to fix in my DM : elysiumisevil this script ONLY remove the recoil. not the spread. if u want modifiy the spread. see below local u1 = { PatternResetTime = 0.8, Punch = { VelocityDegPerSec = 48.2, MagnitudeVariance = 0.37, AngleVarianceDeg = 60, AimPunchScale = 2, ViewRecoilTracking = 0.45, ViewPunchExtraFrac = 0.1, ViewPunchDecay = 18, DecayExp = 8, DecayLin = 18, VelDecay = 4.5 }, Inaccuracy = { SpreadDeg = 0.115, StandDeg = 0.241, CrouchDeg = 0.125, FireDeg = 4.131, MoveDeg = 2.755, JumpDeg = 2.323, JumpInitialDeg = 28.76, JumpApexDeg = 18.34, LandPerFallSpeedDeg = 0.0205, LandMaxDeg = 5, MaxInaccuracyDeg = 45, RecoveryTimeStand = 0.8112, RecoveryTimeCrouch = 0.449927, AirRecoveryMult = 4, SettleDelay = 0.3, SettleRecoveryTime = 0.18, Movement = { GunMaxSpeed = 25, AccurateFrac = 0.6, MaxFrac = 0.95, RunExponent = 0.25, WalkExponent = 0.85, SlideAddDeg = 1.25 }, Air = { JumpImpulse = 35.417 }, Bhop = { MinChain = 2, MinSpeed = 35, RecentlyHopWindow = 0.65, RewardPerChain = 0.2, RewardMax = 0.8 } } }; path : game:GetService("ReplicatedStorage").Shared.Weapons.RecoilConfig

Community Comments (0)

No comments yet for this script.

More Scripts for [HALLOWEEN] TECHY