every player in the game has a plot, and inside the plot table, there are minimum and maximum x,y, and z values that a part must be within to be able to place it. here is how that is set:
I then have another function that returns true to the client if the given position is within the plot’s zone. here it is: (the prints are for debugging. it only ever prints within x range by the way.)
I would print your minimum and maximum values to see if they’re being calculated correctly, I’d also use >= and <= instead of > and < to be inclusive, otherwise trying to place something right on the edge of the plot would be considered out of bounds.