My question is: Is there any way to change orientation of Model while using :SetPrimaryPartCFrame() in Filtering Enabled?

Here's my code:

-- V A R I A B L E S

local Player = game:GetService("Players").LocalPlayer
local Database = Player:WaitForChild("Database")

local ModelToBeMoved = game:GetService("Workspace"):WaitForChild("Blacksmith_Ruins")
local ModelToBeMovedActivator = game:GetService("Workspace"):WaitForChild("BSRuinsGUI_Link")


local ModeToBeShown = game:GetService("Workspace"):WaitForChild("Blacksmith")



script.Parent.MouseButton1Click:Connect(function()
	
    if Database.Value_Inv.Plank_Value.Value >= 5 and Database.Value_Inv.Rock_Value.Value >= 10 and Database.Value_Inv.Stick_Value.Value >= 8 then
	
        Database.Value_Inv.Plank_Value.Value = Database.Value_Inv.Plank_Value.Value - 5
        Database.Value_Inv.Rock_Value.Value = Database.Value_Inv.Rock_Value.Value - 10
        Database.Value_Inv.Stick_Value.Value = Database.Value_Inv.Stick_Value.Value - 8

        ModelToBeMoved:MoveTo(Vector3.new(999, 999999, 999))
        ModelToBeMovedActivator:Destroy()
        ModeToBeShown:SetPrimaryPartCFrame(CFrame.new(534.593, 6.588, 150.695))
		
		
		script.Parent.Parent:WaitForChild("ReturnButton"):Destroy()
		wait(0.5)
        Player.PlayerGui:WaitForChild("BSRuinsGUI"):Destroy()
    end
end)

I'm sorry if I am boring but, I really need help. Please don't moderate this post, I'm not requesting.