Run it
Copy the script and paste it into your executor.
Players = :()
HttpService = :()
TweenService = :()
UserInputService = :()
RunService = :()
player = Players.LocalPlayer
playerGui = player:()
isMobile = UserInputService.TouchEnabled UserInputService.KeyboardEnabled
camera = .CurrentCamera
SCREEN_SIZE = camera.ViewportSize
isSmallScreen = isMobile SCREEN_SIZE.X <
menuScale =
minScale, maxScale = ,
scaleStep =
scriptCache = {}
guiVisible =
popupShown =
currentPage =
scriptsPerPage =
(url)
i = ,
s, r = (.HttpGet, , url, )
s r #r > r
.()
(utc)
utc
y,m,d,h,min = utc:()
y
t = .{year=y, month=m, day=d, hour=h, min=min}
.(, t)
utc:(,)
screenGui = .()
screenGui.Name =
screenGui.ResetOnSpawn =
screenGui.IgnoreGuiInset =
screenGui.Parent = playerGui
mainFrame = .()
mainFrame.BackgroundColor3 = .(, , )
mainFrame.BorderSizePixel =
mainFrame.ClipsDescendants =
mainFrame.Parent = screenGui
()
w = SCREEN_SIZE.X * menuScale
h = SCREEN_SIZE.Y * menuScale
mainFrame.Size = .(, w - , , h - )
()
mainFrame.Position = .(, -mainFrame.Size.X.Offset/, , -mainFrame.Size.Y.Offset/)
corner = .()
corner.CornerRadius = .(, )
corner.Parent = mainFrame
stroke = .()
stroke.Color = .(, , )
stroke.Thickness =
stroke.Parent = mainFrame
header = .()
header.Size = .(, , , )
header.BackgroundTransparency =
header.Parent = mainFrame
logo = .()
logo.Size = .(, , , )
logo.BackgroundTransparency =
logo.Text =
logo.TextColor3 = .(, , )
logo.TextScaled =
logo.Font = .Font.GothamBold
logo.Parent = header
navFrame = .()
navFrame.Size = .(, -, , )
navFrame.Position = .(, , , )
navFrame.BackgroundTransparency =
navFrame.Parent = header
navLayout = .()
navLayout.FillDirection = .FillDirection.Horizontal
navLayout.HorizontalAlignment = .HorizontalAlignment.Left
navLayout.VerticalAlignment = .VerticalAlignment.Center
navLayout.Padding = .(, )
navLayout.Parent = navFrame
navItems = {, , , , , }
_, item (navItems)
btn = .()
btn.Size = .(, , , )
btn.BackgroundTransparency =
btn.Text = item
btn.TextColor3 = .(, , )
btn.TextScaled =
btn.Font = .Font.Gotham
btn.Parent = navFrame
btn.MouseButton1Click:(()
_, b (navFrame:())
b:()
b.TextColor3 = .(, , )
btn.TextColor3 = .(, , )
)
closeBtn = .()
closeBtn.Size = .(, , , )
closeBtn.Position = .(, -, , )
closeBtn.BackgroundColor3 = .(, , )
closeBtn.Text =
closeBtn.TextColor3 = .(, , )
closeBtn.TextScaled =
closeBtn.Font = .Font.GothamBold
closeCorner = .()
closeCorner.CornerRadius = .(, )
closeCorner.Parent = closeBtn
closeBtn.Parent = header
authFrame = .()
authFrame.Size = .(, , , )
authFrame.Position = .(, -, , )
authFrame.BackgroundTransparency =
authFrame.Parent = header
authLayout = .()
authLayout.FillDirection = .FillDirection.Horizontal
authLayout.HorizontalAlignment = .HorizontalAlignment.Right
authLayout.VerticalAlignment = .VerticalAlignment.Center
authLayout.Padding = .(, )
authLayout.Parent = authFrame
authBtns = {, }
_, item (authBtns)
btn = .()
btn.Size = .(, , , )
btn.BackgroundColor3 = .(, , )
btn.Text = item
btn.TextColor3 = .(, , )
btn.TextScaled =
btn.Font = .Font.GothamBold
c = .()
c.CornerRadius = .(, )
c.Parent = btn
btn.Parent = authFrame
statsFrame = .()
statsFrame.Size = .(, , , )
statsFrame.Position = .(, , , )
statsFrame.BackgroundTransparency =
statsFrame.Parent = mainFrame
statsLayout = .()
statsLayout.FillDirection = .FillDirection.Horizontal
statsLayout.HorizontalAlignment = .HorizontalAlignment.Left
statsLayout.VerticalAlignment = .VerticalAlignment.Center
statsLayout.Padding = .(, )
statsLayout.Parent = statsFrame
statsItems = {
{text = , color = .(, , ), label = },
{text = , color = .(, , ), label = }
}
_, item (statsItems)
frame = .()
frame.BackgroundTransparency =
frame.Parent = statsFrame
num = .()
num.Size = .(, , , )
num.BackgroundTransparency =
num.Text = item.text
num.TextColor3 = item.color
num.TextScaled =
num.Font = .Font.GothamBold
num.Parent = frame
lbl = .()
lbl.Size = .(, , , )
lbl.Position = .(, , , )
lbl.BackgroundTransparency =
lbl.Text = item.label
lbl.TextColor3 = .(, , )
lbl.TextScaled =
lbl.Font = .Font.Gotham
lbl.Parent = frame
dragging =
dragStart, startPos
header.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.Touch
dragging =
dragStart = input.Position
startPos = mainFrame.Position
)
header.InputChanged:((input)
dragging (input.UserInputType == .UserInputType.MouseMovement input.UserInputType == .UserInputType.Touch)
delta = input.Position - dragStart
mainFrame.Position = .(
startPos.X.Scale,
startPos.X.Offset + delta.X,
startPos.Y.Scale,
startPos.Y.Offset + delta.Y
)
)
header.InputEnded:((input)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.Touch
dragging =
)
resizeContainer = .()
resizeContainer.Size = .(, , , )
resizeContainer.Position = .(, -, , )
resizeContainer.BackgroundColor3 = .(, , )
resizeContainer.Parent = header
rcCorner = .()
rcCorner.CornerRadius = .(, )
rcCorner.Parent = resizeContainer
rcStroke = .()
rcStroke.Color = .(, , )
rcStroke.Thickness =
rcStroke.Parent = resizeContainer
minusBtn = .()
minusBtn.Size = .(, , , )
minusBtn.BackgroundTransparency =
minusBtn.Text =
minusBtn.TextColor3 = .(, , )
minusBtn.TextScaled =
minusBtn.Font = .Font.GothamBold
minusBtn.Parent = resizeContainer
plusBtn = .()
plusBtn.Size = .(, , , )
plusBtn.Position = .(, -, , )
plusBtn.BackgroundTransparency =
plusBtn.Text =
plusBtn.TextColor3 = .(, , )
plusBtn.TextScaled =
plusBtn.Font = .Font.GothamBold
plusBtn.Parent = resizeContainer
scaleLabel = .()
scaleLabel.Size = .(, , , )
scaleLabel.Position = .(, , , )
scaleLabel.BackgroundTransparency =
scaleLabel.Text = .(menuScale * ) ..
scaleLabel.TextColor3 = .(, , )
scaleLabel.TextScaled =
scaleLabel.Font = .Font.Gotham
scaleLabel.Parent = resizeContainer
minusBtn.MouseButton1Click:(()
menuScale = .(minScale, menuScale - scaleStep)
scaleLabel.Text = .(menuScale * ) ..
()
)
plusBtn.MouseButton1Click:(()
menuScale = .(maxScale, menuScale + scaleStep)
scaleLabel.Text = .(menuScale * ) ..
()
)
searchFrame = .()
searchFrame.Size = .(, -, , )
searchFrame.Position = .(, , , )
searchFrame.BackgroundColor3 = .(, , )
searchFrame.Parent = mainFrame
sCorner = .()
sCorner.CornerRadius = .(, )
sCorner.Parent = searchFrame
searchBox = .()
searchBox.Size = .(, -, , )
searchBox.Position = .(, , , )
searchBox.BackgroundTransparency =
searchBox.PlaceholderText =
searchBox.Text =
searchBox.TextColor3 = .(, , )
searchBox.PlaceholderColor3 = .(, , )
searchBox.TextScaled =
searchBox.Font = .Font.Gotham
searchBox.Parent = searchFrame
searchBtn = .()
searchBtn.Size = .(, , , )
searchBtn.Position = .(, -, , -)
searchBtn.BackgroundColor3 = .(, , )
searchBtn.Text =
searchBtn.TextColor3 = .(, , )
searchBtn.TextScaled =
searchBtn.Font = .Font.GothamBold
sbCorner = .()
sbCorner.CornerRadius = .(, )
sbCorner.Parent = searchBtn
searchBtn.Parent = searchFrame
strictToggle = .()
strictToggle.Size = .(, , , )
strictToggle.Position = .(, , , -)
strictToggle.BackgroundColor3 = .(, , )
strictToggle.Text =
strictToggle.TextColor3 = .(, , )
strictToggle.TextScaled =
strictToggle.Font = .Font.Gotham
stCorner = .()
stCorner.CornerRadius = .(, )
stCorner.Parent = strictToggle
strictToggle.Parent = searchFrame
promoFrame = .()
promoFrame.Size = .(, -, , )
promoFrame.Position = .(, , , )
promoFrame.BackgroundTransparency =
promoFrame.Parent = mainFrame
promoLayout = .()
promoLayout.FillDirection = .FillDirection.Horizontal
promoLayout.HorizontalAlignment = .HorizontalAlignment.Center
promoLayout.VerticalAlignment = .VerticalAlignment.Center
promoLayout.Padding = .(, )
promoLayout.Parent = promoFrame
promoItems = {
{icon = , title = , desc = },
{icon = , title = , desc = },
{icon = , title = , desc = }
}
_, item (promoItems)
frame = .()
frame.Size = .(, , , )
frame.BackgroundColor3 = .(, , )
frame.Parent = promoFrame
pCorner = .()
pCorner.CornerRadius = .(, )
pCorner.Parent = frame
icon = .()
icon.Size = .(, , , )
icon.Position = .(, , , )
icon.BackgroundTransparency =
icon.Text = item.icon
icon.TextColor3 = .(, , )
icon.TextScaled =
icon.Font = .Font.GothamBold
icon.Parent = frame
title = .()
title.Size = .(, -, , )
title.Position = .(, , , )
title.BackgroundTransparency =
title.Text = item.title
title.TextColor3 = .(, , )
title.TextScaled =
title.Font = .Font.GothamBold
title.TextXAlignment = .TextXAlignment.Left
title.Parent = frame
desc = .()
desc.Size = .(, -, , )
desc.Position = .(, , , )
desc.BackgroundTransparency =
desc.Text = item.desc
desc.TextColor3 = .(, , )
desc.TextScaled =
desc.Font = .Font.Gotham
desc.TextXAlignment = .TextXAlignment.Left
desc.TextYAlignment = .TextYAlignment.Top
desc.Parent = frame
content = .()
content.Size = .(, -, , -)
content.Position = .(, , , )
content.BackgroundColor3 = .(, , )
content.Parent = mainFrame
cCorner = .()
cCorner.CornerRadius = .(, )
cCorner.Parent = content
recentLabel = .()
recentLabel.Size = .(, -, , )
recentLabel.Position = .(, , , )
recentLabel.BackgroundTransparency =
recentLabel.Text =
recentLabel.TextColor3 = .(, , )
recentLabel.TextScaled =
recentLabel.Font = .Font.GothamBold
recentLabel.Parent = content
uploadBtn = .()
uploadBtn.Size = .(, , , )
uploadBtn.Position = .(, -, , )
uploadBtn.BackgroundColor3 = .(, , )
uploadBtn.Text =
uploadBtn.TextColor3 = .(, , )
uploadBtn.TextScaled =
uploadBtn.Font = .Font.GothamBold
uCorner = .()
uCorner.CornerRadius = .(, )
uCorner.Parent = uploadBtn
uploadBtn.Parent = content
scroll = .()
scroll.Size = .(, -, , -)
scroll.Position = .(, , , )
scroll.BackgroundTransparency =
scroll.ScrollBarThickness =
scroll.CanvasSize = .(, , , )
scroll.AutomaticCanvasSize = .AutomaticSize.Y
scroll.Parent = content
layout = .()
layout.Padding = .(, )
layout.FillDirection = .FillDirection.Vertical
layout.SortOrder = .SortOrder.LayoutOrder
layout.Parent = scroll
paginationFrame = .()
paginationFrame.Size = .(, , , )
paginationFrame.Position = .(, , , -)
paginationFrame.BackgroundTransparency =
paginationFrame.Parent = content
pageLabel = .()
pageLabel.Size = .(, , , )
pageLabel.Position = .(, -, , )
pageLabel.BackgroundTransparency =
pageLabel.Text =
pageLabel.TextColor3 = .(, , )
pageLabel.TextScaled =
pageLabel.Font = .Font.Gotham
pageLabel.Parent = paginationFrame
prevBtn = .()
prevBtn.Size = .(, , , )
prevBtn.Position = .(, -, , -)
prevBtn.BackgroundColor3 = .(, , )
prevBtn.Text =
prevBtn.TextColor3 = .(, , )
prevBtn.TextScaled =
prevBtn.Font = .Font.Gotham
prevCorner = .()
prevCorner.CornerRadius = .(, )
prevCorner.Parent = prevBtn
prevBtn.Parent = paginationFrame
nextBtn = .()
nextBtn.Size = .(, , , )
nextBtn.Position = .(, , , -)
nextBtn.BackgroundColor3 = .(, , )
nextBtn.Text =
nextBtn.TextColor3 = .(, , )
nextBtn.TextScaled =
nextBtn.Font = .Font.GothamBold
nextCorner = .()
nextCorner.CornerRadius = .(, )
nextCorner.Parent = nextBtn
nextBtn.Parent = paginationFrame
loading =
()
_, v (scroll:())
v:() v:()
(scriptId, callback)
scriptCache[scriptId]
(scriptCache[scriptId])
url = .. scriptId
(()
res = (url)
res
s, data = (HttpService.JSONDecode, HttpService, res)
s data data.result data.result.script
scriptCache[scriptId] = data.result.script
(data.result.script)
()
)
(data)
card = .()
card.Size = .(, -, , )
card.BackgroundColor3 = .(, , )
card.BorderSizePixel =
card.Parent = scroll
corner = .()
corner.CornerRadius = .(, )
corner.Parent = card
pad = .()
pad.PaddingLeft = .(, )
pad.PaddingRight = .(, )
pad.PaddingTop = .(, )
pad.PaddingBottom = .(, )
pad.Parent = card
thumb = .()
thumb.Size = .(, , , )
thumb.Position = .(, , , )
thumb.BackgroundColor3 = .(, , )
thumb.Parent = card
tCorner = .()
tCorner.CornerRadius = .(, )
tCorner.Parent = thumb
icon = .()
icon.Size = .(, , , )
icon.BackgroundTransparency =
icon.Text =
icon.TextColor3 = .(, , )
icon.TextScaled =
icon.Font = .Font.GothamBold
icon.Parent = thumb
title = .()
title.Size = .(, -, , )
title.Position = .(, , , )
title.BackgroundTransparency =
title.Text = data.title
title.TextColor3 = .(, , )
title.TextScaled =
title.Font = .Font.GothamBold
title.TextXAlignment = .TextXAlignment.Left
title.Parent = card
= .()
.Size = .(, -, , )
.Position = .(, , , )
.BackgroundTransparency =
.Text = .. (data.game data.game.name )
.TextColor3 = .(, , )
.TextScaled =
.Font = .Font.Gotham
.TextXAlignment = .TextXAlignment.Left
.Parent = card
statsFrame = .()
statsFrame.Size = .(, -, , )
statsFrame.Position = .(, , , )
statsFrame.BackgroundTransparency =
statsFrame.Parent = card
likesEmoji = .()
likesEmoji.Size = .(, , , )
likesEmoji.Position = .(, , , )
likesEmoji.BackgroundTransparency =
likesEmoji.Text =
likesEmoji.TextColor3 = .(, , )
likesEmoji.TextScaled =
likesEmoji.Font = .Font.Gotham
likesEmoji.Parent = statsFrame
likesText = .()
likesText.Size = .(, , , )
likesText.Position = .(, , , )
likesText.BackgroundTransparency =
likesText.Text = (data.likeCount )
likesText.TextColor3 = .(, , )
likesText.TextScaled =
likesText.Font = .Font.Gotham
likesText.TextXAlignment = .TextXAlignment.Left
likesText.Parent = statsFrame
viewsEmoji = .()
viewsEmoji.Size = .(, , , )
viewsEmoji.Position = .(, , , )
viewsEmoji.BackgroundTransparency =
viewsEmoji.Text =
viewsEmoji.TextColor3 = .(, , )
viewsEmoji.TextScaled =
viewsEmoji.Font = .Font.Gotham
viewsEmoji.Parent = statsFrame
viewsText = .()
viewsText.Size = .(, , , )
viewsText.Position = .(, , , )
viewsText.BackgroundTransparency =
viewsText.Text = (data.views )
viewsText.TextColor3 = .(, , )
viewsText.TextScaled =
viewsText.Font = .Font.Gotham
viewsText.TextXAlignment = .TextXAlignment.Left
viewsText.Parent = statsFrame
timeText = .()
timeText.Size = .(, , , )
timeText.Position = .(, , , )
timeText.BackgroundTransparency =
timeText.Text = (data.createdAt)
timeText.TextColor3 = .(, , )
timeText.TextScaled =
timeText.Font = .Font.Gotham
timeText.TextXAlignment = .TextXAlignment.Left
timeText.Parent = statsFrame
bestBadge = .()
bestBadge.Size = .(, , , )
bestBadge.Position = .(, , , -)
bestBadge.BackgroundColor3 = .(, , )
bestBadge.Text =
bestBadge.TextColor3 = .(, , )
bestBadge.TextScaled =
bestBadge.Font = .Font.GothamBold
bbCorner = .()
bbCorner.CornerRadius = .(, )
bbCorner.Parent = bestBadge
bestBadge.Visible = (data.likeCount ) >
bestBadge.Parent = card
card.MouseEnter:(()
TweenService:(card, TweenInfo.(), {BackgroundColor3 = .(, , )}):()
)
card.MouseLeave:(()
TweenService:(card, TweenInfo.(), {BackgroundColor3 = .(, , )}):()
)
run = .()
run.Size = .(, , , )
run.Position = .(, -, , -)
run.BackgroundColor3 = .(, , )
run.Text =
run.TextColor3 = .(, , )
run.TextScaled =
run.Font = .Font.GothamBold
run.Parent = card
rc = .()
rc.CornerRadius = .(, )
rc.Parent = run
copy = .()
copy.Size = .(, , , )
copy.Position = .(, , , -)
copy.BackgroundColor3 = .(, , )
copy.Text =
copy.TextColor3 = .(, , )
copy.TextScaled =
copy.Font = .Font.GothamBold
copy.Parent = card
cc = .()
cc.CornerRadius = .(, )
cc.Parent = copy
run.MouseButton1Click:(()
(code)
code
s, f = (, code)
s f (f)
data.script
(data.script)
run.Text =
(data._id, (code)
code (code)
run.Text =
)
)
copy.MouseButton1Click:(()
copy.Text =
copy.BackgroundColor3 = .(, , )
(code)
code code ~=
(setclipboard, code)
copy.Text =
copy.BackgroundColor3 = .(, , )
copy.Text =
copy.BackgroundColor3 = .(, , )
.(, ()
copy copy.Parent
copy.Text =
copy.BackgroundColor3 = .(, , )
)
data.script
(data.script)
(data._id, tryCopy)
)
(query, page)
all = {}
urlBase = query query ~=
url = urlBase
query query ~=
url = url .. (url:() ) .. .. HttpService:(query) .. .. page
url = url .. (url:() ) .. .. page
res = (url)
res {}
s, data = (HttpService.JSONDecode, HttpService, res)
s data.result data.result.scripts {}
_, s (data.result.scripts)
.(all, s)
all
(query)
loading
loading =
()
scripts = (query, currentPage)
#scripts >
_, s (scripts)
(s)
lbl = .()
lbl.Size = .(, , , )
lbl.BackgroundTransparency =
lbl.Text = query
lbl.TextColor3 = .(, , )
lbl.TextScaled =
lbl.Font = .Font.Gotham
lbl.Parent = scroll
pageLabel.Text = .. currentPage
prevBtn.BackgroundColor3 = currentPage > .(, , ) .(, , )
loading =
searchBtn.MouseButton1Click:(()
currentPage =
(searchBox.Text)
)
searchBox.FocusLost:((enter)
enter
currentPage =
(searchBox.Text)
)
uploadBtn.MouseButton1Click:(()
()
)
prevBtn.MouseButton1Click:(()
currentPage >
currentPage -=
(searchBox.Text)
)
nextBtn.MouseButton1Click:(()
currentPage +=
(searchBox.Text)
)
closeBtn.MouseButton1Click:(()
guiVisible =
mainFrame.Visible =
popupShown
popupShown =
popup = .()
popup.Size = .(, , , )
popup.Position = .(, -, , -)
popup.BackgroundColor3 = .(, , )
popup.Parent = screenGui
pCorner = .()
pCorner.CornerRadius = .(, )
pCorner.Parent = popup
pStroke = .()
pStroke.Color = .(, , )
pStroke.Thickness =
pStroke.Parent = popup
text = .()
text.Size = .(, , , )
text.BackgroundTransparency =
text.Text =
text.TextColor3 = .(, , )
text.TextScaled =
text.Font = .Font.Gotham
text.Parent = popup
popup.Size = .(, , , )
TweenService:(popup, TweenInfo.(, .EasingStyle.Back), {Size = .(, , , )}):()
.()
TweenService:(popup, TweenInfo.(, .EasingStyle.Back), {Size = .(, , , )}):()
.()
popup:()
popupShown =
)
UserInputService.InputBegan:((input, processed)
processed
input.KeyCode == .KeyCode.Comma
guiVisible = guiVisible
mainFrame.Visible = guiVisible
guiVisible
(searchBox.Text)
)
RunService.Heartbeat:(()
newSize = camera.ViewportSize
newSize.X ~= SCREEN_SIZE.X newSize.Y ~= SCREEN_SIZE.Y
SCREEN_SIZE = newSize
()
mainFrame.Position = .(, -mainFrame.Size.X.Offset/, , -mainFrame.Size.Y.Offset/)
)
.()
()Loads code from the internet. It downloads more code when it runs (loadstring + HttpGet), which can change after it was posted. From: scriptblox.com.
ScriptBlox GUI: Search, Run & Copy Roblox Scripts!