Hello,
I am looking to make a part that is attached to the player but does NOT rotate when the player rotates, here’s some code I have that works just still rotates with the player:
--(This script is inside of StarterPlayer.StarterCharacterScripts)
local player = game:GetService("Players").LocalPlayer;
local part = Instance.new("Part");
local weld = Instance.new("Weld");
part.Parent = player.Character;
part.CFrame = player.Character:WaitForChild("Head").CFrame;
part.CanCollide = false;
weld.Parent = part;
weld.Part0 = player.Character:WaitForChild("Head");
weld.part1 = part;
I have also tried using an AlignOrientation
but that didn’t work.
Thank you!