(script:WaitForChild("\080\108\097\121\069\109\111\116\101")).OnInvoke=function(e)if pose~="\083\116\097\110\100\105\110\103"then return end if emoteNames[e]~=nil then playAnimation(e,EMOTE_TRANSITION_TIME,Humanoid)if userPlayEmoteByIdAnimTrackReturn then return true,currentAnimTrack else return true end end return false end
-- emote bindable hook
script:WaitForChild("PlayEmote").OnInvoke = function(emote)
	-- Only play emotes when idling
	if pose ~= "Standing" then
		return
	end
	if emoteNames[emote] ~= nil then
		-- Default emotes
		playAnimation(emote, EMOTE_TRANSITION_TIME, Humanoid)

		if userPlayEmoteByIdAnimTrackReturn then
			return true, currentAnimTrack
		else
			return true
		end
	end

	-- Return false to indicate that the emote could not be played
	return false
end
