
KeylessUniversal

-- Legitimate Roblox UI Construction Script: Welcome Hub
local Players = game:GetService("Players")
local TweenService = game:GetService("TweenService")
local localPlayer = Players.LocalPlayer
if not localPlayer then return end
local playerGui = localPlayer:WaitForChild("PlayerGui")
-- 1. Main ScreenGui Container
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "WelcomeHubGui"
screenGui.ResetOnSpawn = false
screenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
screenGui.Parent = playerGui
-- 2. Dark Overlay Background
local overlay = Instance.new("Frame")
overlay.Name = "Overlay"
overlay.Size = UDim2.new(1, 0, 1, 0)
overlay.BackgroundColor3 = Color3.fromRGB(15, 15, 20)
overlay.BackgroundTransparency = 0.4
overlay.Parent = screenGui
-- 3. Central Card Frame
local card = Instance.new("Frame")
card.Name = "WelcomeCard"
card.AnchorPoint = Vector2.new(0.5, 0.5)
card.Position = UDim2.new(0.5, 0, 0.5, 0)
card.Size = UDim2.new(0, 420, 0, 280) -- Height slightly expanded for owner tag
card.BackgroundColor3 = Color3.fromRGB(25, 27, 38)
card.BorderSizePixel = 0
card.Parent = overlay
local cardCorner = Instance.new("UICorner")
cardCorner.CornerRadius = UDim.new(0, 12)
cardCorner.Parent = card
local cardStroke = Instance.new("UIStroke")
cardStroke.Color = Color3.fromRGB(55, 60, 80)
cardStroke.Thickness = 1.5
cardStroke.Parent = card
-- 4. Header / Title Text
local titleText = Instance.new("TextLabel")
titleText.Name = "Title"
titleText.Size = UDim2.new(1, -40, 0, 40)
titleText.Position = UDim2.new(0, 20, 0, 15)
titleText.Text = "WELCOME TO THE SERVER"
titleText.TextColor3 = Color3.fromRGB(255, 255, 255)
titleText.TextSize = 22
titleText.Font = Enum.Font.GothamBold
titleText.TextXAlignment = Enum.TextXAlignment.Center
titleText.BackgroundTransparency = 1
titleText.Parent = card
-- 5. Subtitle / Player Greeting
local subtitleText = Instance.new("TextLabel")
subtitleText.Name = "Subtitle"
subtitleText.Size = UDim2.new(1, -40, 0, 30)
subtitleText.Position = UDim2.new(0, 20, 0, 55)
subtitleText.Text = "Hello, " .. localPlayer.DisplayName .. "! We're glad to have you here."
subtitleText.TextColor3 = Color3.fromRGB(180, 185, 205)
subtitleText.TextSize = 14
subtitleText.Font = Enum.Font.Gotham
subtitleText.TextWrapped = true
subtitleText.BackgroundTransparency = 1
subtitleText.Parent = card
-- 6. Informational Box
local infoBox = Instance.new("Frame")
infoBox.Name = "InfoBox"
infoBox.Size = UDim2.new(1, -40, 0, 60)
infoBox.Position = UDim2.new(0, 20, 0, 95)
infoBox.BackgroundColor3 = Color3.fromRGB(35, 38, 52)
infoBox.BorderSizePixel = 0
infoBox.Parent = card
local infoCorner = Instance.new("UICorner")
infoCorner.CornerRadius = UDim.new(0, 8)
infoCorner.Parent = infoBox
local infoText = Instance.new("TextLabel")
infoText.Size = UDim2.new(1, -20, 1, 0)
infoText.Position = UDim2.new(0, 10, 0, 0)
infoText.Text = "• Follow server rules\n• Respect other players\n• Have fun and enjoy your session!"
infoText.TextColor3 = Color3.fromRGB(200, 205, 220)
infoText.TextSize = 12
infoText.Font = Enum.Font.GothamMedium
infoText.TextXAlignment = Enum.TextXAlignment.Left
infoText.BackgroundTransparency = 1
infoText.Parent = infoBox
-- 7. Action / Dismiss Button
local actionButton = Instance.new("TextButton")
actionButton.Name = "ContinueButton"
actionButton.Size = UDim2.new(1, -40, 0, 42)
actionButton.Position = UDim2.new(0, 20, 0, 170)
actionButton.BackgroundColor3 = Color3.fromRGB(0, 162, 255)
actionButton.Text = "ENTER GAME"
actionButton.TextColor3 = Color3.fromRGB(255, 255, 255)
actionButton.TextSize = 14
actionButton.Font = Enum.Font.GothamBold
actionButton.AutoButtonColor = true
actionButton.BorderSizePixel = 0
actionButton.Parent = card
local buttonCorner = Instance.new("UICorner")
buttonCorner.CornerRadius = UDim.new(0, 8)
buttonCorner.Parent = actionButton
-- 8. Owner Credit Label
local ownerLabel = Instance.new("TextLabel")
ownerLabel.Name = "OwnerCredit"
ownerLabel.Size = UDim2.new(1, -40, 0, 20)
ownerLabel.Position = UDim2.new(0, 20, 1, -25)
ownerLabel.Text = "Owner: Zuap1izO"
ownerLabel.TextColor3 = Color3.fromRGB(120, 125, 145)
ownerLabel.TextSize = 11
ownerLabel.Font = Enum.Font.GothamMedium
ownerLabel.TextXAlignment = Enum.TextXAlignment.Center
ownerLabel.BackgroundTransparency = 1
ownerLabel.Parent = card
-- 9. Button Animations & Click Event
actionButton.MouseEnter:Connect(function()
TweenService:Create(actionButton, TweenInfo.new(0.2), {BackgroundColor3 = Color3.fromRGB(20, 175, 255)}):Play()
end)
actionButton.MouseLeave:Connect(function()
TweenService:Create(actionButton, TweenInfo.new(0.2), {BackgroundColor3 = Color3.fromRGB(0, 162, 255)}):Play()
end)
actionButton.MouseButton1Click:Connect(function()
local fadeInfo = TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out)
TweenService:Create(card, fadeInfo, {Size = UDim2.new(0, 380, 0, 250), BackgroundTransparency = 1}):Play()
TweenService:Create(overlay, fadeInfo, {BackgroundTransparency = 1}):Play()
task.wait(0.3)
screenGui:Destroy()
end)No comments yet for this script.



