local function SafeGetService(name)
local service = (cloneref and cloneref(game:GetService(name))) or
game:GetService(name)
return service
end
local r = request or http_request or (syn and [Link]) or function() end
local ts = SafeGetService("TweenService")
local uis = SafeGetService("UserInputService")
local http = SafeGetService("HttpService")
local engine = "ScriptBlox" -- current ones (RScripts, ScriptBlox)
local c = {
bg = [Link](30, 30, 35),
ac = [Link](0, 0, 0),
sc = [Link](45, 45, 50),
tx = [Link](255, 255, 255),
td = [Link](180, 180, 180),
su = [Link](40, 180, 99),
wa = [Link](255, 153, 51),
er = [Link](220, 53, 69)
}
local function protectUI(sGui)
if sGui:IsA("ScreenGui") then
[Link] = [Link]
[Link] = 999999999
[Link] = false
[Link] = true
end
local cGUI = SafeGetService("CoreGui")
local lPlr = SafeGetService("Players").LocalPlayer
local function NAProtection(inst, var)
if inst then
if var then
inst[var] = "\0"
[Link] = false
else
[Link] = "\0"
[Link] = false
end
end
end
if gethui then
NAProtection(sGui)
[Link] = gethui()
return sGui
elseif cGUI and cGUI:FindFirstChild("RobloxGui") then
NAProtection(sGui)
[Link] = cGUI:FindFirstChild("RobloxGui")
return sGui
elseif cGUI then
NAProtection(sGui)
[Link] = cGUI
return sGui
elseif lPlr and lPlr:FindFirstChild("PlayerGui") then
NAProtection(sGui)
[Link] = lPlr:FindFirstChild("PlayerGui")
[Link] = false
return sGui
else
return nil
end
end
local sg = [Link]("ScreenGui")
[Link] = "SBHub"
protectUI(sg)
[Link] = [Link]
local m = [Link]("Frame")
[Link] = "M"
[Link] = [Link](0, 500, 0, 400)
[Link] = [Link](0.5, -250, 0.5, -200)
m.BackgroundColor3 = [Link]
[Link] = 0
[Link] = true
[Link] = true
[Link] = sg
local mc = [Link]("UICorner")
[Link] = [Link](0, 10)
[Link] = m
local sh = [Link]("ImageLabel")
[Link] = "Sh"
[Link] = [Link](0.5, 0.5)
[Link] = 1
[Link] = [Link](0.5, 0, 0.5, 0)
[Link] = [Link](1, 40, 1, 40)
[Link] = -1
[Link] = "rbxassetid://5554236805"
sh.ImageColor3 = [Link](0, 0, 0)
[Link] = 0.4
[Link] = [Link]
[Link] = [Link](23, 23, 277, 277)
[Link] = m
local tb = [Link]("Frame")
[Link] = "TB"
[Link] = [Link](1, 0, 0, 40)
tb.BackgroundColor3 = [Link]
[Link] = 0
[Link] = m
local tbc = [Link]("UICorner")
[Link] = [Link](0, 10)
[Link] = tb
local bf = [Link]("Frame")
[Link] = "BF"
[Link] = [Link](1, 0, 0, 10)
[Link] = [Link](0, 0, 1, -10)
bf.BackgroundColor3 = [Link]
[Link] = 0
[Link] = [Link]
[Link] = tb
local t = [Link]("TextLabel")
[Link] = "T"
[Link] = [Link](1, -120, 1, 0)
[Link] = [Link](0, 15, 0, 0)
[Link] = 1
[Link] = [Link]
[Link] = "Script Hub - By @ltseverydayyou"
t.TextColor3 = [Link]
[Link] = 18
[Link] = [Link]
[Link] = tb
local dd = [Link]("TextButton")
[Link] = "DD"
[Link] = [Link](0, 120, 0, 27)
[Link] = [Link](1, -185, 0, 8)
dd.BackgroundColor3 = [Link]
[Link] = 0
[Link] = [Link]
[Link] = "Engine: ScriptBlox"
dd.TextColor3 = [Link]
[Link] = true
[Link] = tb
local ddc = [Link]("UICorner")
[Link] = [Link](0, 6)
[Link] = dd
local cb = [Link]("ImageButton")
[Link] = "CB"
[Link] = [Link](0, 24, 0, 24)
[Link] = [Link](1, -32, 0, 8)
[Link] = 1
[Link] = "rbxassetid://6031094678"
cb.ImageColor3 = [Link]
[Link] = tb
local mb = [Link]("ImageButton")
[Link] = "MB"
[Link] = [Link](0, 24, 0, 24)
[Link] = [Link](1, -64, 0, 8)
[Link] = 1
[Link] = "rbxassetid://6031090990"
mb.ImageColor3 = [Link]
[Link] = tb
local sc = [Link]("Frame")
[Link] = "SC"
[Link] = [Link](1, -40, 0, 50)
[Link] = [Link](0, 20, 0, 50)
sc.BackgroundColor3 = [Link]
[Link] = 0
[Link] = m
local scc = [Link]("UICorner")
[Link] = [Link](0, 8)
[Link] = sc
local si = [Link]("ImageLabel")
[Link] = "SI"
[Link] = [Link](0, 20, 0, 20)
[Link] = [Link](0, 10, 0.5, -10)
[Link] = 1
[Link] = "rbxassetid://3192519002"
si.ImageColor3 = [Link]
[Link] = sc
local stb = [Link]("TextBox")
[Link] = "STB"
[Link] = [Link](1, -80, 1, -10)
[Link] = [Link](0, 40, 0, 5)
[Link] = 1
[Link] = [Link]
[Link] = "Search for scripts..."
[Link] = ""
stb.TextColor3 = [Link]
[Link] = 14
[Link] = [Link]
[Link] = sc
local sb = [Link]("TextButton")
[Link] = "SB"
[Link] = [Link](0, 80, 0, 30)
[Link] = [Link](1, -90, 0.5, -15)
sb.BackgroundColor3 = [Link]
[Link] = 0
[Link] = [Link]
[Link] = "Search"
sb.TextColor3 = [Link]
[Link] = 14
[Link] = sc
local sbc = [Link]("UICorner")
[Link] = [Link](0, 6)
[Link] = sb
local rc = [Link]("Frame")
[Link] = "RC"
[Link] = [Link](1, -40, 1, -110)
[Link] = [Link](0, 20, 0, 110)
rc.BackgroundColor3 = [Link]
[Link] = 0
[Link] = m
local rcc = [Link]("UICorner")
[Link] = [Link](0, 8)
[Link] = rc
local sf = [Link]("ScrollingFrame")
[Link] = "SF"
[Link] = [Link](1, -20, 1, -20)
[Link] = [Link](0, 10, 0, 10)
[Link] = 1
[Link] = 0
[Link] = 6
sf.ScrollBarImageColor3 = [Link]
[Link] = [Link](0, 0, 0, 0)
[Link] = rc
local dragging, dragInput, dragStart, startPos
local function updateDrag(input)
local delta = [Link] - dragStart
[Link] = [Link]([Link], [Link] + delta.X,
[Link], [Link] + delta.Y)
end
[Link]:Connect(function(input)
if [Link] == [Link].MouseButton1 or
[Link] == [Link] then
dragging = true
dragStart = [Link]
startPos = [Link]
[Link]:Connect(function()
if [Link] == [Link] then
dragging = false
end
end)
end
end)
[Link]:Connect(function(input)
if [Link] == [Link] or
[Link] == [Link] then
dragInput = input
end
end)
[Link]:Connect(function(input)
if input == dragInput and dragging then
updateDrag(input)
end
end)
local minimized = false
mb.MouseButton1Click:Connect(function()
minimized = not minimized
if minimized then
ts:Create(m, [Link](0.3), {Size = [Link](0, 500, 0, 40)}):Play()
else
ts:Create(m, [Link](0.3), {Size = [Link](0, 500, 0, 400)}):Play()
end
end)
cb.MouseButton1Click:Connect(function()
sg:Destroy()
end)
dd.MouseButton1Click:Connect(function()
if engine == "ScriptBlox" then
engine = "RScripts"
[Link] = "Engine: RScripts"
[Link] = "Search for scripts (powered by [Link])"
else
engine = "ScriptBlox"
[Link] = "Engine: ScriptBlox"
[Link] = "Search for scripts (powered by [Link])"
end
end)
local function search(q,doEmpty)
local url = engine == "ScriptBlox" and
"[Link] or
"[Link]
if doEmpty and engine == "ScriptBlox" then
url='[Link]
end
local success, response = pcall(function()
return r({
Url = url,
Method = "GET"
})
end)
sf:ClearAllChildren()
[Link] = [Link](0, 0, 0, 0)
if not success then
local el = [Link]("TextLabel")
[Link] = [Link](1, 0, 0, 30)
el.BackgroundColor3 = [Link]
[Link] = 0.8
[Link] = 0
[Link] = [Link]
[Link] = "Error making request: "..tostring(response)
el.TextColor3 = [Link]
[Link] = 14
[Link] = sf
local elc = [Link]("UICorner")
[Link] = [Link](0, 6)
[Link] = el
return
end
if not response or not [Link] then
local el = [Link]("TextLabel")
[Link] = [Link](1, 0, 0, 30)
el.BackgroundColor3 = [Link]
[Link] = 0.8
[Link] = 0
[Link] = [Link]
[Link] = "No response received from "..engine
el.TextColor3 = [Link]
[Link] = 14
[Link] = sf
local elc = [Link]("UICorner")
[Link] = [Link](0, 6)
[Link] = el
return
end
local success, decoded = pcall(function()
return http:JSONDecode([Link])
end)
if not success or not decoded then
local el = [Link]("TextLabel")
[Link] = [Link](1, 0, 0, 30)
el.BackgroundColor3 = [Link]
[Link] = 0.8
[Link] = 0
[Link] = [Link]
[Link] = "Failed to decode JSON response"
el.TextColor3 = [Link]
[Link] = 14
[Link] = sf
local elc = [Link]("UICorner")
[Link] = [Link](0, 6)
[Link] = el
return
end
local scripts = engine == "ScriptBlox" and [Link] or
[Link]
if not scripts or #scripts == 0 then
local el = [Link]("TextLabel")
[Link] = [Link](1, 0, 0, 30)
el.BackgroundColor3 = [Link]
[Link] = 0.8
[Link] = 0
[Link] = [Link]
[Link] = "No scripts found for your query"
el.TextColor3 = [Link]
[Link] = 14
[Link] = sf
local elc = [Link]("UICorner")
[Link] = [Link](0, 6)
[Link] = el
return
end
local totalHeight = 0
for i, script in ipairs(scripts) do
local title = engine == "ScriptBlox" and [Link] or [Link]
local raw = engine == "ScriptBlox" and [Link] or [Link]
local views = engine == "ScriptBlox" and [Link] or [Link]
local key = engine == "ScriptBlox" and [Link] or [Link]
local card = [Link]("Frame")
[Link] = "Card"..i
[Link] = [Link](1, 0, 0, 120)
[Link] = [Link](0, 0, 0, totalHeight)
card.BackgroundColor3 = [Link]
[Link] = 0
[Link] = sf
local cardc = [Link]("UICorner")
[Link] = [Link](0, 6)
[Link] = card
local titleLabel = [Link]("TextLabel")
[Link] = [Link](1, -20, 0, 30)
[Link] = [Link](0, 10, 0, 5)
[Link] = 1
[Link] = [Link]
[Link] = title
titleLabel.TextColor3 = [Link]
[Link] = 14
[Link] = [Link]
[Link] = true
[Link] = card
local info = [Link]("TextLabel")
[Link] = [Link](1, -20, 0, 40)
[Link] = [Link](0, 10, 0, 35)
[Link] = 1
[Link] = [Link]
if engine == "ScriptBlox" then
[Link] = "Universal: "..([Link] and "Yes" or "No").." |
Key: "..([Link] and "Yes" or "No").."\nPatched: "..([Link] and "Yes"
or "No").." | Views: "..[Link]
else
local discord = [Link] or "N/A"
[Link] = "Key: "..(key and "Yes" or "No").." | Views: "..views.."\
nDiscord: "..discord.." | Mobile Compatible: "..([Link] and "Yes" or
"No")
end
--[Link] = "Key: "..(key and "Yes" or "No").." | Views: "..views
info.TextColor3 = [Link]
[Link] = 12
[Link] = [Link]
[Link] = card
local eb = [Link]("TextButton")
[Link] = "EB"
[Link] = [Link](0, 100, 0, 30)
[Link] = [Link](0, 10, 0, 80)
eb.BackgroundColor3 = [Link]
[Link] = 0
[Link] = [Link]
[Link] = "Execute"
eb.TextColor3 = [Link]
[Link] = 14
[Link] = card
local ebc = [Link]("UICorner")
[Link] = [Link](0, 6)
[Link] = eb
if setclipboard then
local cpb = [Link]("TextButton")
[Link] = "CPB"
[Link] = [Link](0, 100, 0, 30)
[Link] = [Link](0, 120, 0, 80)
cpb.BackgroundColor3 = [Link]
[Link] = 0
[Link] = [Link]
[Link] = "Copy"
cpb.TextColor3 = [Link]
[Link] = 14
[Link] = card
local cpbc = [Link]("UICorner")
[Link] = [Link](0, 6)
[Link] = cpb
cpb.MouseButton1Click:Connect(function()
pcall(function()
[Link](function()
if engine == "ScriptBlox" then
setclipboard(raw)
else
setclipboard(game:HttpGet(raw))();
end
end)
[Link] = "Copied!"
wait(1)
[Link] = "Copy"
end)
end)
end
eb.MouseButton1Click:Connect(function()
pcall(function()
if engine == "ScriptBlox" then
loadstring(raw)()
else
loadstring(game:HttpGet(raw))();
end
end)
end)
if [Link] and setclipboard then
local discordButton = [Link]("TextButton")
[Link] = "DiscordButton"
[Link] = [Link](0, 100, 0, 30)
[Link] = [Link](0, 240, 0, 80)
discordButton.BackgroundColor3 = [Link](11, 114, 224)
[Link] = 0
[Link] = [Link]
[Link] = "Copy Discord"
discordButton.TextColor3 = [Link]
[Link] = 14
[Link] = card
local discordButtonCorner = [Link]("UICorner")
[Link] = [Link](0, 6)
[Link] = discordButton
discordButton.MouseButton1Click:Connect(function()
pcall(function()
setclipboard([Link])
[Link] = "Copied!"
wait(1)
[Link] = "Copy Discord"
end)
end)
end
totalHeight = totalHeight + 130
end
[Link] = [Link](0, 0, 0, totalHeight)
end
sb.MouseButton1Click:Connect(function()
local q = [Link]:gsub(" ", "%%20")
if q ~= "" then
search(q)
else
if engine == "ScriptBlox" then
search(q, true)
else
sf:ClearAllChildren()
local el = [Link]("TextLabel")
[Link] = [Link](1, 0, 0, 30)
el.BackgroundColor3 = [Link]
[Link] = 0.8
[Link] = 0
[Link] = [Link]
[Link] = "Please enter a search query"
el.TextColor3 = [Link]
[Link] = 14
[Link] = sf
local elc = [Link]("UICorner")
[Link] = [Link](0, 6)
[Link] = el
end
end
end)