Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
-1

How do I put custom emotes in my game?

Asked by 9 years ago

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.

0
Create the animations, then play them when the player chats the correct command. Perci1 4988 — 9y
0
And how would I do that? I am horrible at scripting. Loleydude 29 — 9y
0
i also want to do that except that its supposed to do with the new emote system pixploxboxblox -2 — 5y

3 answers

Log in to vote
0
Answered by
yoshiegg6 176
9 years ago

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.

0
It doesn't work, but thanks anyways! I did fix the "functipm" To "function" Loleydude 29 — 9y
0
Check my edited post. yoshiegg6 176 — 9y
0
Did you install animation editor and make the animation and upload it any everything? yoshiegg6 176 — 9y
0
Yes Loleydude 29 — 9y
0
By the way, you now made it "functiom) Loleydude 29 — 9y
Ad
Log in to vote
0
Answered by 6 years ago

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 !

Log in to vote
0
Answered by 5 years ago

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)

Answer this question