So I am making a game that picks a random Roblox user and displays their avatar.
I want there to be an animation like the classic event where the displayed avatar waves, then jumps and dances, but the R15 wave isn’t playing, despite the fact the rig is in R15 and the IsPlaying property is set to true.
This bug only occurred when I added an Animate script. I tried using ContentProvider:PreloadAsync, setting the priority, but it all didn’t work.
Code:
local waveAnim = animator:LoadAnimation(wave)
waveAnim:Play()
print(waveAnim.IsPlaying)
waveAnim.Ended:Wait()
waveAnim:Play()
task.wait(0.25)
waveAnim:Stop()
humanoid.Jump = true
task.wait(0.5)
local dance = dances:FindFirstChild("Animation"..tostring(randomEmoteNumber))
local danceAnim = animator:LoadAnimation(dance)
danceAnim:Play()
danceAnim.Looped = true
Video: