function ClientAvatarComponent.new(g,r)local J={model=g}setmetatable(J,{__index=ClientAvatarComponent})local Q=g:FindFirstChild(ReplicatedConstants.AVATAR_MODEL_NAME)J.avatar=Q J:setupJoints()return J end

function ClientAvatarComponent.new(model, userId)
	local component = {
		model = model
	}
	setmetatable(component, {__index = ClientAvatarComponent})

	local avatar = model:FindFirstChild(ReplicatedConstants.AVATAR_MODEL_NAME)
	component.avatar = avatar

	component:setupJoints()

	return component
end
