Advertisement
Peerapat_PKY

Scipt Xenon Dalte

Jul 20th, 2024 (edited)
13,054
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.88 KB | None | 0 0
  1. if isfolder('Luarmor') then delfolder('Luarmor') end
  2. repeat task.wait() until game:IsLoaded()
  3. local PlaceID = game.PlaceId
  4. local AllIDs = {}
  5. local foundAnything = ""
  6. local actualHour = os.date("!*t").hour
  7. local Deleted = false
  8.  
  9. function TPReturner()
  10. local Site;
  11. if foundAnything == "" then
  12. Site = game.HttpService:JSONDecode(game:HttpGet('https://games.roblox.com/v1/games/' .. PlaceID .. '/servers/Public?sortOrder=Asc&limit=100'))
  13. else
  14. Site = game.HttpService:JSONDecode(game:HttpGet('https://games.roblox.com/v1/games/' .. PlaceID .. '/servers/Public?sortOrder=Asc&limit=100&cursor=' .. foundAnything))
  15. end
  16. local ID = ""
  17. if Site.nextPageCursor and Site.nextPageCursor ~= "null" and Site.nextPageCursor ~= nil then
  18. foundAnything = Site.nextPageCursor
  19. end
  20. local num = 0;
  21. for i,v in pairs(Site.data) do
  22. local Possible = true
  23. ID = tostring(v.id)
  24. if tonumber(v.maxPlayers) > tonumber(v.playing) then
  25. for _,Existing in pairs(AllIDs) do
  26. if num ~= 0 then
  27. if ID == tostring(Existing) then
  28. Possible = false
  29. end
  30. else
  31. if tonumber(actualHour) ~= tonumber(Existing) then
  32. local delFile = pcall(function()
  33. AllIDs = {}
  34. table.insert(AllIDs, actualHour)
  35. end)
  36. end
  37. end
  38. num = num + 1
  39. end
  40. if Possible == true then
  41. table.insert(AllIDs, ID)
  42. wait()
  43. pcall(function()
  44. wait()
  45. game:GetService("TeleportService"):TeleportToPlaceInstance(PlaceID, ID, game.Players.LocalPlayer)
  46. end)
  47. wait(4)
  48. end
  49. end
  50. end
  51. end
  52.  
  53. function Teleport()
  54. while wait() do
  55. pcall(function()
  56. TPReturner()
  57. if foundAnything ~= "" then
  58. TPReturner()
  59. end
  60. end)
  61. end
  62. end
  63.  
  64.  
  65.  
  66. local lobbyCount = 0
  67. local maxLobbyCount = 60
  68.  
  69. repeat task.wait() until game:IsLoaded()
  70. pcall(function()
  71. spawn(function()
  72. while true do
  73. local Map
  74. local IntroGui = game:GetService("Players").LocalPlayer.PlayerGui:FindFirstChild("MatchIntroGui")
  75. if IntroGui then
  76. Map = "In Game"
  77. break
  78. else
  79. Map = "In Lobby"
  80. lobbyCount = lobbyCount + 1
  81. end
  82.  
  83. print("สถานะปัจจุบัน: " .. Map)
  84. print("จำนวนครั้งที่เจอ 'In Lobby': " .. lobbyCount)
  85.  
  86.  
  87. if lobbyCount >= maxLobbyCount then
  88. print("เจอ 'In Lobby' ครบ 20 ครั้ง ออกจากลูป")
  89. Teleport()
  90. break
  91. end
  92.  
  93. wait(1)
  94. end
  95. end)
  96. end)
  97. getgenv().Configuration = {
  98. ['Enabled'] = true,
  99. ['Enabled Challenge'] = false,
  100. ['PC Name'] = 'Xenon Hub 1',
  101. ['Delay'] = 10, -- Seconds
  102. ['Leave Delay'] = 5,
  103. ['Leave At Wave'] = 31,
  104. ['Leave Method'] = 1, -- 1 = Sell, 2 = Leave
  105. ['TradingMode'] = false,
  106. };
  107. getgenv().key = '151559901189'
  108. loadstring(game:HttpGet('https://raw.githubusercontent.com/Xenon-Trash/Loader/main/Loader.lua'))()
  109.  
  110. repeat task.wait() until game:IsLoaded()
  111. getgenv().Hermanos_Settings = {
  112. ['key'] = 'bafd2512-771b-4091-b5fe-069e746eaf1f',
  113. ['PC'] = 'SandBox',
  114. ['mode'] = 'Website', --- Duo, Description, Website
  115. }
  116. task.spawn(function() loadstring(game:HttpGet('https://raw.githubusercontent.com/hermanos-dev/hermanos-script/main/ad-main.lua'))() end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement