Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Decompiled with Konstant V2.1, a fast Luau decompiler made in Luau by plusgiant5 (https://discord.gg/wyButjTMhM)
- -- Decompiled on 2024-11-17 00:26:09
- -- Luau version 6, Types version 3
- -- Time taken: 0.001011 seconds
- print("Loading shared")
- local module = {}
- local module_upvr = require(game.ReplicatedStorage:WaitForChild("Mods").ItemDatabase:WaitForChild("Shared"))
- function module.SetupFiringStats(arg1, arg2) -- Line 12
- --[[ Upvalues[1]:
- [1]: module_upvr (readonly)
- ]]
- local tbl = {}
- local var15
- for i, v in pairs(arg1.DefaultFiring) do
- local function INLINED() -- Internal function, doesn't exist in bytecode
- var15 = arg2.Firing[i]
- return var15
- end
- if not arg2 or not INLINED() then
- var15 = v
- end
- tbl[i] = var15
- end
- if arg2 then
- for i_2, v_2 in pairs(arg2.Firing) do
- var15 = tbl[i_2]
- if not var15 then
- tbl[i_2] = v_2
- end
- end
- end
- arg1.Firing = module_upvr.GetAdjustedStats(tbl, arg1.AttachmentStats)
- end
- print("loaded shared")
- return module
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement