there is always something that gets in my way and that is..
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()
local hum = Chr:WaitForChild("Humanoid")
Chr.Archivable = true
local clone = Chr:Clone()
local animation = Instance.new("Animation")
animation.AnimationId = "rbxassetid://8840756422"
local track = 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)
clone.Parent = workspace
track:Play()
end
remoteEvent.OnServerEvent:Connect(function(plr)
cloner(plr)
end)
the script is in serverscriptservice and its a normal script