I actually have no idea
local Player = game.Players.LocalPlayer local Character = Player.Character or Player.Character:Wait() local HumanoidRootPart = Character:WaitForChild("HumanoidRootPart") local Velocity = HumanoidRootPart.Velocity.Magnitude while wait(0.01) do if Player.Character.HumanoidRootPart.Velocity.Magnitude >= 16 then -- Do stuff here end end
Create a LocalScript in StarterCharacterScripts and insert this there.
Hope this helps!
With a simple search, you could find this: https://devforum.roblox.com/t/check-if-the-player-is-moving/535382