How to make this clone -90º?

Hello, I would like to know how I can make THISDUMMY be at -90º on the ground like a dead body

image

Script (Server Script Service)

game.Players.PlayerAdded:Connect(function(player)
	player.CharacterAdded:Connect(function(character)
		character.Humanoid.Died:Connect(function(plr)
			local dm = game:GetService("ReplicatedStorage"):FindFirstChild("THISDUMMY"):Clone()
			print("cloned!!")
			dm.Parent = workspace
			dm:FindFirstChild("HumanoidRootPart").CFrame = character.HumanoidRootPart.CFrame
			local humanoid = dm.Humanoid
			local desc = game.Players:GetHumanoidDescriptionFromUserId(player.UserId)
			humanoid:ApplyDescription(desc)
		end)
	end)
end)

I’d recommend playing an animation. You could also use humanoid states or CFrames.

dm:FindFirstChild("HumanoidRootPart").CFrame = character.HumanoidRootPart.CFrame *

CFrame.fromOreintation(0,math.rad(90), 0)). Might be something like this. Play with the CFrame Orientation a little.

It did not work, It did not change the position of thisdummy :frowning:

If your dummy is not anchored then it will fall once you do something like this:

dm:SetPrimaryPartCFrame(character.Humanoid.RootPart.CFrame * CFrame.Angles(0, math.rad(90), 0)

If your dummy is anchored then you would need to put him a bit down or instead of character.Humanoid.RootPart.CFrame as i showed above do something like character.LeftFoot.CFrame (depends on what rig type you use).