Humanoid:PlayEmote(emotename) always errors

Humanoid:PlayEmote(emotename) always throws the error: “No emote exists with name emotename.” Why is this the case? How do I fix this?

1 Like

Put emotename in quotations, if that doesn’t work is emotename a variable or just a place holder for this post?

emotename is just a placeholder. No matter what, even a string as simple as Hello still says it does not exist.

Can I see your full script?
3030303030303030

I was testing in another script but not even command bar works, but here’s the script anyway

the script
--currently unavailable

edit but not edit becuz it’s as i’m writing: oh i don’t have the script rn lol i just started something else
EDIT: What I was doing in command bar: workspace.R15_EMOTE.Humanoid:PlayEmote("Hello")

I could be wrong but I don’t know if there is an emote called “Hello”, maybe try “Wave”?

Have you looked at the API first?

Wave didn’t work. Also “Hello” is what the wave emote is (from the emote wheel). It’s different from /e wave as it moves faster and shakes its hand a few extra times.

Oh whoops I haven’t mb I should do that…
EDIT: Wait how is Shrug an emote but not Hello or any other emote?
EDIT 2: It wasn’t working before but now that I looked at documentation the things that didn’t work are magically working now.
EDIT 3: Oh wait it’s because I was using it on my avatar instead of a rig. Maybe I should turn the rig into an avatar with the emote I want to play if I need to play it.
EDIT 4: I got a new error and now I know why this never worked ever. It only works on the localplayer :frowning:

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.