--This works, also playercharacter is defined. if playercharacter:FindFirstChild("Animate"):FindFirstChild("run") then playercharacter:FindFirstChild("Animate"):FindFirstChild("run"):Destroy() end --However this doesn't work if playercharacter:FindFirstChild("Animate"):FindFirstChild("run") then playercharacter:FindFirstChild("Animate"):Destroy() end
Can someone explain why the second one doesn't work? I have to remove the ":FindFirstChild("run")" before the "then" for it to work, but why? It finds "Animate" anyway, so what's stopping it from destroying it?