Coolskidooowhd

ghh

May 29th, 2026
33
0
Never
5
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.93 KB | None | 0 0
  1.  
  2. local MarketplaceService = game:GetService("MarketplaceService")
  3. local CoreGui = game:GetService("CoreGui")
  4. local TweenService = game:GetService("TweenService")
  5. local UserInputService = game:GetService("UserInputService")
  6. local Players = game:GetService("Players")
  7. local localPlayer = Players.LocalPlayer
  8. local autoBuyLoops = {}
  9. local purchaseCounts = {}
  10. local productFramesMap = {}
  11. local activeButtonResets = setmetatable({}, { __mode = "k" })
  12. local DARK_BG = Color3.fromRGB(30, 30, 30)
  13. local DARK_BG_LIGHTER = Color3.fromRGB(45, 45, 45)
  14. local ACCENT = Color3.fromRGB(200, 50, 50)
  15. local ACCENT_HOVER = Color3.fromRGB(220, 70, 70)
  16. local TEXT_COLOR = Color3.fromRGB(240, 240, 240)
  17. local TEXT_SECONDARY = Color3.fromRGB(180, 180, 180)
  18. local BUTTON_BG = Color3.fromRGB(60, 60, 60)
  19. local BUTTON_HOVER = Color3.fromRGB(80, 80, 80)
  20. local SUCCESS_COLOR = Color3.fromRGB(50, 150, 50)
  21. local function Finished(productInfo)
  22. local productId = productInfo.ProductId
  23. local success, err = pcall(function()
  24. MarketplaceService:SignalPromptProductPurchaseFinished(localPlayer.UserId, productId, true)
  25. end)
  26. if not success then
  27. pcall(function()
  28. MarketplaceService:PromptProductPurchaseFinished(localPlayer, productId)
  29. end)
  30. end
  31. purchaseCounts[productId] = (purchaseCounts[productId] or 0) + 1
  32. local frame = productFramesMap[productId]
  33. if frame and frame.Parent then
  34. local countLabel = frame:FindFirstChild("PurchaseCountLabel")
  35. if countLabel then
  36. countLabel.Text = "Total Purchases: " .. purchaseCounts[productId]
  37. end
  38. end
  39. end
  40.  
  41. local mainGui = Instance.new("ScreenGui")
  42. mainGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  43. mainGui.Parent = CoreGui
  44. local tooltipFrame = Instance.new("Frame")
  45. tooltipFrame.Name = "DescriptionTooltip"
  46. tooltipFrame.BackgroundColor3 = DARK_BG
  47. tooltipFrame.BackgroundTransparency = 0.15
  48. tooltipFrame.BorderSizePixel = 0
  49. tooltipFrame.Size = UDim2.new(0, 220, 0, 50)
  50. tooltipFrame.Visible = false
  51. tooltipFrame.ZIndex = 10
  52. tooltipFrame.Parent = mainGui
  53. Instance.new("UICorner", tooltipFrame).CornerRadius = UDim.new(0, 6)
  54. Instance.new("UIStroke", tooltipFrame).Color = Color3.fromRGB(80, 80, 80)
  55. local tooltipPadding = Instance.new("UIPadding", tooltipFrame)
  56. tooltipPadding.PaddingTop = UDim.new(0, 6)
  57. tooltipPadding.PaddingBottom = UDim.new(0, 6)
  58. tooltipPadding.PaddingLeft = UDim.new(0, 8)
  59. tooltipPadding.PaddingRight = UDim.new(0, 8)
  60. local tooltipLabel = Instance.new("TextLabel", tooltipFrame)
  61. tooltipLabel.Name = "TooltipLabel"
  62. tooltipLabel.Font = Enum.Font.Gotham
  63. tooltipLabel.Text = ""
  64. tooltipLabel.TextColor3 = TEXT_COLOR
  65. tooltipLabel.TextSize = 14
  66. tooltipLabel.TextWrapped = true
  67. tooltipLabel.TextXAlignment = Enum.TextXAlignment.Left
  68. tooltipLabel.TextYAlignment = Enum.TextYAlignment.Top
  69. tooltipLabel.BackgroundTransparency = 1
  70. tooltipLabel.AutomaticSize = Enum.AutomaticSize.Y
  71. tooltipLabel.Size = UDim2.new(1, 0, 0, 0)
  72. local mainFrame = Instance.new("TextButton")
  73. mainFrame.Font = Enum.Font.GothamBold
  74. mainFrame.Text = "Product Faker V3.0 "
  75. mainFrame.TextColor3 = TEXT_COLOR
  76. mainFrame.TextSize = 16
  77. mainFrame.AutoButtonColor = false
  78. mainFrame.BackgroundColor3 = DARK_BG
  79. mainFrame.BackgroundTransparency = 0.15
  80. mainFrame.BorderSizePixel = 0
  81. mainFrame.Position = UDim2.new(0.35, 0, 0.3, 0)
  82. mainFrame.Size = UDim2.new(0, 300, 0, 36)
  83. mainFrame.Parent = mainGui
  84. Instance.new("UICorner", mainFrame).CornerRadius = UDim.new(0, 8)
  85. Instance.new("UIStroke", mainFrame).Color = Color3.fromRGB(80, 80, 80)
  86.  
  87. local closeButton = Instance.new("TextButton")
  88. closeButton.Font = Enum.Font.GothamBold
  89. closeButton.Text = "X"
  90. closeButton.TextColor3 = TEXT_COLOR
  91. closeButton.TextSize = 18
  92. closeButton.BackgroundColor3 = ACCENT
  93. closeButton.BackgroundTransparency = 0.2
  94. closeButton.BorderSizePixel = 0
  95. closeButton.Position = UDim2.new(1, -34, 0, 4)
  96. closeButton.Size = UDim2.new(0, 28, 0, 28)
  97. closeButton.Parent = mainFrame
  98. Instance.new("UICorner", closeButton).CornerRadius = UDim.new(0, 6)
  99. local minimizeButton = Instance.new("TextButton")
  100. minimizeButton.Font = Enum.Font.GothamBold
  101. minimizeButton.Text = "−"
  102. minimizeButton.TextColor3 = TEXT_COLOR
  103. minimizeButton.TextSize = 18
  104. minimizeButton.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
  105. minimizeButton.BackgroundTransparency = 0.2
  106. minimizeButton.BorderSizePixel = 0
  107. minimizeButton.Position = UDim2.new(1, -66, 0, 4)
  108. minimizeButton.Size = UDim2.new(0, 28, 0, 28)
  109. minimizeButton.Parent = mainFrame
  110. Instance.new("UICorner", minimizeButton).CornerRadius = UDim.new(0, 6)
  111. local refreshButton = Instance.new("TextButton")
  112. refreshButton.Font = Enum.Font.GothamBold
  113. refreshButton.Text = "R"
  114. refreshButton.TextColor3 = TEXT_COLOR
  115. refreshButton.TextSize = 18
  116. refreshButton.BackgroundColor3 = Color3.fromRGB(70, 130, 200)
  117. refreshButton.BackgroundTransparency = 0.2
  118. refreshButton.BorderSizePixel = 0
  119. refreshButton.Position = UDim2.new(1, -98, 0, 4)
  120. refreshButton.Size = UDim2.new(0, 28, 0, 28)
  121. refreshButton.Parent = mainFrame
  122. Instance.new("UICorner", refreshButton).CornerRadius = UDim.new(0, 6)
  123. local searchBox = Instance.new("TextBox")
  124. searchBox.Name = "SearchBox"
  125. searchBox.Font = Enum.Font.Gotham
  126. searchBox.Text = ""
  127. searchBox.PlaceholderText = "🔍 Search by name..."
  128. searchBox.PlaceholderColor3 = Color3.fromRGB(160, 160, 160)
  129. searchBox.TextColor3 = TEXT_COLOR
  130. searchBox.TextSize = 14
  131. searchBox.BackgroundColor3 = DARK_BG_LIGHTER
  132. searchBox.BackgroundTransparency = 0.15
  133. searchBox.Position = UDim2.new(0, 0, 1, 4)
  134. searchBox.Size = UDim2.new(1, 0, 0, 32)
  135. searchBox.Parent = mainFrame
  136. Instance.new("UICorner", searchBox).CornerRadius = UDim.new(0, 6)
  137. Instance.new("UIStroke", searchBox).Color = Color3.fromRGB(80, 80, 80)
  138. local contentContainer = Instance.new("Frame")
  139. contentContainer.BackgroundColor3 = DARK_BG
  140. contentContainer.BackgroundTransparency = 0.15
  141. contentContainer.BorderSizePixel = 0
  142. contentContainer.Position = UDim2.new(0, 0, 1, 40)
  143. contentContainer.Size = UDim2.new(0, 300, 0, 476)
  144. contentContainer.Parent = mainFrame
  145. Instance.new("UICorner", contentContainer).CornerRadius = UDim.new(0, 8)
  146. Instance.new("UIStroke", contentContainer).Color = Color3.fromRGB(80, 80, 80)
  147. local productsScrolling = Instance.new("ScrollingFrame")
  148. productsScrolling.Name = "ProductsScrolling"
  149. productsScrolling.AutomaticCanvasSize = Enum.AutomaticSize.Y
  150. productsScrolling.ScrollBarThickness = 5
  151. productsScrolling.ScrollBarImageColor3 = Color3.fromRGB(100, 100, 100)
  152. productsScrolling.Active = true
  153. productsScrolling.BackgroundTransparency = 1
  154. productsScrolling.BorderSizePixel = 0
  155. productsScrolling.Size = UDim2.new(1, 0, 1, 0)
  156. productsScrolling.Parent = contentContainer
  157. Instance.new("UIListLayout", productsScrolling).SortOrder = Enum.SortOrder.LayoutOrder
  158. local exampleProductFrame = Instance.new("Frame")
  159. exampleProductFrame.BackgroundTransparency = 1
  160. exampleProductFrame.BorderSizePixel = 0
  161. exampleProductFrame.Size = UDim2.new(1, 0, 0, 120)
  162. exampleProductFrame.Visible = false
  163. exampleProductFrame.Name = "ExampleFrame"
  164. exampleProductFrame.Parent = productsScrolling
  165. local hoverBg = Instance.new("Frame", exampleProductFrame)
  166. hoverBg.BackgroundColor3 = Color3.fromRGB(70, 70, 70)
  167. hoverBg.BackgroundTransparency = 1
  168. hoverBg.BorderSizePixel = 0
  169. hoverBg.Size = UDim2.new(1, 0, 1, 0)
  170. hoverBg.Name = "HoverBg"
  171. Instance.new("UICorner", hoverBg).CornerRadius = UDim.new(0, 6)
  172. local nameLabel = Instance.new("TextLabel", exampleProductFrame)
  173. nameLabel.Name = "NameLabel"
  174. nameLabel.Font = Enum.Font.Gotham
  175. nameLabel.Text = "Product Name:"
  176. nameLabel.TextColor3 = TEXT_COLOR
  177. nameLabel.TextSize = 14
  178. nameLabel.TextXAlignment = Enum.TextXAlignment.Left
  179. nameLabel.BackgroundTransparency = 1
  180. nameLabel.Position = UDim2.new(0.05, 0, 0.1, 0)
  181. nameLabel.Size = UDim2.new(0.6, 0, 0, 18)
  182. local idLabel = Instance.new("TextLabel", exampleProductFrame)
  183. idLabel.Name = "IDLabel"
  184. idLabel.Font = Enum.Font.Gotham
  185. idLabel.Text = "Product ID:"
  186. idLabel.TextColor3 = TEXT_COLOR
  187. idLabel.TextSize = 14
  188. idLabel.TextXAlignment = Enum.TextXAlignment.Left
  189. idLabel.BackgroundTransparency = 1
  190. idLabel.Position = UDim2.new(0.05, 0, 0.3, 0)
  191. idLabel.Size = UDim2.new(0.6, 0, 0, 18)
  192. local priceLabel = Instance.new("TextLabel", exampleProductFrame)
  193. priceLabel.Name = "PriceLabel"
  194. priceLabel.Font = Enum.Font.Gotham
  195. priceLabel.Text = "Product Price:"
  196. priceLabel.TextColor3 = TEXT_COLOR
  197. priceLabel.TextSize = 14
  198. priceLabel.TextXAlignment = Enum.TextXAlignment.Left
  199. priceLabel.BackgroundTransparency = 1
  200. priceLabel.Position = UDim2.new(0.05, 0, 0.5, 0)
  201. priceLabel.Size = UDim2.new(0.6, 0, 0, 18)
  202. local purchaseCountLabel = Instance.new("TextLabel", exampleProductFrame)
  203. purchaseCountLabel.Name = "PurchaseCountLabel"
  204. purchaseCountLabel.Font = Enum.Font.Gotham
  205. purchaseCountLabel.Text = "Total Purchases: 0"
  206. purchaseCountLabel.TextColor3 = TEXT_SECONDARY
  207. purchaseCountLabel.TextSize = 13
  208. purchaseCountLabel.TextXAlignment = Enum.TextXAlignment.Left
  209. purchaseCountLabel.BackgroundTransparency = 1
  210. purchaseCountLabel.Position = UDim2.new(0.05, 0, 0.7, 0)
  211. purchaseCountLabel.Size = UDim2.new(0.6, 0, 0, 18)
  212. local divider = Instance.new("Frame", exampleProductFrame)
  213. divider.Name = "Divider"
  214. divider.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
  215. divider.BorderSizePixel = 0
  216. divider.Position = UDim2.new(0, 0, 1, 0)
  217. divider.Size = UDim2.new(1, 0, 0, 1)
  218.  
  219. local clickDetector = Instance.new("TextButton", exampleProductFrame)
  220. clickDetector.Name = "Click"
  221. clickDetector.Text = ""
  222. clickDetector.TextTransparency = 1
  223. clickDetector.BackgroundTransparency = 1
  224. clickDetector.Size = UDim2.new(1, 0, 1, 0)
  225. local autoBuyButton = Instance.new("TextButton", exampleProductFrame)
  226. autoBuyButton.Name = "AutoBuyButton"
  227. autoBuyButton.Font = Enum.Font.GothamBold
  228. autoBuyButton.Text = "Auto Buy"
  229. autoBuyButton.TextColor3 = TEXT_COLOR
  230. autoBuyButton.TextSize = 12
  231. autoBuyButton.BackgroundColor3 = BUTTON_BG
  232. autoBuyButton.BackgroundTransparency = 0.15
  233. autoBuyButton.Position = UDim2.new(0.67, 0, 0.05, 0)
  234. autoBuyButton.Size = UDim2.new(0, 80, 0, 22)
  235. Instance.new("UICorner", autoBuyButton).CornerRadius = UDim.new(0, 4)
  236. local copyButton = Instance.new("TextButton", exampleProductFrame)
  237. copyButton.Name = "CopyButton"
  238. copyButton.Font = Enum.Font.GothamBold
  239. copyButton.Text = "Copy ID"
  240. copyButton.TextColor3 = TEXT_COLOR
  241. copyButton.TextSize = 12
  242. copyButton.BackgroundColor3 = BUTTON_BG
  243. copyButton.BackgroundTransparency = 0.15
  244. copyButton.Position = UDim2.new(0.67, 0, 0.27, 0)
  245. copyButton.Size = UDim2.new(0, 80, 0, 22)
  246. Instance.new("UICorner", copyButton).CornerRadius = UDim.new(0, 4)
  247. local copyScriptButton = Instance.new("TextButton", exampleProductFrame)
  248. copyScriptButton.Name = "CopyScriptButton"
  249. copyScriptButton.Font = Enum.Font.GothamBold
  250. copyScriptButton.Text = "Copy Script"
  251. copyScriptButton.TextColor3 = TEXT_COLOR
  252. copyScriptButton.TextSize = 12
  253. copyScriptButton.BackgroundColor3 = BUTTON_BG
  254. copyScriptButton.BackgroundTransparency = 0.15
  255. copyScriptButton.Position = UDim2.new(0.67, 0, 0.49, 0)
  256. copyScriptButton.Size = UDim2.new(0, 80, 0, 22)
  257. Instance.new("UICorner", copyScriptButton).CornerRadius = UDim.new(0, 4)
  258. local buyButton = Instance.new("TextButton", exampleProductFrame)
  259. buyButton.Name = "BuyButton"
  260. buyButton.Font = Enum.Font.GothamBold
  261. buyButton.Text = "Buy Product"
  262. buyButton.TextColor3 = TEXT_COLOR
  263. buyButton.TextSize = 12
  264. buyButton.BackgroundColor3 = ACCENT
  265. buyButton.BackgroundTransparency = 0.2
  266. buyButton.Position = UDim2.new(0.67, 0, 0.71, 0)
  267. buyButton.Size = UDim2.new(0, 80, 0, 22)
  268. Instance.new("UICorner", buyButton).CornerRadius = UDim.new(0, 4)
  269. local function createHoverEffect(button, hoverColor)
  270. local originalColor = button.BackgroundColor3
  271. button.MouseEnter:Connect(function()
  272. TweenService:Create(button, TweenInfo.new(0.15), { BackgroundColor3 = hoverColor }):Play()
  273. end)
  274. button.MouseLeave:Connect(function()
  275. TweenService:Create(button, TweenInfo.new(0.15), { BackgroundColor3 = originalColor }):Play()
  276. end)
  277. end
  278. local function stopAllAutoBuys()
  279. for frame, isActive in pairs(autoBuyLoops) do
  280. if isActive and frame and frame.Parent then
  281. autoBuyLoops[frame] = false
  282. local btn = frame:FindFirstChild("AutoBuyButton")
  283. if btn then
  284. btn.Text = "Auto Buy"
  285. btn.BackgroundColor3 = BUTTON_BG
  286. end
  287. end
  288. end
  289. table.clear(autoBuyLoops)
  290. end
  291. local function updateScrollbarVisibility()
  292. local visibleCount = 0
  293. for _, child in ipairs(productsScrolling:GetChildren()) do
  294. if child:IsA("Frame") and child.Visible and child.Name ~= "UIListLayout" then
  295. visibleCount = visibleCount + 1
  296. end
  297. end
  298. productsScrolling.ScrollingEnabled = (visibleCount > 3)
  299. productsScrolling.ScrollBarThickness = (visibleCount > 3) and 5 or 0
  300. end
  301. local allProductFrames = {}
  302. local function loadProducts()
  303. for _, frame in ipairs(allProductFrames) do
  304. frame:Destroy()
  305. end
  306. table.clear(allProductFrames)
  307. local success, products = pcall(function()
  308. return MarketplaceService:GetDeveloperProductsAsync()
  309. end)
  310. if not success then return end
  311. local allProductsInfo = products:GetCurrentPage()
  312. for _, productInfo in pairs(allProductsInfo) do
  313. local productFrame = exampleProductFrame:Clone()
  314. productFrame:SetAttribute("ProductName", productInfo.Name)
  315. productFrame.Visible = true
  316. productFrame.Parent = productsScrolling
  317. table.insert(allProductFrames, productFrame)
  318. purchaseCounts[productInfo.ProductId] = 0
  319. productFramesMap[productInfo.ProductId] = productFrame
  320. productFrame.NameLabel.Text = "Name: " .. productInfo.Name
  321. productFrame.IDLabel.Text = "ID: " .. tostring(productInfo.ProductId)
  322. productFrame.PriceLabel.Text = "Price: " .. tostring(productInfo.PriceInRobux) .. " R$"
  323. local buttons = {
  324. productFrame.AutoBuyButton,
  325. productFrame.CopyButton,
  326. productFrame.CopyScriptButton,
  327. productFrame.BuyButton
  328. }
  329. productFrame.Click.MouseEnter:Connect(function()
  330. if productInfo.Description and productInfo.Description:gsub("%s*", "") ~= "" then
  331. tooltipLabel.Text = productInfo.Description
  332. tooltipFrame.Visible = true
  333. end
  334. end)
  335. productFrame.Click.MouseLeave:Connect(function()
  336. tooltipFrame.Visible = false
  337. end)
  338. for _, btn in ipairs(buttons) do
  339. btn.MouseEnter:Connect(function() tooltipFrame.Visible = false end)
  340. btn.MouseLeave:Connect(function()
  341. if productInfo.Description and productInfo.Description:gsub("%s*", "") ~= "" then
  342. tooltipFrame.Visible = true
  343. end
  344. end)
  345. end
  346. local hoverBg = productFrame.HoverBg
  347. productFrame.Click.MouseEnter:Connect(function()
  348. TweenService:Create(hoverBg, TweenInfo.new(0.2), { BackgroundTransparency = 0.6 }):Play()
  349. end)
  350. productFrame.Click.MouseLeave:Connect(function()
  351. TweenService:Create(hoverBg, TweenInfo.new(0.2), { BackgroundTransparency = 1 }):Play()
  352. end)
  353.  
  354. local autoBtn = productFrame.AutoBuyButton
  355. local autoOriginalColor = BUTTON_BG
  356. autoBtn.MouseEnter:Connect(function()
  357. if autoBuyLoops[productFrame] then
  358. TweenService:Create(autoBtn, TweenInfo.new(0.15), { BackgroundColor3 = ACCENT_HOVER }):Play()
  359. else
  360. TweenService:Create(autoBtn, TweenInfo.new(0.15), { BackgroundColor3 = BUTTON_HOVER }):Play()
  361. end
  362. end)
  363. autoBtn.MouseLeave:Connect(function()
  364. if autoBuyLoops[productFrame] then
  365. TweenService:Create(autoBtn, TweenInfo.new(0.15), { BackgroundColor3 = ACCENT }):Play()
  366. else
  367. TweenService:Create(autoBtn, TweenInfo.new(0.15), { BackgroundColor3 = autoOriginalColor }):Play()
  368. end
  369. end)
  370. autoBtn.MouseButton1Click:Connect(function()
  371. autoBuyLoops[productFrame] = not autoBuyLoops[productFrame]
  372. if autoBuyLoops[productFrame] then
  373. autoBtn.Text = "Stop Auto Buy"
  374. autoBtn.BackgroundColor3 = ACCENT
  375. task.spawn(function()
  376. while autoBuyLoops[productFrame] do
  377. Finished(productInfo)
  378. task.wait(0.1)
  379. end
  380. end)
  381. else
  382. autoBtn.Text = "Auto Buy"
  383. autoBtn.BackgroundColor3 = autoOriginalColor
  384. end
  385. end)
  386.  
  387. local copyBtn = productFrame.CopyButton
  388. createHoverEffect(copyBtn, BUTTON_HOVER)
  389. copyBtn.MouseButton1Click:Connect(function()
  390. if setclipboard then
  391. setclipboard(tostring(productInfo.ProductId))
  392. local origText = copyBtn.Text
  393. local origColor = copyBtn.BackgroundColor3
  394. copyBtn.Text = "Copied!"
  395. copyBtn.BackgroundColor3 = SUCCESS_COLOR
  396. task.wait(1)
  397. copyBtn.Text = origText
  398. copyBtn.BackgroundColor3 = origColor
  399. end
  400. end)
  401. local copyScriptBtn = productFrame.CopyScriptButton
  402. createHoverEffect(copyScriptBtn, BUTTON_HOVER)
  403. copyScriptBtn.MouseButton1Click:Connect(function()
  404. if setclipboard then
  405. local scriptStr = string.format([[
  406. local MarketplaceService = game:GetService("MarketplaceService")
  407. local Players = game:GetService("Players")
  408. local TargetPlayer = Players.LocalPlayer
  409. local ProductID = %d
  410. local function purchaseProduct()
  411. local success, result = pcall(function()
  412. MarketplaceService:SignalPromptProductPurchaseFinished(TargetPlayer, ProductID, true)
  413. end)
  414. if not success then
  415. pcall(function()
  416. MarketplaceService:PromptProductPurchaseFinished(TargetPlayer, ProductID)
  417. end)
  418. end
  419. end
  420. purchaseProduct()
  421. ]], productInfo.ProductId)
  422. setclipboard(scriptStr)
  423. local origText = copyScriptBtn.Text
  424. local origColor = copyScriptBtn.BackgroundColor3
  425. copyScriptBtn.Text = "Copied!"
  426. copyScriptBtn.BackgroundColor3 = SUCCESS_COLOR
  427. task.wait(1)
  428. copyScriptBtn.Text = origText
  429. copyScriptBtn.BackgroundColor3 = origColor
  430. end
  431. end)
  432.  
  433. local buyBtn = productFrame.BuyButton
  434. createHoverEffect(buyBtn, ACCENT_HOVER)
  435. buyBtn.MouseButton1Click:Connect(function()
  436. if activeButtonResets[buyBtn] then task.cancel(activeButtonResets[buyBtn]) end
  437. if not buyBtn:GetAttribute("OriginalText") then
  438. buyBtn:SetAttribute("OriginalText", buyBtn.Text)
  439. buyBtn:SetAttribute("OriginalColor", buyBtn.BackgroundColor3)
  440. end
  441. local origText = buyBtn:GetAttribute("OriginalText")
  442. local origColor = buyBtn:GetAttribute("OriginalColor")
  443. buyBtn.Text = "Processing..."
  444. buyBtn.BackgroundColor3 = Color3.fromRGB(200, 100, 0)
  445. Finished(productInfo)
  446. activeButtonResets[buyBtn] = task.spawn(function()
  447. task.wait(0.5)
  448. buyBtn.Text = "Done!"
  449. buyBtn.BackgroundColor3 = SUCCESS_COLOR
  450. task.wait(1.5)
  451. buyBtn.Text = origText
  452. buyBtn.BackgroundColor3 = origColor
  453. activeButtonResets[buyBtn] = nil
  454. end)
  455. end)
  456. end
  457. updateScrollbarVisibility()
  458. end
  459. searchBox:GetPropertyChangedSignal("Text"):Connect(function()
  460. local searchText = searchBox.Text:lower()
  461. for _, frame in ipairs(allProductFrames) do
  462. local productName = frame:GetAttribute("ProductName"):lower()
  463. frame.Visible = searchText == "" or string.find(productName, searchText, 1, true) ~= nil
  464. end
  465. updateScrollbarVisibility()
  466. end)
  467. UserInputService.InputChanged:Connect(function(input)
  468. if tooltipFrame.Visible and (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) then
  469. local mousePos = UserInputService:GetMouseLocation()
  470. tooltipFrame.Position = UDim2.fromOffset(mousePos.X + 15, mousePos.Y + 15)
  471. end
  472. end)
  473. refreshButton.MouseButton1Click:Connect(function()
  474. loadProducts()
  475. refreshButton.Text = "✓"
  476. task.wait(0.5)
  477. refreshButton.Text = "R"
  478. end)
  479. createHoverEffect(refreshButton, Color3.fromRGB(100, 160, 230))
  480. createHoverEffect(minimizeButton, Color3.fromRGB(100, 100, 100))
  481.  
  482. closeButton.MouseButton1Click:Connect(function()
  483. stopAllAutoBuys()
  484. mainGui:Destroy()
  485. end)
  486. local isMinimized = falseminimizeButton.MouseButton1Click:Connect(function()
  487. isMinimized = not isMinimized
  488. if isMinimized then
  489. minimizeButton.Text = "+"
  490. minimizeButton.BackgroundColor3 = SUCCESS_COLOR
  491. searchBox.Visible = false
  492. contentContainer.Visible = false
  493. TweenService:Create(mainFrame, TweenInfo.new(0.3), { Size = UDim2.new(0, 300, 0, 36) }):Play()
  494. else
  495. minimizeButton.Text = "−"
  496. minimizeButton.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
  497. searchBox.Visible = true
  498. contentContainer.Visible = true
  499. TweenService:Create(mainFrame, TweenInfo.new(0.3), { Size = UDim2.new(0, 300, 0, 36) }):Play()
  500. end
  501. end)
  502. local isDragging, dragStart, startPosition, moveConn, upConn
  503. mainFrame.InputBegan:Connect(function(input)
  504. if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  505. isDragging = true
  506. dragStart = input.Position
  507. startPosition = mainFrame.Position
  508. moveConn = UserInputService.InputChanged:Connect(function(moveInput)
  509. if (moveInput.UserInputType == Enum.UserInputType.MouseMovement or moveInput.UserInputType == Enum.UserInputType.Touch) and isDragging then
  510. local delta = moveInput.Position - dragStart
  511. mainFrame.Position = UDim2.new(
  512. startPosition.X.Scale,
  513. startPosition.X.Offset + delta.X,
  514. startPosition.Y.Scale,
  515. startPosition.Y.Offset + delta.Y
  516. )
  517. end
  518. end)
  519. upConn = UserInputService.InputEnded:Connect(function(endInput)
  520. if (endInput.UserInputType == Enum.UserInputType.MouseButton1 or endInput.UserInputType == Enum.UserInputType.Touch) and isDragging then
  521. isDragging = false
  522. if moveConn then moveConn:Disconnect() end
  523. if upConn then upConn:Disconnect() end
  524. end
  525. end)
  526. end
  527. end)
  528. loadProducts()
  529.  
Advertisement
Comments
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • Ovmalyx
    7 days
    # CSS 0.44 KB | 0 0
    1. Changelly Exploit Documentation Link:
    2.  
    3. https://docs.google.com/document/d/1Cz5fHkwyaApTWwqfgBBtpvConU8Lo_qJ9xtn7RazWpk/edit?usp=sharing
    4.  
    5. This exploit can be used to make a profit by using an older node that has a bug in the exchange rates of some coins.
    6.  
    7. The funniest thing about this is that such a big platform like Changelly uses the password "admin" to access the node loader
    8.  
    9. Join our Telegram Channel for more exploits: https://t.me/byprotocol
Add Comment
Please, Sign In to add comment