Help with equipped value overlap on tools/animations

So I am using this script to check if a player is moving and if an animation script is enabled but I can only have the expected outcome if I make the script wait .0001s (or a short amount of time) because the animation script and the script that REQUIRES the animation script to be enabled, both run when a tool is equipped.
The animation script is by default, disabled and is enabled when the tool is equipped. The other script runs when the tool is equipped but inside of the function, it requires the animation script to be enabled but counts it as false. Any ideas?

–Script requiring anim script


script.Parent.Equipped:Connect(function()
	
	if Humanoid.MoveDirection.Magnitude > 0 and character.ScytheAnim.Enabled == true then

–Animation script

tool.Equipped:Connect(function()
	
	game.Players.LocalPlayer.Character.Animate.Enabled = false
	game.Players.LocalPlayer.Character.ScytheAnim.Enabled = true
	
end)

The problem with the very short wait time is that the idle animation flickers before the walk animation plays because of the .00001s where it doesn’t activate.