Guest User

brainrot finder

a guest
Jul 21st, 2025
120
1
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.69 KB | None | 1 0
  1. -- Modified Pet Finder Script for Rainbow Trenostruzzo Turbo 3000
  2.  
  3. --// Services
  4. local Players = game:GetService("Players")
  5. local HttpService = game:GetService("HttpService")
  6. local TeleportService = game:GetService("TeleportService")
  7.  
  8. -- Wait for LocalPlayer to initialize
  9. local LocalPlayer
  10. repeat
  11. LocalPlayer = Players.LocalPlayer
  12. task.wait()
  13. until LocalPlayer
  14.  
  15. --// User Configuration from loader
  16. local webhook = getgenv().webhook or ""
  17. local targetPets = {"Trenostruzzo Turbo 3000"}
  18. local requireRainbowMutation = true
  19.  
  20. --// Visited Job Tracking
  21. local visitedJobIds = {[game.JobId] = true}
  22. local hops = 0
  23. local maxHopsBeforeReset = 50
  24.  
  25. --// Teleport Fail Handling
  26. local teleportFails = 0
  27. local maxTeleportRetries = 3
  28.  
  29. --// Found Pet Cache
  30. local detectedPets = {}
  31. local webhookSent = false
  32. local stopHopping = false
  33.  
  34. -- Teleport error handling (unchanged)
  35. TeleportService.TeleportInitFailed:Connect(function(_, result)
  36. teleportFails += 1
  37. if teleportFails >= maxTeleportRetries then
  38. teleportFails = 0
  39. task.wait(1)
  40. TeleportService:Teleport(game.PlaceId)
  41. else
  42. task.wait(1)
  43. serverHop()
  44. end
  45. end)
  46.  
  47. -- ESP Function (unchanged)
  48. local function addESP(targetModel)
  49. if targetModel:FindFirstChild("PetESP") then return end
  50. local Billboard = Instance.new("BillboardGui")
  51. Billboard.Name = "PetESP"
  52. Billboard.Adornee = targetModel
  53. Billboard.Size = UDim2.new(0, 100, 0, 30)
  54. Billboard.StudsOffset = Vector3.new(0, 3, 0)
  55. Billboard.AlwaysOnTop = true
  56. Billboard.Parent = targetModel
  57.  
  58. local Label = Instance.new("TextLabel")
  59. Label.Size = UDim2.new(1, 0, 1, 0)
  60. Label.BackgroundTransparency = 1
  61. Label.Text = "🌈 Rainbow Turbo"
  62. Label.TextColor3 = Color3.fromRGB(255, 0, 255)
  63. Label.TextStrokeTransparency = 0.5
  64. Label.Font = Enum.Font.SourceSansBold
  65. Label.TextScaled = true
  66. Label.Parent = Billboard
  67. end
  68.  
  69. -- Webhook Function (unchanged)
  70. local function sendWebhook(foundPets, jobId)
  71. if webhook == "" then return end
  72. local petCounts = {}
  73. for _, pet in ipairs(foundPets) do
  74. petCounts[pet] = (petCounts[pet] or 0) + 1
  75. end
  76.  
  77. local formattedPets = {}
  78. for petName, count in pairs(petCounts) do
  79. table.insert(formattedPets, count > 1 and petName .. " x" .. count or petName)
  80. end
  81.  
  82. local jsonData = HttpService:JSONEncode({
  83. ["content"] = "@everyone 🌈 Rainbow Turbo Found!",
  84. ["embeds"] = {{
  85. ["title"] = "🚨 Rainbow Trenostruzzo Found!",
  86. ["description"] = "A rainbow Trenostruzzo Turbo 3000 has been detected!",
  87. ["fields"] = {
  88. { ["name"] = "User", ["value"] = LocalPlayer.Name },
  89. { ["name"] = "Rainbow Pet(s)", ["value"] = table.concat(formattedPets, "\n") },
  90. { ["name"] = "Server JobId", ["value"] = jobId },
  91. { ["name"] = "Time", ["value"] = os.date("%Y-%m-%d %H:%M:%S") }
  92. },
  93. ["color"] = 0xFF00FF
  94. }}
  95. })
  96.  
  97. local req = http_request or request or syn and syn.request
  98. if req then
  99. pcall(function()
  100. req({
  101. Url = webhook,
  102. Method = "POST",
  103. Headers = { ["Content-Type"] = "application/json" },
  104. Body = jsonData
  105. })
  106. end)
  107. end
  108. end
  109.  
  110. -- Check if a model is rainbow mutated
  111. local function isRainbowMutated(model)
  112. for _, child in ipairs(model:GetChildren()) do
  113. if child:IsA("Decal") or child:IsA("ParticleEmitter") then
  114. if string.find(string.lower(child.Name), "rainbow") then
  115. return true
  116. end
  117. end
  118. end
  119. return false
  120. end
  121.  
  122. -- Pet Detection
  123. local function checkForPets()
  124. local found = {}
  125. for _, obj in pairs(workspace:GetDescendants()) do
  126. if obj:IsA("Model") and table.find(targetPets, obj.Name) then
  127. if requireRainbowMutation and not isRainbowMutated(obj) then
  128. continue
  129. end
  130. addESP(obj)
  131. table.insert(found, obj.Name)
  132. stopHopping = true
  133. end
  134. end
  135. return found
  136. end
  137.  
  138. -- Server Hop Function (unchanged)
  139. function serverHop()
  140. if stopHopping then return end
  141. task.wait(1.5)
  142.  
  143. local cursor = nil
  144. local PlaceId, JobId = game.PlaceId, game.JobId
  145. local tries = 0
  146.  
  147. hops += 1
  148. if hops >= maxHopsBeforeReset then
  149. visitedJobIds = {[JobId] = true}
  150. hops = 0
  151. end
  152.  
  153. while tries < 3 do
  154. local url = "https://games.roblox.com/v1/games/" .. PlaceId .. "/servers/Public?sortOrder=Asc&limit=100"
  155. if cursor then url = url .. "&cursor=" .. cursor end
  156.  
  157. local success, response = pcall(function()
  158. return HttpService:JSONDecode(game:HttpGet(url))
  159. end)
  160.  
  161. if success and response and response.data then
  162. local servers = {}
  163. for _, server in ipairs(response.data) do
  164. if tonumber(server.playing or 0) < tonumber(server.maxPlayers or 1)
  165. and server.id ~= JobId
  166. and not visitedJobIds[server.id] then
  167. table.insert(servers, server.id)
  168. end
  169. end
  170.  
  171. if #servers > 0 then
  172. local picked = servers[math.random(1, #servers)]
  173. teleportFails = 0
  174. TeleportService:TeleportToPlaceInstance(PlaceId, picked)
  175. return
  176. end
  177.  
  178. cursor = response.nextPageCursor
  179. if not cursor then
  180. tries += 1
  181. cursor = nil
  182. task.wait(0.5)
  183. end
  184. else
  185. tries += 1
  186. task.wait(0.5)
  187. end
  188. end
  189.  
  190. TeleportService:Teleport(PlaceId)
  191. end
  192.  
  193. -- Live Detection (slightly adjusted for rainbow check)
  194. workspace.DescendantAdded:Connect(function(obj)
  195. task.wait(0.25)
  196. if obj:IsA("Model") and table.find(targetPets, obj.Name) then
  197. if requireRainbowMutation and not isRainbowMutated(obj) then return end
  198. if not detectedPets[obj.Name] then
  199. detectedPets[obj.Name] = true
  200. addESP(obj)
  201. stopHopping = true
  202. if not webhookSent then
  203. sendWebhook({obj.Name}, game.JobId)
  204. webhookSent = true
  205. end
  206. end
  207. end
  208. end)
  209.  
  210. -- Start
  211. task.wait(6)
  212. local petsFound = checkForPets()
  213. if #petsFound > 0 then
  214. for _, name in ipairs(petsFound) do
  215. detectedPets[name] = true
  216. end
  217. if not webhookSent then
  218. sendWebhook(petsFound, game.JobId)
  219. webhookSent = true
  220. end
  221. else
  222. task.delay(1.5, serverHop)
  223. end
  224.  
Advertisement
Add Comment
Please, Sign In to add comment