How do I know is the player is moving around by Keys , the mobile stick , etc ?
Insert a script in the StarterCharacterScripts and write the following:
local Humanoid = script.Parent.Humanoid Humanoid.Running:Connect(function() --Write what you want to do to the player here. --This function will run as soon as the player moves from their position end)