Advertisement
rrixh

universal anti report

Sep 26th, 2023
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.35 KB | None | 0 0
  1. -- universal antiban
  2. --[[Made by ThroughTheFireAndFlames#9925 |
  3.  
  4.          Anti Report [Universal]
  5.  
  6. --]]------------------------------------
  7.  
  8. getgenv().ForbiddenWords = {"hack","exploit","script","report","cheat","executor","skid","owner","creator","admin","staff","anti","mod"} -- Listens to these keywords no matter if they are capital letters or not
  9.  
  10. getgenv().Reaction = function() -- Serverhopper: Was not made by me but used rightfully as a open source tool for everyone to look at.
  11.         local HttpService, TPService = game:GetService("HttpService"), game:GetService("TeleportService");
  12.         local OtherServers = HttpService:JSONDecode(game:HttpGet("https://games.roblox.com/v1/games/" .. game.PlaceId .. "/servers/Public?sortOrder=Asc&limit=100"));
  13.         function joinNew()
  14.                 if not isfile("servers.sss") then
  15.                         writefile("servers.sss", HttpService:JSONEncode({}));
  16.                 end
  17.                 local dontJoin = readfile("servers.sss");
  18.                 dontJoin = HttpService:JSONDecode(dontJoin);
  19.                 for Index, Server in next, OtherServers['data'] do
  20.                         if (Server ~= game.JobId) then
  21.                                 local j = true;
  22.                                 for a, c in pairs(dontJoin) do
  23.                                         if (c == Server.id) then
  24.                                                 j = false;
  25.                                         end
  26.                                 end
  27.                                 if j then
  28.                                         table.insert(dontJoin, Server['id']);
  29.                                         writefile("servers.sss", HttpService:JSONEncode(dontJoin));
  30.                                         wait();
  31.                                         return Server['id'];
  32.                                 end
  33.                         end
  34.                 end
  35.         end
  36.         local server = joinNew();
  37.         if not server then
  38.                 writefile("servers.sss", HttpService:JSONEncode({}));
  39.                 local server = joinNew();
  40.                 TPService:TeleportToPlaceInstance(game.PlaceId, server);
  41.         else
  42.                 TPService:TeleportToPlaceInstance(game.PlaceId, server);
  43.         end
  44. end;
  45.  
  46. loadstring(game:HttpGet("https://raw.githubusercontent.com/Lvl9999/AntiReport/main/Universal"))();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement