Hey there, I’m working on my first combat style module and I have this error, and I do not know why that happens. Does anyone have an idea of how I can fix this? Thanks! Images are below
On line 20 youre trying to require the AttackName as a child of the Module,
Replace the CombatModule variable with this:
local CombatModule = require(game:GetService("ServerScriptService"):WaitForChild("CombatModule"))
and remove the require from line 20