I want to make a catalog avatar game where the rig in the ViewportFrame copies the player’s avatar and plays idle animations but it doesn’t work for blocky avatars and Idk why
This isn’t the full script but this is the part where it plays the animations
local animate = char:WaitForChild("Animate")
if not Rig.PrimaryPart then
Rig:WaitForChild("HumanoidRootPart")
Rig.PrimaryPart = Rig:FindFirstChild("HumanoidRootPart")
end
Rig.Parent = Viewportframe:FindFirstChild("World")
AvatarRig = Rig
OriginalCFrame = Rig.PrimaryPart.CFrame
local idleAnimObj = animate:WaitForChild("idle"):WaitForChild("Animation1")
local idleAnimId = idleAnimObj.AnimationId
local humanoid = Rig:WaitForChild("Humanoid")
local idleAnim = Instance.new("Animation")
idleAnim.AnimationId = idleAnimId
local track = humanoid:LoadAnimation(idleAnim)
track.Looped = true
track:Play()
I would appreciate any help.