Issue with NPC looking around animation playing on loop?

local Humanoid = script.Parent;
local Anim1 = Humanoid.Animation1;
local LoadAnim1 = Humanoid:LoadAnimation(Anim1);
LoadAnim1:Play();
local Anim2 = Humanoid.Animation2;
local LoadAnim1 = Humanoid:LoadAnimation(Anim2);

while wait(math.random(10,20)) do 
   LoadAnim2:Play();
end;

This script is supposed to play the normal Roblox idle animation, where it looks like you’re just standing still and breathing and then the loop is for randomly making the character do the second idle animation, where you look side to side.

Once the second animation plays though, it never ends and I tried turning off the loop/doing :Stop() but it isnt working.