function msgtartswith(String1, String2) local Count = #String1 local FirstChars = string.sub(String2, 1, Count) return FirstChars == String1 end