How do you assign a Models Pivot orientation?

How do you assign a Models Pivot orientation? Im very confused on how Im supposed to do this because whenever I set a models pivot to the HumanoidRootPart, it changes Orientation and it annoying.

This is ruining the script and it is making the part turn the wrong way.

Im trying to make an Ability local script so that after 3 clicks an ability will be summoned. Im currently trying to make the script summon the FX for the ability, but it doesn’t seem to be working. The part keeps flipping in another direction which is annoying. I want to make it so that the model will keep its old rotation.

Script

local Tool = script.Parent

local Ability1Combo = 0

local RS = game:GetService("ReplicatedStorage")

local AbilityFX2 = RS:WaitForChild("AbilityFX2")

local Debounce = false

Tool.Activated:Connect(function()
	if Debounce == false then
		task.wait(1)
		Ability1Combo = Ability1Combo + 1
	else
		if Debounce ~= false then
			print("Ability 2 Is On Cooldown...")
		end
	end
end)

local function SummonAbility()
	Debounce = true
	print("The Ability Flower Power Has Been Summoned")
	local FXClone = AbilityFX2:Clone()
	FXClone.Parent = workspace
	FXClone.CFrame = FXClone:PivotTo(script.Parent.Parent:WaitForChild("HumanoidRootPart").CFrame)
	task.wait(30)
	Ability1Combo = 0
	Debounce = false
end

while true do
	task.wait()
	if Ability1Combo == 3 then
		Ability1Combo = 0
		
		task.wait(0.5)

		SummonAbility()
	end
end


while true do
	task.wait(0.5)
	print(Ability1Combo)
end

I changed the script a bit but Im still having issues.

There might be a simpler way I’m not sure, but this should do what your asking:

local orgLV = FXClone:GetPivot().LookVector --Save the look vector
local HRP_CF = script.Parent.Parent:WaitForChild("HumanoidRootPart"):GetPivot() --Get HRP Pivot CF

local lookTarget = HRP_CF.Position + (orgLV * 10) 
--A position 10units in the direction the FX Clone was looking starting from the HRP position

--A CFrame positioned at the HRP position, looking toward the target direction
local newFX_CF = CFrame.lookAt(HRP_CF.Position, lookTarget)

FXClone:PivotTo(newFX_CF)