Hi everyone, I feel like I now have the experience to script a plot system like lumber tycoon where you can build anywhere on it with a grid. I obviously want to add all the security needed to keep plots safe.
Except a 10h long playlist that asks us to copy the script as is, I found no real guidance on how the system should normally work.
QUESTION: How would I be able to detect in a good manner whether the block placed by the player is within the plot’s bounds?
I already taught about adding invisible border parts around to detect if any placed furniture would end up outside the build region.
P.S.: *All the objects will have a hitbox in rounded studs measures to make the grid placement easier. This being said, I will only have to keep an invisible hitbox part that the server will be able to track whether other parts are touching or not. *
Feel free to add some ideas to the discussion.