Guest User

Untitled

a guest
Aug 4th, 2025
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.87 KB | None | 0 0
  1. -- Script personalizado estilo Trax Spawner para "Steal a Brainrot"
  2. -- Incluye GUI para spawnear brainrots manualmente
  3.  
  4. local Players = game:GetService("Players")
  5. local RunService = game:GetService("RunService")
  6. local HttpService = game:GetService("HttpService")
  7. local LocalPlayer = Players.LocalPlayer
  8. local char = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait()
  9.  
  10. -- Buscar plantilla Brainrot en el juego
  11. local BrainrotTemplate
  12. for _, obj in pairs(workspace:GetDescendants()) do
  13. if obj.Name:lower():find("brainrot") and obj:IsA("Model") then
  14. BrainrotTemplate = obj
  15. break
  16. end
  17. end
  18. if not BrainrotTemplate then
  19. warn("❌ No se encontró plantilla de Brainrot.")
  20. return
  21. end
  22.  
  23. -- Crear GUI principal
  24. local screenGui = Instance.new("ScreenGui", LocalPlayer:WaitForChild("PlayerGui"))
  25. screenGui.Name = "BrainrotSpawnerGui"
  26. local frame = Instance.new("Frame", screenGui)
  27. frame.Size = UDim2.new(0, 200, 0, 100)
  28. frame.Position = UDim2.new(0, 20, 0, 20)
  29. frame.BackgroundColor3 = Color3.fromRGB(30,30,30)
  30. frame.BorderSizePixel = 0
  31.  
  32. local title = Instance.new("TextLabel", frame)
  33. title.Size = UDim2.new(1, 0, 0, 24)
  34. title.Text = "Spawner Brainrot"
  35. title.TextColor3 = Color3.new(1,1,1)
  36. title.BackgroundTransparency = 1
  37.  
  38. local spawnBtn = Instance.new("TextButton", frame)
  39. spawnBtn.Size = UDim2.new(0.8, 0, 0, 36)
  40. spawnBtn.Position = UDim2.new(0.1, 0, 0.4, 0)
  41. spawnBtn.Text = "Spawnear 1"
  42. spawnBtn.TextColor3 = Color3.new(1,1,1)
  43. spawnBtn.BackgroundColor3 = Color3.fromRGB(60,60,60)
  44. spawnBtn.BorderSizePixel = 0
  45.  
  46. -- Función para spawnear uno cerca del jugador
  47. local function spawnOneBrainrot()
  48. if not char.PrimaryPart then
  49. char = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait()
  50. end
  51. local clone = BrainrotTemplate:Clone()
  52. clone.Parent = workspace
  53. local pos = char.PrimaryPart.CFrame * CFrame.new(3, 0, 0)
  54. if clone.PrimaryPart then
  55. clone:SetPrimaryPartCFrame(pos)
  56. elseif clone:FindFirstChild("HumanoidRootPart") then
  57. clone.HumanoidRootPart.CFrame = pos
  58. end
  59. end
  60.  
  61. -- Evento del botón
  62. spawnBtn.MouseButton1Click:Connect(function()
  63. spawnOneBrainrot()
  64. end)
  65.  
  66. -- Auto-spawn opcional (como en Trax)
  67. local autoSpawn = false
  68. local autoBtn = Instance.new("TextButton", frame)
  69. autoBtn.Size = UDim2.new(0.8, 0, 0, 24)
  70. autoBtn.Position = UDim2.new(0.1, 0, 0.8, 0)
  71. autoBtn.Text = "Auto OFF"
  72. autoBtn.TextColor3 = Color3.new(1,1,1)
  73. autoBtn.BackgroundColor3 = Color3.fromRGB(80,30,30)
  74. autoBtn.BorderSizePixel = 0
  75.  
  76. autoBtn.MouseButton1Click:Connect(function()
  77. autoSpawn = not autoSpawn
  78. autoBtn.Text = autoSpawn and "Auto ON" or "Auto OFF"
  79. end)
  80.  
  81. -- Bucle auto
  82. spawn(function()
  83. while true do
  84. if autoSpawn then
  85. spawnOneBrainrot()
  86. end
  87. wait(5)
  88. end
  89. end)
  90.  
  91. print("✅ GUI cargada. Usa el botón para spawnear o activa Auto.")
Advertisement
Add Comment
Please, Sign In to add comment