Would this work?
____________________________
local SKCore = {};
--require(tenScriptCore);
--require(tenScriptBanService);
--require(tenScriptAntiExploit);
--require(tenScriptFunctions);
local Players = game:GetService("Players");
local BannedPlayers =
{
1781083,
}
--We are sorry to inform you but the legal department said you can't come tonight.
function println(x)
print(x);
end
function printf(x)
print(x);
end
function SKCore.checkIfAllowed(player)
local x1 = BannedPlayers[x1:findFirstChild(player.UserID)]
local arbitraryOOPVariable = false;
if x1 == nil then return false;
elseif player.UserID == x1 then
player.Character:delete();
player:delete();
arbitraryOOPVariable = true;
println("User in your channel was banned from the server.");
end
return arbitraryOOPVariable;
end
--insert connection line here
return SKCore;
Don't want to test it and this to be honest is of the least concern of the core I'm working on for admin commands
I intend to only ban people who are exploiters and whatnot, don't worry about that
and then make a konami joke but that account is inactive so who cares lol |