Hello, community! I’m sharing a free plugin I made for Adonis Admin. This script allows moderators to toggle a tag above their characters’ heads with a simple command. It’s easy to set up and use, perfect for servers running Adonis Admin that want to customize staff tags.
What does it do?
- Uses a command (default “tag”) to show or hide a tag above the character.
- Fully configurable: you can change the tag name, command, admin level, and more.
- Prints messages to the console to confirm whether the tag was enabled/disabled or if there was an error.
How to set it up
- Copy the code below and paste it into a new plugin within Adonis Admin.
- Adjust the variables at the start of the script to suit your needs:
- TAG_NAME: Name of the BillboardGui (default “NameTag”).
- GUI_NAME: Name of the TextLabel inside the tag (default “EspecialText”).
- COMMAND_NAME: The command that triggers the plugin (default “tag”).
- DESCRIPTION: Command description (default “Activates or deactivates staff tag”).
- ADMIN_LEVEL: Minimum admin level required to use it (default “Moderators”).
- Ensure players have a BillboardGui with a TextLabel on their character’s head, matching the names you configured.
FREE MODEL: https://create.roblox.com/store/asset/117470121977134/Adonis-admin-overhead-tag-toggle
print("$LOADED / ADONIS ADMIN TAG TOGGLE PLUGIN / System by mindcreator9 / The epic cake / For support contact me on dizzy: mindcreator9")
return function(Vargs)
local server, service = Vargs.Server, Vargs.Service
--AQUI CONFIGURA EN ESTAS VARIABLES TU TAG POR EJEMPLO
-- NameTag-EspecialText
local TAG_NAME = "NameTag" -- Este es el nombre del tag, del BillBoardGui
local GUI_NAME = "EspecialText" --Este es el nombre del textlabel
local COMMAND_NAME = "tag" --Aqui esta el comando aunque lo puedes modificar a tu manera
local DESCRIPTION = "Activa o desactiva tag de staff." --La descripcio nla cual puedes modificar tambien a tu manera
local ADMIN_LEVEL = "Moderators" -- El nivel minimo para usar el comando.
server.Commands.TagCommand = {
Prefix = server.Settings.Prefix;
Commands = {COMMAND_NAME};
Args = {};
Description = DESCRIPTION;
Hidden = false; --Dejar asi por defecto.
Fun = false; --Dejar asi por defecto.
AdminLevel = ADMIN_LEVEL;
Function = function(plr)
local character = plr.Character
if character then
local head = character:FindFirstChild("Head")
if head then
local nombre = head:FindFirstChild(TAG_NAME)
if nombre then
local rangoGui = nombre:FindFirstChild(GUI_NAME)
if rangoGui then
rangoGui.Visible = not rangoGui.Visible
print(plr.Name .. " - Tag " .. (rangoGui.Visible and "activado" or "desactivado"))
else
print(plr.Name .. " - No se encontró el GUI '" .. GUI_NAME .. "' en '" .. TAG_NAME .. "'.")
end
else
print(plr.Name .. " - No se encontró '" .. TAG_NAME .. "' en la cabeza del jugador.")
end
else
print(plr.Name .. " - No se encontró 'Head' en el personaje del jugador.")
end
else
print(plr.Name .. " - No se encontró el character del jugador.")
end
end
}
end