Client Animation Issue

	local Animator = Humanoid:FindFirstChild("Animator") -- Looks for animator
	
	if (Animator == nil) then -- If one doesn't exist
		Animator = Instance.new("Animator") -- Create one
		Animator.Parent = Humanoid -- Parent it to the Humanoid
	end

I found this post: Deprecating LoadAnimation on Humanoid and AnimationController

It states that the use of Humanoid and AnimationController are deprecated and should not be used. Instead, an Animator instance created by a server should be used by the client. In my situation, this isn’t possible as all characters are local and not replicated.