I am trying to make a script that will figure out the motion of a humanoidrootpart/NPC this is what i mean in short form, i just want to basically find the movement from a npc like if the npc turns right the script does:

local npc = script.Parent
print(tostring(npc).." Moved Left")

with the same with every action; Forwards,Left,Right,Backwards.

is it possible?