I’m currently trying to get an idle animation for my custom starter character model, but it only happens when I walk.
Here is the script:
local character = script.Parent
local humanoid = character:WaitForChild("Humanoid")
local idleAnim = script:WaitForChild("Idle")
local idleAnimTrack = humanoid.Animator:LoadAnimation(idleAnim)
humanoid.Running:Connect(function(speed)
if speed > 0 then
if not idleAnimTrack.IsPlaying then
idleAnimTrack:Play()
end
else
if idleAnimTrack.IsPlaying then
idleAnimTrack:Stop()
end
end
end)
Noticing further I do have the idle animation loaded, but I can’t figure out how to change the rest in order to play the animation when the player is standing still.
Any help or suggestions are greatly appreciated. 
