Ive made a simple sandbox placing thing, but now I have a problem, how do I stop the green block going inside? https://gyazo.com/72e52379f548b38c93402b7ee99b074e This is my block placing script down below:
SetPrimaryPartCFrame(CFrame.new(PlrMouse.Hit.p.X-PlrMouse.Hit.p.X%5+2.5, PlrMouse.Hit.p.Y-PlrMouse.Hit.p.Y%5+2.5, PlrMouse.Hit.p.Z-PlrMouse.Hit.p.Z%5+2.5))
I added +2.5 to make it in the center of the mouse also.
