0% found this document useful (0 votes)
5 views2 pages

Script

The script is designed for a Roblox game, specifically for teleporting the player to special diamond locations and managing server connections. It checks for specific diamond types and teleports the player accordingly while maintaining a list of servers to avoid. The script also handles JSON file operations for server IDs and includes error handling for various functions.

Uploaded by

nicolemorales.cv
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views2 pages

Script

The script is designed for a Roblox game, specifically for teleporting the player to special diamond locations and managing server connections. It checks for specific diamond types and teleports the player accordingly while maintaining a list of servers to avoid. The script also handles JSON file operations for server IDs and includes error handling for various functions.

Uploaded by

nicolemorales.cv
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

print("made by baconlord")

if [Link] == 1067560271 then


repeat wait() until game:IsLoaded() wait()
spawn (function()
while wait () do
peall(function()
game. Players. LocalPlayer Character Humanoid. Jump = true
end) end end)
wait (6)
spawn (function()
while wait () do
peall(function()
for i,v in pairs([Link]:GetChildren()) do
if [Link] == "specialdiamond” or [Link] == "Pink Diamond" or [Link] == "Green
Diamond" or [Link] == "Red Diamond" or [Link] == "Yellow Diamond" then
game. Players. LocalPlayer Character .[Link] = [Link]([Link])
wait()
end end end) end end)
local PlaceID = [Link]
local AllIDs = {}
local foundAnything = ""
local actualHour = [Link]("!*t").hour
local Deleted = false
local File = pcall(function()
ALLIDS =
game: GetService('HttpService'):JSONDecode (readfile("[Link]"))
end)
if not File then
[Link](ALlIDs, actualHour)
writefile("[Link]",
game: GetService('HttpService'):JSONEncode (AL1IDs))
end
function TPReturner()
local Site;
if foundAnything == "" then
site = [Link]:JSONDecode(game:HttpGet (https: //[Link]/
vi/games/' .. PlaceID .. '/servers/Public?sortOrder=Asc&limit=100"))
else
site = [Link]:JSONDecode(game:HttpGet ('[Link]
vi/games/' .. PlaceID .. '/servers/Public?sortOrder=Asc&limit=100&cursor=" ..
foundAnything))
end
local ID = "" i

if [Link] and [Link] ~= "null" and [Link]


~= nil then
foundAnything = [Link]

end
local num = 0;
for i,v in pairs([Link]) do
local Possible = true i

ID = tostring([Link])

if tonumber([Link]) > tonumber([Link]) then

for _, Existing in pairs(ALlIDs) do i

if num ~= © then

if ID == tostring(Existing) then

Possible = false

end i

else

if tonumber(actualHour) ~= tonumber (Existing) then

local delFile = pcall(function()

delfile("[Link]")

AllIDs = {} i
[Link](ALlIDs, actualHour)
end)

end

end

num = num + 1

end

if Possible == true then

[Link](ALlIDs, ID)

wait()

pcall(function()

writefile("[Link]",

game:GetService('HttpService'):JSONEncode(ALLIDs))

wait()
game:GetService("TeleportService"):TeleportToPlaceInstance(PlaceID, ID,

[Link])

end)

wait(4)

end

end

end i

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

You might also like