-- Create the GUI local screenGui = Instance.new("ScreenGui") screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local frame = Instance.new("Frame") frame.Size = UDim2.new(0, 300, 0, 150) frame.Position = UDim2.new(0.5, -150, 0.5, -75) frame.BackgroundColor3 = Color3.fromRGB(50, 50, 50) -- Grey background frame.Active = true frame.Draggable = true frame.Parent = screenGui -- Add rounded corners to the frame local uiCorner = Instance.new("UICorner") uiCorner.CornerRadius = UDim.new(0, 8) -- Adjust corner radius as needed uiCorner.Parent = frame local title = Instance.new("TextLabel") title.Text = "Join Server by Job ID" title.Size = UDim2.new(1, 0, 0, 30) title.Position = UDim2.new(0, 0, 0, 0) title.BackgroundColor3 = Color3.fromRGB(40, 40, 40) -- Darker grey title.TextColor3 = Color3.fromRGB(255, 255, 255) title.Font = Enum.Font.FredokaOne -- Set font to Fredoka One title.Parent = frame -- Add rounded corners to the title local titleCorner = Instance.new("UICorner") titleCorner.CornerRadius = UDim.new(0, 8) titleCorner.Parent = title local textBox = Instance.new("TextBox") textBox.PlaceholderText = "Enter Job ID" textBox.Size = UDim2.new(0.8, 0, 0, 30) textBox.Position = UDim2.new(0.1, 0, 0.4, 0) textBox.BackgroundColor3 = Color3.fromRGB(255, 255, 255) textBox.TextColor3 = Color3.fromRGB(0, 0, 0) textBox.Font = Enum.Font.FredokaOne -- Set font to Fredoka One textBox.Parent = frame -- Add rounded corners to the text box local textBoxCorner = Instance.new("UICorner") textBoxCorner.CornerRadius = UDim.new(0, 8) textBoxCorner.Parent = textBox local joinButton = Instance.new("TextButton") joinButton.Text = "Join Server" joinButton.Size = UDim2.new(0.8, 0, 0, 30) joinButton.Position = UDim2.new(0.1, 0, 0.7, 0) joinButton.BackgroundColor3 = Color3.fromRGB(0, 120, 255) joinButton.TextColor3 = Color3.fromRGB(255, 255, 255) joinButton.Font = Enum.Font.FredokaOne -- Set font to Fredoka One joinButton.Parent = frame -- Add rounded corners to the button local buttonCorner = Instance.new("UICorner") buttonCorner.CornerRadius = UDim.new(0, 8) buttonCorner.Parent = joinButton -- Function to join the server by Job ID joinButton.MouseButton1Click:Connect(function() local jobId = textBox.Text if jobId and jobId ~= "" then game:GetService("TeleportService"):TeleportToPlaceInstance(game.PlaceId, jobId) else print("Please enter a valid Job ID.") end end)