add a screen gui into starter gui. then rename it Emotes! put in a frame into the emotes. name it what you want. put in a text button into the frame. add a local script. the local script says
local script:
02 | local btn = script.Parent |
03 | local plr = game.Players.LocalPlayer |
04 | local char = plr.Character or plr.CharacterAdded:Wait() |
05 | local hum = char:WaitForChild( "Humanoid" , 10 ) |
09 | btn.MouseButton 1 Click:Connect( function () |
10 | if CanEmote = = true then |
12 | local dance = hum:LoadAnimation(script:FindFirstChild(emote)) |
15 | wait(CoolDown + dance.Length) |
after that place down a animation into the local script. put in the emote id through the property's tab! do not forget to rename the animation to the emote you puted into the script at local emote = name!