IDontNoJustUseIt

HttpGet_v

Mar 7th, 2021 (edited)
379
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 3.82 KB | None | 0 0
  1. --[[
  2.     Made by IAteYourDog
  3.     Serverhop made by https://discord.gg/FPGVwqV
  4.     Everything else was made by IAteYourDog
  5. ]]
  6. local messages = {
  7.     "Lol this game has no security",
  8.     "Probably the easiest script I've ever made tbh",
  9.     "Imagine not having good anti-exploit",
  10.     "Don't like what I'm doing? Thank the devs",
  11.     "Lol, this took less than an hour to make"
  12. }
  13.  
  14. if not game:IsLoaded() then
  15.     game.Loaded:Wait()
  16. end
  17.  
  18. repeat
  19.     wait()
  20.     for _,v in pairs(getconnections(game:GetService("Players").LocalPlayer.PlayerGui.HUD.TeamScreen.PoliceBG.MouseButton1Click)) do
  21.         v:Fire()
  22.     end
  23. until game:GetService("Players").LocalPlayer.PlayerGui.HUD.TeamScreen.Visible == false and game:GetService("Players").LocalPlayer.Character ~= nil
  24.  
  25. print("Past loading screen")
  26.  
  27. local function leave()
  28.     game:GetService("ReplicatedStorage").Events.ExitVehicle:FireServer()
  29. end
  30.  
  31. local function enterCar(car)
  32.     local args = {
  33.         [1] = "EnterVehicle",
  34.         [2] = car
  35.     }
  36.  
  37.     game:GetService("ReplicatedStorage").NetworkEvents.EventIndex7:FireServer(unpack(args))
  38.     wait(0.3)
  39. end
  40.  
  41. local function arrest(plr)
  42.     local args = {
  43.         [1] = "ContextCallback",
  44.         [2] = "ArrestPlayer",
  45.         [3] = plr,
  46.         [4] = true
  47.     }
  48.  
  49.     game:GetService("ReplicatedStorage").NetworkEvents.EventIndex6:FireServer(unpack(args))
  50. end
  51.  
  52. local function taze(plr)
  53.     local args = {
  54.         [1] = plr.Position,
  55.         [2] = plr.Position,
  56.         [3] = plr
  57.     }
  58.  
  59.     game:GetService("ReplicatedStorage").Events.CreateTaserProjectile:FireServer(unpack(args))
  60. end
  61.  
  62. local function go(plr)
  63.     --DEBUG
  64.     local vehicle
  65.     for i,v in pairs(game.Workspace.Vehicles:GetDescendants()) do
  66.         if v.Name == "Caddie" and v.Seats:FindFirstChild("Driver") and v.Seats.Driver.Occupant == nil then
  67.             if v.Seats.Driver:FindFirstChild("VehicleNameTag") then
  68.                 if v.Seats.Driver.VehicleNameTag.Username.Text == "UseStarCode_BACON" or v.Seats.Driver.VehicleNameTag.Username.Text == "" then
  69.                     print("car car")
  70.                     vehicle = v.Seats.Driver
  71.                 end
  72.             end
  73.         end
  74.     end
  75.  
  76.     local target = plr
  77.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = vehicle.CFrame + Vector3.new(0,3,0)
  78.     game.Players.LocalPlayer.Character.Humanoid:ChangeState(10)
  79.     enterCar(vehicle)
  80.     vehicle.Parent.Parent:SetPrimaryPartCFrame(target.CFrame)
  81.  
  82.     wait(0.5)
  83. end
  84.  
  85. local function chat()
  86.     local randomMsg = messages[math.random(1,#messages)]
  87.     local args = {
  88.         [1] = randomMsg,
  89.         [2] = "All"
  90.     }
  91.  
  92.     game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(unpack(args))
  93. end
  94.  
  95. local function sererHop()
  96.     print("Work in progress")
  97.     game:GetService("Players").LocalPlayer.OnTeleport:Connect(function(State)
  98.         if State == Enum.TeleportState.Started then
  99.             syn.queue_on_teleport(tostring(game:HttpGet("https://pastebin.com/raw/7r3JgU3n")))
  100.         end
  101.     end)
  102. end
  103.  
  104. spawn(function()
  105.     while wait(3) do
  106.         chat()
  107.     end
  108. end)
  109.  
  110. for _,v in pairs(game:GetService("Players"):GetPlayers()) do
  111.     if v.Team and v.Team.Name == "Criminals" then
  112.         local target = v.Character.UpperTorso
  113.         go(target)
  114.         if game.Players.LocalPlayer.Character.Humanoid.Sit == true then
  115.             leave()
  116.             wait(.3)
  117.             game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = target.CFrame
  118.         end
  119.         taze(target)
  120.         wait(0.4)
  121.         arrest(target)
  122.         wait(2.4)
  123.     end
  124. end
  125.  
  126. while wait(0.1) do
  127.     local HttpService, TPService = game:GetService"HttpService", game:GetService"TeleportService";
  128.     local OtherServers = HttpService:JSONDecode(game:HttpGet("https://games.roblox.com/v1/games/"..game.PlaceId.."/servers/Public?sortOrder=Asc&limit=100"))
  129.     for Index, Server in next, OtherServers["data"] do
  130.         local ran = math.random(1,5)
  131.         if Server ~= game.JobId and Server.playing ~= Server.maxPlayers then
  132.             if ran == 5 then
  133.                 print(Server["id"])
  134.                 sererHop()
  135.                 wait()
  136.                 TPService:TeleportToPlaceInstance(game.PlaceId, Server["id"])
  137.                 break
  138.             end
  139.         end
  140.     end
  141. end
Add Comment
Please, Sign In to add comment