Heyo!
Currently trying to make a Locker system for my game, I have made a bare bones concept but I can not seem to get the Character’s Clone to play an Animation. I have also tried making this on the server through a remote event and the same result was applied where the character’s clone did not do any animation. I genuinely feel like it’s something really simple lol
Below is the PoC code and a Video demonstrating
-- Local Script (StarterPlayerScripts)
local StarterGui = game:GetService("StarterGui")
task.wait(2)
local Player = game:GetService("Players").LocalPlayer
local Character = Player.Character or Player.CharacterAdded:Wait()
local Camera = workspace.CurrentCamera
Camera.CameraType = Enum.CameraType.Scriptable
Camera.CFrame = workspace.LockerFolder.LockerCamera.CFrame
StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.PlayerList, false)
Player.PlayerGui.Locker.MainFrame.Visible = true
local Anim = Instance.new("Animation")
Anim.AnimationId = "rbxassetid://110849226005124"
Character.Archivable = true
local clone = Character:Clone()
clone:PivotTo(workspace.LockerFolder.LockerTeleport.CFrame)
clone.Parent = game.Workspace
local AnimTrack = clone.Humanoid.Animator:LoadAnimation(Anim)
AnimTrack:Play()
clone.Humanoid.DisplayName = " "
clone.Name = Player.Name.."'s Locker Clone"
clone.PrimaryPart.Anchored = true
Character.Archivable = false