R6 rig not playing animation

Help! My news reporter won’t default dance!

the sequence plays out fine, until the end, of course. The rig won’t play the animation for some reason, even though it loaded the animation and prints through the script with no errors.

Once you press the tv power button, it does a remote event thing to a local script and does some funny stuff with the talking head but the rig wont move.

workspace.TV1211.Screen.newsreport.Ended:Wait()

print("done")

local dance = game.Players.LocalPlayer.PlayerGui.SurfaceGui.ViewportFrame.box.reporter.Humanoid:LoadAnimation(game.Players.LocalPlayer.PlayerGui.SurfaceGui.ViewportFrame.box.dance)

dance:Play()

the news report thing is the sound, and im sure you get the rest

Before dance:


After dance:

(not a mistake, literally what happens no animation plays)

The owner of the game and the owner of the animation must be the same. If you own the game, then make sure the animation is in your inventory. If a group owns the game, then make sure the group owns the animation as well

yup, I own both the game and animation

So the animation is in this section of your inventory:

indeed.

Hmmmmm
Just to make sure, the Animation is in animation format with the correct ID?
image

yup, I made a new dummy and put a one line script in it script.Parent.Humanoid:LoadAnimation(script.Parent.dance):Play()
it played

My last guess would be to double check the place the Animation is in

game.Players.LocalPlayer.PlayerGui.SurfaceGui.ViewportFrame.box.reporter.Humanoid:LoadAnimation(game.Players.LocalPlayer.PlayerGui.SurfaceGui.ViewportFrame.box.dance)

Is pretty long and confusing

Well, I divided it into locals, and confirmed them by printing them, no result.

workspace.TV1211.Screen.newsreport.Ended:Wait()
print("done")

local danceanim = game.Players.LocalPlayer.PlayerGui.SurfaceGui.ViewportFrame.box.dance
print(danceanim)

local reporterhum = game.Players.LocalPlayer.PlayerGui.SurfaceGui.ViewportFrame.box.reporter.Humanoid
print(reporterhum)

local dancetrack = reporterhum:LoadAnimation(danceanim)
print(dancetrack)

dancetrack:Play()


you can skip to around 0:15, and at like 0:18 the output shows the prints and dance, but it doesn’t dance

Animations do not play within ViewportFrames as they do not have their own physics simulated.

You’re right, I put it in a world model before I saw this and it worked.