How to Detect a Player or NPC Movement

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? I’m trying to Detect A player’s or NPC’s Jump Movement, Walk Movement, and Idle Movement

  2. What is the issue? I don’t know how since I’m still learning to Script

  3. What solutions have you tried so far? I did see 1 Post similar to my issue but it didnt help

Also, what I’m doing is, I am attachting Neon Lights to a NPC, so when they jump, the script detects it and change the colors, when it moves anywhere the script detects it and changes colors again basically.

(scroll down when you open this link, ROBLOX’s docs have broken hyperlinking)

Humanoid events are where you should start looking. If you need examples let me know.