Advertisement
zhangfengshan

Untitled

Feb 3rd, 2023
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.99 KB | None | 0 0
  1. local function notify(title,text,time)
  2. game.StarterGui:SetCore("SendNotification", {
  3. Title = title;
  4. Text = text;
  5. Icon = nil;
  6. Duration = time
  7. })
  8. end
  9. local function AntiAFK()
  10. game:GetService('Players').LocalPlayer.Idled:Connect(function()
  11. notify('反挂机', '反挂机已生效', 4)
  12. game:GetService('VirtualUser'):Button2Down(Vector2.new(0, 0), game:GetService('Workspace').CurrentCamera.CFrame);
  13. wait(.325)
  14. game:GetService('VirtualUser'):Button2Up(Vector2.new(0, 0), game:GetService('Workspace').CurrentCamera.CFrame);
  15. end);
  16. end;
  17. AntiAFK();
  18. notify("zh", "成功注入等待加载",10)
  19. notify('反挂机', '反挂机已开启', 4)
  20.  
  21. local function callback(Text)
  22. if Text == "确定" then
  23. local amountoftimes = 0
  24. repeat
  25. getgenv().AutoTeleport = true
  26. --我也没有做这个serverhop脚本,我只是把它放在一个GUI中,这是https://v3rmillion.net/showthread.php?tid=1107863的功劳。
  27. getgenv().DontTeleportTheSameNumber = true
  28. getgenv().CopytoClipboard = true
  29.  
  30. if not game:IsLoaded() then
  31. print("Game is loading waiting...")
  32. repeat
  33. wait()
  34. until game:IsLoaded()
  35. end
  36.  
  37. local maxplayers = math.huge
  38. local serversmaxplayer;
  39. local goodserver;
  40. local gamelink = "https://games.roblox.com/v1/games/" .. game.PlaceId .. "/servers/Public?sortOrder=Asc&limit=100"
  41.  
  42. function serversearch()
  43. for _, v in pairs(game:GetService("HttpService"):JSONDecode(game:HttpGetAsync(gamelink)).data) do
  44. if type(v) == "table" and maxplayers > v.playing then
  45. serversmaxplayer = v.maxPlayers
  46. maxplayers = v.playing
  47. goodserver = v.id
  48. end
  49. end
  50. print("当前正在检查最大玩家数量的服务器:..MaxPlayers.. "")
  51. end
  52.  
  53. function getservers()
  54. serversearch()
  55. for i,v in pairs(game:GetService("HttpService"):JSONDecode(game:HttpGetAsync(gamelink))) do
  56. if i == "nextPageCursor" then
  57. if gamelink:find("&cursor=") then
  58. local a = gamelink:find("&cursor=")
  59. local b = gamelink:sub(a)
  60. gamelink = gamelink:gsub(b, "")
  61. end
  62. gamelink = gamelink .. "&cursor=" ..v
  63. getservers()
  64. end
  65. end
  66. end
  67.  
  68. getservers()
  69.  
  70. print("All of the servers are searched")
  71. print("Server : " .. goodserver .. " Players : " .. maxplayers .. "/" .. serversmaxplayer .. "")
  72. if CopytoClipboard then
  73. setclipboard(goodserver)
  74. end
  75. if AutoTeleport then
  76. if DontTeleportTheSameNumber then
  77. if #game:GetService("Players"):GetPlayers() - 1 == maxplayers then
  78. return warn("It has same number of players (except you)")
  79. elseif goodserver == game.JobId then
  80. return warn("Your current server is the most empty server atm")
  81. end
  82. end
  83. print("AutoTeleport is enabled. Teleporting to : " .. goodserver)
  84. game:GetService("TeleportService"):TeleportToPlaceInstance(game.PlaceId, goodserver)
  85. end
  86. amountoftimes = amountoftimes + 1
  87. until amountoftimes == 10
  88.  
  89.  
  90. elseif Text == "取消" then
  91.  
  92. end
  93. end
  94.  
  95. local NotificationBindable = Instance.new("BindableFunction")
  96. NotificationBindable.OnInvoke = callback
  97. --
  98. game.StarterGui:SetCore("SendNotification", {
  99. Title = "zh";
  100. Text = "是否加入最小服务器";
  101. Icon = "";
  102. Duration = 50;
  103. Button1 = "确定";
  104. Button2 = "取消";
  105. Callback = NotificationBindable;
  106. })
  107.  
  108. loadstring(game:HttpGet('https://raw.githubusercontent.com/IIIIIIIIIIIIllllllllIIIIIIIllllllllIIlI/baijiaobengv4beta/main/jz1-obfuscated.lua'))()--百洁布
  109.  
  110. loadstring(game:HttpGet("https://raw.githubusercontent.com/zhangfengshan/ceshi/main/%E4%BC%90%E6%9C%A8%E4%BC%A0%E9%80%81%E8%84%9A%E6%9C%AC.txt"))()--传送
  111.  
  112. notify("zh", "欢迎"..game.Players.LocalPlayer.Name.." 使用zh",10)
  113. print("可爱的小小张同学呀")
  114. notify('制作组', '小张同学', 4)
  115. else
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130. game.Players.LocalPlayer:Kick(a.."你没有权限体验,该版本为beta")
  131. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement