Can NPCs claim a plot?

Hi

Can NPCs claim a plot? Let’s say I add a proximity prompt to an NPC. I press “E” and then they will go to a plot that is available, and it will be theirs. Once the plot is theirs it will be linked to them.

can you provide more informations about what you want to achieve?

2 Likes

You can have a folder with all plots, and have a BoolValue for each plot, if its true, then its taken, if its false its free. You can have a part to every plot, and use the Humanoid:MoveTo() function.
explained: Moving NPCs Between Points
When they arrive at the point using Humanoid.MoveToFinished:Wait(), make the BoolValue for the plot true

2 Likes

Hi, what did you write? I didn’t see.

Its a simulator game where NPCs can claim houses and live in it.

Thank you so much! I’ll try that :slight_smile: