
KeylessUniversal

local ItemLibrary = require(game:GetService("ReplicatedStorage").Modules.ItemLibrary)
local weapons = {
Sniper = {
WalkSpeedMultiplier = 4
}
}
for name, item in pairs(ItemLibrary.Items) do
local mods = weapons[name]
if mods then
for key, value in pairs(mods) do
if type(value) == "table" and type(item[key]) == "table" then
for subKey, subValue in pairs(value) do
item[key][subKey] = subValue
end
else
item[key] = value
end
end
end
end



how would i use this for gun mods. can you give me some *istance?
@Ny01n ahhh ok thank you
Wait do I change the code or what
@ILoveHacks123 yes I did it more for other developers or like that