Need help with Dancing Avatars

I am working on a game and am trying to make a dancing avatar from a donation board into one that doesn’t update but shows the someone dancing (for example me or The Co-owner of the group). I have tried my best tweaking details but can’t get it to work, can anyone help?

My Creation So Far From Model:
Model.rbxm (20.0 KB)
(Drag from files to studio to see it)

Original Model:
https://www.roblox.com/library/3266631920/Donation-Board

2 Likes

i think you can just unanchor it and then it will play the animation

1 Like

It works but doesn’t show the avatar I want. Also, it lets me drag the person around and I don’t want that. Know a way to fix?

Do you have a source code we all can look at?

Loader:


--animations --->> --507771019 roblox dance,3695333486 hype dance, 3333499508 monkey, 3303391864 around town, 4212455378 dorky, 4049037604 line dance, 3333136415 side to side, 4265725525 baby dance, 3338025566 robot dance, 3994127840 celebrate, 3576686446 wave, 4841405708
--copy and past the id into idle
local Model = script.Parent
local Config = Model.Configuration
local userId = Config.userId.Value

local Loader

if Config.AutoUpdateLoader.Value then
	Loader = require(5500416527) -- The auto updating module, free to take
else
	Loader = require(script.MainModule)
end

local Track = Model.Humanoid:LoadAnimation(script.Idle)
Track:Play()

Main Module (Inside of Loader)

local Loader = {}

function Loader:updateModel(Model, userId)
	Model.Humanoid:ApplyDescription(game.Players:GetHumanoidDescriptionFromUserId(userId))
end

return Loader

Then of course an idol animation next to it within that Load script

Also a configurations folder with some properties (see model download for more info on that cause its a lot of typing)

wouldnt you use Loader:updateModel(script.Parent, 1403418482)

Wait where on the script? I messed with it a bit from the original version so please say.

 --animations --->> --507771019 roblox dance,3695333486 hype dance, 3333499508 monkey, 3303391864 around town, 4212455378 dorky, 4049037604 line dance, 3333136415 side to side, 4265725525 baby dance, 3338025566 robot dance, 3994127840 celebrate, 3576686446 wave, 4841405708
 --copy and past the id into idle
 local Model = script.Parent
 local Config = Model.Configuration
 local userId = Config.userId.Value

 local Loader

 if Config.AutoUpdateLoader.Value then
   Loader = require(5500416527) -- The auto updating module, free to take
 else
   Loader = require(script.MainModule)
 end
 Loader:updateModel(script.Parent, 1403418482)
 local Track = Model.Humanoid:LoadAnimation(script.Idle)
 Track:Play()

1 Like

OML IT WORKS TYSM! This just boosted me ahead 8 days in development of my game!

1 Like