#im trying to make a tower defense game but only one zombiw spawns
1 messages · Page 1 of 1 (latest)
idk too
it's impossible to be sure what this cryptic arrangement of letters and numbers is trying to do but, and this is just a guess, it probably has something to do with waiting instead of spawning things.
hmm ima turn it up from 0.5 to 1
** You are now Level 3! **
yes i'm sure that will spawn more mobs!
it doesn't.....
oh, maybe if you make it wait longer it'll do something different
maybe it has something to do whit
local newMob = mobExists:Clone()
newMob.HumanoidRootPart.CFrame = map.Start.CFrame
newMob.Parent = workspace
coroutine.wrap(mob.Move)(newMob, map)
else
warn("Mob wasn't found", name)
end
it's impossible to say what this cryptic code does but going by the newMob and the Clone, it might be cloning a new mob once. hard to say for sure
idk too
if i were to guess, maybe you wanted to do that multiple times instead of waiting for a miracle multiple times?
code is so confusing, it always does exactly what you tell it to do, why can't it simply read minds 
this is 2025 after all, we have ai now, but we can't make mind reading code? we really are still in the dark ages
wait doesnt studio have a AI you can ask whats wrong whit the code
i think you've used enough ai to dig yourself into this hole as it is 
i dint use ai tbh
maybe try reading some of these https://create.roblox.com/docs/tutorials/fundamentals/coding-1/coding-fundamentals
particularly the page about loops
welp didnt use ai but why not
or i suppose you can keep blindly banging your head against a wall and randomly changing things and maybe it will eventually do what you want in your lifetime
idk, i'm of the opinion that learning how to code is the best way to know how to write code ;o
but i could very easily be wrong about that. learning things is for nerds
first of all i made it on my own second of all please stop bullying me
i'm saying copying from tutorials isn't writing it yourself, you learn very little to nothing from it
that's why you're stuck right now ;o
all u have to do is move the npc spawn code, the thing that clones, into the loop
obviously so it repeats the spawn code however many times you wanted
no sarcasm that time that's how you do it ;p
foreshadowing at its finest
all you're doing in that loop is waiting, you're not spawning anything. you probably wanted to spawn things in that loop but instead you only spawn it once
not sure why you have the loop with only a wait in it - you know how to use loops, riiiight? https://create.roblox.com/docs/tutorials/fundamentals/coding-4/landing
foreshadowing is fun