Royale High | Diamond Autofarm

Royale High | Diamond Autofarm

Made by BaconLord

17.3K views 9.1K downloads 1 year ago

This new script for Royale High will allow you to autofarm diamonds easily and also comes with a proper anti ban optimization. Put this script into your autoexec folder in order for this to work! Enjoy.

Script Features:
Diamond Autofarm

This script has remained unmodified since its initial release
download
--BROUGHT TO YOU BY RSCRIPTS.NET--

print("made by baconlord")
if game.PlaceId == 1067560271 then
repeat wait() until game:IsLoaded() wait()
spawn(function()
while wait () do
   pcall(function()
game.Players.LocalPlayer.Character.Humanoid.Jump = true
end) end end)
wait(6)
spawn(function()
   while wait () do
pcall(function()
for i,v in pairs(game.Workspace.DIAMONDS:GetChildren()) do
if v.Name == "specialdiamond" or v.Name == "Pink Diamond" or v.Name == "Green Diamond" or V.Name == "Red Diamond" or V.Name == "Yellow Diamond" then
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(v.Position)
wait()
end end end) end end)
local PlaceID = game.PlaceId
local AllIDs = {}
local foundAnything = ""
local actualHour = os.date("!*t").hour
local Deleted = false
local File = pcall(function()
   AllIDs = game:GetService('HttpService'):JSONDecode(readfile("NotSameServers.json"))
end)
if not File then
   table.insert(AllIDs, actualHour)
   writefile("NotSameServers.json", game:GetService('HttpService'):JSONEncode(AllIDs))
end
function TPReturner()
   local Site;
   if foundAnything == "" then
       Site = game.HttpService:JSONDecode(game:HttpGet('https://games.roblox.com/v1/games/' .. PlaceID .. '/servers/Public?sortOrder=Asc&limit=100'))
   else
       Site = game.HttpService:JSONDecode(game:HttpGet('https://games.roblox.com/v1/games/' .. PlaceID .. '/servers/Public?sortOrder=Asc&limit=100&cursor=' .. foundAnything))
   end
   local ID = ""
   if Site.nextPageCursor and Site.nextPageCursor ~= "null" and Site.nextPageCursor ~= nil then
       foundAnything = Site.nextPageCursor
   end
   local num = 0;
   for i,v in pairs(Site.data) do
       local Possible = true
       ID = tostring(v.id)
       if tonumber(v.maxPlayers) > tonumber(v.playing) then
           for _,Existing in pairs(AllIDs) do
               if num ~= 0 then
                   if ID == tostring(Existing) then
                       Possible = false
                   end
               else
                   if tonumber(actualHour) ~= tonumber(Existing) then
                       local delFile = pcall(function()
                           delfile("NotSameServers.json")
                           AllIDs = {}
                           table.insert(AllIDs, actualHour)
                       end)
                   end
               end
               num = num + 1
           end
           if Possible == true then
               table.insert(AllIDs, ID)
               wait()
               pcall(function()
                   writefile("NotSameServers.json", game:GetService('HttpService'):JSONEncode(AllIDs))
                   wait()
                   game:GetService("TeleportService"):TeleportToPlaceInstance(PlaceID, ID, game.Players.LocalPlayer)
               end)
               wait(4)
           end
       end
   end
end

function Teleport()
   while wait() do
       pcall(function()
           TPReturner()
           if foundAnything ~= "" then
               TPReturner()
           end
       end)
       end end
wait(30)
Teleport()
else
   game:GetService("TeleportService"):Teleport(1067560271, LocalPlayer)
   end
   

0 Comments

Log in here to comment


Similiar Scripts

Hungry for more? Check out these Roblox Scripts!
16K views
1 year ago
Royale High Candy Autofarm
noober1201
Royale High Candy Autofarm
Royalloween Royale High
Royale High Candy Autofarm
15.3K views
1 year ago
Royale High Gem Serverhop Autofarm
BaconLord#0001
Royale High Gem Serverhop Autofarm
Day 4 Royale High
Royale High Gem Serverhop Autofarm
20.8K views
1 year ago
OP Royale High GUI
ameicaa
OP Royale High GUI
Royale High
OP Royale High GUI
17.7K views
9 months ago
Royale High | New Gem Farm Script
Kaid
Royale High | New Gem Farm Script
Royale High
Royale High | New Gem Farm Script
15.3K views
1 year ago
Legends Of Speed Orb & Diamond Mod
goodluck3646
Legends Of Speed Orb & Diamond Mod
Legends Of Speed
Legends Of Speed Orb & Diamond Mod
23.4K views
10 months ago
Slashing Simulator GUI | Very Fast Diamond Farm, Auto Everything!
borntodie1
Slashing Simulator GUI | Very Fast Diamond Farm, Auto Everything!
TITANS Slashing Simulator
Slashing Simulator GUI | Very Fast Diamond Farm, Auto Everything!


Top