Staff in-game board

  1. i’m trying to make a board that says the staff ingame (just like in the screenshot under)

Immagine 2023-04-06 100433

  1. the only problem is, i don’t know where to start, i’m not experienced in such things so i need some help!
1 Like

Okay so there is a few different ways you could approach this, if your staff are in a specific group for example you could make a script to get every player, check if they are in the group and match a specific set of roles then clone a template GUI and use it in the board, and just skip all people which don’t match the requirements.

1 Like

Code:

-- Define staff table
local staff = {
	{name = "John Doe", role = "Admin"},
	{name = "Jane Smith", role = "Moderator"},
	{name = "Bob Johnson", role = "Moderator"}
}

-- Create SurfaceGui
local surfaceGui = script.Parent:FindFirstChildOfClass("SurfaceGui") or Instance.new("SurfaceGui")
surfaceGui.Name = "StaffBoard"
surfaceGui.CanvasSize = Vector2.new(200, 100)
surfaceGui.Face = Enum.NormalId.Front -- Make the SurfaceGui face the front
surfaceGui.Parent = script.Parent

-- Create TextLabel
local textLabel = surfaceGui:FindFirstChildOfClass("TextLabel") or Instance.new("TextLabel")
textLabel.BackgroundTransparency = 1
textLabel.Name = "StaffList"
textLabel.Size = UDim2.new(1, 0, 1, 0)
textLabel.Text = textLabel.Text.."\n"
textLabel.Parent = surfaceGui

-- Add staff names to TextLabel
for i, staffMember in ipairs(staff) do
	textLabel.Text = textLabel.Text .. staffMember.name .. " - " .. staffMember.role .. "\n"
end

textLabel.TextColor3 = Color3.new(1, 1, 1) -- White text
textLabel.TextScaled = true -- Adjust font size as needed
textLabel.Parent = surfaceGui

Screenshot that helps you: