Crouch Animation doesnt play

  1. I want to play the crouch animation What do you want to achieve?

  2. The Animation Doesn’t Play What is the issue?

  3. I Tried looking on the devforum but i cant seem to find the anwser Did you look for solutions on the Developer Hub?

	if input.KeyCode == Enum.KeyCode.LeftShift then
		local crouch = char.Humanoid:LoadAnimation(script:WaitForChild("Crouch"))
		crouch.Looped = true
		crouch.Priority = "Action"

Do you own the animation/is the animation uploaded to your account (or group if this is a group creation)?

Also have you tried adding a print inside of the input to check if the event and if statment code runs?

I own the animation and no i didnt try to print let me try to do that

I tried printing and it doesnt print anything.

Have you tried
crouch.Priority = Enum.AnimationPriority.Action

What does not print? I tried out your code without the animation just with a print and it prints out for me.

What script are you using?

i think my problem is that i did the code in starter character scripts

Might be. I put the code in a local script in StarterPlayerScript and it works.

Where could i find StarterPlayerGui?

i found it by myself and now it works thanks!