Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- ____
- /\ _`\ __
- \ \ \L\ \ __ ____/\_\ ___
- \ \ _ <' /'__`\ /',__\/\ \ /'___\
- \ \ \L\ \/\ \L\.\_/\__, `\ \ \/\ \__/
- \ \____/\ \__/.\_\/\____/\ \_\ \____\
- \/___/ \/__/\/_/\/___/ \/_/\/____/
- Admin Essentials v2
- Plugin Documentation
- *coming soon^tm
- If you have any questions regarding Plugins, contact TheFurryFish.
- --]]
- local Plugin = function(...)
- local Data = {...}
- -- Included Functions and Info --
- local remoteEvent = Data[1][1]
- local remoteFunction = Data[1][2]
- local returnPermissions = Data[1][3]
- local Commands = Data[1][4]
- local Prefix = Data[1][5]
- local actionPrefix = Data[1][6]
- local returnPlayers = Data[1][7]
- local cleanData = Data[1][8]
- -- Plugin Configuration --
- local pluginName = 'host'
- local pluginPrefix = Prefix
- local pluginLevel = 2
- local pluginUsage = "<User(s)>" -- leave blank if the command has no arguments
- local pluginDescription = "Host a user!"
- -- Example Plugin Function --
- local function pluginFunction(Args) -- keep the name of the function as "pluginFunction"
- local Player = Args[1]
- local Victims = returnPlayers(Player,Args[3],Args[2]) if not Victims then return end -- this will ignore the command if you're not include the player(s).
- for a,b in next,Victims do
- game.Workspace:FindFirstChild(b).Character.Head.ExtraTag.NameText.Text = "HOST"
- end
- end
- -- Return Everything to the MainModule --
- local descToReturn
- if pluginUsage ~= "" then
- descToReturn = pluginPrefix..pluginName..' '..pluginUsage..'\n'..pluginDescription
- else
- descToReturn = pluginPrefix..pluginName..'\n'..pluginDescription
- end
- return pluginName,pluginFunction,pluginLevel,pluginPrefix,{pluginName,pluginUsage,pluginDescription}
- end
- return Plugin
Advertisement
Add Comment
Please, Sign In to add comment