This is what happens when i place stuff
My current script
Position is from raycasting the mouse position
local CF, Size = ClientStructure:GetBoundingBox()
local NewAnglesCFrame = CFrame.Angles(0, math.rad(YOrientation), 0)
local NewCFrame = CFrame.new(Position.X, Position.Y + Size.Y/2, Position.Z)
ClientStructure:PivotTo(NewCFrame * NewAnglesCFrame)
I want the fence to be on the ground, not floating