A Simple command lib that I made for myself, but decided to release it.
First, import the lib.
local Eurus = loadstring(
game:HttpGet"https://raw.githubusercontent.com/LLethul/eurus/main/src/index.lua"
)();
Second, set your script data!
local Eurus = loadstring(
game:HttpGet"https://raw.githubusercontent.com/LLethul/eurus/main/src/index.lua"
)();
Eurus:SetScriptData({
Prefix = ";";
ScriptName = "Eurus Admin";
});
Lastly, make a command, with the availible functions!
Eurus:AddCommand("ping", {
--// Aliases
"pong"
}, {
--// Command metadata
Description = "Ping!"
}, function(Self, Args)
Eurus:Notify"Pong! Hi, "..Self.Name.."!";
end)
Cheers