Run it
Copy the script and paste it into your executor.
MarketplaceService = :()
CoreGui = :()
TweenService = :()
UserInputService = :()
Players = :()
localPlayer = Players.LocalPlayer
autoBuyLoops = {}
purchaseCounts = {}
productFramesMap = {}
activeButtonResets = ({}, { __mode = })
DARK_BG = .(, , )
DARK_BG_LIGHTER = .(, , )
ACCENT = .(, , )
ACCENT_HOVER = .(, , )
TEXT_COLOR = .(, , )
TEXT_SECONDARY = .(, , )
BUTTON_BG = .(, , )
BUTTON_HOVER = .(, , )
SUCCESS_COLOR = .(, , )
(productInfo)
productId = productInfo.ProductId
success, err = (()
MarketplaceService:(localPlayer.UserId, productId, )
)
success
(()
MarketplaceService:(localPlayer, productId)
)
purchaseCounts[productId] = (purchaseCounts[productId] ) +
frame = productFramesMap[productId]
frame frame.Parent
countLabel = frame:()
countLabel
countLabel.Text = .. purchaseCounts[productId]
mainGui = .()
mainGui.ZIndexBehavior = .ZIndexBehavior.Sibling
mainGui.Parent = CoreGui
tooltipFrame = .()
tooltipFrame.Name =
tooltipFrame.BackgroundColor3 = DARK_BG
tooltipFrame.BackgroundTransparency =
tooltipFrame.BorderSizePixel =
tooltipFrame.Size = .(, , , )
tooltipFrame.Visible =
tooltipFrame.ZIndex =
tooltipFrame.Parent = mainGui
.(, tooltipFrame).CornerRadius = .(, )
.(, tooltipFrame).Color = .(, , )
tooltipPadding = .(, tooltipFrame)
tooltipPadding.PaddingTop = .(, )
tooltipPadding.PaddingBottom = .(, )
tooltipPadding.PaddingLeft = .(, )
tooltipPadding.PaddingRight = .(, )
tooltipLabel = .(, tooltipFrame)
tooltipLabel.Name =
tooltipLabel.Font = .Font.Gotham
tooltipLabel.Text =
tooltipLabel.TextColor3 = TEXT_COLOR
tooltipLabel.TextSize =
tooltipLabel.TextWrapped =
tooltipLabel.TextXAlignment = .TextXAlignment.Left
tooltipLabel.TextYAlignment = .TextYAlignment.Top
tooltipLabel.BackgroundTransparency =
tooltipLabel.AutomaticSize = .AutomaticSize.Y
tooltipLabel.Size = .(, , , )
mainFrame = .()
mainFrame.Font = .Font.GothamBold
mainFrame.Text =
mainFrame.TextColor3 = TEXT_COLOR
mainFrame.TextSize =
mainFrame.AutoButtonColor =
mainFrame.BackgroundColor3 = DARK_BG
mainFrame.BackgroundTransparency =
mainFrame.BorderSizePixel =
mainFrame.Position = .(, , , )
mainFrame.Size = .(, , , )
mainFrame.Parent = mainGui
.(, mainFrame).CornerRadius = .(, )
.(, mainFrame).Color = .(, , )
closeButton = .()
closeButton.Font = .Font.GothamBold
closeButton.Text =
closeButton.TextColor3 = TEXT_COLOR
closeButton.TextSize =
closeButton.BackgroundColor3 = ACCENT
closeButton.BackgroundTransparency =
closeButton.BorderSizePixel =
closeButton.Position = .(, -, , )
closeButton.Size = .(, , , )
closeButton.Parent = mainFrame
.(, closeButton).CornerRadius = .(, )
minimizeButton = .()
minimizeButton.Font = .Font.GothamBold
minimizeButton.Text =
minimizeButton.TextColor3 = TEXT_COLOR
minimizeButton.TextSize =
minimizeButton.BackgroundColor3 = .(, , )
minimizeButton.BackgroundTransparency =
minimizeButton.BorderSizePixel =
minimizeButton.Position = .(, -, , )
minimizeButton.Size = .(, , , )
minimizeButton.Parent = mainFrame
.(, minimizeButton).CornerRadius = .(, )
refreshButton = .()
refreshButton.Font = .Font.GothamBold
refreshButton.Text =
refreshButton.TextColor3 = TEXT_COLOR
refreshButton.TextSize =
refreshButton.BackgroundColor3 = .(, , )
refreshButton.BackgroundTransparency =
refreshButton.BorderSizePixel =
refreshButton.Position = .(, -, , )
refreshButton.Size = .(, , , )
refreshButton.Parent = mainFrame
.(, refreshButton).CornerRadius = .(, )
searchBox = .()
searchBox.Name =
searchBox.Font = .Font.Gotham
searchBox.Text =
searchBox.PlaceholderText =
searchBox.PlaceholderColor3 = .(, , )
searchBox.TextColor3 = TEXT_COLOR
searchBox.TextSize =
searchBox.BackgroundColor3 = DARK_BG_LIGHTER
searchBox.BackgroundTransparency =
searchBox.Position = .(, , , )
searchBox.Size = .(, , , )
searchBox.Parent = mainFrame
.(, searchBox).CornerRadius = .(, )
.(, searchBox).Color = .(, , )
contentContainer = .()
contentContainer.BackgroundColor3 = DARK_BG
contentContainer.BackgroundTransparency =
contentContainer.BorderSizePixel =
contentContainer.Position = .(, , , )
contentContainer.Size = .(, , , )
contentContainer.Parent = mainFrame
.(, contentContainer).CornerRadius = .(, )
.(, contentContainer).Color = .(, , )
productsScrolling = .()
productsScrolling.Name =
productsScrolling.AutomaticCanvasSize = .AutomaticSize.Y
productsScrolling.ScrollBarThickness =
productsScrolling.ScrollBarImageColor3 = .(, , )
productsScrolling.Active =
productsScrolling.BackgroundTransparency =
productsScrolling.BorderSizePixel =
productsScrolling.Size = .(, , , )
productsScrolling.Parent = contentContainer
.(, productsScrolling).SortOrder = .SortOrder.LayoutOrder
exampleProductFrame = .()
exampleProductFrame.BackgroundTransparency =
exampleProductFrame.BorderSizePixel =
exampleProductFrame.Size = .(, , , )
exampleProductFrame.Visible =
exampleProductFrame.Name =
exampleProductFrame.Parent = productsScrolling
hoverBg = .(, exampleProductFrame)
hoverBg.BackgroundColor3 = .(, , )
hoverBg.BackgroundTransparency =
hoverBg.BorderSizePixel =
hoverBg.Size = .(, , , )
hoverBg.Name =
.(, hoverBg).CornerRadius = .(, )
nameLabel = .(, exampleProductFrame)
nameLabel.Name =
nameLabel.Font = .Font.Gotham
nameLabel.Text =
nameLabel.TextColor3 = TEXT_COLOR
nameLabel.TextSize =
nameLabel.TextXAlignment = .TextXAlignment.Left
nameLabel.BackgroundTransparency =
nameLabel.Position = .(, , , )
nameLabel.Size = .(, , , )
idLabel = .(, exampleProductFrame)
idLabel.Name =
idLabel.Font = .Font.Gotham
idLabel.Text =
idLabel.TextColor3 = TEXT_COLOR
idLabel.TextSize =
idLabel.TextXAlignment = .TextXAlignment.Left
idLabel.BackgroundTransparency =
idLabel.Position = .(, , , )
idLabel.Size = .(, , , )
priceLabel = .(, exampleProductFrame)
priceLabel.Name =
priceLabel.Font = .Font.Gotham
priceLabel.Text =
priceLabel.TextColor3 = TEXT_COLOR
priceLabel.TextSize =
priceLabel.TextXAlignment = .TextXAlignment.Left
priceLabel.BackgroundTransparency =
priceLabel.Position = .(, , , )
priceLabel.Size = .(, , , )
purchaseCountLabel = .(, exampleProductFrame)
purchaseCountLabel.Name =
purchaseCountLabel.Font = .Font.Gotham
purchaseCountLabel.Text =
purchaseCountLabel.TextColor3 = TEXT_SECONDARY
purchaseCountLabel.TextSize =
purchaseCountLabel.TextXAlignment = .TextXAlignment.Left
purchaseCountLabel.BackgroundTransparency =
purchaseCountLabel.Position = .(, , , )
purchaseCountLabel.Size = .(, , , )
divider = .(, exampleProductFrame)
divider.Name =
divider.BackgroundColor3 = .(, , )
divider.BorderSizePixel =
divider.Position = .(, , , )
divider.Size = .(, , , )
clickDetector = .(, exampleProductFrame)
clickDetector.Name =
clickDetector.Text =
clickDetector.TextTransparency =
clickDetector.BackgroundTransparency =
clickDetector.Size = .(, , , )
autoBuyButton = .(, exampleProductFrame)
autoBuyButton.Name =
autoBuyButton.Font = .Font.GothamBold
autoBuyButton.Text =
autoBuyButton.TextColor3 = TEXT_COLOR
autoBuyButton.TextSize =
autoBuyButton.BackgroundColor3 = BUTTON_BG
autoBuyButton.BackgroundTransparency =
autoBuyButton.Position = .(, , , )
autoBuyButton.Size = .(, , , )
.(, autoBuyButton).CornerRadius = .(, )
copyButton = .(, exampleProductFrame)
copyButton.Name =
copyButton.Font = .Font.GothamBold
copyButton.Text =
copyButton.TextColor3 = TEXT_COLOR
copyButton.TextSize =
copyButton.BackgroundColor3 = BUTTON_BG
copyButton.BackgroundTransparency =
copyButton.Position = .(, , , )
copyButton.Size = .(, , , )
.(, copyButton).CornerRadius = .(, )
copyScriptButton = .(, exampleProductFrame)
copyScriptButton.Name =
copyScriptButton.Font = .Font.GothamBold
copyScriptButton.Text =
copyScriptButton.TextColor3 = TEXT_COLOR
copyScriptButton.TextSize =
copyScriptButton.BackgroundColor3 = BUTTON_BG
copyScriptButton.BackgroundTransparency =
copyScriptButton.Position = .(, , , )
copyScriptButton.Size = .(, , , )
.(, copyScriptButton).CornerRadius = .(, )
buyButton = .(, exampleProductFrame)
buyButton.Name =
buyButton.Font = .Font.GothamBold
buyButton.Text =
buyButton.TextColor3 = TEXT_COLOR
buyButton.TextSize =
buyButton.BackgroundColor3 = ACCENT
buyButton.BackgroundTransparency =
buyButton.Position = .(, , , )
buyButton.Size = .(, , , )
.(, buyButton).CornerRadius = .(, )
(button, hoverColor)
originalColor = button.BackgroundColor3
button.MouseEnter:(()
TweenService:(button, TweenInfo.(), { BackgroundColor3 = hoverColor }):()
)
button.MouseLeave:(()
TweenService:(button, TweenInfo.(), { BackgroundColor3 = originalColor }):()
)
()
frame, isActive (autoBuyLoops)
isActive frame frame.Parent
autoBuyLoops[frame] =
btn = frame:()
btn
btn.Text =
btn.BackgroundColor3 = BUTTON_BG
.(autoBuyLoops)
()
visibleCount =
_, child (productsScrolling:())
child:() child.Visible child.Name ~=
visibleCount = visibleCount +
productsScrolling.ScrollingEnabled = (visibleCount > )
productsScrolling.ScrollBarThickness = (visibleCount > )
allProductFrames = {}
()
_, frame (allProductFrames)
frame:()
.(allProductFrames)
success, products = (()
MarketplaceService:()
)
success
allProductsInfo = products:()
_, productInfo (allProductsInfo)
productFrame = exampleProductFrame:()
productFrame:(, productInfo.Name)
productFrame.Visible =
productFrame.Parent = productsScrolling
.(allProductFrames, productFrame)
purchaseCounts[productInfo.ProductId] =
productFramesMap[productInfo.ProductId] = productFrame
productFrame.NameLabel.Text = .. productInfo.Name
productFrame.IDLabel.Text = .. (productInfo.ProductId)
productFrame.PriceLabel.Text = .. (productInfo.PriceInRobux) ..
buttons = {
productFrame.AutoBuyButton,
productFrame.CopyButton,
productFrame.CopyScriptButton,
productFrame.BuyButton
}
productFrame.Click.MouseEnter:(()
productInfo.Description productInfo.Description:(, ) ~=
tooltipLabel.Text = productInfo.Description
tooltipFrame.Visible =
)
productFrame.Click.MouseLeave:(()
tooltipFrame.Visible =
)
_, btn (buttons)
btn.MouseEnter:(() tooltipFrame.Visible = )
btn.MouseLeave:(()
productInfo.Description productInfo.Description:(, ) ~=
tooltipFrame.Visible =
)
hoverBg = productFrame.HoverBg
productFrame.Click.MouseEnter:(()
TweenService:(hoverBg, TweenInfo.(), { BackgroundTransparency = }):()
)
productFrame.Click.MouseLeave:(()
TweenService:(hoverBg, TweenInfo.(), { BackgroundTransparency = }):()
)
autoBtn = productFrame.AutoBuyButton
autoOriginalColor = BUTTON_BG
autoBtn.MouseEnter:(()
autoBuyLoops[productFrame]
TweenService:(autoBtn, TweenInfo.(), { BackgroundColor3 = ACCENT_HOVER }):()
TweenService:(autoBtn, TweenInfo.(), { BackgroundColor3 = BUTTON_HOVER }):()
)
autoBtn.MouseLeave:(()
autoBuyLoops[productFrame]
TweenService:(autoBtn, TweenInfo.(), { BackgroundColor3 = ACCENT }):()
TweenService:(autoBtn, TweenInfo.(), { BackgroundColor3 = autoOriginalColor }):()
)
autoBtn.MouseButton1Click:(()
autoBuyLoops[productFrame] = autoBuyLoops[productFrame]
autoBuyLoops[productFrame]
autoBtn.Text =
autoBtn.BackgroundColor3 = ACCENT
.(()
autoBuyLoops[productFrame]
(productInfo)
.()
)
autoBtn.Text =
autoBtn.BackgroundColor3 = autoOriginalColor
)
copyBtn = productFrame.CopyButton
(copyBtn, BUTTON_HOVER)
copyBtn.MouseButton1Click:(()
setclipboard
((productInfo.ProductId))
origText = copyBtn.Text
origColor = copyBtn.BackgroundColor3
copyBtn.Text =
copyBtn.BackgroundColor3 = SUCCESS_COLOR
.()
copyBtn.Text = origText
copyBtn.BackgroundColor3 = origColor
)
copyScriptBtn = productFrame.CopyScriptButton
(copyScriptBtn, BUTTON_HOVER)
copyScriptBtn.MouseButton1Click:(()
setclipboard
scriptStr = .(, productInfo.ProductId)
(scriptStr)
origText = copyScriptBtn.Text
origColor = copyScriptBtn.BackgroundColor3
copyScriptBtn.Text =
copyScriptBtn.BackgroundColor3 = SUCCESS_COLOR
.()
copyScriptBtn.Text = origText
copyScriptBtn.BackgroundColor3 = origColor
)
buyBtn = productFrame.BuyButton
(buyBtn, ACCENT_HOVER)
buyBtn.MouseButton1Click:(()
activeButtonResets[buyBtn] .(activeButtonResets[buyBtn])
buyBtn:()
buyBtn:(, buyBtn.Text)
buyBtn:(, buyBtn.BackgroundColor3)
origText = buyBtn:()
origColor = buyBtn:()
buyBtn.Text =
buyBtn.BackgroundColor3 = .(, , )
(productInfo)
activeButtonResets[buyBtn] = .(()
.()
buyBtn.Text =
buyBtn.BackgroundColor3 = SUCCESS_COLOR
.()
buyBtn.Text = origText
buyBtn.BackgroundColor3 = origColor
activeButtonResets[buyBtn] =
)
)
()
searchBox:():(()
searchText = searchBox.Text:()
_, frame (allProductFrames)
productName = frame:():()
frame.Visible = searchText == .(productName, searchText, , ) ~=
()
)
UserInputService.InputChanged:((input)
tooltipFrame.Visible (input.UserInputType == .UserInputType.MouseMovement input.UserInputType == .UserInputType.Touch)
mousePos = UserInputService:()
tooltipFrame.Position = .(mousePos.X + , mousePos.Y + )
)
refreshButton.MouseButton1Click:(()
()
refreshButton.Text =
.()
refreshButton.Text =
)
(refreshButton, .(, , ))
(minimizeButton, .(, , ))
closeButton.MouseButton1Click:(()
()
mainGui:()
)
isMinimized =
minimizeButton.MouseButton1Click:(()
isMinimized = isMinimized
isMinimized
minimizeButton.Text =
minimizeButton.BackgroundColor3 = SUCCESS_COLOR
searchBox.Visible =
contentContainer.Visible =
TweenService:(mainFrame, TweenInfo.(), { Size = .(, , , ) }):()
minimizeButton.Text =
minimizeButton.BackgroundColor3 = .(, , )
searchBox.Visible =
contentContainer.Visible =
TweenService:(mainFrame, TweenInfo.(), { Size = .(, , , ) }):()
)
isDragging, dragStart, startPosition, moveConn, upConn
mainFrame.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.Touch
isDragging =
dragStart = input.Position
startPosition = mainFrame.Position
moveConn = UserInputService.InputChanged:((moveInput)
(moveInput.UserInputType == .UserInputType.MouseMovement moveInput.UserInputType == .UserInputType.Touch) isDragging
delta = moveInput.Position - dragStart
mainFrame.Position = .(
startPosition.X.Scale,
startPosition.X.Offset + delta.X,
startPosition.Y.Scale,
startPosition.Y.Offset + delta.Y
)
)
upConn = UserInputService.InputEnded:((endInput)
(endInput.UserInputType == .UserInputType.MouseButton1 endInput.UserInputType == .UserInputType.Touch) isDragging
isDragging =
moveConn moveConn:()
upConn upConn:()
)
)
()
Universal