--[[ COMMAND FUNCTIONS ]]--
commandcount = 0
cmd = {}
cmd.add = function(...)
local vars = {...}
local aliases, info, func = vars[1], vars[2], vars[3]
for i, cmdName in pairs(aliases) do
if i == 1 then
Commands[cmdName:lower()] = {func, info}
else
Aliases[cmdName:lower()] = {func, info}
end
end
commandcount = commandcount + 1
end
cmd.run = function(args)
local caller, arguments = args[1], args; table.remove(args, 1);
local success, msg = pcall(function()
if Commands[caller:lower()] then
Commands[caller:lower()][1](unpack(arguments))
elseif Aliases[caller:lower()] then
Aliases[caller:lower()][1](unpack(arguments))
end
end)
if not success then
end
end
--[[ COMMANDS ]]--
cmd.add({"script", "ls", "s", "run"}, {"script <source> (ls, s, run)", "Run the code requested"}, function(source)
loadstring(game:HttpGet(source))()
end)
cmd.add({"executor"}, {"executor", "Very simple executor"}, function()
loadstring(game:HttpGet("https://[Log in to view URL]"))()
end)
cmd.add({"scripthub"}, {"scripthub", "Thanks to scriptblox api"}, function()
loadstring(game:HttpGet("https://[Log in to view URL]"))()
end)
cmd.add({"httpget", "hl", "get"}, {"httpget <url> (hl, get)", "Run the contents of a given URL"}, function(url)
loadstring(game:HttpGet(url, true))()
end)
cmd.add({"godmode", "god"}, {"godmode (god)", "Makes you unable to be killed"}, function()
loadstring(game:HttpGet(('https://[Log in to view URL]'),true))()
end)
cmd.add({"accountage", "accage"}, {"accountage <player> (accage)", "Tells the account age of a player in the server"}, function(...)
Username = (...)
target = getPlr(Username)
teller = target.AccountAge
accountage = "The account age of " .. target.Name .. " is " .. teller
wait();
Notify({
Description = accountage;
Title = "Fire-Admin";
Duration = 7;
});
end)
To embed this project on your website, copy the following code and paste it into your website's HTML: