Sorry if this isnt quite well explained, but ive been trying to make a way to change a bricks position to the closest numbers divisable by 5. i.e (14,8,1) to (15,10,0)
I cannot find any way to do this, and ive not found any solutions so far. Here is my current way of doing this:
local Xpos = math.round(script.Parent.Position.X)
local Ypos = math.round(script.Parent.Position.Y)
local Zpos = math.round(script.Parent.Position.Z)
script.Parent.Position = Vector3.new(Xpos,Ypos,Zpos)