Sadly it doesnât run in studio or the Roblox Client. Hereâs the settings:
---------------------------
-- Justice Configuration --
---------------------------
return {
count = 20, -- The amount of NPCs you want to generate
movementTimeout = 3, -- How long the NPCs can be stuck for before they give up and go to another target
maxDawdlingTime = 5, -- How long the NPCs will dawdle in an area before they select a new target
canCollideWithNPCs = false, -- If NPCs can collide with each other
canCollideWithPlayers = false, -- If NPCs can collide with players
discriminators = { "male", "female" }, -- How NPCs will be unique (e.g. gender, race, etc.)
origin = CFrame.new(25.63, 279.603, 132.32), -- The spawnpoint of the NPCs
logging = true, -- If logging should be enabled.
nameGenerator = function(i) -- The function used to generate names for the NPCs.
return "Intern " .. i
end,
}
Did I do something wrong? I havenât messed with anything else.
Hey there! I also use the same NPC system for the last couple of months, and from my experience, whenever NPCâs are just frozen its either you donât have any destination for them to go to or that you probably messed something up from the main script.
Iâm not sure, I only have a flat floor and designated area for them to walk around to, and from what I found out, they need to have at least ~20 studs wide of a hallway in order for them to go to a destination.
@lewisakura Would there be any reason why the module would be bugging in such a way? The part for the NPCâs to move in is 200x800x20. Would there be any reason why the cannot move?
There are some invisible walls, nothing confining them to that area though. Most of the map is made from mesh parts if that would cause any issues, thanks in advance, apoaddda.
Works great for me. Just tested it with 700 NPCâs. The only thing bugging me is figuring out how to hide the dummy template. Everywhere I stash him, the script breaks.