So basically, I want to have my character be anchored in the air, whilst being rotated from a LocalScript, looking at the mouse using this script:
Connection = runService.Heartbeat:Connect(function()
if hold and Equipped then
Root.CFrame = CFrame.new(Root.Position, Root.Position + mouse.Hit.lookVector)
end
end)
However, the rotation won’t be replicated to the server if the character is anchored.
I’ve tried creating a recent character position variable, and keep updating the position along with the orientation with the script, but that made the player’s camera bug out and make the character litterally fly around.
How can I create something similar to having the player being anchored, so that the rotation from the script gets replicated to the server?