Hello, I just want to know if it's possible and what (function/snippet/concept/topic of lua) that I would use if I wanted to create something like this, basically I want you to point me towards a path that I can go to, to create this.
Is it possible to detect when a player is near a brick or when a brick is near another brick? What would I use to achieve this?
Please point me towards the right direction. Thank you!

3 comments
This seems like a great explanation. Thank you very much. However, if you can still reply then may I ask what it subtracts '5' by? The X axis or the Y axis?
Thank you and it doesn't matter if you come to the brick from the x,y, or z axis if you are close enough it will detect you
I believe the 5 is measuredn studs