Below is a 100 % “copy-and-paste” solution that BUILDS the entire floating lobby GUI for you at run–time.
You won’t have to touch Roblox Studio’s UI editor at all—just drop the scripts in the right places and hit Play.
────────────────────────────────────────
1️⃣ WHAT YOU STILL NEED IN THE LOBBY MAP
────────────────────────────────────────
Workspace must contain three parts (exact names, capitalization matters):
• TeleportPad – the little platform people stand on
• ForceZone – a larger invisible block that players walk into (it locks them)
• GUIAnchor – a small invisible part floating 8–10 studs above the pad (this is what the BillboardGui will attach to)
That’s it for building. Everything else (frames, text labels, button) is created by code.
────────────────────────────────────────
2️⃣ SERVER-SIDE SCRIPT (UNCHANGED)
────────────────────────────────────────
If you already pasted the “LobbyManager” server script from the previous message you can keep it.
(If you lost it, copy it back in – it goes in ServerScriptService.)
────────────────────────────────────────
3️⃣ CLIENT-SIDE “AUTO-GUI” SCRIPT
────────────────────────────────────────
Delete any old GUI objects you may have put in StarterGui.
Then add a LocalScript to 𝗦𝘁𝗮𝗿𝘁𝗲𝗿𝗣𝗹𝗮𝘆𝗲𝗿𝗦𝗰𝗿𝗶𝗽𝘁𝘀 called 𝘈𝘶𝘵𝘰𝘓𝘰𝘣𝘣𝘺𝘎𝘜𝘐 and paste the code below:
lua
-- AutoLobbyGUI (LocalScript in StarterPlayerScripts)
local Players = game:GetService("Players")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local player = Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")
------------------------------------------------------------------
-- 1. BUILD THE ENTIRE GUI HIERARCHY
------------------------------------------------------------------
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "LobbyGui"
screenGui.ResetOnSpawn = false -- survive respawns
screenGui.Parent = playerGui
-- BillboardGui floating above the pad
local billboard = Instance.new("BillboardGui")
billboard.Name = "TeleportDisplay"
billboard.Size = UDim2.new(0, 350, 0, 180) -- width, height in pixels
billboard.AlwaysOnTop= true
billboard.Parent = screenGui
-- Frame for background
local frame = Instance.new("Frame")
frame.Name = "Frame"
frame.Size = UDim2.new(1, 0, 1, 0)
frame.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
frame.BackgroundTransparency = 0.25
frame.BorderSizePixel = 2
frame.BorderColor3 = Color3.new(1,1,1)
frame.Parent = billboard
-- Title text
local title = Instance.new("TextLabel")
title.Name = "Title"
title.Size = UDim2.new(1, 0, 0.28, 0)
title.BackgroundTransparency = 1
title.Font = Enum.Font.GothamBold
title.TextColor3 = Color3.new(1,1,1)
title.TextScaled = true
title.Text = "🚚 DELIVERY MISSION"
title.Parent = frame
-- Player-count text
local countLabel = Instance.new("TextLabel")
countLabel.Name = "PlayerCount"
countLabel.Size = UDim2.new(1, 0, 0.24, 0)
countLabel.Position = UDim2.new(0, 0, 0.30, 0)
countLabel.BackgroundTransparency = 1
countLabel.Font = Enum.Font.GothamMedium
countLabel.TextColor3= Color3.fromRGB(200,200,200)
countLabel.TextScaled= true
countLabel.Text = "0/4 Players"
countLabel.Parent = frame
-- Status / countdown text
local statusLabel = Instance.new("TextLabel")
statusLabel.Name = "Status"
statusLabel.Size = UDim2.new(1, 0, 0.24, 0)
statusLabel.Position = UDim2.new(0, 0, 0.55, 0)
statusLabel.BackgroundTransparency = 1
statusLabel.Font = Enum.Font.GothamBold
statusLabel.TextColor3= Color3.fromRGB(255,255,120)
statusLabel.TextScaled= true
statusLabel.Text = "Waiting for players..."
statusLabel.Parent = frame
-- Leave button
local leaveBtn = Instance.new("TextButton")
leaveBtn.Name = "LeaveButton"
leaveBtn.Size = UDim2.new(0.8, 0, 0.2, 0)
leaveBtn.Position = UDim2.new(0.1, 0, 0.80, 0)
leaveBtn.BackgroundColor3 = Color3.fromRGB(200,50,50)
leaveBtn.BorderSizePixel = 0
leaveBtn.Font = Enum.Font.GothamBold
leaveBtn.TextColor3 = Color3.new(1,1,1)
leaveBtn.TextScaled = true
leaveBtn.Text = "LEAVE QUEUE"
leaveBtn.Visible = false
leaveBtn.Parent = frame
------------------------------------------------------------------
-- 2. TIE THE BILLBOARD TO THE 3-D ANCHOR PART
------------------------------------------------------------------
local guiAnchor = workspace:WaitForChild("GUIAnchor")
billboard.Adornee = guiAnchor
billboard.StudsOffsetWorldSpace = Vector3.new(0, 0, 0) -- tweak if needed
------------------------------------------------------------------
-- 3. HOOK UP REMOTE EVENTS FROM THE SERVER
------------------------------------------------------------------
local updateEvent = ReplicatedStorage:WaitForChild("UpdateLobbyGUI")
local leaveEvent = ReplicatedStorage:WaitForChild("LeaveQueue")
updateEvent.OnClientEvent:Connect(function(countText, statusText, queueTable)
-- Update labels
countLabel.Text = countText
statusLabel.Text = statusText
-- Determine if local player is currently queued
local isQueued = false
for _, queuedPlayer in ipairs(queueTable) do
if queuedPlayer == player then
isQueued = true
break
end
end
leaveBtn.Visible = isQueued
end)
-- Clicking leave fires server
leaveBtn.MouseButton1Click:Connect(function()
leaveEvent:FireServer()
end)
That script:
• creates the ScreenGui → BillboardGui → Frame → Text labels + button hierarchy
• auto-hooks the BillboardGui to the part called GUIAnchor
• styles the widgets (colors, fonts, sizes)
• listens to the two RemoteEvents made in the server script
• shows / hides the red “LEAVE QUEUE” button appropriately
Three lobby parts in Workspace named exactly
TeleportPad / ForceZone / GUIAnchor
“LobbyManager” (ServerScript) in ServerScriptService (from previous reply)
“AutoLobbyGUI” (LocalScript) in StarterPlayerScripts (code above)
Two RemoteEvents named UpdateLobbyGUI & LeaveQueue are created by the server script (it does this automatically).
Replace DELIVERY_PLACE_ID inside the server script with your real map-place id.
Press Play.
• Walk into the ForceZone → you snap onto the pad & freeze.
• The floating GUI appears overhead.
• Player count & countdown update live.
• Click “LEAVE QUEUE” to hop off (un-anchors you and moves you away).
• When countdown hits 0 the status text flips to “TELEPORTING…” and the whole group disappears into the delivery map 🚀.
You now have the full lobby flow without ever opening the UI editor!
Ping me again when you’re ready to make the package-spitting machine or to add sounds/particles to the pad. Happy building!