Hello, I’m new to using crusherfire’s Module Loader so forgive me if I’m mistaken.
It appears that his module is loading everything twice, and I’m not sure if I’m doing something wrong or not. This only happens on client. Can anyone help?
I just found the source of the bug. The modules I was using were parented inside of StarterPlayer, so CollectionService returned both the StarterPlayer versions, and the replicated versions inside of the player.
I just added this into keepModule() and it started working
if module:FindFirstAncestor(game:GetService("StarterPlayer").Name)
or module:FindFirstAncestor(game:GetService("StarterGui").Name)
or module:FindFirstAncestor(game:GetService("StarterPack").Name)
then
return false
end