i was messing with a globalban plugin and i came across to this issue https://uploaders.cloud/XOSO8/WOBonobe87.png This is the script
server.Commands.FirebaseBanlist = {
Prefix = server.Settings.Prefix;
Commands = {"gbs", "fbl"};
Args = {};
Description = "Shows the list of Database banned users.";
Hidden = false;
Fun = false;
AdminLevel = "HeadAdmins";
Function = function(plr,args)
local HttpService = game:GetService("HttpService")
local FirebaseService = require(script.Script.FirebaseService)
local database = FirebaseService:GetFirebase("ThisIsMyFirebaseNameLol")
local Players = game.Players
local Data = HttpService:JSONDecode(database:GetAsync("Bans"))
local tab = {}
for i,v in pairs(Data) do
local name = Players:GetNameFromUserIdAsync(i)
local reason = v["banInfo"]["Reason"]
local uid = i
local entry = name..":"..uid
table.insert(tab,{Text = tostring(entry),Desc = "Reason: "..tostring(reason)})
end
server.Remote.MakeGui(plr,"List",{Title = "Firebase Global Ban List", Tab = tab})
end};
I have no idea what went wrong, can someone help me?