Roblox Wave System with Progressive Difficulty
Generate a robust enemy wave controller for Roblox survival, tower defense, arena, or dungeon experiences. The result is a server-side Luau Script prepared to control the full cycle: preparation, staggered spawning, monitoring living enemies, wave completion, and a pause before the next round.
The prompt first requests the technical context of your project — Explorer hierarchy, enemy models, spawn points, attributes, RemoteEvents, and existing integrations — so it can return code compatible with your real structure. The implementation prioritizes server authority, scalability, validations, and useful comments for professional maintenance.
Act as a senior Roblox Luau developer, specialized in server-authoritative multiplayer systems, performance, and scalable gameplay architecture. I will provide my game context below; use it as the source of truth and generate a single complete Luau Script for an enemy wave system with progressive difficulty.