You can write your topic however you want, but you need to answer these questions:
-
What do you want to achieve? Keep it simple and clear!
Hello, i followed a tutorial on how to make a combat system and expanded on it, basically i have a folder with 4 module scripts and each one corresponding to an ability, and i created a module basically to stretch parts for some of my abilities
basically, in the second ability and in the first i do this
function module.Init()
AttackHitboxes = module.Modules.AttackHitboxes
RubberModule = module.Modules.RubberModule
end
and the server loads the modules
for _, Module in LoadedModules do
if type(Module.Init) == "function" then
Module.Init()
end
end
and it is identical for both scripts, but for some reason, it dosen’t call the initialize function in the first module, only in the first.
And it actually worked previously, i was just making a system so you can switch characters and it would handle multiple characters, when i tested it it broke and only is broken in the first module
uhmm im not actually that experienced, but i really want to keep developing my game!
i searched and didnt found anything regarding this, if someone wants to help i would really appreciate it!