Weird string.sub behavior on chat messages

string.sub on chat messages has been kinda broken, there’s a new column, making certain chat commands unuseable, are there any alternatives?
This wasn’t happening in few days ago.

image

Suppose the prefix is :servermsg:
string.lower(string.sub(msg,1,11)) == ":servermsg "
and the message will be:
string.sub(msg,11),plr

This issue is a bug and has been reported:

1 Like