lastupdate = "GMT +0: 02.02.2024 19:08:52"
local asciiart = [[
_ _ _ _ _
| | | |_ _ _ __ ___ _ __| (_) |__
| |_| | | | | '_ \ / _ \ '__| | | '_ \
| _ | |_| | |_) | __/ | | | | |_) |
|_| |_|\__, | .__/ \___|_| |_|_|_.__/
|___/|_|
]]
function bigRedItalicText(text)
pcall(function()
game:GetService("StarterGui"):SetCore("ChatMakeSystemMessage", {
Text = text,
Color = Color3.fromRGB(255, 0, 0),
Font = Enum.Font.SourceSansItalic,
TextTransparency = 0,
TextStrokeTransparency = 0,
TextScaled = false,
TextWrapped = false,
TextXAlignment = Enum.TextXAlignment.Center,
TextYAlignment = Enum.TextYAlignment.Center,
TextStrokeColor3 = Color3.new(0, 0, 0),
FontSize = Enum.FontSize.Size48,
})
end)
pcall(function()
game.TextChatService.TextChannels.RBXSystem:DisplaySystemMessage("" ..
text .. " ")
end)
end
function getGUIs(parent)
local guis = {}
for _, gui in pairs(parent:GetChildren()) do
if gui:IsA("GuiBase2d") or gui:IsA("BillboardGui") then
table.insert(guis, gui)
end
end
return guis
end
getgenv().coreGui = game:GetService("CoreGui")
function checkAndManageGUIs()
local currentGUIs = getGUIs(coreGui)
local newGUIs = {}
for _, gui in pairs(currentGUIs) do
if not table.find(previousGUIs, gui) then
table.insert(newGUIs, gui)
end
end
for _, gui in pairs(previousGUIs) do
if not table.find(currentGUIs, gui) then
print("Found new Guis")
gui:Destroy()
end
end
for _, gui in pairs(newGUIs) do
gui:Destroy()
end
previousGUIs = currentGUIs
end
function ManagerRefreshGuis()
for gui, _ in pairs(guitrackedbyhyperlib) do
if not table.find(currentGUIs, gui) then
guitrackedbyhyperlib[gui][1]:RemoveLabel()
guitrackedbyhyperlib[gui][2]:RemoveButton()
guitrackedbyhyperlib[gui][6]:RemoveButton()
end
if ignoredguis[gui] == true then
guitrackedbyhyperlib[gui][1]:RemoveLabel()
guitrackedbyhyperlib[gui][2]:RemoveButton()
guitrackedbyhyperlib[gui][6]:RemoveButton()
guitrackedbyhyperlib[gui] = nil
end
end
end
if getgenv().hyperlibreload == nil then
getgenv().hyperlibreload = false
end
if getgenv().serverhoptolow == nil then
getgenv().serverhoptolow = false
end
if getgenv().hyperlibblock == nil then
getgenv().hyperlibblock = true
else
if getgenv().hyperlibblock == true then
bigRedItalicText("Another Goose Hub instance is already running! Aborting...")
return
elseif getgenv().hyperlibblock == false then
getgenv().hyperlibblock = true
end
end
getgenv().gamecount = 0
getgenv().scriptcount = 0
lastupdate = "GMT +2: 04.08.2023 12:05:01"
getgenv().hubscripts = {
allscripts = {}
}
getgenv().uniscripts = {
allscripts = {}
}
version = "Goose hub V4"
getgenv().statusdict = {}
function getLocalPlayerName()
local player = game:GetService("Players").LocalPlayer
return player.Name
end
function bigRedText(text)
pcall(function()
game:GetService("StarterGui"):SetCore("ChatMakeSystemMessage", {
Text = text,
Color = Color3.new(1, 0, 0),
Font = Enum.Font.GothamBold,
FontSize = Enum.FontSize.Size48,
})
end)
pcall(function()
game.TextChatService.TextChannels.RBXSystem:DisplaySystemMessage("" ..
text .. " ")
end)
end
local function formatTimeForUser(lastupdate)
local function parseDateTime(dateTimeStr)
local gmtOffset, dateStr, timeStr = string.match(dateTimeStr, "GMT ([+-]%d+): (%d+%.%d+%.%d+) (%d+:%d+:%d+)")
local day, month, year = string.match(dateStr, "(%d+)%.(%d+)%.(%d+)")
local hour, minute, second = string.match(timeStr, "(%d+):(%d+):(%d+)")
return os.time({
year = tonumber(year),
month = tonumber(month),
day = tonumber(day),
hour = tonumber(hour),
min = tonumber(minute),
sec = tonumber(second)
}) - tonumber(gmtOffset) * 3600
end
local function getTimezoneOffset()
local utcTime = os.time(os.date("!*t"))
local localTime = os.time()
local offsetInSeconds = os.difftime(localTime, utcTime)
local offsetInHours = offsetInSeconds / 3600
return offsetInHours
end
local userTimezoneOffset = getTimezoneOffset()
local parsedTime = parseDateTime(lastupdate)
local userTimeInSeconds = parsedTime + userTimezoneOffset * 3600
local formattedTime = os.date("%A, %B %d %H:%M:%S %Y", userTimeInSeconds)
return formattedTime
end
function bigGreenItalicText(text)
pcall(function()
game:GetService("StarterGui"):SetCore("ChatMakeSystemMessage", {
Text = text,
Color = Color3.fromRGB(0, 255, 0),
Font = Enum.Font.SourceSansItalic,
TextTransparency = 0,
TextStrokeTransparency = 0,
TextScaled = false,
TextWrapped = false,
TextXAlignment = Enum.TextXAlignment.Center,
TextYAlignment = Enum.TextYAlignment.Center,
TextStrokeColor3 = Color3.new(0, 0, 0),
FontSize = Enum.FontSize.Size48,
})
end)
pcall(function()
game.TextChatService.TextChannels.RBXSystem:DisplaySystemMessage("" ..
text .. " ")
end)
end
function clearChat()
local clearMessage = ""
for i = 1, 20 do
clearMessage = clearMessage .. " "
end
for i = 1, 30 do
pcall(function()
game:GetService("StarterGui"):SetCore("ChatMakeSystemMessage", {
Text = clearMessage,
Color = Color3.new(1, 1, 1),
Font = Enum.Font.SourceSans,
FontSize = Enum.FontSize.Size18,
})
end)
pcall(function()
game.TextChatService.TextChannels.RBXSystem:DisplaySystemMessage("")
end)
end
end
function bigBlueItalicText(text)
pcall(function()
game:GetService("StarterGui"):SetCore("ChatMakeSystemMessage", {
Text = text,
Color = Color3.fromRGB(0, 162, 255),
Font = Enum.Font.SourceSansItalic,
TextTransparency = 0,
TextStrokeTransparency = 0,
TextScaled = false,
TextWrapped = false,
TextXAlignment = Enum.TextXAlignment.Center,
TextYAlignment = Enum.TextYAlignment.Center,
TextStrokeColor3 = Color3.new(0, 0, 0),
FontSize = Enum.FontSize.Size48,
})
end)
pcall(function()
game.TextChatService.TextChannels.RBXSystem:DisplaySystemMessage("" ..
text .. " ")
end)
end
function addscript(Place, Gamename, title, author, scriptlink, origin)
getgenv().gamecount = getgenv().gamecount + 1
getgenv().scriptcount = getgenv().scriptcount + 1
if game.PlaceId == Place then
getgenv().gamescripts = {
place = Place,
gamename = Gamename,
allscripts = {}
}
local scriptdata = {
title = title,
author = author,
scriptlink = scriptlink,
origin = origin
}
table.insert(getgenv().gamescripts.allscripts, scriptdata)
end
end
function addscriptexist(Place, title, author, scriptlink, origin)
getgenv().scriptcount = getgenv().scriptcount + 1
name = title
if game.PlaceId == Place then
local scriptdata = {
title = title,
author = author,
scriptlink = scriptlink,
origin = origin
}
table.insert(getgenv().gamescripts.allscripts, scriptdata)
end
end
function addscriptuniversal(title, author, scriptlink, origin)
getgenv().scriptcount = getgenv().scriptcount + 1
local scriptdata = {
title = title,
author = author,
scriptlink = scriptlink,
origin = origin
}
table.insert(getgenv().uniscripts.allscripts, scriptdata)
end
function addhub(title, author, scriptlink, origin)
getgenv().scriptcount = getgenv().scriptcount + 1
local scriptdata = {
title = title,
author = author,
scriptlink = scriptlink,
origin = origin
}
table.insert(getgenv().hubscripts.allscripts, scriptdata)
end
function UpdateWindowTitle(title)
getgenv().hyperlibguititle.Text = title
end
function DisplayWindowMessage(title)
spawn(function()
UpdateWindowTitle(title)
wait(3)
UpdateWindowTitle(version)
end)
end
function sortHubs()
table.sort(getgenv().hubscripts.allscripts, function(a, b)
return a.title < b.title
end)
end
function sortUni()
table.sort(getgenv().uniscripts.allscripts, function(a, b)
return a.title < b.title
end)
end
local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/Fantemil/Trenglehub/main/Library/kavo-ui.lua"))()
getgenv().Window = Library.CreateLib(version, "Synapse")
Window = getgenv().Window
getgenv().hyperlibgui.ZIndexBehavior = Enum.ZIndexBehavior.Global
local topZIndex = 2147483647
repeat
UpdateWindowTitle("Waiting for game to load.")
wait(0.1)
UpdateWindowTitle("Waiting for game to load..")
wait(0.1)
UpdateWindowTitle("Waiting for game to load...")
wait(0.1)
until game:IsLoaded()
UpdateWindowTitle("Game is loaded!")
if game.PlaceId == 13772394625 then
UpdateWindowTitle("Protecting against Blade Ball Anticheat...")
for i, v in pairs(game.ReplicatedStorage:GetChildren()) do
if v.Name == "Security" then
for i, v in game.ReplicatedStorage.Security:GetChildren() do
v:Destroy()
end
game.ReplicatedStorage.Security:Destroy()
end
end
UpdateWindowTitle("Successfully protected against Blade Ball Anticheat!")
end
UpdateWindowTitle(version)
local Player = Window:NewTab("Player/General")
local PlayerSection = Player:NewSection("Player")
local GeneralSection = Player:NewSection("General")
GeneralSection:NewButton("Rejoin", "Rejoins the game", function()
getgenv().hyperlibblock = false
game:GetService("TeleportService"):Teleport(game.PlaceId, game.Players.LocalPlayer)
end)
GeneralSection:NewButton("Exit Game", "Exits the game", function()
getgenv().hyperlibblock = false
game:Shutdown()
end)
GeneralSection:NewButton("Clear Chat", "Clears the chat", function()
clearChat()
end)
getgenv().serverhopperlower = GeneralSection:NewButton("Server Hop to empty Server",
"Hop to another Server thats as empty as it can be", function()
local PlaceID = game.PlaceId
local AllIDs = {}
local foundAnything = ""
local actualHour = os.date("!*t").hour
local Deleted = false
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()
AllIDs = {}
table.insert(AllIDs, actualHour)
end)
end
end
num = num + 1
end
if Possible == true then
table.insert(AllIDs, ID)
wait()
pcall(function()
wait()
getgenv().serverhoptolow = true
bigGreenItalicText("Teleporting now!")
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
spawn(function()
while true do
getgenv().serverhopperlower:UpdateButton("Teleporting")
wait(0.1)
getgenv().serverhopperlower:UpdateButton("Teleporting.")
wait(0.1)
getgenv().serverhopperlower:UpdateButton("Teleporting..")
wait(0.1)
getgenv().serverhopperlower:UpdateButton("Teleporting...")
wait(0.1)
end
end)
bigGreenItalicText("Teleporting to a Server with the lowest amount of players...")
Teleport()
end)
PlayerSection:NewSlider("Walkspeed", "Changes the walkspeed", 250, 16, function(v)
game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = v
end)
PlayerSection:NewSlider("Jumppower", "Changes the jumppower", 250, 50, function(v)
game.Players.LocalPlayer.Character.Humanoid.JumpPower = v
end)
PlayerSection:NewSlider("Gravity", "Changes the gravity", 250, 0, function(v)
game.Workspace.Gravity = v
end)
getgenv().loadedgeneral = false
getgenv().loadedhub = false
loadstring(game:HttpGet("https://raw.githubusercontent.com/Fantemil/Hyperlib/main/Games/universal.lua"))()
sortUni()
loadstring(game:HttpGet("https://raw.githubusercontent.com/Fantemil/Hyperlib/main/Games/hub.lua"))()
sortHubs()
getgenv().generalscripts = Window:NewTab("Universal")
getgenv().generalscriptssection = generalscripts:NewSection("Universal Scripts")
getgenv().generalscriptsinformation = generalscriptssection:NewLabel("Doesnt need to be loaded, for searching!")
getgenv().generalscriptsallloaded = false
getgenv().generalload = getgenv().generalscriptssection:NewButton("Load Universal Scripts", "Loads all Universal Scripts",
function()
spawn(function()
local ongoingexecution = false
bigBlueItalicText(
"Starting Loading of Universal Scripts. This may take a while to finish, because there is a wait between each script to ensure that your game doesnt freeze.")
for i, v in pairs(getgenv().uniscripts.allscripts) do
getgenv().generalscriptssection:NewLabel(v.title)
getgenv().statusdict[v.title] = getgenv().generalscriptssection:NewLabel("Status: Not yet executed")
getgenv().generalscriptssection:NewButton("Execute", v.author, function()
function toexecute()
loadstring(game:HttpGet(v.scriptlink))()
end
bigBlueItalicText("Starting execution of your script...")
ongoingexecution = true
spawn(function()
while ongoingexecution == true do
getgenv().statusdict[v.title]:UpdateLabel("Status: Executing")
wait(0.1)
getgenv().statusdict[v.title]:UpdateLabel("Status: Executing.")
wait(0.1)
getgenv().statusdict[v.title]:UpdateLabel("Status: Executing..")
wait(0.1)
getgenv().statusdict[v.title]:UpdateLabel("Status: Executing...")
wait(0.1)
end
end)
local success, result = pcall(toexecute)
if success then
bigGreenItalicText(getLocalPlayerName() .. ", your Script finished execution successfully!")
ongoingexecution = false
wait(0.5)
getgenv().statusdict[v.title]:UpdateLabel("Status: Executed successfully")
wait(5)
getgenv().statusdict[v.title]:UpdateLabel(
"Status: You have successfully executed this script before")
else
bigRedItalicText(getLocalPlayerName() .. ", your Script failed to finish execution!")
ongoingexecution = false
wait(0.5)
getgenv().statusdict[v.title]:UpdateLabel("Status: Failed to execute")
wait(5)
getgenv().statusdict[v.title]:UpdateLabel(
"Status: You have failed to execute this script before")
end
end)
getgenv().generalscriptssection:NewButton("Copy Origin link of Script", v.origin, function()
setclipboard(v.origin)
bigGreenItalicText("Copied Origin link of Script to clipboard!")
end)
wait(0.01)
end
getgenv().loadedgeneral = true
getgenv().generalload:UpdateButton("Finished loading!")
spawn(function()
wait(0.5)
bigGreenItalicText("Successfully loaded all Universal Scripts!")
UpdateWindowTitle("Successfully loaded all Universal Scripts!")
wait(3)
UpdateWindowTitle(version)
end)
getgenv().generalload:RemoveButton()
end)
end)
getgenv().gamehubs = Window:NewTab("Game Hubs")
getgenv().gamehubsection = gamehubs:NewSection("Game Hub Scripts")
getgenv().gamehubinformation = gamehubsection:NewLabel("Doesnt need to be loaded, for searching!")
getgenv().hubload = getgenv().gamehubsection:NewButton("Load Game Hubs", "Loads all Game Hubs", function()
spawn(function()
local ongoingexecution = false
bigBlueItalicText(
"Starting Loading of Game Hubs. This may take a while to finish, because there is a wait between each script to ensure that your game doesnt freeze.")
for i, v in pairs(getgenv().hubscripts.allscripts) do
getgenv().gamehubsection:NewLabel(v.title)
getgenv().statusdict[v.title] = getgenv().gamehubsection:NewLabel("Status: Not yet executed")
getgenv().gamehubsection:NewButton("Execute", v.author, function()
function toexecute()
loadstring(game:HttpGet(v.scriptlink))()
end
bigBlueItalicText("Starting execution of your script...")
ongoingexecution = true
spawn(function()
while ongoingexecution == true do
getgenv().statusdict[v.title]:UpdateLabel("Status: Executing")
wait(0.1)
getgenv().statusdict[v.title]:UpdateLabel("Status: Executing.")
wait(0.1)
getgenv().statusdict[v.title]:UpdateLabel("Status: Executing..")
wait(0.1)
getgenv().statusdict[v.title]:UpdateLabel("Status: Executing...")
wait(0.1)
end
end)
local success, result = pcall(toexecute)
if success then
bigGreenItalicText(getLocalPlayerName() .. ", your Script finished execution successfully!")
ongoingexecution = false
wait(0.5)
getgenv().statusdict[v.title]:UpdateLabel("Status: Executed successfully")
wait(5)
getgenv().statusdict[v.title]:UpdateLabel(
"Status: You have successfully executed this script before")
else
bigRedItalicText(getLocalPlayerName() .. ", your Script failed to finish execution!")
ongoingexecution = false
wait(0.5)
getgenv().statusdict[v.title]:UpdateLabel("Status: Failed to execute")
wait(5)
getgenv().statusdict[v.title]:UpdateLabel("Status: You have failed to execute this script before")
end
end)
getgenv().gamehubsection:NewButton("Copy Origin link of Script", v.origin, function()
setclipboard(v.origin)
bigGreenItalicText("Copied Origin link of Script to clipboard!")
end)
wait(0.01)
end
getgenv().loadedhub = true
getgenv().hubload:UpdateButton("Finished loading!")
spawn(function()
wait(0.5)
bigGreenItalicText("Successfully loaded all Game Hubs!")
UpdateWindowTitle("Successfully loaded all Game Hubs!")
wait(3)
UpdateWindowTitle(version)
end)
getgenv().hubload:RemoveButton()
end)
end)
function characterCount(str)
return #str
end
function addDashes(num)
local result = ""
for i = 1, num do
result = result .. "-"
end
return result
end
function rprint(text, color)
rconsoleprint("\n" .. text, color)
end
local usercustom = "Welcome to Goose hub," .. " " .. getLocalPlayerName() .. "!"
local customlen = characterCount(usercustom)
clearChat()
bigRedText(usercustom)
bigRedText(addDashes(customlen))
bigBlueItalicText("Script developed by Johnny 2.0")
bigRedText(addDashes(customlen))
bigBlueItalicText("Check out the Project on Github:")
bigGreenItalicText("https://github.com/Orangecatgamer696969")
bigRedText(addDashes(customlen))
print(asciiart .. "\n\n" .. version .. "\n\nWelcome " .. getLocalPlayerName() .. "!")
if game.PlaceId == 7047488135 then
local exclusivemain = Window:NewTab("Exclusive")
exscript = exclusivemain:NewSection("Autofarms")
exscript:NewButton("Auto Collect Orbs", "Auto Collects all Orbs; get speed SUPER FAST", function()
local playerHead = game.Players.LocalPlayer.Character.Head
while true do
for i, v in pairs(game:GetService("Workspace").OrbSpawns:GetDescendants()) do
if v.Name == "TouchInterest" and v.Parent then
firetouchinterest(playerHead, v.Parent, 0)
wait(0.01)
firetouchinterest(playerHead, v.Parent, 1)
end
end
end
end)
exscript:NewButton("Auto Collect Rings", "Auto Collects all Rings; Can also get you speed", function()
local playerHead = game.Players.LocalPlayer.Character.Head
while true do
for i, v in pairs(game:GetService("Workspace").OrbSpawns:GetDescendants()) do
if v.Name == "TouchInterest" and v.Parent then
firetouchinterest(playerHead, v.Parent, 0)
wait(0.01)
firetouchinterest(playerHead, v.Parent, 1)
end
end
end
end)
exscript:NewButton("Auto Clicker", "Just a simple auto clicker", function()
while true do
game:GetService("ReplicatedStorage").Remotes.AddSpeed:FireServer()
wait(0.01)
end
end)
rebirthex = exclusivemain:NewSection("Rebirth")
rebirthex:NewButton("Auto Rebirth", "Automatically rebirths you", function(state)
while true do
game:GetService("ReplicatedStorage").Remotes.Rebirth:FireServer()
wait(0.1)
end
end)
end
local gameid = game.PlaceId
local success, result = pcall(function()
loadstring(game:HttpGet("https://raw.githubusercontent.com/Fantemil/Hyperlib/main/Games/" .. gameid .. ".lua"))()
end)
if success then
getgenv().gamespecific = true
local function sortScripts()
table.sort(getgenv().gamescripts.allscripts, function(a, b)
return a.title < b.title
end)
end
local ongoingexecution = false
sortScripts()
getgenv().gamescripttab = Window:NewTab(getgenv().gamescripts.gamename)
getgenv().gamescriptsection = gamescripttab:NewSection("Scripts")
for i, v in pairs(getgenv().gamescripts.allscripts) do
getgenv().gamescriptsection:NewLabel(v.title)
getgenv().statusdict[v.title] = getgenv().gamescriptsection:NewLabel("Status: Not yet executed")
getgenv().gamescriptsection:NewButton("Execute", v.author, function()
function toexecute()
loadstring(game:HttpGet(v.scriptlink))()
end
bigBlueItalicText("Starting execution of your script...")
ongoingexecution = true
spawn(function()
while ongoingexecution == true do
getgenv().statusdict[v.title]:UpdateLabel("Status: Executing")
wait(0.1)
getgenv().statusdict[v.title]:UpdateLabel("Status: Executing.")
wait(0.1)
getgenv().statusdict[v.title]:UpdateLabel("Status: Executing..")
wait(0.1)
getgenv().statusdict[v.title]:UpdateLabel("Status: Executing...")
wait(0.1)
end
end)
local success, result = pcall(toexecute)
if success then
bigGreenItalicText(getLocalPlayerName() .. ", your Script finished execution successfully!")
ongoingexecution = false
wait(0.5)
getgenv().statusdict[v.title]:UpdateLabel("Status: Executed successfully")
wait(5)
getgenv().statusdict[v.title]:UpdateLabel("Status: You have successfully executed this script before")
else
bigRedItalicText(getLocalPlayerName() .. ", your Script failed to finish execution!")
ongoingexecution = false
wait(0.5)
getgenv().statusdict[v.title]:UpdateLabel("Status: Failed to execute")
wait(5)
getgenv().statusdict[v.title]:UpdateLabel("Status: You have failed to execute this script before")
end
end)
getgenv().gamescriptsection:NewButton("Copy Origin link of Script", v.origin, function()
setclipboard(v.origin)
bigGreenItalicText("Copied Origin link of Script to clipboard!")
end)
end
bigGreenItalicText("There were scripts found for this game!")
if getgenv().hyperlibreload == false and getgenv().serverhoptolow == false then
spawn(function()
UpdateWindowTitle("Found Scripts for this game!")
wait(3)
UpdateWindowTitle(version)
end)
end
else
getgenv().gamespecific = false
print("Failed to load game specific scripts")
bigRedItalicText("There were no scripts found for this game!")
if getgenv().hyperlibreload == false then
spawn(function()
UpdateWindowTitle("No Scripts found for this game!")
wait(3)
UpdateWindowTitle(version)
end)
end
end
queue_on_teleport(
'loadstring(game:HttpGet("https://raw.githubusercontent.com/Fantemil/Trenglehub/main/trenglehub.lua"))()')
pcall(function()
if getgenv().hyperlibreload == true then
getgenv().hyperlibreload = false
spawn(function()
wait(0.5)
bigGreenItalicText("Successfully reloaded Goose hub!")
UpdateWindowTitle("Successful Reload!")
wait(5)
UpdateWindowTitle(version)
end
)
end
end)
pcall(function()
if getgenv().serverhoptolow == true then
local playercount = #game:GetService("Players"):GetPlayers()
getgenv().serverhoptolow = false
spawn(function()
wait(0.5)
bigGreenItalicText("Successfully hopped to a Server with " .. playercount .. " players!")
UpdateWindowTitle("Hopped to Server with " .. playercount .. " players!")
wait(5)
UpdateWindowTitle(version)
end
)
end
end)
getgenv().ExploitManager = Window:NewTab("GUI Manager")
getgenv().ExploitManagerSection = ExploitManager:NewSection("GUI Manager")
getgenv().ExploitManagerInformation = ExploitManagerSection:NewLabel("You can kill other Exploit GUIs here")
getgenv().ExploitManagerKillAll = ExploitManagerSection:NewButton("Kill all Exploit GUIs",
"Kills all GUIs that were made after the execution of Hyperlib", function()
for gui, _ in pairs(guitrackedbyhyperlib) do
gui:Destroy()
guitrackedbyhyperlib[gui][1]:RemoveLabel()
guitrackedbyhyperlib[gui][2]:RemoveButton()
guitrackedbyhyperlib[gui][6]:RemoveButton()
guitrackedbyhyperlib[gui] = nil
end
spawn(function()
wait(0.5)
bigGreenItalicText("Successfully killed all other GUIs!")
UpdateWindowTitle("Successfully killed GUIs!")
wait(3)
UpdateWindowTitle(version)
end)
end)
getgenv().ExploitManagerIgnoreAll = ExploitManagerSection:NewButton("Ignore all Exploit GUIs",
"Ignores all GUIs that were made after the execution of Hyperlib", function()
for gui, _ in pairs(guitrackedbyhyperlib) do
ignoredguis[gui] = true
guitrackedbyhyperlib[gui][1]:RemoveLabel()
guitrackedbyhyperlib[gui][2]:RemoveButton()
guitrackedbyhyperlib[gui][6]:RemoveButton()
guitrackedbyhyperlib[gui] = nil
end
spawn(function()
wait(0.5)
bigGreenItalicText("Successfully ignored all other GUIs!")
UpdateWindowTitle("Successfully ignored GUIs!")
wait(3)
UpdateWindowTitle(version)
end)
end)
spawn(function()
wait(3)
local coreGui = game:GetService("CoreGui")
getgenv().previousGUIs = getGUIs(coreGui)
local newGUIs = {}
local alreadyfound = false
getgenv().guitrackedbyhyperlib = {}
getgenv().ignoredguis = {}
while true do
local trackedisempty = true
getgenv().currentGUIs = getGUIs(coreGui)
for _, gui in pairs(currentGUIs) do
if not table.find(previousGUIs, gui) then
table.insert(newGUIs, gui)
end
end
if #newGUIs > 0 then
trackedisempty = false
for _, gui in pairs(newGUIs) do
if gui ~= getgenv().hyperlibgui then
for gui2, _ in pairs(guitrackedbyhyperlib) do
if gui2 == gui then
alreadyfound = true
end
end
if alreadyfound == false then
ignoredguis[gui] = false
local guiName = gui.Name
local guiType = gui.ClassName
local guiLabel = ExploitManagerSection:NewLabel(guiName .. " (" .. guiType .. ")")
local guiButton = ExploitManagerSection:NewButton("Remove", "Removes the GUI", function()
gui:Destroy()
ManagerRefreshGuis()
bigGreenItalicText("Successfully removed " .. guiName .. " (" .. guiType .. ")!")
end)
local ignoreButton = ExploitManagerSection:NewButton("Ignore", "Ignores the GUI", function()
guitrackedbyhyperlib[gui][1]:RemoveLabel()
guitrackedbyhyperlib[gui][2]:RemoveButton()
guitrackedbyhyperlib[gui][6]:RemoveButton()
guitrackedbyhyperlib[gui] = nil
bigGreenItalicText("Successfully ignored " .. guiName .. " (" .. guiType .. ")!")
end)
guitrackedbyhyperlib[gui] = { guiLabel, guiButton, guiName, guiType, gui, ignoreButton }
end
end
end
newGUIs = {}
end
ManagerRefreshGuis()
previousGUIs = currentGUIs
wait(5)
end
end)
Statstab = Window:NewTab("Informations")
local StatusSection = Statstab:NewSection("Informations")
StatusSection:NewLabel("Last Update: " .. formatTimeForUser(lastupdate))
StatusSection:NewLabel("Script Version: " .. version)
StatusSection:NewButton("Copy Link to Discord Server", "Copies the Discord Server Link to your clipboard", function()
setclipboard("https://discord.com/invite/BKPQBt2K9k")
bigGreenItalicText("Copied Discord Server Link to clipboard!")
end)
StatusSection:NewLabel("Script was made and is maintained by Johnny 2.0/Orange")
StatusSection:NewButton("Copy GitHub Link", "Copies the GitHub Link to your clipboard", function()
setclipboard("https://github.com/Orangecatgamer696969")
bigGreenItalicText("Copied GitHub Link to clipboard!")
end)
local Keybinds = Window:NewTab("Keybinds")
local KeybindsSection = Keybinds:NewSection("Keybinds")
KeybindsSection:NewKeybind("Toggle UI", "Press T To toggle the Goose hub UI (Click to change Keybind)", Enum.KeyCode.T,
function()
Library:ToggleUI()
end)
local SearchTab = Window:NewTab("Search")
local SearchSection = SearchTab:NewSection("Search Tool")
local InformationLabel = SearchSection:NewLabel("Information:")
local InformationLabel1 = SearchSection:NewLabel("All Search Mode are not case sensitive")
local InformationLabel2 = SearchSection:NewLabel('Tick "Contains" if Script you Search contains Term')
local InformationLabel3 = SearchSection:NewLabel('Tick "Exact" if Script you Search = Term')
local InformationLabel4 = SearchSection:NewLabel('Tick "Starts with" if Script you Search startswith Term')
local ParameterSection = SearchTab:NewSection("Parameters")
local ContainsToggle = ParameterSection:NewToggle("Contains", "Searches for Scripts that contain your Term",
function(state)
if state == true then
getgenv().contains = true
else
getgenv().contains = false
end
end)
local ExactToggle = ParameterSection:NewToggle("Exact", "Searches for Scripts that are exactly the same as your Term",
function(state)
if state == true then
getgenv().exact = true
else
getgenv().exact = false
end
end)
local StartsWithToggle = ParameterSection:NewToggle("Starts with", "Searches for Scripts that start with your Term",
function(state)
if state == true then
getgenv().startswith = true
else
getgenv().startswith = false
end
end)
if gamespecific then
local gamespecificsearch = SearchTab:NewSection("Search for Scripts by Name in this Game")
local gamespecificsearchtextbox = gamespecificsearch:NewTextBox("Search", "Search for Scripts in this Game",
function(text)
pcall(function()
getgenv().QueryTab:RemoveTab()
end)
getgenv().querystatusdict = {}
local unspaced = string.gsub(text, " ", "")
if unspaced == "" then
DisplayWindowMessage("Please enter a Term to search for!")
return
end
if contains == false and exact == false and startswith == false then
DisplayWindowMessage("Please select a Search Mode!")
return
end
if contains == true and exact == true or contains == true and startswith == true or exact == true and startswith == true then
DisplayWindowMessage("Please select only one Search Mode!")
return
end
if contains == true then
local results = {}
for _, script in pairs(getgenv().gamescripts.allscripts) do
if string.find(script.title:lower(), text:lower()) then
table.insert(results, script)
end
end
if #results == 0 then
DisplayWindowMessage("No Results found!")
return
end
table.sort(results, function(a, b)
return a.title < b.title
end)
DisplayWindowMessage("Found " .. #results .. " Results! View in Query Tab!")
getgenv().QueryTab = Window:NewTab("Query")
getgenv().QuerySection = QueryTab:NewSection("Query")
local DeleteQueryTab = QuerySection:NewButton("Delete Query", "Deletes the Query Tab", function()
getgenv().QueryTab:RemoveTab()
getgenv().querystatusdict = {}
getgenv().QueryTab = nil
getgenv().QuerySection = nil
end)
for i, v in pairs(results) do
getgenv().QuerySection:NewLabel(v.title)
getgenv().querystatusdict[v.title] = getgenv().QuerySection:NewLabel("Status: Not yet executed")
getgenv().QuerySection:NewButton("Execute", v.author, function()
function toexecute()
loadstring(game:HttpGet(v.scriptlink))()
end
bigBlueItalicText("Starting execution of your script...")
ongoingexecution = true
spawn(function()
while ongoingexecution do
getgenv().querystatusdict[v.title]:UpdateLabel("Status: Executing")
wait(0.1)
getgenv().querystatusdict[v.title]:UpdateLabel("Status: Executing.")
wait(0.1)
getgenv().querystatusdict[v.title]:UpdateLabel("Status: Executing..")
wait(0.1)
getgenv().querystatusdict[v.title]:UpdateLabel("Status: Executing...")
wait(0.1)
end
end)
local success, result = pcall(toexecute)
if success then
bigGreenItalicText(getLocalPlayerName() .. ", your Script finished execution successfully!")
ongoingexecution = false
wait(0.5)
getgenv().querystatusdict[v.title]:UpdateLabel("Status: Successfully executed")
wait(5)
getgenv().querystatusdict[v.title]:UpdateLabel(
"Status: You have successfully executed this script before")
else
bigRedItalicText(getLocalPlayerName() .. ", your Script failed to finish execution!")
ongoingexecution = false
wait(0.5)
getgenv().querystatusdict[v.title]:UpdateLabel("Status: Failed to execute")
wait(5)
getgenv().querystatusdict[v.title]:UpdateLabel(
"Status: You have unsuccessfully executed this script before")
end
end)
getgenv().QuerySection:NewButton("Copy Origin link of Script", v.origin, function()
setclipboard(v.origin)
bigGreenItalicText("Copied Origin link of Script to clipboard!")
end)
wait(0.01)
end
return
end
if exact == true then
local results = {}
for _, script in pairs(getgenv().gamescripts.allscripts) do
if script.title:lower() == text:lower() then
table.insert(results, script)
end
end
if #results == 0 then
DisplayWindowMessage("No Results found!")
return
end
table.sort(results, function(a, b)
return a.title < b.title
end)
DisplayWindowMessage("Found " .. #results .. " Results! View in Query Tab!")
getgenv().QueryTab = Window:NewTab("Query")
getgenv().QuerySection = QueryTab:NewSection("Query")
local DeleteQueryTab = QuerySection:NewButton("Delete Query", "Deletes the Query Tab", function()
getgenv().QueryTab:RemoveTab()
getgenv().querystatusdict = {}
getgenv().QueryTab = nil
getgenv().QuerySection = nil
end)
for i, v in pairs(results) do
getgenv().QuerySection:NewLabel(v.title)
getgenv().querystatusdict[v.title] = getgenv().QuerySection:NewLabel("Status: Not yet executed")
getgenv().QuerySection:NewButton("Execute", v.author, function()
function toexecute()
loadstring(game:HttpGet(v.scriptlink))()
end
bigBlueItalicText("Starting execution of your script...")
ongoingexecution = true
spawn(function()
while ongoingexecution do
getgenv().querystatusdict[v.title]:UpdateLabel("Status: Executing")
wait(0.1)
getgenv().querystatusdict[v.title]:UpdateLabel("Status: Executing.")
wait(0.1)
getgenv().querystatusdict[v.title]:UpdateLabel("Status: Executing..")
wait(0.1)
getgenv().querystatusdict[v.title]:UpdateLabel("Status: Executing...")
wait(0.1)
end
end)
local success, result = pcall(toexecute)
if success then
bigGreenItalicText(getLocalPlayerName() .. ", your Script finished execution successfully!")
ongoingexecution = false
wait(0.5)
getgenv().querystatusdict[v.title]:UpdateLabel("Status: Successfully executed")
wait(5)
getgenv().querystatusdict[v.title]:UpdateLabel(
"Status: You have successfully executed this script before")
else
bigRedItalicText(getLocalPlayerName() .. ", your Script failed to finish execution!")
ongoingexecution = false
wait(0.5)
getgenv().querystatusdict[v.title]:UpdateLabel("Status: Failed to execute")
wait(5)
getgenv().querystatusdict[v.title]:UpdateLabel(
"Status: You have unsuccessfully executed this script before")
end
end)
getgenv().QuerySection:NewButton("Copy Origin link of Script", v.origin, function()
setclipboard(v.origin)
bigGreenItalicText("Copied Origin link of Script to clipboard!")
end)
wait(0.01)
end
return
end
if startswith then
local results = {}
for _, script in pairs(getgenv().gamescripts.allscripts) do
if script.title:lower():sub(1, #text) == text:lower() then
table.insert(results, script)
end
end
if #results == 0 then
DisplayWindowMessage("No Results found!")
return
end
table.sort(results, function(a, b)
return a.title < b.title
end)
DisplayWindowMessage("Found " .. #results .. " Results! View in Query Tab!")
getgenv().QueryTab = Window:NewTab("Query")
getgenv().QuerySection = QueryTab:NewSection("Query")
local DeleteQueryTab = QuerySection:NewButton("Delete Query", "Deletes the Query Tab", function()
getgenv().QueryTab:RemoveTab()
getgenv().querystatusdict = {}
getgenv().QueryTab = nil
getgenv().QuerySection = nil
end)
for i, v in pairs(results) do
getgenv().QuerySection:NewLabel(v.title)
getgenv().querystatusdict[v.title] = getgenv().QuerySection:NewLabel("Status: Not yet executed")
getgenv().QuerySection:NewButton("Execute", v.author, function()
function toexecute()
loadstring(game:HttpGet(v.scriptlink))()
end
bigBlueItalicText("Starting execution of your script...")
ongoingexecution = true
spawn(function()
while ongoingexecution do
getgenv().querystatusdict[v.title]:UpdateLabel("Status: Executing")
wait(0.1)
getgenv().querystatusdict[v.title]:UpdateLabel("Status: Executing.")
wait(0.1)
getgenv().querystatusdict[v.title]:UpdateLabel("Status: Executing..")
wait(0.1)
getgenv().querystatusdict[v.title]:UpdateLabel("Status: Executing...")
wait(0.1)
end
end)
local success, result = pcall(toexecute)
if success then
bigGreenItalicText(getLocalPlayerName() .. ", your Script finished execution successfully!")
ongoingexecution = false
wait(0.5)
getgenv().querystatusdict[v.title]:UpdateLabel("Status: Successfully executed")
wait(5)
getgenv().querystatusdict[v.title]:UpdateLabel(
"Status: You have successfully executed this script before")
else
bigRedItalicText(getLocalPlayerName() .. ", your Script failed to finish execution!")
ongoingexecution = false
wait(0.5)
getgenv().querystatusdict[v.title]:UpdateLabel("Status: Failed to execute")
wait(5)
getgenv().querystatusdict[v.title]:UpdateLabel(
"Status: You have unsuccessfully executed this script before")
end
end)
getgenv().QuerySection:NewButton("Copy Origin link of Script", v.origin, function()
setclipboard(v.origin)
bigGreenItalicText("Copied Origin link of Script to clipboard!")
end)
wait(0.01)
end
return
end
end)
end
local gamehubsearch = SearchTab:NewSection("Search for Game Hubs by Name")
local gamehubsearchtextbox = gamehubsearch:NewTextBox("Search", "Search for Scripts in the Game Hub Database",
function(text)
pcall(function()
getgenv().QueryTab:RemoveTab()
end)
getgenv().querystatusdict = {}
local unspaced = string.gsub(text, " ", "")
if unspaced == "" then
DisplayWindowMessage("Please enter a Term to search for!")
return
end
if contains == false and exact == false and startswith == false then
DisplayWindowMessage("Please select a Search Mode!")
return
end
if contains == true and exact == true or contains == true and startswith == true or exact == true and startswith == true then
DisplayWindowMessage("Please select only one Search Mode!")
return
end
if contains == true then
local results = {}
for _, script in pairs(getgenv().hubscripts.allscripts) do
if script.title:lower():find(text:lower()) then
table.insert(results, script)
end
end
if #results == 0 then
DisplayWindowMessage("No Results found!")
return
end
table.sort(results, function(a, b)
return a.title < b.title
end)
DisplayWindowMessage("Found " .. #results .. " Results! View in Query Tab!")
getgenv().QueryTab = Window:NewTab("Query")
getgenv().QuerySection = QueryTab:NewSection("Query")
local DeleteQueryTab = QuerySection:NewButton("Delete Query", "Deletes the Query Tab", function()
getgenv().QueryTab:RemoveTab()
getgenv().querystatusdict = {}
getgenv().QueryTab = nil
getgenv().QuerySection = nil
end)
for i, v in pairs(results) do
getgenv().QuerySection:NewLabel(v.title)
getgenv().querystatusdict[v.title] = getgenv().QuerySection:NewLabel("Status: Not yet executed")
getgenv().QuerySection:NewButton("Execute", v.author, function()
function toexecute()
loadstring(game:HttpGet(v.scriptlink))()
end
bigBlueItalicText("Starting execution of your script...")
ongoingexecution = true
spawn(function()
while ongoingexecution do
getgenv().querystatusdict[v.title]:UpdateLabel("Status: Executing")
wait(0.1)
getgenv().querystatusdict[v.title]:UpdateLabel("Status: Executing.")
wait(0.1)
getgenv().querystatusdict[v.title]:UpdateLabel("Status: Executing..")
wait(0.1)
getgenv().querystatusdict[v.title]:UpdateLabel("Status: Executing...")
wait(0.1)
end
end)
local success, result = pcall(toexecute)
if success then
bigGreenItalicText(getLocalPlayerName() .. ", your Script finished execution successfully!")
ongoingexecution = false
wait(0.5)
getgenv().querystatusdict[v.title]:UpdateLabel("Status: Successfully executed")
wait(5)
getgenv().querystatusdict[v.title]:UpdateLabel(
"Status: You have successfully executed this script before")
else
bigRedItalicText(getLocalPlayerName() .. ", your Script failed to finish execution!")
ongoingexecution = false
wait(0.5)
getgenv().querystatusdict[v.title]:UpdateLabel("Status: Failed to execute")
wait(5)
getgenv().querystatusdict[v.title]:UpdateLabel(
"Status: You have failed to execute this script before")
end
end)
getgenv().QuerySection:NewButton("Copy Origin link of Script", v.origin, function()
setclipboard(v.origin)
bigGreenItalicText("Copied Origin link of Script to clipboard!")
end)
wait(0.01)
end
return
end
if exact then
local results = {}
for _, script in pairs(getgenv().hubscripts.allscripts) do
if script.title:lower() == text:lower() then
table.insert(results, script)
end
end
if #results == 0 then
DisplayWindowMessage("No Results found!")
return
end
table.sort(results, function(a, b)
return a.title < b.title
end)
DisplayWindowMessage("Found " .. #results .. " Results! View in Query Tab!")
getgenv().QueryTab = Window:NewTab("Query")
getgenv().QuerySection = QueryTab:NewSection("Query")
local DeleteQueryTab = QuerySection:NewButton("Delete Query", "Deletes the Query Tab", function()
getgenv().QueryTab:RemoveTab()
getgenv().querystatusdict = {}
getgenv().QueryTab = nil
getgenv().QuerySection = nil
end)
for i, v in pairs(results) do
getgenv().QuerySection:NewLabel(v.title)
getgenv().querystatusdict[v.title] = getgenv().QuerySection:NewLabel("Status: Not yet executed")
getgenv().QuerySection:NewButton("Execute", v.author, function()
function toexecute()
loadstring(game:HttpGet(v.scriptlink))()
end
bigBlueItalicText("Starting execution of your script...")
ongoingexecution = true
spawn(function()
while ongoingexecution do
getgenv().querystatusdict[v.title]:UpdateLabel("Status: Executing")
wait(0.1)
getgenv().querystatusdict[v.title]:UpdateLabel("Status: Executing.")
wait(0.1)
getgenv().querystatusdict[v.title]:UpdateLabel("Status: Executing..")
wait(0.1)
getgenv().querystatusdict[v.title]:UpdateLabel("Status: Executing...")
wait(0.1)
end
end)
local success, result = pcall(toexecute)
if success then
bigGreenItalicText(getLocalPlayerName() .. ", your Script finished execution successfully!")
ongoingexecution = false
wait(0.5)
getgenv().querystatusdict[v.title]:UpdateLabel("Status: Successfully executed")
wait(5)
getgenv().querystatusdict[v.title]:UpdateLabel(
"Status: You have successfully executed this script before")
else
bigRedItalicText(getLocalPlayerName() .. ", your Script failed to finish execution!")
ongoingexecution = false
wait(0.5)
getgenv().querystatusdict[v.title]:UpdateLabel("Status: Failed to execute")
wait(5)
getgenv().querystatusdict[v.title]:UpdateLabel(
"Status: You have failed to execute this script before")
end
end)
getgenv().QuerySection:NewButton("Copy Origin link of Script", v.origin, function()
setclipboard(v.origin)
bigGreenItalicText("Copied Origin link of Script to clipboard!")
end)
wait(0.01)
end
return
end
if startswith then
local results = {}
for _, script in pairs(getgenv().hubscripts.allscripts) do
if script.title:lower():sub(1, #text) == text:lower() then
table.insert(results, script)
end
end
if #results == 0 then
DisplayWindowMessage("No Results found!")
return
end
table.sort(results, function(a, b)
return a.title < b.title
end)
DisplayWindowMessage("Found " .. #results .. " Results! View in Query Tab!")
getgenv().QueryTab = Window:NewTab("Query")
getgenv().QuerySection = QueryTab:NewSection("Query")
local DeleteQueryTab = QuerySection:NewButton("Delete Query", "Deletes the Query Tab", function()
getgenv().QueryTab:RemoveTab()
getgenv().querystatusdict = {}
getgenv().QueryTab = nil
getgenv().QuerySection = nil
end)
for i, v in pairs(results) do
getgenv().QuerySection:NewLabel(v.title)
getgenv().querystatusdict[v.title] = getgenv().QuerySection:NewLabel("Status: Not yet executed")
getgenv().QuerySection:NewButton("Execute", v.author, function()
function toexecute()
loadstring(game:HttpGet(v.scriptlink))()
end
bigBlueItalicText("Starting execution of your script...")
ongoingexecution = true
spawn(function()
while ongoingexecution do
getgenv().querystatusdict[v.title]:UpdateLabel("Status: Executing")
wait(0.1)
getgenv().querystatusdict[v.title]:UpdateLabel("Status: Executing.")
wait(0.1)
getgenv().querystatusdict[v.title]:UpdateLabel("Status: Executing..")
wait(0.1)
getgenv().querystatusdict[v.title]:UpdateLabel("Status: Executing...")
wait(0.1)
end
end)
local success, result = pcall(toexecute)
if success then
bigGreenItalicText(getLocalPlayerName() .. ", your Script finished execution successfully!")
ongoingexecution = false
wait(0.5)
getgenv().querystatusdict[v.title]:UpdateLabel("Status: Successfully executed")
wait(5)
getgenv().querystatusdict[v.title]:UpdateLabel(
"Status: You have successfully executed this script before")
else
bigRedItalicText(getLocalPlayerName() .. ", your Script failed to finish execution!")
ongoingexecution = false
wait(0.5)
getgenv().querystatusdict[v.title]:UpdateLabel("Status: Failed to execute")
wait(5)
getgenv().querystatusdict[v.title]:UpdateLabel(
"Status: You have failed to execute this script before")
end
end)
getgenv().QuerySection:NewButton("Copy Origin link of Script", v.origin, function()
setclipboard(v.origin)
bigGreenItalicText("Copied Origin link of Script to clipboard!")
end)
wait(0.01)
end
return
end
end)
local universalsearch = SearchTab:NewSection("Search for Universal Scripts by Name")
local universalsearchtextbox = universalsearch:NewTextBox("Search", "Seafch for Universal Scripts in the Database",
function(text)
pcall(function()
getgenv().QueryTab:RemoveTab()
end)
getgenv().querystatusdict = {}
local unspaced = string.gsub(text, " ", "")
if unspaced == "" then
DisplayWindowMessage("Please enter a valid Search Query!")
return
end
if contains == false and exact == false and startswith == false then
DisplayWindowMessage("Please select a Search Mode!")
return
end
if contains == true and exact == true or contains == true and startswith == true or exact == true and startswith == true then
DisplayWindowMessage("Please select only one Search Mode!")
return
end
if contains then
local results = {}
for _, script in pairs(getgenv().uniscripts.allscripts) do
if script.title:lower():find(text:lower()) then
table.insert(results, script)
end
end
if #results == 0 then
DisplayWindowMessage("No Results found!")
return
end
table.sort(results, function(a, b)
return a.title < b.title
end)
DisplayWindowMessage("Found " .. #results .. " Results! View in Query Tab!")
getgenv().QueryTab = Window:NewTab("Query")
getgenv().QuerySection = QueryTab:NewSection("Query")
local DeleteQueryTab = QuerySection:NewButton("Delete Query", "Deletes the Query Tab", function()
getgenv().QueryTab:RemoveTab()
getgenv().querystatusdict = {}
getgenv().QueryTab = nil
getgenv().QuerySection = nil
end)
for i, v in pairs(results) do
getgenv().QuerySection:NewLabel(v.title)
getgenv().querystatusdict[v.title] = getgenv().QuerySection:NewLabel("Status: Not yet executed")
getgenv().QuerySection:NewButton("Execute", v.author, function()
function toexecute()
loadstring(game:HttpGet(v.scriptlink))()
end
bigBlueItalicText("Starting execution of your script...")
ongoingexecution = true
spawn(function()
while ongoingexecution do
getgenv().querystatusdict[v.title]:UpdateLabel("Status: Executing")
wait(0.1)
getgenv().querystatusdict[v.title]:UpdateLabel("Status: Executing.")
wait(0.1)
getgenv().querystatusdict[v.title]:UpdateLabel("Status: Executing..")
wait(0.1)
getgenv().querystatusdict[v.title]:UpdateLabel("Status: Executing...")
wait(0.1)
end
end)
local success, result = pcall(toexecute)
if success then
bigGreenItalicText(getLocalPlayerName() .. ", your Script finished execution successfully!")
ongoingexecution = false
wait(0.5)
getgenv().querystatusdict[v.title]:UpdateLabel("Status: Successfully executed")
wait(5)
getgenv().querystatusdict[v.title]:UpdateLabel(
"Status: You have successfully executed this script before")
else
bigRedItalicText(getLocalPlayerName() .. ", your Script failed to finish execution!")
ongoingexecution = false
wait(0.5)
getgenv().querystatusdict[v.title]:UpdateLabel("Status: Failed to execute")
wait(5)
getgenv().querystatusdict[v.title]:UpdateLabel(
"Status: You have failed to execute this script before")
end
end)
getgenv().QuerySection:NewButton("Copy Origin link of Script", v.origin, function()
setclipboard(v.origin)
bigGreenItalicText("Copied Origin link of Script to clipboard!")
end)
wait(0.01)
end
return
end
if exact then
local results = {}
for _, script in pairs(getgenv().uniscripts.allscripts) do
if script.title:lower() == text:lower() then
table.insert(results, script)
end
end
if #results == 0 then
DisplayWindowMessage("No Results found!")
return
end
table.sort(results, function(a, b)
return a.title < b.title
end)
DisplayWindowMessage("Found " .. #results .. " Results! View in Query Tab!")
getgenv().QueryTab = Window:NewTab("Query")
getgenv().QuerySection = QueryTab:NewSection("Query")
local DeleteQueryTab = QuerySection:NewButton("Delete Query", "Deletes the Query Tab", function()
getgenv().QueryTab:RemoveTab()
getgenv().querystatusdict = {}
getgenv().QueryTab = nil
getgenv().QuerySection = nil
end)
for i, v in pairs(results) do
getgenv().QuerySection:NewLabel(v.title)
getgenv().querystatusdict[v.title] = getgenv().QuerySection:NewLabel("Status: Not yet executed")
getgenv().QuerySection:NewButton("Execute", v.author, function()
function toexecute()
loadstring(game:HttpGet(v.scriptlink))()
end
bigBlueItalicText("Starting execution of your script...")
ongoingexecution = true
spawn(function()
while ongoingexecution do
getgenv().querystatusdict[v.title]:UpdateLabel("Status: Executing")
wait(0.1)
getgenv().querystatusdict[v.title]:UpdateLabel("Status: Executing.")
wait(0.1)
getgenv().querystatusdict[v.title]:UpdateLabel("Status: Executing..")
wait(0.1)
getgenv().querystatusdict[v.title]:UpdateLabel("Status: Executing...")
wait(0.1)
end
end)
local success, result = pcall(toexecute)
if success then
bigGreenItalicText(getLocalPlayerName() .. ", your Script finished execution successfully!")
ongoingexecution = false
wait(0.5)
getgenv().querystatusdict[v.title]:UpdateLabel("Status: Successfully executed")
wait(5)
getgenv().querystatusdict[v.title]:UpdateLabel(
"Status: You have successfully executed this script before")
else
bigRedItalicText(getLocalPlayerName() .. ", your Script failed to finish execution!")
ongoingexecution = false
wait(0.5)
getgenv().querystatusdict[v.title]:UpdateLabel("Status: Failed to execute")
wait(5)
getgenv().querystatusdict[v.title]:UpdateLabel(
"Status: You have failed to execute this script before")
end
end)
getgenv().QuerySection:NewButton("Copy Origin link of Script", v.origin, function()
setclipboard(v.origin)
bigGreenItalicText("Copied Origin link of Script to clipboard!")
end)
wait(0.01)
end
return
end
if startswith then
local results = {}
for _, script in pairs(getgenv().uniscripts.allscripts) do
if script.title:lower():sub(1, #text) == text:lower() then
table.insert(results, script)
end
end
if #results == 0 then
DisplayWindowMessage("No Results found!")
return
end
table.sort(results, function(a, b)
return a.title < b.title
end)
DisplayWindowMessage("Found " .. #results .. " Results! View in Query Tab!")
getgenv().QueryTab = Window:NewTab("Query")
getgenv().QuerySection = QueryTab:NewSection("Query")
local DeleteQueryTab = QuerySection:NewButton("Delete Query", "Deletes the Query Tab", function()
getgenv().QueryTab:RemoveTab()
getgenv().querystatusdict = {}
getgenv().QueryTab = nil
getgenv().QuerySection = nil
end)
for i, v in pairs(results) do
getgenv().QuerySection:NewLabel(v.title)
getgenv().querystatusdict[v.title] = getgenv().QuerySection:NewLabel("Status: Not yet executed")
getgenv().QuerySection:NewButton("Execute", v.author, function()
function toexecute()
loadstring(game:HttpGet(v.scriptlink))()
end
bigBlueItalicText("Starting execution of your script...")
ongoingexecution = true
spawn(function()
while ongoingexecution do
getgenv().querystatusdict[v.title]:UpdateLabel("Status: Executing")
wait(0.1)
getgenv().querystatusdict[v.title]:UpdateLabel("Status: Executing.")
wait(0.1)
getgenv().querystatusdict[v.title]:UpdateLabel("Status: Executing..")
wait(0.1)
getgenv().querystatusdict[v.title]:UpdateLabel("Status: Executing...")
wait(0.1)
end
end)
local success, result = pcall(toexecute)
if success then
bigGreenItalicText(getLocalPlayerName() .. ", your Script finished execution successfully!")
ongoingexecution = false
wait(0.5)
getgenv().querystatusdict[v.title]:UpdateLabel("Status: Successfully executed")
wait(5)
getgenv().querystatusdict[v.title]:UpdateLabel(
"Status: You have successfully executed this script before")
else
bigRedItalicText(getLocalPlayerName() .. ", your Script failed to finish execution!")
ongoingexecution = false
wait(0.5)
getgenv().querystatusdict[v.title]:UpdateLabel("Status: Failed to execute")
wait(5)
getgenv().querystatusdict[v.title]:UpdateLabel(
"Status: You have failed to execute this script before")
end
end)
getgenv().QuerySection:NewButton("Copy Origin link of Script", v.origin, function()
setclipboard(v.origin)
bigGreenItalicText("Copied Origin link of Script to clipboard!")
end)
wait(0.01)
end
return
end
end)