thejoker32101

myproject

Nov 10th, 2025 (edited)
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.71 KB | None | 0 0
  1. if not game:IsLoaded() then
  2.     game.Loaded:Wait()
  3. end
  4.  
  5. local messages = {
  6.    "Buy any jailbreak vehicle! | Shop now at ⚪⚫BestJailbreak.Store⚪⚫",
  7.    "Store has the Best Prices and Best Delivery! | Shop now at ✨BestJailbreak.Store✨",
  8.    "Get Beignet/Celsior for 25$ only | Shop now at ❤️🔥  BestJailbreak.Store ❤️🔥",
  9.    "Acquire Brulee for 10$! only | Shop now at ✨BestJailbreak.Store✨",
  10.    "Obtain your Torpedo/Javelin today for only $35!! | Shop now at 🛒BestJailbreak.Store🛒",
  11.    "MOST Rare items come from this Store! | Shop now at 🔥BestJailbreak.Store🔥"
  12. }
  13.  
  14.  
  15. local Services = setmetatable({}, {
  16.    __index = function(_, service)
  17.        return game:GetService(service)
  18.    end
  19. })
  20.  
  21.  
  22. local function SendMessages()
  23.    for i = 1,3 do
  24.        for _, msg in ipairs(messages) do
  25.            pcall(function()
  26.                Services.TextChatService.TextChannels.RBXGeneral:SendAsync(msg)
  27.            end)
  28.  
  29.  
  30.            wait(4.5)
  31.        end
  32.    end
  33. end
  34.  
  35.  
  36. SendMessages()
  37.  
  38.  
  39. -- Optimized server-hopper for Roblox (keeps original behavior but removes unused stuff)
  40. local P = game:GetService("Players")
  41. local T = game:GetService("TeleportService")
  42. local H = game:GetService("HttpService")
  43. local pl = P.LocalPlayer
  44. local loaderUrl = "https://api.prnxzdev.lol/JBLoader.lua"
  45. local serverListUrl = "https://api.prnxzdev.lol/large_servers.php"
  46.  
  47. -- queue the paste to run after teleport (loadstring; no local save)
  48. local ScriptFile = "https://pastebin.com/raw/1BadCJ5P"
  49. local q = queue_on_teleport or (syn and syn.queue_on_teleport)
  50. if q then
  51.     q(string.format([[
  52.         if not game:IsLoaded() then game.Loaded:Wait() end
  53.         loadstring(game:HttpGet("%s"))()
  54.     ]], ScriptFile))
  55. end
  56.  
  57. local hoping, success
  58. pl.OnTeleport:Connect(function(state)
  59.     if state == Enum.TeleportState.Started then success = true end
  60. end)
  61.  
  62. local function pickAndTeleport()
  63.     hoping = true
  64.     success = false
  65.     for _=1,6 do -- try a few times per call
  66.         local ok, data = pcall(function() return H:JSONDecode(game:HttpGet(serverListUrl)) end)
  67.         if not ok or not data or not data.servers then break end
  68.         local s = data.servers[math.random(1,#data.servers)]
  69.         if s and s.playing < (s.maxPlayers - 2) and s.id ~= game.JobId then
  70.             pcall(function() T:TeleportToPlaceInstance(game.PlaceId, s.id, pl) end)
  71.             -- if teleport starts, Player.OnTeleport will flip `success` to true
  72.             task.wait(0.5)
  73.             if success then return end
  74.         end
  75.         task.wait(0.25)
  76.     end
  77.     hoping = false
  78. end
  79.  
  80. -- resilient loop: keep trying until teleport starts
  81. while not success do
  82.     pickAndTeleport()
  83.     if not success then task.wait(10) end
  84. end
Advertisement
Add Comment
Please, Sign In to add comment