Hello, I'm Making a JoJo game and I made an admin logs thingy so when an admin writes a command in chat it writes it in the logs. But I get an error: 19:39:39.867 - ServerScriptService.MainHandler:1306: bad argument #1 to 'insert' (table expected, got nil).
Script (Server):
if commandused then local logs = AdminLogs:GetAsync(month) table.insert(logs, player.Name..commandused) AdminLogs:SetAsync(month, logs) end
Help Would Be Really Appreciated