I have been trying to make a tower battles game for days now, but there is this little error that wont go away..
The error is the title.. Here is my script, read through it and tell me if something is wrong.
local enemyai = require(game.ServerScriptService.Modules.Classes.Enemy.EnemyAi)
local source = {}
for_.n in pairs(workspace.Course.Paths:GetChildren()) do source[n.Tag.Value] = n end
source["StartingPoint"]= workspace.Course.Other.StartPath
while wait() do spawn(function() enemyai.StartEnemy(source,"Regular") wait(3) end

1 comment
Sorry the lines are a bit messed up, I copy and pasted it. xd