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.]
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)