Game.Players.LocalPlayer.Chatted:connect(function(l)local u=""if string.sub(l,1,3)=="\047\101 "then u=string.sub(l,4)elseif string.sub(l,1,7)=="\047\101\109\111\116\101 "then u=string.sub(l,8)end if pose=="\083\116\097\110\100\105\110\103"and emoteNames[u]~=nil then playAnimation(u,.1,Humanoid)end end)
-- setup emote chat hook
Game.Players.LocalPlayer.Chatted:connect(function(msg)
	local emote = ""
	if string.sub(msg, 1, 3) == "/e " then
		emote = string.sub(msg, 4)
	elseif string.sub(msg, 1, 7) == "/emote " then
		emote = string.sub(msg, 8)
	end

	if pose == "Standing" and emoteNames[emote] ~= nil then
		playAnimation(emote, 0.1, Humanoid)
	end
end)
