To make it clear, my goal is to increase the HumanoidRootPart’s orientation when the player is holding a GUI button. This is the result:
The code I’m using:
spawn(function()
while wait(.1) do
if ay == true then
game:GetService("TweenService"):Create(npc.HumanoidRootPart,TweenInfo.new(.1),{Orientation = Vector3.new(npc.HumanoidRootPart.Orientation.X,npc.HumanoidRootPart.Orientation.Y+1,npc.HumanoidRootPart.Orientation.Z)}):Play()
end
end
end)
Not only that, but I also tried to weld the HRP into a part that is rotating, the humanoid will refuse and doesn’t want to rotate against its will. Any suggestions are appreciated.