So, on my game I REALLY want to add custom emotes! I have tried custom animation scripts, but those don't work. I know this isn't much, but can someone please help me? I want the emotes to be more "/e" emotes.
1 In studio mode go to the roblox website and click the develop tab.
2 Click "Plugins" and then click "Animation Editor", It should be on the front page
3 Click Install, and wait for it to install. When it's done go to your game, open up the game you want to have custom animations
4 Follow >this< tutorial to find out how to make and upload your animation Make sure to click export on the plugin to upload your animation.
5 Once you've done all of those steps put this script in the workspace
game.Players.PlayerAdded:connect(function(Plr) Plr.Chatted:connect(functiom(msg) if msg == "/e dance4" then --Replace /e dance4 with whatever you want the person to say to do then animation A = Instance.new("Animation", Plr.Character) A.AnimationId = "www.roblox.com/Asset?ID=0000000" --Replace 000 with the numbers at the end of the link to your animation. track = Plr.Character.Humanoid:LoadAnimation(A) track:Play() end end) end)
Instead of downvoting please just tell me what I did wrong.
Edit: I may have messed up the script but you can learn how to make it here: wiki.roblox.com/index.php?title=Animations Anyways let me still try to fix it.
It is Actually easy!
Just put this Script in the ServerScriptService
game.Players.PlayerAdded:connect(function(Plr) Plr.Chatted:connect(function(msg) if msg == "/e dance4" then -- You could replace the MSG with anything if you want A = Instance.new("Animation", Plr.Character) A.AnimationId = "http://www.roblox.com/Asset?ID=0000000" -- Here replace the 00s with your Animation ID animTrack = Plr.Character.Humanoid:LoadAnimation(A) animTrack:Play() end end) end)
and thats it!
! Be sure to put the Script in the ServerScriptService !
To my difficulty, it is not working anymore :
Put this script to "ServerScriptService/Workspace" and copy this script : `` game.Players.PlayerAdded:connect(function(Plr) 02 Plr.Chatted:connect(functiom(msg) 03 if msg == "/e cry" then --Replace /e dance4 whatever you want it to called 04 A = Instance.new("Animation", Plr.Character) 05 A.AnimationId = "www.roblox.com/Asset?ID=0000000". --Replace the 000 id to you're animation id. 06 track = Plr.Character.Humanoid:LoadAnimation(A) 07 track:Play() 08 end 09 end) 10 end)