How do I make a part face what the Player's facing?
I need help on this! I'm making a FNAF rp game and that when you hover the mask button it will fire an event and place a mask on the player, it works fine but, the mask faces one direction, I want it to face where the Player's head is facing!
1 | local mask = game.ServerStorage.FNAFMask:Clone() |
2 | mask.CFrame = player.Character.Head.CFrame * CFrame.new( 0 , 0.50 , 0 ) |
3 | mask.Orientation = player.Character.Head.CFrame.lookVector |
4 | mask.Parent = player.Character.Head |