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.Part0end)
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


