17.4K views
9.9K downloads
1 year ago
This new script for Last Pirates will find all the Devil Fruit in the server and TP to it, all you have to do is press R, after youve got all the fruit press T to serverhop. Hopefully he will make this fully auto executable soon. You can also change the keybinds. Enjoy!
Script Features:
TP Serverhop
This script has remained unmodified since its initial release
--BROUGHT TO YOU BY RSCRIPTS.NET--
local player = game.Players.LocalPlayer
local mouse = player:GetMouse()
bind = "r"
bind2 = "t"
mouse.KeyDown:connect(function(key)
if key == bind then
for _,v in pairs(game.Workspace:GetDescendants()) do
if v.ClassName == "TouchTransmitter" then
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.Parent.CFrame
end
end
end
end)
mouse.KeyDown:connect(function(key)
if key == bind2 then
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
Teleport()
end
end)
Similiar Scripts
Hungry for more? Check out these Roblox Scripts!
18.8K views
1 year ago

OP Last Pirates GUI - Xenon Hub
Release Last Pirates
Release Last Pirates
0 Comments
Log in here to comment