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

How to make an emote gui that actually works in the real game?

I already made an emote gui now I actually need the emotes to work. But when I push the button like "dab" nothing happens. Can someone help me plz. [and make sure it can actually work in the real game and not just studio.]

2 comments

0

This is not a request site, you give us no script, this is script helper not request helper.

0

animations are local

1 answer

Make sure the emotes are all TextButtons and the script is in the gui.

plr = game.Player.LocalPlayer
chr = plr.Character
hum = chr.Humanoid
dabAnim = "rbxassetid://[animation id]"
dabButton = script.Parent.DabButton

dabButton.Mouse1Click:connect(function()
	anim = Instance.New(Animation)
	anim.AnimationId = dabAnim
	animPlay = hum.LoadAnimate(anim)
	animPlay:PlayAnimation()
end)

My syntax may be incorrect, I maybe even purposely put incorrect syntax so you don't just copy and paste it and not learn anything. You should learn so you don't ask as much questions, so you can become a good programmer.(some purposeful syntax errors)

1 comment

0

SO will this work even tho the syntax is incorect

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