Clone animation problem

problem: Cannot load the AnimationClipProvider Service.

script:

local ReplicatedStorage = game:GetService("ReplicatedStorage")
local remoteEvent = ReplicatedStorage.RemoteEvent

local function cloner(plr)

	local Chr = plr.Character  or plr.CharacterAdded:Wait()
	




	Chr.Archivable = true

	local clone = Chr:Clone()
	local animation = Instance.new("Animation")

	animation.AnimationId = "rbxassetid://8840756422"

	local track2 = clone:WaitForChild("Humanoid"):LoadAnimation(animation)

	clone.HumanoidRootPart.CFrame = Chr.HumanoidRootPart.CFrame * CFrame.new(3.5, 0, -1.2) * CFrame.Angles(0, math.rad(90), 0)
	wait(0.1)
track2:Play()
	clone.Parent = workspace
	
end	

remoteEvent.OnServerEvent:Connect(function(plr)
	cloner(plr)

end)

Looking at the API documentation for the AnimationClipProvider service, it looks, to me, like it is a newer service that hasn’t been fully developed or released yet, as the only methods it host that are unique to it are missing documentation. Also, when trying to use some of its methods it seems like some of them don’t work and others only work in that they don’t spit out an error, but to call them ‘functional’ is a stretch.

1 Like