Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Is there a way to make inserted r15 characters dance?

Im pretty new to this but how do i make my roblox r15 character that i pasted into the game dance?

local gpp = game.Parent
gpp:PlayEmote(132546884)

this is most likely completely wrong. tbh i dont know what im doing. i cant find anything on the api reference.

2 answers

Use LoadAnimation

Lets say there's a Dummy in workspace, and an animation in the workspace too.

local Dummy = workspace:WaitForChild("Dummy")
local AnimationId = workspace:WaitForChild("Animation")
local Animation = Dummy.Humanoid:LoadAnimation(AnimationId)
Animation:Play()

1 comment

0

Alright i did that but nothing happened. I added an animation and renamed my r15 character to dummy. maybe my animation id isnt working

You Can do this by Loading an animation into the character's Humanoid !

But First You must Create The Animation then load it from the humanoid first Like this :

local Character = script.Parent

local Animation = Instance.new("Animation")--- Creates an animation

---///Edit the animation


Animation.Name = "ANIMATION NAME HERE !"
Animation.AnimationId = "ANIMATION ID HERE !"
Animation.Parent = Character ---Put you parent here. I did the character

local Humanoid = Character:WaitForChild("Humanoid")


local LoadAnimation = Humanoid:LoadAnimation(Animation)---Load The Animation with the character's humanoid


LoadAnimation:Play()---Once it is loaded it will play instantly !

And then the animation shall play

This script should be placed in the character model !!!

--T40

4 comments

0

i also should mention im trying to get my character to do the r15 /e dance 3. There is three IDs. Where do i put them or how?

0

If you want your character to do the "/e dance" try all of them to see if it looks like the "/e dance". Idk if they are named specifically or not.

0

Hmm nothing is working. not even point or anything. let me try one of my animations

0

Did you get an error? Did you put the script inside the Character Model?

This discussion is preserved as it was. New answers, comments, and votes are closed.