My First Admin Script, table.Concat not working for me?!
I'm trying to make an admin commands script, but it does not work with the concat.
thanks!
01 | local function Split(String) |
04 | table.insert(Table, string.sub(String, I, I)) |
08 | local player = game.Players.LocalPlayer |
09 | player.Chatted:Connect( function (msg) |
10 | if msg:find( "!print" ) then |
13 | local memes = Split(msg) |
14 | table.remove(memes, 1 ) |
15 | table.remove(memes, 1 ) |
16 | table.remove(memes, 1 ) |
17 | table.remove(memes, 1 ) |
18 | table.remove(memes, 1 ) |
19 | table.remove(memes, 1 ) |
it prints out "h" if i do "!print hi".
thanks for any help!!