Animation Bug Script

Just Discovered something I dont know the solution to right so I made a script handles animations right and there this crawling animation I made that play when i click C but the problem is that in studio it make by character to clap his hands together and in live server it freezes roblox like frfr it freezes it I tested it multiple times and its kinda funny cause I dont know what to do…

Maybe there is a loop without a wait

Providing the script(s) in question would be helpful.

Infact correct there is a loop