Files
community_bridge/lib/entities/client/behaviors/init.lua
T

20 lines
442 B
Lua
Raw Normal View History

local fileList = {
"particles",
"targets",
}
local path = "lib/entities/client/behaviors/"
local function loadAllResources()
local modules = {}
for _, fileName in ipairs(fileList) do
local filePath = path .. fileName .. ".lua"
local required = Require(filePath)
if required then
table.insert(modules, required)
end
end
return modules
end
return loadAllResources()