Hi All, I'm trying to move a part up when pressing "T" on the keyboard but for some reason, the Y position doesn't change. As you can see in my code, below I've tried a few things:

if input.KeyCode == Enum.KeyCode.T then keyIsPressed = true placingStructure = true

print("Pushing part up")
local yPosition = 1
local YGoUP = clientStructure.Position.Y

while keyIsPressed do
    wait()
    if placingStructure == true then
        yPosition = yPosition + .1
        
        
        
        -- don't need this
        ---clientStructure.Position = Vector3.new(0,yPosition,0)
        --CFrame.new(clientStructure.Position + Vector3.new(0,yOrientation,0))
        print(YGoUP)
        --local CFrameNew = CFrame.new(clientStructure.Position.X, YGoUP + yPosition , clientStructure.Position.Z )
        local CFrameNew = CFrame.new(clientStructure.Position + Vector3.new(0,yPosition,0))
        clientStructure.CFrame = CFrameNew
        --  -218.602188, 607, 441.132629, 1, 0, 0, 0, 1, 0, 0, 0, 1
        wait()
        print(placingStructure)
        print("Position IS")
        print(clientStructure.Position)
        print("CFrame IS")
        print(CFrameNew)
    end
end

end

The console output:

InputBegan UIS NOW Enum.KeyCode.T Pushing part up 7 true Position IS -185.034134, 7, 441.171173 CFrame IS -185.034134, 8.10000038, 441.171173, 1, 0, 0, 0, 1, 0, 0, 0, 1 7 true Position IS -185.034134, 7, 441.171173 CFrame IS -185.034134, 8.19999981, 441.171173, 1, 0, 0, 0, 1, 0, 0, 0, 1 7 true Position IS -185.034134, 7, 441.171173 CFrame IS -185.034134, 8.30000019, 441.171173, 1, 0, 0, 0, 1, 0, 0, 0, 1 7 true Position IS -185.034134, 7, 441.171173 CFrame IS -185.034134, 8.39999962, 441.171173, 1, 0, 0, 0, 1, 0, 0, 0, 1 7 true Position IS -185.034134, 7, 441.171173 CFrame IS -185.034134, 8.5, 441.171173, 1, 0, 0, 0, 1, 0, 0, 0, 1 7