How do I rotate this a player's clone, CFrame.Angles() doesn't seem to work

Code:

VIDEO:

shadowCloneJutsuAnim:GetMarkerReachedSignal("Seal"):Connect(function()
		debounce = true
		character.Archivable = true
		local clone = character:Clone()
		clone.HumanoidRootPart.CFrame = character.HumanoidRootPart.CFrame * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)) * CFrame.new(0, 0, 3) -- How would I rotate it..?
		
		shadowCloneJutsuAnim:AdjustSpeed(0)
		wait(.3)
		clone.Parent = workspace
		cloneParticle.Parent = clone.HumanoidRootPart
		Debris:AddItem(cloneParticle, 0.7)
		shadowCloneJutsuAnim:AdjustSpeed(1)
		wait(3)
		debounce = false
	end)

I might not be using it correctly…

1 Like

Just change the orientation of the clone.

Try remove the * CFrame.new(0, 0, 3) part and do:

CFrame.new(character.HumanoidRootPart.CFrame.X, character.HumanoidRootPart.CFrame.Y, character.HumanoidRootPart.CFrame.Z + 3) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0))

This is what I did, your suggestion was too long…

clone.HumanoidRootPart.CFrame = character.HumanoidRootPart.CFrame * CFrame.new(3.5, 0, -1.2) * CFrame.Angles(0, math.rad(90), 0)

RESULT:

Thanks for the help though.