Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --// Brainrot Spawner (Móvil + PC)
- -- By Juanma
- local player = game.Players.LocalPlayer
- local brainrotName = "Brainrot"
- -- Crear GUI
- local ScreenGui = Instance.new("ScreenGui")
- ScreenGui.Parent = game:GetService("CoreGui")
- local Button = Instance.new("TextButton")
- Button.Size = UDim2.new(0, 150, 0, 50)
- Button.Position = UDim2.new(0.8, 0, 0.8, 0)
- Button.Text = "Spawn Brainrot"
- Button.BackgroundColor3 = Color3.fromRGB(25,25,25)
- Button.TextColor3 = Color3.fromRGB(255,255,255)
- Button.Parent = ScreenGui
- -- Función spawn
- local function spawnBrainrot()
- local brainrot = nil
- if game:GetService("ReplicatedStorage"):FindFirstChild(brainrotName) then
- brainrot = game.ReplicatedStorage[brainrotName]:Clone()
- elseif game:GetService("Workspace"):FindFirstChild(brainrotName) then
- brainrot = game.Workspace[brainrotName]:Clone()
- end
- if brainrot then
- brainrot.Parent = game.Workspace
- brainrot.CFrame = player.Character.HumanoidRootPart.CFrame * CFrame.new(3,0,0)
- warn("[Killer Hub] Brainrot spawneado cerca de ti.")
- else
- warn("[Killer Hub] No se encontró el objeto '"..brainrotName.."'.")
- end
- end
- -- Acción del botón
- Button.MouseButton1Click:Connect(spawnBrainrot)
Advertisement
Add Comment
Please, Sign In to add comment