How to use string:sub()

you should use string.split(string, " ")

that will separate the string between every space which will make parsing much easier

here’s a quick example

local args = string.split(",ban everyone", " ")

args[1] – “,ban”
args[2] – “everyone”

hopefully that should make it easier

4 Likes