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)
--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)
--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()