How to make a Plot system + block area

Hello everyone, I need help! wants to create a Plot system where you can block it so that no one can enter your area + you can choose what kind of house you want to join there ( but it’s not important with this house )

I’m not entirely sure what you mean by the house part of this question, but blocking players from entering an area is pretty straightforward. First, you can create a table that stores player names as a whitelist, and then have a defined Region3 where the plot is, and when a player who isn’t whitelisted enters the Region3 you’d set the position of a player’s HumanoidRootPart outside of the plot.

An alternative idea would be having the same whitelist table as mentioned prior, and creating an invisible part covering the entire plot. You could set up collision groups, one for specifically the door (so that it doesn’t collide with the contents of the plot), one for whitelisted players so that they do not collide with the door, and one for everyone else, where they collide with the part rendering them unable to enter.

1 Like

and how to do it as a gui?because I am doing a roleplay where there will be houses (Plot) to choose from and I want a button on the interface to pop up after selecting the plot that you want to close your area with a field through which other players cannot pass until you cancel. thanks for any help!

1 Like