--Server Script FE Enabled
--x is mouse.hit.x, y is mouse.hit.y and z is mouse.hit.z the mouse hits are sent from the player with a remote event
local function roundXYZ(x,y,z)
return Vector3.new(x-x%3,y-y%3,z-z%3)
end
cl.Position = roundXYZ(posX,posY,posZ)
Why is this script not placing the part on side of another part when i click on the side and instead on top of the clicked object?

2 comments
One problem could be that you're using Position instead of CFrame
ok