Server join
Key RequiredUniversal

Server join

Universal Scriptskeletonsocrates5skeletonsocrates5 12 views 0 executesUpdated Oct 5, 2026
Unrated
00
Lua Script•75 lines (2638 chars)
-- Create Screen GUI
local ScreenGui = Instance.new("ScreenGui")
local Frame = Instance.new("Frame")
local TextBox = Instance.new("TextBox")
local TextButton = Instance.new("TextButton")
local UICorner = Instance.new("UICorner")
local UICorner2 = Instance.new("UICorner")

-- Properties
ScreenGui.Name = "ServerJoinerGUI"
ScreenGui.Parent = game:GetService("CoreGui") -- Safely injects into execution GUI layer
ScreenGui.ResetOnSpawn = false

Frame.Name = "MainFrame"
Frame.Parent = ScreenGui
Frame.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
Frame.Position = UDim2.new(0.5, -125, 0.4, -50)
Frame.Size = UDim2.new(0, 250, 0, 110)
Frame.Active = true
Frame.Draggable = true -- Allows you to drag the GUI around your mobile screen

UICorner.Parent = Frame

TextBox.Parent = Frame
TextBox.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
TextBox.Position = UDim2.new(0.05, 0, 0.15, 0)
TextBox.Size = UDim2.new(0.9, 0, 0, 35)
TextBox.Font = Enum.Font.SourceSans
TextBox.PlaceholderText = "Paste Server/Job ID here..."
TextBox.Text = ""
TextBox.TextColor3 = Color3.fromRGB(255, 255, 255)
TextBox.TextSize = 16.000

UICorner2.Parent = TextBox

TextButton.Parent = Frame
TextButton.BackgroundColor3 = Color3.fromRGB(0, 170, 255)
TextButton.Position = UDim2.new(0.05, 0, 0.55, 0)
TextButton.Size = UDim2.new(0.9, 0, 0, 35)
TextButton.Font = Enum.Font.GothamBold
TextButton.Text = "JOIN SERVER"
TextButton.TextColor3 = Color3.fromRGB(255, 255, 255)
TextButton.TextSize = 16.000
TextButton.TextScaled = true

local UICorner3 = Instance.new("UICorner")
UICorner3.Parent = TextButton

-- Teleport Logic Execution
TextButton.MouseButton1Click:Connect(function()
    local targetId = TextBox.Text:gsub("%s+", "") -- Strips any accidental whitespace spaces
    local TeleportService = game:GetService("TeleportService")
    local players = game:GetService("Players")
    local localPlayer = players.LocalPlayer
    local placeId = game.PlaceId

    if targetId ~= "" then
        TextButton.Text = "Teleporting..."
        TextButton.BackgroundColor3 = Color3.fromRGB(255, 170, 0)
        
        -- Attempt to teleport to the specific JobID instance
        pcall(function()
            TeleportService:TeleportToPlaceInstance(placeId, targetId, localPlayer)
        end)
        
        task.wait(3)
        -- Resets the button UI text if the teleport fails or takes time
        TextButton.Text = "JOIN SERVER"
        TextButton.BackgroundColor3 = Color3.fromRGB(0, 170, 255)
    else
        TextBox.PlaceholderText = "ERROR: ID cannot be empty!"
        task.wait(1.5)
        TextBox.PlaceholderText = "Paste Server/Job ID here..."
    end
end)

Features & Information

Joining a server
#Server#Join

Community Comments (0)

No comments yet for this script.

More Scripts for Universal Scripts