Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to get a character's HumanoidRootPart to face another?

Asked by 7 years ago

Is there any way to get the HumanoidRootPart to face another character and keep facing it? If so how?

0
What do you mean? rilgundam 65 — 7y
0
so you want a player to face another player? CFrame the players angle.... greatneil80 2647 — 7y

1 answer

Log in to vote
0
Answered by 7 years ago

Try this

Character.HumanoidRootPart.CFrame = CFrame.new(Character.HumanoidRootPart.CFrame.p, Target.HumanoidRootPart.CFrame.p)
--The first argument is the character that will be facing the other character and the second argument is the player that it will be facing. Put this code inside a while true loop so it keeps facing the other character
Ad

Answer this question