Basically I’m trying to dectect when an NPC is moving then do stuff but whenever i tested it out, The body parts don’t even move. They just slide without changing position.
game.Players.PlayerAdded:Connect(function(plr)
plr.CharacterAdded:Connect(function()
while wait() do
local char = plr.Character or plr.CharacterAdded:Wait()
local target = findTarget()
if target then
script.Parent.Humanoid:MoveTo(target.Position)
script.Parent.LowerTorso:GetPropertyChangedSignal("Position"):Connect(function()
-- Doing Stuff
end)
end
end
end)
end)