try this instead
hunterconfig = {
respawntime = 10*1000,-- MAKE SAME AS SPAWN TIME ON MAP
chance2 = 50,
chance3 = 25,
chance4 = 5,
monster1 = 'Hunter1',
monster2 = 'Hunter2',
monster3 = 'Hunter3',
monster4 = 'Hunter4'
}
hunters = {}
hunterpos = {}
function...