"Switch to your R15 avatar to play Emote."

I’m using TextChatService.OnIncomingMessage:function(message), and then do "if message == “/e bored”, it Prints out “Switch to your R15 Avatar to play Emote.”!

MymfKg2kRruR5tdPriGAQQ

I’ve tried googling it, but nothing!
After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!

local msg = message.Text

if msg then
		print("message :D "..msg)
		msg = string.lower(msg)

		print(msg)

		local ACD = true

		local shouldloop
		if msg == "/e play dab" then
			print("do emote: "..msg)
			CurrentAnim = Humanoid:LoadAnimation(RS.CharacterAnims.Animations.dab)
			CurrentAnim:Play()
			shouldloop = true
end
end

Please do not ask people to write entire scripts or design entire systems for you. If you can’t answer the three questions above, you should probably pick a different category.

Have you tried actually changing your avatar to R15? Or remaking the animation in R6? Also you’re loading a new animation onto the humanoid every time the user types the message which isn’t necessary. Just load it once at the start of the script and play that same animation when the message is said