Back to Scripts
rhenzxp

rhenzxp

ScriptBlox
Universal Free

Game: Universal Script ๐Ÿ“Œ

267 Views
0 Likes
2 Dislikes
rdsl091230

rdsl091230

offline

Features

Entra no serv privado

Script Code

-- rhenzxp LocalScript legรญvel
local TeleportService = game:GetService("TeleportService")
local Players = game:GetService("Players")
local player = Players.LocalPlayer

local screenGui = Instance.new("ScreenGui")
screenGui.Name = "rhenzxp"
screenGui.ResetOnSpawn = false
screenGui.Parent = player:WaitForChild("PlayerGui")

local frame = Instance.new("Frame")
frame.Size = UDim2.new(0, 200, 0, 110)
frame.Position = UDim2.new(0.5, -100, 0.5, -55)
frame.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
frame.BorderSizePixel = 0
frame.Parent = screenGui
Instance.new("UICorner", frame).CornerRadius = UDim.new(0, 12)

local title = Instance.new("TextLabel")
title.Text = "rhenzxp Hub"
title.Size = UDim2.new(1, 0, 0, 30)
title.BackgroundTransparency = 1
title.Font = Enum.Font.GothamBold
title.TextSize = 18
title.TextColor3 = Color3.new(1, 1, 1)
title.Parent = frame

local button = Instance.new("TextButton")
button.Name = "IrAoServ"
button.Text = "Ir ao Serv"
button.Size = UDim2.new(0.8, 0, 0, 45)
button.Position = UDim2.new(0.1, 0, 0.45, 0)
button.BackgroundColor3 = Color3.fromRGB(60, 120, 200)
button.Font = Enum.Font.GothamBold
button.TextSize = 16
button.TextColor3 = Color3.new(1, 1, 1)
button.Parent = frame
Instance.new("UICorner", button).CornerRadius = UDim.new(0, 8)

button:SetAttribute("ServerId", "c4b94f757b6e1745bd679153a1ae2e97")
button:SetAttribute("OwnerId", 0)

local message = Instance.new("TextLabel")
message.Size = UDim2.new(1, 0, 0, 25)
message.Position = UDim2.new(0, 0, 0.8, 0)
message.BackgroundTransparency = 1
message.Font = Enum.Font.Gotham
message.TextSize = 14
message.TextColor3 = Color3.new(1, 1, 1)
message.Text = ""
message.Parent = frame

button.MouseButton1Click:Connect(function()
    local serverId = button:GetAttribute("ServerId")
    local ownerId = button:GetAttribute("OwnerId")
    if not serverId or serverId == "" then
        message.Text = "ID do servidor nรฃo definido!"
        return
    end
    message.Text = "Conectando ao servidor..."
    wait(0.5)
    local success, err = pcall(function()
        TeleportService:TeleportToPrivateServer(game.PlaceId, serverId, {player}, ownerId)
    end)
    if not success then
        message.Text = "Erro: " .. tostring(err)
    else
        message.Text = "Teleportando..."
    end
end)

button.TouchTap:Connect(function()
    button:Activate()
end)

print("Hub rhenzxp carregado com sucesso!")

Ratings & Reviews

No reviews yet. Be the first to review this script!

Comments (0)

Please login to comment

Login with Discord

Loading comments...