Cannot load the Animation Clip Provider Service

Hello, Im getting this error everytime I reset, and I have tried somethings but im very confused on whats the problem. The error occurs when I load the animation in the players character, all I know is this happens because the players character isnt in the workspace?

I underlined where the error happens.
(this is a local script in starter player scripts)


to fix this issue just do this: local char = workspace:WaitForChild(plr.Name) and thats all