So here is a script I sort of modified and I want to know how to make the bricks be placed on a 1 stud instead of using no grid. Below is the script.
tool = script.Parent
function click(mouse)
local part = Instance.new("Part")
part.Position = mouse.hit.p
part.Parent = game.Workspace
part.Anchored = true
end
function selected(mouse)
mouse.Button1Down:connect(function () click(mouse) end)
end
tool.Selected:connect(selected)

6 comments
When you say Pos, does that refer to position?
Never mind! I got it working! Thank you for the help!
How would I change the X and Z grid to 2 studs?
I believe you would divide the position of the mouse by 2, add 0.5 again (because it rounds down automatically), then multiply that by 2 again!
I did it but all it does is offset where the brick is placed. Here is what I wrote: local Pos = Vector3.new( math.floor( mouse.Hit.p.X /2+0.52),math.floor(mouse.Hit.p.Y + 0.5),math.floor(mouse.Hit.p.Z /2+0.52))
you haveto remeber BEDMAS Brackets,exponents,division,multiplication,addition subtraction. (mouse.Hit.p.X /2+0.5*2) should be ((mouse.Hit.p.X /2+0.5)*2)