Run it
Copy the script and paste it into your executor.
local Players = game:GetService()
LocalPlayer = Players.LocalPlayer
UserInputService = :()
screenGui = .()
screenGui.Name =
screenGui.Parent = LocalPlayer:()
mainFrame = .()
mainFrame.Size = .(, , , )
mainFrame.Position = .(, , , )
mainFrame.BackgroundColor3 = .(, , )
mainFrame.Active =
mainFrame.Draggable =
mainFrame.Parent = screenGui
titleBar = .()
titleBar.Size = .(, , , )
titleBar.BackgroundColor3 = .(, , )
titleBar.Text =
titleBar.TextColor3 = .(, , )
titleBar.Font = .Font.SourceSansBold
titleBar.TextSize =
titleBar.Parent = mainFrame
scrollingFrame = .()
scrollingFrame.Size = .(, -, , -)
scrollingFrame.Position = .(, , , )
scrollingFrame.CanvasSize = .(, , , )
scrollingFrame.ScrollBarThickness =
scrollingFrame.BackgroundTransparency =
scrollingFrame.BackgroundColor3 = .(, , )
scrollingFrame.Parent = mainFrame
layout = .()
layout.Parent = scrollingFrame
layout.Padding = .(, )
()
_, child (scrollingFrame:())
child:()
child:()
_, player (Players:())
role = player:()
label = .()
label.Size = .(, -, , )
label.BackgroundTransparency =
label.BackgroundColor3 = .(, , )
label.TextColor3 = .(, , )
label.Font = .Font.SourceSansBold
label.TextSize =
label.Text = player.DisplayName .. .. role
label.Parent = scrollingFrame
scrollingFrame.CanvasSize = .(, , , layout.AbsoluteContentSize.Y)
Players.PlayerAdded:(refreshList)
Players.PlayerRemoving:(refreshList)
_, player (Players:())
player:():(refreshList)
()
minimized =
titleBar.MouseButton1Click:(()
minimized = minimized
minimized
scrollingFrame.Visible =
mainFrame.Size = .(, , , )
titleBar.Text =
scrollingFrame.Visible =
mainFrame.Size = .(, , , )
titleBar.Text =
)
tells role of every player in a GUI