RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"make a dancing npc with instructions on where to insert the code"
-- Open Roblox Studio and insert an R15 Dummy NPC model from the toolbox -- In the R15 Dummy NPC object, select Humanoid -- Right click on the Humanoid and select insert object -- Now add the script below local npc = script.Parent -- You can change the animation ids with the asset ID of the dance animation you want local danceAnimations = { "rbxassetid://507771019", "rbxassetid://507771955", "rbxassetid://507776720" } while true do for _, animationId in ipairs(danceAnimations) do local animation = Instance.new("Animation") animation.AnimationId = animationId npc:LoadAnimation(animation):Play() task.wait(3) end end