I'm trying to make this script work, I need it to only summon the amount defined in maxMonster, but it summons the monsters infinitely, could anyone help me? And I also need you to summon 2 different monsters, you can use Demon as an example
local function getRandomPosition(minPosition...