CARVIEW |
Select Language
HTTP/2 200
date: Sun, 12 Oct 2025 01:04:39 GMT
content-type: text/html; charset=UTF-8
server: cloudflare
x-frame-options: DENY
x-content-type-options: nosniff
x-xss-protection: 1;mode=block
vary: accept-encoding
cf-cache-status: DYNAMIC
content-encoding: gzip
set-cookie: _csrf-frontend=18abd91f4e2c823221f876b362a11e67e09ad8147a0cfa230fd13e9c22cd0a5aa%3A2%3A%7Bi%3A0%3Bs%3A14%3A%22_csrf-frontend%22%3Bi%3A1%3Bs%3A32%3A%22TkG2nJTE7JGdlaRu5Cr9LzJ-egwfq7S6%22%3B%7D; HttpOnly; Path=/
cf-ray: 98d2af35f80d5ace-BLR
Bam sv hop - Pastebin.com
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- BamHub Server Hop - Full Edition (Mini Button Dragable) 💫
- local Players = game:GetService("Players")
- local TeleportService = game:GetService("TeleportService")
- local HttpService = game:GetService("HttpService")
- local TweenService = game:GetService("TweenService")
- local player = Players.LocalPlayer
- -- Xóa UI cũ nếu có
- local old = player:FindFirstChild("PlayerGui"):FindFirstChild("BamHubGui")
- if old then old:Destroy() end
- -- Tạo GUI
- local gui = Instance.new("ScreenGui", player:WaitForChild("PlayerGui"))
- gui.Name = "BamHubGui"
- gui.ResetOnSpawn = false
- local frame = Instance.new("Frame", gui)
- frame.Size = UDim2.new(0, 260, 0, 220)
- frame.Position = UDim2.new(0.03, 0, 0.05, 0) -- cao gần trên cùng
- frame.BackgroundColor3 = Color3.fromRGB(15, 15, 15)
- frame.BackgroundTransparency = 0.25
- frame.Active = true
- frame.Draggable = true
- frame.BorderSizePixel = 0
- Instance.new("UICorner", frame).CornerRadius = UDim.new(0, 12)
- -- Hình banner
- local image = Instance.new("ImageLabel", frame)
- image.Size = UDim2.new(1, 0, 0, 80)
- image.Position = UDim2.new(0,0,0,0)
- image.BackgroundTransparency = 1
- image.Image = "rbxassetid://113458627248277"
- image.ScaleType = Enum.ScaleType.Crop
- Instance.new("UICorner", image).CornerRadius = UDim.new(0, 12)
- -- Status
- local status = Instance.new("TextLabel", frame)
- status.Size = UDim2.new(1, -20, 0, 25)
- status.Position = UDim2.new(0, 10, 0.38, 0)
- status.BackgroundTransparency = 1
- status.TextColor3 = Color3.new(1, 1, 1)
- status.Font = Enum.Font.Gotham
- status.TextSize = 15
- status.Text = "Ready."
- -- Hàm tạo nút
- local function makeBtn(y, text, color)
- local btn = Instance.new("TextButton", frame)
- btn.Size = UDim2.new(0.8, 0, 0, 32)
- btn.Position = UDim2.new(0.1, 0, y, 0)
- btn.Text = text
- btn.BackgroundColor3 = color or Color3.fromRGB(0, 150, 255)
- btn.TextColor3 = Color3.fromRGB(255, 255, 255)
- btn.Font = Enum.Font.GothamBold
- btn.TextSize = 16
- btn.BorderSizePixel = 0
- Instance.new("UICorner", btn).CornerRadius = UDim.new(0, 8)
- return btn
- end
- -- Tạo các nút
- local btnRejoin = makeBtn(0.55, "Rejoin Server", Color3.fromRGB(255, 85, 85))
- local btnHop = makeBtn(0.70, "Hop Server")
- local btnLow = makeBtn(0.85, "Hop Server Ít Người") -- chữ mới
- -- Nút thu nhỏ
- local btnMinimize = Instance.new("TextButton", frame)
- btnMinimize.Size = UDim2.new(0, 30, 0, 30)
- btnMinimize.Position = UDim2.new(1, -35, 0, 5)
- btnMinimize.Text = "-"
- btnMinimize.TextColor3 = Color3.fromRGB(255,255,255)
- btnMinimize.Font = Enum.Font.GothamBold
- btnMinimize.TextSize = 20
- btnMinimize.BackgroundColor3 = frame.BackgroundColor3
- btnMinimize.BorderSizePixel = 0
- Instance.new("UICorner", btnMinimize).CornerRadius = UDim.new(0, 6)
- -- Nút mini (phóng to lại)
- local miniBtn = Instance.new("TextButton", gui)
- miniBtn.Size = UDim2.new(0, 80, 0, 80) -- size thu nhỏ = nút phóng to
- miniBtn.Position = frame.Position
- miniBtn.BackgroundColor3 = Color3.fromRGB(15,15,15)
- miniBtn.BorderSizePixel = 0
- miniBtn.Visible = false
- miniBtn.Active = true
- miniBtn.Draggable = true -- cho kéo được
- Instance.new("UICorner", miniBtn).CornerRadius = UDim.new(0,12)
- local miniImage = Instance.new("ImageLabel", miniBtn)
- miniImage.Size = UDim2.new(1,0,1,0)
- miniImage.Position = UDim2.new(0,0,0,0)
- miniImage.Image = image.Image
- miniImage.BackgroundTransparency = 1
- Instance.new("UICorner", miniImage).CornerRadius = UDim.new(0,12)
- -- Các element sẽ ẩn khi thu nhỏ
- local elementsToHide = {btnRejoin, btnHop, btnLow, status, btnMinimize}
- local minimized = false
- local originalSize = frame.Size
- local originalPos = frame.Position
- -- Thu/phóng hub
- local function MinimizeHub()
- if not minimized then
- -- Thu nhỏ frame bằng size miniBtn
- local tween = TweenService:Create(frame, TweenInfo.new(0.5), {Size = miniBtn.Size})
- tween:Play()
- for _, obj in pairs(elementsToHide) do
- obj.Visible = false
- end
- task.wait(0.5)
- miniBtn.Position = frame.Position
- miniBtn.Visible = true
- frame.Visible = false
- minimized = true
- else
- miniBtn.Visible = false
- frame.Visible = true
- local tween = TweenService:Create(frame, TweenInfo.new(0.5), {Size=originalSize})
- tween:Play()
- for _, obj in pairs(elementsToHide) do
- obj.Visible = true
- end
- minimized = false
- end
- end
- -- Kết nối nút thu nhỏ
- btnMinimize.MouseButton1Click:Connect(MinimizeHub)
- miniBtn.MouseButton1Click:Connect(MinimizeHub)
- -- Hiệu ứng nhấn nút
- local function addButtonClickEffect(button)
- local originalSize = button.Size
- button.MouseButton1Down:Connect(function()
- local tween = TweenService:Create(button, TweenInfo.new(0.1), {Size=UDim2.new(originalSize.X.Scale*0.9, originalSize.X.Offset*0.9,
- originalSize.Y.Scale*0.9, originalSize.Y.Offset*0.9)})
- tween:Play()
- end)
- button.MouseButton1Up:Connect(function()
- local tween = TweenService:Create(button, TweenInfo.new(0.1), {Size=originalSize})
- tween:Play()
- end)
- button.MouseLeave:Connect(function()
- local tween = TweenService:Create(button, TweenInfo.new(0.1), {Size=originalSize})
- tween:Play()
- end)
- end
- for _, btn in pairs({btnRejoin, btnHop, btnLow, btnMinimize, miniBtn}) do
- addButtonClickEffect(btn)
- end
- -- Hàm lấy server
- local function GetServers()
- local servers, cursor = {}, ""
- repeat
- local ok, res = pcall(function()
- return HttpService:JSONDecode(game:HttpGet(
- ("https://games.roblox.com/v1/games/%d/servers/Public?sortOrder=Asc&limit=100%s")
- :format(game.PlaceId, cursor ~= "" and "&cursor="..cursor or "")
- ))
- end)
- if ok and res and res.data then
- for _, v in ipairs(res.data) do
- if v.playing < v.maxPlayers and v.id ~= game.JobId then
- table.insert(servers, v)
- end
- end
- cursor = res.nextPageCursor or ""
- else
- break
- end
- task.wait(0.2)
- until cursor == "" or #servers >= 100
- return servers
- end
- -- Teleport thử
- local function TryHop(servers)
- for _, srv in ipairs(servers) do
- status.Text = "Đang vào server..."
- local ok = pcall(function()
- TeleportService:TeleportToPlaceInstance(game.PlaceId, srv.id, player)
- end)
- if ok then return end
- task.wait(2)
- end
- status.Text = "Không thành công, thử lại..."
- end
- -- Hai chế độ hop
- local function HopServer(low)
- status.Text = "Đang tìm server..."
- local list = GetServers()
- if #list == 0 then
- status.Text = "Không tìm thấy server khả dụng."
- return
- end
- if low then
- table.sort(list, function(a, b) return a.playing < b.playing end)
- else
- for i = #list, 2, -1 do
- local j = math.random(1, i)
- list[i], list[j] = list[j], list[i]
- end
- end
- TryHop(list)
- end
- -- Kết nối nút
- btnRejoin.MouseButton1Click:Connect(function()
- status.Text = "Đang rejoin server..."
- local ok = pcall(function()
- TeleportService:TeleportToPlaceInstance(game.PlaceId, game.JobId, player)
- end)
- if not ok then
- status.Text = "Không thể rejoin server."
- end
- end)
- btnHop.MouseButton1Click:Connect(function()
- HopServer(false)
- end)
- btnLow.MouseButton1Click:Connect(function()
- HopServer(true)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
-
📌 Instant BTC Profit Method ✅ Working
JavaScript | 3 sec ago | 0.24 KB
-
📝 MAKE $2500 IN 15 MIN ✅ Working
JavaScript | 13 sec ago | 0.24 KB
-
💵 Make 3000$ in 20 minutes 💵
JavaScript | 22 sec ago | 0.24 KB
-
📌 Swapzone +37% glitch
JavaScript | 31 sec ago | 0.24 KB
-
📝 Exchange profit method
JavaScript | 42 sec ago | 0.24 KB
-
⭐ Free Crypto Method ⭐
JavaScript | 51 sec ago | 0.24 KB
-
📝 Crypto Swap Glitch ✅ Working
JavaScript | 1 min ago | 0.24 KB
-
📝 Crypto Swap Glitch ✅ Working
JavaScript | 1 min ago | 0.24 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand