Welp This is it: I have a morph of a animatronic cat that haves a script to change the idle and walk animations:
function ontouch(h)
if h.Parent:FindFirstChild("Humanoid") then --make sure this is a character
local character = h.Parent --we know this is a character so set the variable as a character
local animateScript = character.Animate -- variable for the Animate script inside of the character
animateScript.walk.WalkAnim.AnimationId = 'http://www.roblox.com/asset/?id=1527744583' --change the animation
end
end
script.Parent.Touched:connect(ontouch) -- make this function activate when part is touched
--Thanks ultrasonicboomer!
As i know, in a line of code (line 05) there is a thing saying "walk.walkanim" That thing is to locate the animation in "animateScript"'s insides, ot then change it to the ID stated after the "="
However, there is no /e dance in the animateScript's insides, neither /e wave, and stuff like that.
How can i edit it?

5 comments
Custom Character?
No, is not a custom character, is a simple R6 morph with animations, ill give you a gyazo gif of it: https://gyazo.com/0c3c57f1d90df731f3335868d799f299
I don't believe this is possible. If you run in studio and go into your character you will see the local script "Animate" with a child named "walk" which contains the animation called "WalkAnim". It also has idle and climbing swim etc. but no dance. I believe roblox just loads the animation on your character when you chat the /e command.
You would have to make your own chat detector and play your animation just after the default one.
justo, You're actually smart!, I know how to do a "Voice chat" like thing, So when typing something a action will happen, that will be usefull for this!