Mesh Facing wrong direction

I am trying to make multiple mesh parts appear but,
when the player puts their camera into a different position, the Meshpart is no longer aligned. How can I make it face the player?

script.Parent.WindSlashRemote.OnServerEvent:Connect(function(plr)

  local char = plr.Character
  local Hum = char:WaitForChild("Humanoid")
  local HumRp = char:WaitForChild("HumanoidRootPart")
  local VFx = script.Parent:WaitForChild("VFX")
  local Debris = game:GetService("Debris")
  local slash1 = VFx:WaitForChild("Slash1"):Clone()
  local slash2 = VFx:WaitForChild("Slash2"):Clone()
  local DiamondEffect = VFx:WaitForChild("DiamondMesh"):Clone()
  local folder = Instance.new("Folder",workspace)
  folder.Name = plr.Name..("Effects")
  Debris:AddItem(folder,100)
  local Anim = script.Parent:WaitForChild("Animations")
  local Sounds = script.Parent:WaitForChild("Sounds")
  local weld1 = Instance.new("ManualWeld")
  
  
  
  
  slash1.Parent = folder
  slash2.Parent = folder
  DiamondEffect.Parent = folder
  slash1.CFrame = HumRp.CFrame * CFrame.new(0,2,-5) 
  slash1.Orientation = Vector3.new(6.16, -15.6, 42.35) 
  slash2.CFrame = slash1.CFrame 
  slash2.Orientation = Vector3.new(-2.04, 28.45, 140.38)
  DiamondEffect.CFrame = slash1.CFrame * CFrame.new(0.2,0,0.8) 
  DiamondEffect.Orientation = Vector3.new(6.47, 5.34, 0.33) 
  
  
  weld1.Part0 = slash1
  weld1.Part1 = slash2
  weld1.C0  = weld1.Part0.CFrame:toObjectSpace(weld1.Part1.CFrame)
    weld1.Parent = weld1.Part0		

end)

it might be hard to see but this is the player turning back

This is the player facing front

And finally this is a side view

Change the orientation that you are using

1 Like

Looks like you are using World Orientation instead of Object Orientation for your CFraming.

1 Like

You can change the CFrame’s Angle property. By using the CFrame.Angle() method along with math.rad() to determine the angle’s radian…

Quick Example:

CFrame.Angles(math.rad(90),0,0) -- The x radian
1 Like

Can you please elaborate on that?

Instead of using WorldOrientation Use ObjectOrienation

1 Like

ohh ok my fault I just didn’t get what you were saying lasttime.