Juanma2003

Untitled

Oct 2nd, 2025
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.25 KB | None | 0 0
  1. --// Brainrot Spawner (Móvil + PC)
  2. -- By Juanma
  3.  
  4. local player = game.Players.LocalPlayer
  5. local brainrotName = "Brainrot"
  6.  
  7. -- Crear GUI
  8. local ScreenGui = Instance.new("ScreenGui")
  9. ScreenGui.Parent = game:GetService("CoreGui")
  10.  
  11. local Button = Instance.new("TextButton")
  12. Button.Size = UDim2.new(0, 150, 0, 50)
  13. Button.Position = UDim2.new(0.8, 0, 0.8, 0)
  14. Button.Text = "Spawn Brainrot"
  15. Button.BackgroundColor3 = Color3.fromRGB(25,25,25)
  16. Button.TextColor3 = Color3.fromRGB(255,255,255)
  17. Button.Parent = ScreenGui
  18.  
  19. -- Función spawn
  20. local function spawnBrainrot()
  21.     local brainrot = nil
  22.  
  23.     if game:GetService("ReplicatedStorage"):FindFirstChild(brainrotName) then
  24.         brainrot = game.ReplicatedStorage[brainrotName]:Clone()
  25.     elseif game:GetService("Workspace"):FindFirstChild(brainrotName) then
  26.         brainrot = game.Workspace[brainrotName]:Clone()
  27.     end
  28.  
  29.     if brainrot then
  30.         brainrot.Parent = game.Workspace
  31.         brainrot.CFrame = player.Character.HumanoidRootPart.CFrame * CFrame.new(3,0,0)
  32.         warn("[Killer Hub] Brainrot spawneado cerca de ti.")
  33.     else
  34.         warn("[Killer Hub] No se encontró el objeto '"..brainrotName.."'.")
  35.     end
  36. end
  37.  
  38. -- Acción del botón
  39. Button.MouseButton1Click:Connect(spawnBrainrot)
Advertisement
Add Comment
Please, Sign In to add comment