Roblox Script | ATTRACTIVE SERVER FINDER – FIXED

[ad_1]

Created by juNN

Features:

--[[ did it myself lmao
made by Xyba. Fixed by juNN--]]

--CONFIGURATION--
getgenv().minPlayers = 10
getgenv().minBuyers = 5
getgenv().serverHopAfterMinutes = 4

getgenv().ToggleJoinMSG = false
getgenv().joinMSG = "Hey, make sure to check out my shop! :)"

getgenv().AutoClaimBooth = true

getgenv().LookForSuggarDad = false
getgenv().minSuggardad = 100

repeat wait() until game:IsLoaded()
wait(2)
pcall(function()
  if AutoClaimBooth then
      local lp = game.Players.LocalPlayer
      local waitForPlots = workspace:WaitForChild("Plots")
     
      spawn(function()
          while not waitForPlots:FindFirstChild(lp.Name) do
                  local unclaimed = game:GetService("Workspace").Plots:FindFirstChild("Unclaimed");
                  if unclaimed then
                      if lp.Character and lp.Character:FindFirstChild("HumanoidRootPart") then
  for i, v in pairs(unclaimed:GetDescendants()) do
if v.Name == "tablePart" then
lp.Character.HumanoidRootPart.CFrame = unclaimed.Table:FindFirstChild("tablePart").CFrame + Vector3.new(0, 3, 0)
end
end

                          if ToggleJoinMSG then
                              pcall(function()
                                  game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(joinMSG, "All")
                                  ToggleJoinMSG = false;
                              end)
                          end
                      end
                      wait(1.5)
                      for i, v in pairs(unclaimed:GetDescendants()) do
                          if v.Name == "BoothClaimPrompt" then
                              fireproximityprompt(v)
end
end
end
end
end)
end
  function hop()
      pcall(function()
          spawn(function()
              while wait(2) do
local Servers = game.HttpService:JSONDecode(game:HttpGet(
"https://games.roblox.com/v1/games/" .. game.PlaceId .. "/servers/Public?sortOrder=Asc&limit=100"))
                  for i, v in pairs(Servers.data) do
                      if v.playing ~= v.maxPlayers then
                          wait()
                          game:GetService('TeleportService'):TeleportToPlaceInstance(game.PlaceId, v.id)
                      end
                  end
              end
          end)
      end)
  end

  local players = game.Players:GetChildren()
  local countPlayers = #players

  local buyers = 0
  local suggarAmount = 0
  for i, v in pairs(game:GetService("Players"):GetChildren()) do
      for i, v in pairs(v:GetDescendants()) do
          if v.Name == "Bought" then
              if v.Value > 0 then
                  buyers = buyers + 1
              end

              if LookForSuggarDad then
                  if v.Value > minSuggardad then
                      suggarAmount = suggarAmount + 1
                  end
              end
          end
      end
  end

  if countPlayers >= minPlayers and buyers >= minBuyers then
      if LookForSuggarDad then
          if suggarAmount > 0 then
              local waitTime = serverHopAfterMinutes * 60
              local client = game.GetService(game, "Players").LocalPlayer

              for i,v in pairs(getconnections(game:GetService("Players").LocalPlayer.Idled)) do
                  v:Disable()
              end
              wait(waitTime)
              hop();
          else
              hop();
          end
      else
          local waitTime = serverHopAfterMinutes * 60
          local client = game.GetService(game, "Players").LocalPlayer

          for i,v in pairs(getconnections(game:GetService("Players").LocalPlayer.Idled)) do
              v:Disable()
          end
          wait(waitTime)
          hop();
      end
  else
      hop();
  end
end)

game.StarterGui:SetCore("SendNotification", {
   Title = "credits";
   Text = "Fixed by juNN";
   Icon = "rbxthumb://type=Asset&id=3382133029&w=150&h=150";
})

ENJOY!

Warning: DO NOT DOWNLOAD anything from this page, you’re only here to copy the script!

[ad_2]

123movies 123movie thesoap2day soap 2 day 123movies movies123 123movies