Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Script personalizado estilo Trax Spawner para "Steal a Brainrot"
- -- Incluye GUI para spawnear brainrots manualmente
- local Players = game:GetService("Players")
- local RunService = game:GetService("RunService")
- local HttpService = game:GetService("HttpService")
- local LocalPlayer = Players.LocalPlayer
- local char = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait()
- -- Buscar plantilla Brainrot en el juego
- local BrainrotTemplate
- for _, obj in pairs(workspace:GetDescendants()) do
- if obj.Name:lower():find("brainrot") and obj:IsA("Model") then
- BrainrotTemplate = obj
- break
- end
- end
- if not BrainrotTemplate then
- warn("❌ No se encontró plantilla de Brainrot.")
- return
- end
- -- Crear GUI principal
- local screenGui = Instance.new("ScreenGui", LocalPlayer:WaitForChild("PlayerGui"))
- screenGui.Name = "BrainrotSpawnerGui"
- local frame = Instance.new("Frame", screenGui)
- frame.Size = UDim2.new(0, 200, 0, 100)
- frame.Position = UDim2.new(0, 20, 0, 20)
- frame.BackgroundColor3 = Color3.fromRGB(30,30,30)
- frame.BorderSizePixel = 0
- local title = Instance.new("TextLabel", frame)
- title.Size = UDim2.new(1, 0, 0, 24)
- title.Text = "Spawner Brainrot"
- title.TextColor3 = Color3.new(1,1,1)
- title.BackgroundTransparency = 1
- local spawnBtn = Instance.new("TextButton", frame)
- spawnBtn.Size = UDim2.new(0.8, 0, 0, 36)
- spawnBtn.Position = UDim2.new(0.1, 0, 0.4, 0)
- spawnBtn.Text = "Spawnear 1"
- spawnBtn.TextColor3 = Color3.new(1,1,1)
- spawnBtn.BackgroundColor3 = Color3.fromRGB(60,60,60)
- spawnBtn.BorderSizePixel = 0
- -- Función para spawnear uno cerca del jugador
- local function spawnOneBrainrot()
- if not char.PrimaryPart then
- char = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait()
- end
- local clone = BrainrotTemplate:Clone()
- clone.Parent = workspace
- local pos = char.PrimaryPart.CFrame * CFrame.new(3, 0, 0)
- if clone.PrimaryPart then
- clone:SetPrimaryPartCFrame(pos)
- elseif clone:FindFirstChild("HumanoidRootPart") then
- clone.HumanoidRootPart.CFrame = pos
- end
- end
- -- Evento del botón
- spawnBtn.MouseButton1Click:Connect(function()
- spawnOneBrainrot()
- end)
- -- Auto-spawn opcional (como en Trax)
- local autoSpawn = false
- local autoBtn = Instance.new("TextButton", frame)
- autoBtn.Size = UDim2.new(0.8, 0, 0, 24)
- autoBtn.Position = UDim2.new(0.1, 0, 0.8, 0)
- autoBtn.Text = "Auto OFF"
- autoBtn.TextColor3 = Color3.new(1,1,1)
- autoBtn.BackgroundColor3 = Color3.fromRGB(80,30,30)
- autoBtn.BorderSizePixel = 0
- autoBtn.MouseButton1Click:Connect(function()
- autoSpawn = not autoSpawn
- autoBtn.Text = autoSpawn and "Auto ON" or "Auto OFF"
- end)
- -- Bucle auto
- spawn(function()
- while true do
- if autoSpawn then
- spawnOneBrainrot()
- end
- wait(5)
- end
- end)
- print("✅ GUI cargada. Usa el botón para spawnear o activa Auto.")
Advertisement
Add Comment
Please, Sign In to add comment