Have an idea why this is not working?

I’m trying to initialize my code but its not recognizing the “Init:” method in a module. I’ve checked through all my modules(6), and they all have init.

Error:

Players.Violet_sheer.PlayerScripts.Environment:5: attempt to call missing method 'Init' of table

Initializing script:

for i,v in script:GetDescendants() do
	if v:IsA("ModuleScript") then
		local module = require(v)
		if module then
			module:Init()
		end
	end
end
2 Likes

Nevermind my bad, I didn’t open a module that handled an ability that used no effects, triple.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.