the last one i made is outdated how do i get my towers to work and my enemies movement working i am trying to remake vault tower defense heres code
local enemyData = {
[“HP”] = 100;
[“Node”] = 1;
[“CFrame”] = CFrame.new(workspace.Nodes[1].Position, workspace.Nodes[2].Position)
}
game:GetService(“RunService”).Heartbeat:Connect(function()
enemyData.CFrame = enemyData.CFrame:ToWorldSpace(CFrame.new(0, 0, 1))
if (enemyData.CFrame.Position - workspace.Nodes[enemyData.Node + 1].Position).Magnitude <= 1 then
enemyData.Node += 1
enemyData.CFrame = CFrame.new(workspace.Nodes[enemyData.Node].Position, workspace.Nodes[enemyData.Node + 1].Position)
end
end)
heres more
local module = {}
module[0] = {
TimeOver = 2,
Enemies = {}
}
module[1] = {
[“TimeOver”] = 2,
[“Enemies”] = {
{
[“Name”] = “Walker”,
[“Amount”] = 8,
TimeBetween = 0.75,
TimeUntilNextGroup = 1
}
}
}
return module
hello if anyone would join me in a remake of a game project a remake of vault tower defense i need a scripter and modeler/gui maker and i will be the person to give the ideas to yall if you want to join:D edit btw