I am trying to make command arguments in Roblox. For example, /kill playername. The problem is I don\'t know how to parse the playername from the string /kill
/kill playername
/kill
Use string.match:
string.match
Message=" /kill playername " command, arg = Message:match("%s*/(.-)%s+(.*)%s*$")