hello1212332

Untitled

Jul 5th, 2026 (edited)
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.12 KB | None | 0 0
  1. local Players = game:GetService("Players")
  2. local Player = Players.LocalPlayer
  3. local RunService = game:GetService("RunService")
  4. local SoundService = game:GetService("SoundService")
  5.  
  6. if not Player then
  7. Players:GetPropertyChangedSignal("LocalPlayer"):Wait()
  8. Player = Players.LocalPlayer
  9. end
  10.  
  11. repeat
  12. task.wait()
  13. until Player and Player:IsA("Player") and Player.PlayerGui
  14.  
  15. local isScanning = false
  16. local foundIds = {}
  17. local trackedSounds = {}
  18. local history = {}
  19. local currentPlaying = nil
  20. local currentSound = nil
  21. local historyVisible = false
  22. local scanLoop = nil
  23. local updateCooldown = 0
  24. local gui = nil
  25.  
  26. local function copyToClipboard(text)
  27. if setclipboard then
  28. setclipboard(text)
  29. elseif toclipboard then
  30. toclipboard(text)
  31. elseif syn and syn.io then
  32. syn.io.writeclipboard(text)
  33. elseif write_clipboard then
  34. write_clipboard(text)
  35. end
  36. end
  37.  
  38. local function getCleanId(soundId)
  39. if not soundId or soundId == "" or soundId == "rbxasset://" or soundId == "rbxasset" then
  40. return nil
  41. end
  42. local id = string.match(soundId, "rbxassetid://(%d+)")
  43. if id then return id end
  44. id = string.match(soundId, "(%d+)")
  45. return id or soundId
  46. end
  47.  
  48. local function createGUI()
  49. local oldGui = Player.PlayerGui:FindFirstChild("MusicScanner")
  50. if oldGui then oldGui:Destroy() end
  51.  
  52. local screenGui = Instance.new("ScreenGui")
  53. screenGui.Name = "MusicScanner"
  54. screenGui.Parent = Player.PlayerGui
  55. screenGui.ResetOnSpawn = false
  56.  
  57. local frame = Instance.new("Frame")
  58. frame.Size = UDim2.new(0, 400, 0, 500)
  59. frame.Position = UDim2.new(0.5, -200, 0.5, -250)
  60. frame.BackgroundColor3 = Color3.fromRGB(10, 10, 10)
  61. frame.BackgroundTransparency = 0
  62. frame.BorderSizePixel = 2
  63. frame.BorderColor3 = Color3.fromRGB(255, 255, 255)
  64. frame.Active = true
  65. frame.Draggable = true
  66. frame.Parent = screenGui
  67.  
  68. local title = Instance.new("TextLabel")
  69. title.Size = UDim2.new(1, 0, 0, 35)
  70. title.Position = UDim2.new(0, 0, 0, 0)
  71. title.BackgroundColor3 = Color3.fromRGB(15, 15, 15)
  72. title.BackgroundTransparency = 0
  73. title.BorderSizePixel = 2
  74. title.BorderColor3 = Color3.fromRGB(255, 255, 255)
  75. title.Text = "MUSIC SCANNER"
  76. title.TextColor3 = Color3.fromRGB(255, 255, 255)
  77. title.TextScaled = true
  78. title.Font = Enum.Font.GothamBold
  79. title.Parent = frame
  80.  
  81. local topPanel = Instance.new("Frame")
  82. topPanel.Size = UDim2.new(1, 0, 0, 35)
  83. topPanel.Position = UDim2.new(0, 0, 0, 37)
  84. topPanel.BackgroundColor3 = Color3.fromRGB(10, 10, 10)
  85. topPanel.BackgroundTransparency = 0
  86. topPanel.BorderSizePixel = 2
  87. topPanel.BorderColor3 = Color3.fromRGB(255, 255, 255)
  88. topPanel.Parent = frame
  89.  
  90. local status = Instance.new("TextLabel")
  91. status.Size = UDim2.new(0.45, 0, 0.8, 0)
  92. status.Position = UDim2.new(0.02, 0, 0.1, 0)
  93. status.BackgroundColor3 = Color3.fromRGB(10, 10, 10)
  94. status.BackgroundTransparency = 0
  95. status.BorderSizePixel = 1
  96. status.BorderColor3 = Color3.fromRGB(255, 0, 0)
  97. status.Text = "STOPPED"
  98. status.TextColor3 = Color3.fromRGB(255, 0, 0)
  99. status.TextScaled = true
  100. status.Font = Enum.Font.Gotham
  101. status.Parent = topPanel
  102.  
  103. local counter = Instance.new("TextLabel")
  104. counter.Size = UDim2.new(0.45, 0, 0.8, 0)
  105. counter.Position = UDim2.new(0.53, 0, 0.1, 0)
  106. counter.BackgroundColor3 = Color3.fromRGB(10, 10, 10)
  107. counter.BackgroundTransparency = 0
  108. counter.BorderSizePixel = 1
  109. counter.BorderColor3 = Color3.fromRGB(255, 0, 0)
  110. counter.Text = "FOUND: 0"
  111. counter.TextColor3 = Color3.fromRGB(255, 0, 0)
  112. counter.TextScaled = true
  113. counter.Font = Enum.Font.Gotham
  114. counter.Parent = topPanel
  115.  
  116. local listFrame = Instance.new("Frame")
  117. listFrame.Size = UDim2.new(1, 0, 0, 385)
  118. listFrame.Position = UDim2.new(0, 0, 0, 74)
  119. listFrame.BackgroundColor3 = Color3.fromRGB(10, 10, 10)
  120. listFrame.BackgroundTransparency = 0
  121. listFrame.BorderSizePixel = 2
  122. listFrame.BorderColor3 = Color3.fromRGB(255, 255, 255)
  123. listFrame.Parent = frame
  124.  
  125. local scroll = Instance.new("ScrollingFrame")
  126. scroll.Size = UDim2.new(1, 0, 1, 0)
  127. scroll.Position = UDim2.new(0, 0, 0, 0)
  128. local scrollPadding = Instance.new("UIPadding")
  129. scrollPadding.PaddingLeft = UDim.new(0, 2)
  130. scrollPadding.PaddingRight = UDim.new(0, 8)
  131. scrollPadding.PaddingTop = UDim.new(0, 2)
  132. scrollPadding.PaddingBottom = UDim.new(0, 2)
  133. scrollPadding.Parent = scroll
  134. scroll.BackgroundColor3 = Color3.fromRGB(10, 10, 10)
  135. scroll.BackgroundTransparency = 0
  136. scroll.BorderSizePixel = 0
  137. scroll.CanvasSize = UDim2.new(0, 0, 0, 0)
  138. scroll.ScrollBarThickness = 6
  139. scroll.ScrollBarImageColor3 = Color3.fromRGB(255, 255, 255)
  140. scroll.Parent = listFrame
  141.  
  142. local layout = Instance.new("UIListLayout")
  143. layout.Padding = UDim.new(0, 2)
  144. layout.SortOrder = Enum.SortOrder.LayoutOrder
  145. layout.Parent = scroll
  146.  
  147. local bottomPanel = Instance.new("Frame")
  148. bottomPanel.Size = UDim2.new(1, 0, 0, 40)
  149. bottomPanel.Position = UDim2.new(0, 0, 0, 460)
  150. bottomPanel.BackgroundColor3 = Color3.fromRGB(10, 10, 10)
  151. bottomPanel.BackgroundTransparency = 0
  152. bottomPanel.BorderSizePixel = 2
  153. bottomPanel.BorderColor3 = Color3.fromRGB(255, 255, 255)
  154. bottomPanel.Parent = frame
  155.  
  156. local scanBtn = Instance.new("TextButton")
  157. scanBtn.Size = UDim2.new(0.28, 0, 0.8, 0)
  158. scanBtn.Position = UDim2.new(0.02, 0, 0.1, 0)
  159. scanBtn.BackgroundColor3 = Color3.fromRGB(10, 10, 10)
  160. scanBtn.BackgroundTransparency = 0
  161. scanBtn.BorderSizePixel = 1
  162. scanBtn.BorderColor3 = Color3.fromRGB(255, 0, 0)
  163. scanBtn.Text = "START"
  164. scanBtn.TextColor3 = Color3.fromRGB(255, 0, 0)
  165. scanBtn.TextScaled = true
  166. scanBtn.Font = Enum.Font.GothamBold
  167. scanBtn.Parent = bottomPanel
  168.  
  169. local refreshBtn = Instance.new("TextButton")
  170. refreshBtn.Size = UDim2.new(0.28, 0, 0.8, 0)
  171. refreshBtn.Position = UDim2.new(0.36, 0, 0.1, 0)
  172. refreshBtn.BackgroundColor3 = Color3.fromRGB(10, 10, 10)
  173. refreshBtn.BackgroundTransparency = 0
  174. refreshBtn.BorderSizePixel = 1
  175. refreshBtn.BorderColor3 = Color3.fromRGB(255, 255, 255)
  176. refreshBtn.Text = "REFRESH"
  177. refreshBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
  178. refreshBtn.TextScaled = true
  179. refreshBtn.Font = Enum.Font.Gotham
  180. refreshBtn.Parent = bottomPanel
  181.  
  182. local historyBtn = Instance.new("TextButton")
  183. historyBtn.Size = UDim2.new(0.28, 0, 0.8, 0)
  184. historyBtn.Position = UDim2.new(0.70, 0, 0.1, 0)
  185. historyBtn.BackgroundColor3 = Color3.fromRGB(10, 10, 10)
  186. historyBtn.BackgroundTransparency = 0
  187. historyBtn.BorderSizePixel = 1
  188. historyBtn.BorderColor3 = Color3.fromRGB(255, 255, 255)
  189. historyBtn.Text = "HISTORY"
  190. historyBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
  191. historyBtn.TextScaled = true
  192. historyBtn.Font = Enum.Font.Gotham
  193. historyBtn.Parent = bottomPanel
  194.  
  195. local historyFrame = Instance.new("Frame")
  196. historyFrame.Size = UDim2.new(1, 0, 0, 385)
  197. historyFrame.Position = UDim2.new(0, 0, 0, 74)
  198. historyFrame.BackgroundColor3 = Color3.fromRGB(10, 10, 10)
  199. historyFrame.BackgroundTransparency = 0
  200. historyFrame.BorderSizePixel = 2
  201. historyFrame.BorderColor3 = Color3.fromRGB(255, 255, 255)
  202. historyFrame.Visible = false
  203. historyFrame.Parent = frame
  204.  
  205. local historyScroll = Instance.new("ScrollingFrame")
  206. historyScroll.Size = UDim2.new(1, 0, 1, 0)
  207. historyScroll.Position = UDim2.new(0, 0, 0, 0)
  208. local historyScrollPadding = Instance.new("UIPadding")
  209. historyScrollPadding.PaddingLeft = UDim.new(0, 2)
  210. historyScrollPadding.PaddingRight = UDim.new(0, 8)
  211. historyScrollPadding.PaddingTop = UDim.new(0, 2)
  212. historyScrollPadding.PaddingBottom = UDim.new(0, 2)
  213. historyScrollPadding.Parent = historyScroll
  214. historyScroll.BackgroundColor3 = Color3.fromRGB(10, 10, 10)
  215. historyScroll.BackgroundTransparency = 0
  216. historyScroll.BorderSizePixel = 0
  217. historyScroll.CanvasSize = UDim2.new(0, 0, 0, 0)
  218. historyScroll.ScrollBarThickness = 6
  219. historyScroll.ScrollBarImageColor3 = Color3.fromRGB(255, 255, 255)
  220. historyScroll.Parent = historyFrame
  221.  
  222. local historyLayout = Instance.new("UIListLayout")
  223. historyLayout.Padding = UDim.new(0, 2)
  224. historyLayout.SortOrder = Enum.SortOrder.LayoutOrder
  225. historyLayout.Parent = historyScroll
  226.  
  227. return {
  228. Frame = frame,
  229. Status = status,
  230. Counter = counter,
  231. Scroll = scroll,
  232. Layout = layout,
  233. Button = scanBtn,
  234. RefreshBtn = refreshBtn,
  235. HistoryBtn = historyBtn,
  236. HistoryFrame = historyFrame,
  237. HistoryScroll = historyScroll,
  238. HistoryLayout = historyLayout,
  239. ListFrame = listFrame
  240. }
  241. end
  242.  
  243. gui = createGUI()
  244.  
  245. local function playSound(id)
  246. if currentSound then
  247. pcall(function()
  248. currentSound:Stop()
  249. currentSound:Destroy()
  250. end)
  251. currentSound = nil
  252. currentPlaying = nil
  253. end
  254.  
  255. if not id then return end
  256.  
  257. local success, sound = pcall(function()
  258. local s = Instance.new("Sound")
  259. s.SoundId = "rbxassetid://" .. id
  260. s.Volume = 1
  261. s.Parent = SoundService
  262. s:Play()
  263. return s
  264. end)
  265.  
  266. if success and sound then
  267. currentSound = sound
  268. currentPlaying = id
  269.  
  270. sound.Stopped:Connect(function()
  271. if currentSound == sound then
  272. currentSound = nil
  273. currentPlaying = nil
  274. pcall(updateList)
  275. end
  276. end)
  277.  
  278. pcall(updateList)
  279. end
  280. end
  281.  
  282. local function updateList()
  283. if not gui or not gui.Scroll then return end
  284.  
  285. local scroll = gui.Scroll
  286. for _, child in pairs(scroll:GetChildren()) do
  287. if child:IsA("Frame") then
  288. child:Destroy()
  289. end
  290. end
  291.  
  292. local sorted = {}
  293. for id, data in pairs(foundIds) do
  294. table.insert(sorted, {id = id, name = data.name or "Unknown"})
  295. end
  296.  
  297. table.sort(sorted, function(a, b)
  298. local numA = tonumber(a.id)
  299. local numB = tonumber(b.id)
  300. if numA == nil and numB == nil then
  301. return tostring(a.id) < tostring(b.id)
  302. elseif numA == nil then
  303. return false
  304. elseif numB == nil then
  305. return true
  306. end
  307. return numA < numB
  308. end)
  309.  
  310. for _, data in pairs(sorted) do
  311. local item = Instance.new("Frame")
  312. item.Size = UDim2.new(1, 0, 0, 30)
  313. item.BackgroundColor3 = Color3.fromRGB(15, 15, 15)
  314. item.BackgroundTransparency = 0
  315. item.BorderSizePixel = 1
  316. item.BorderColor3 = Color3.fromRGB(255, 255, 255)
  317. item.Parent = scroll
  318.  
  319. local text = Instance.new("TextLabel")
  320. text.Size = UDim2.new(0.55, 0, 1, 0)
  321. text.Position = UDim2.new(0, 0, 0, 0)
  322. text.BackgroundColor3 = Color3.fromRGB(15, 15, 15)
  323. text.BackgroundTransparency = 0
  324. text.BorderSizePixel = 0
  325. local displayName = data.name
  326. if string.len(displayName) > 25 then
  327. displayName = string.sub(displayName, 1, 22) .. "..."
  328. end
  329. text.Text = string.format("%s | %s", data.id, displayName)
  330. text.TextColor3 = Color3.fromRGB(255, 255, 255)
  331. text.TextScaled = true
  332. text.Font = Enum.Font.Gotham
  333. text.TextXAlignment = Enum.TextXAlignment.Left
  334. text.Parent = item
  335.  
  336. local play = Instance.new("TextButton")
  337. play.Size = UDim2.new(0.13, 0, 0.9, 0)
  338. play.Position = UDim2.new(0.57, 0, 0.05, 0)
  339. play.BackgroundColor3 = Color3.fromRGB(15, 15, 15)
  340. play.BackgroundTransparency = 0
  341. play.BorderSizePixel = 1
  342. play.BorderColor3 = currentPlaying == data.id and Color3.fromRGB(255, 255, 0) or Color3.fromRGB(0, 255, 0)
  343. play.Text = currentPlaying == data.id and "STOP" or "PLAY"
  344. play.TextColor3 = currentPlaying == data.id and Color3.fromRGB(255, 255, 0) or Color3.fromRGB(0, 255, 0)
  345. play.TextScaled = true
  346. play.Font = Enum.Font.Gotham
  347. play.Parent = item
  348.  
  349. play.MouseButton1Click:Connect(function()
  350. if currentPlaying == data.id then
  351. if currentSound then
  352. pcall(function()
  353. currentSound:Stop()
  354. currentSound:Destroy()
  355. end)
  356. currentSound = nil
  357. currentPlaying = nil
  358. pcall(updateList)
  359. end
  360. else
  361. playSound(data.id)
  362. end
  363. end)
  364.  
  365. local copy = Instance.new("TextButton")
  366. copy.Size = UDim2.new(0.13, 0, 0.9, 0)
  367. copy.Position = UDim2.new(0.71, 0, 0.05, 0)
  368. copy.BackgroundColor3 = Color3.fromRGB(15, 15, 15)
  369. copy.BackgroundTransparency = 0
  370. copy.BorderSizePixel = 1
  371. copy.BorderColor3 = Color3.fromRGB(0, 150, 255)
  372. copy.Text = "COPY"
  373. copy.TextColor3 = Color3.fromRGB(0, 150, 255)
  374. copy.TextScaled = true
  375. copy.Font = Enum.Font.Gotham
  376. copy.Parent = item
  377.  
  378. copy.MouseButton1Click:Connect(function()
  379. copyToClipboard(data.id)
  380. end)
  381.  
  382. local delete = Instance.new("TextButton")
  383. delete.Size = UDim2.new(0.12, 0, 0.9, 0)
  384. delete.Position = UDim2.new(0.85, 0, 0.05, 0)
  385. delete.BackgroundColor3 = Color3.fromRGB(15, 15, 15)
  386. delete.BackgroundTransparency = 0
  387. delete.BorderSizePixel = 1
  388. delete.BorderColor3 = Color3.fromRGB(255, 0, 0)
  389. delete.Text = "X"
  390. delete.TextColor3 = Color3.fromRGB(255, 0, 0)
  391. delete.TextScaled = true
  392. delete.Font = Enum.Font.Gotham
  393. delete.Parent = item
  394.  
  395. delete.MouseButton1Click:Connect(function()
  396. foundIds[data.id] = nil
  397. pcall(updateList)
  398. end)
  399. end
  400.  
  401. gui.Counter.Text = "FOUND: " .. #sorted
  402. scroll.CanvasSize = UDim2.new(0, 0, 0, #sorted * 32 + 5)
  403. end
  404.  
  405. local function updateHistory()
  406. if not gui or not gui.HistoryScroll then return end
  407.  
  408. local historyScroll = gui.HistoryScroll
  409. for _, child in pairs(historyScroll:GetChildren()) do
  410. if child:IsA("TextLabel") then
  411. child:Destroy()
  412. end
  413. end
  414.  
  415. local sortedHistory = {}
  416. for id, data in pairs(history) do
  417. table.insert(sortedHistory, {id = id, name = data.name or "Unknown", time = data.time or 0})
  418. end
  419.  
  420. table.sort(sortedHistory, function(a, b)
  421. return (a.time or 0) > (b.time or 0)
  422. end)
  423.  
  424. for _, data in pairs(sortedHistory) do
  425. local label = Instance.new("TextLabel")
  426. label.Size = UDim2.new(1, 0, 0, 25)
  427. label.BackgroundColor3 = Color3.fromRGB(15, 15, 15)
  428. label.BackgroundTransparency = 0
  429. label.BorderSizePixel = 1
  430. label.BorderColor3 = Color3.fromRGB(255, 255, 255)
  431. local displayName = data.name
  432. if string.len(displayName) > 30 then
  433. displayName = string.sub(displayName, 1, 27) .. "..."
  434. end
  435. label.Text = string.format("%s | %s", data.id, displayName)
  436. label.TextColor3 = Color3.fromRGB(200, 200, 200)
  437. label.TextScaled = true
  438. label.Font = Enum.Font.Gotham
  439. label.TextXAlignment = Enum.TextXAlignment.Left
  440. label.Parent = historyScroll
  441. end
  442.  
  443. historyScroll.CanvasSize = UDim2.new(0, 0, 0, #sortedHistory * 27 + 5)
  444. end
  445.  
  446. local function addToHistory(id, name)
  447. if not history[id] then
  448. history[id] = {
  449. id = id,
  450. name = name or "Unknown",
  451. time = os.time()
  452. }
  453. end
  454. end
  455.  
  456. local function trackSound(sound)
  457. if not sound or not sound:IsA("Sound") and not sound:IsA("Music") then
  458. return
  459. end
  460.  
  461. local key = tostring(sound)
  462. if trackedSounds[key] then
  463. return
  464. end
  465. trackedSounds[key] = true
  466.  
  467. local function checkSound()
  468. local id = getCleanId(sound.SoundId)
  469. if id and not foundIds[id] then
  470. foundIds[id] = {
  471. id = id,
  472. name = sound.Name or "Unknown"
  473. }
  474. addToHistory(id, sound.Name)
  475. pcall(updateList)
  476. pcall(updateHistory)
  477. end
  478. end
  479.  
  480. checkSound()
  481.  
  482. pcall(function()
  483. sound:GetPropertyChangedSignal("SoundId"):Connect(function()
  484. if not isScanning then return end
  485. local id = getCleanId(sound.SoundId)
  486. if id and not foundIds[id] then
  487. foundIds[id] = {
  488. id = id,
  489. name = sound.Name or "Unknown"
  490. }
  491. addToHistory(id, sound.Name)
  492. pcall(updateList)
  493. pcall(updateHistory)
  494. end
  495. end)
  496. end)
  497.  
  498. pcall(function()
  499. sound:GetPropertyChangedSignal("IsPlaying"):Connect(function()
  500. if not isScanning then return end
  501. if sound.IsPlaying then
  502. local id = getCleanId(sound.SoundId)
  503. if id and not foundIds[id] then
  504. foundIds[id] = {
  505. id = id,
  506. name = sound.Name or "Unknown"
  507. }
  508. addToHistory(id, sound.Name)
  509. pcall(updateList)
  510. pcall(updateHistory)
  511. end
  512. end
  513. end)
  514. end)
  515. end
  516.  
  517. local function startContinuousScan()
  518. if scanLoop then
  519. scanLoop:Disconnect()
  520. scanLoop = nil
  521. end
  522.  
  523. scanLoop = RunService.Heartbeat:Connect(function()
  524. if not isScanning then return end
  525.  
  526. updateCooldown = updateCooldown + 1
  527. if updateCooldown < 5 then return end
  528. updateCooldown = 0
  529.  
  530. local newSounds = {}
  531. pcall(function()
  532. for _, obj in pairs(game:GetDescendants()) do
  533. if (obj:IsA("Sound") or obj:IsA("Music")) and not trackedSounds[tostring(obj)] then
  534. table.insert(newSounds, obj)
  535. end
  536. end
  537. end)
  538.  
  539. for _, sound in pairs(newSounds) do
  540. trackSound(sound)
  541. end
  542. end)
  543. end
  544.  
  545. local function fastScan()
  546. local newFound = 0
  547. pcall(function()
  548. for _, obj in pairs(game:GetDescendants()) do
  549. if obj:IsA("Sound") or obj:IsA("Music") then
  550. local id = getCleanId(obj.SoundId)
  551. if id and not foundIds[id] then
  552. foundIds[id] = {
  553. id = id,
  554. name = obj.Name or "Unknown"
  555. }
  556. addToHistory(id, obj.Name)
  557. newFound = newFound + 1
  558. end
  559. trackSound(obj)
  560. end
  561. end
  562. end)
  563.  
  564. if newFound > 0 then
  565. pcall(updateList)
  566. pcall(updateHistory)
  567. end
  568. end
  569.  
  570. local function toggleScanning()
  571. isScanning = not isScanning
  572.  
  573. if isScanning then
  574. gui.Button.Text = "STOP"
  575. gui.Button.TextColor3 = Color3.fromRGB(0, 255, 0)
  576. gui.Button.BorderColor3 = Color3.fromRGB(0, 255, 0)
  577. gui.Status.Text = "SCANNING"
  578. gui.Status.TextColor3 = Color3.fromRGB(0, 255, 0)
  579. gui.Status.BorderColor3 = Color3.fromRGB(0, 255, 0)
  580. gui.Counter.TextColor3 = Color3.fromRGB(0, 255, 0)
  581. gui.Counter.BorderColor3 = Color3.fromRGB(0, 255, 0)
  582. fastScan()
  583. startContinuousScan()
  584. else
  585. gui.Button.Text = "START"
  586. gui.Button.TextColor3 = Color3.fromRGB(255, 0, 0)
  587. gui.Button.BorderColor3 = Color3.fromRGB(255, 0, 0)
  588. gui.Status.Text = "STOPPED"
  589. gui.Status.TextColor3 = Color3.fromRGB(255, 0, 0)
  590. gui.Status.BorderColor3 = Color3.fromRGB(255, 0, 0)
  591. gui.Counter.TextColor3 = Color3.fromRGB(255, 0, 0)
  592. gui.Counter.BorderColor3 = Color3.fromRGB(255, 0, 0)
  593. if scanLoop then
  594. scanLoop:Disconnect()
  595. scanLoop = nil
  596. end
  597. end
  598. end
  599.  
  600. gui.Button.MouseButton1Click:Connect(toggleScanning)
  601.  
  602. gui.RefreshBtn.MouseButton1Cl
Advertisement
Add Comment
Please, Sign In to add comment