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

How do I use the PlayEmote function properly?

wait(2)

game.Players.LocalPlayer.Character.Humanoid:PlayEmote("Wave")

This just errors:

  18:43:22.796 - No emote exists with name Wave

1 comment

0

you know i gave u an answer

1 answer

To do it make a starter gui then make a text button then make a local script then put this in it

local btn = script.Parent
local plr = game.Players.LocalPlayer
local char = plr.Character or plr.CharacterAdded:Wait()
local hum = char:WaitForChild("Humanoid",10)
local CanEmote = true
local CoolDown = 1

btn.MouseButton1Click:connect(function()
	if CanEmote == true then
		hum.JumpPower = 0 -- you can remove this, this really fixes it..
		hum.WalkSpeed = 0 -- this too 
		CanEmote = false 
		local dance = hum:LoadAnimation(script:FindFirstChild("WaveAnim"))
		dance:Play()
		
		wait(CoolDown + dance.Length)
		hum.JumpPower = 50 -- you can remove this, this really fixes it..
		hum.WalkSpeed = 16 -- this too 
		CanEmote = true
	end
end)

then import the wave anim to get it run a game, go into your player in the workspace, go into animaions and go into wave and copy it, then stop the game, then paste the anim into it!

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