soso admin
Key RequiredUniversal

soso admin

Universal ScriptLegadmin_6172Legadmin_6172 166 views 426 executesUpdated Aug 1, 2026
Unrated
00
Lua Script•349 lines (10892 chars)
local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer
local RunService = game:GetService("RunService")
local Lighting = game:GetService("Lighting")
local TweenService = game:GetService("TweenService")

-- Lista de jogadores ocultos/banidos (visão local)
local hiddenUsers = {}

-- Função para ocultar o personagem
local function hideCharacter(character)
	if not character then return end
	for _, part in pairs(character:GetDescendants()) do
		if part:IsA("BasePart") or part:IsA("Decal") then
			part.Transparency = 1
		elseif part:IsA("BillboardGui") or part:IsA("SurfaceGui") then
			part.Enabled = false
		end
	end
end

-- Mantém os jogadores banidos/explodidos invisíveis continuamente
RunService.Stepped:Connect(function()
	for userId, _ in pairs(hiddenUsers) do
		local player = Players:GetPlayerByUserId(userId)
		if player and player.Character then
			hideCharacter(player.Character)
		end
	end
end)

----------------------------------------------------
-- 1. TAG COLORIDA (BROOKHAVEN 🛠️ ADMINISTRADOR)
----------------------------------------------------
local function applyRainbowTag()
	local char = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait()
	local head = char:WaitForChild("Head", 5)
	
	if head and not head:FindFirstChild("AdminTag") then
		local bbGui = Instance.new("BillboardGui")
		bbGui.Name = "AdminTag"
		bbGui.Size = UDim2.new(0, 250, 0, 50)
		bbGui.StudsOffset = Vector3.new(0, 3, 0)
		bbGui.AlwaysOnTop = true

		local textLabel = Instance.new("TextLabel")
		textLabel.Size = UDim2.new(1, 0, 1, 0)
		textLabel.BackgroundTransparency = 1
		textLabel.Text = "Brookhaven 🛠️ Administrador"
		textLabel.TextStrokeTransparency = 0
		textLabel.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
		textLabel.TextScaled = true
		textLabel.Font = Enum.Font.SourceSansBold
		textLabel.Parent = bbGui

		bbGui.Parent = head

		local hue = 0
		RunService.RenderStepped:Connect(function()
			hue = (hue + 0.005) % 1
			textLabel.TextColor3 = Color3.fromHSV(hue, 1, 1)
		end)
	end
end

applyRainbowTag()
LocalPlayer.CharacterAdded:Connect(applyRainbowTag)

----------------------------------------------------
-- 2. TELA DE BANIMENTO (QUADRO COM FOTO DO AVATAR)
----------------------------------------------------
local function showBanScreen(targetPlayer)
	local playerGui = LocalPlayer:WaitForChild("PlayerGui")
	
	if playerGui:FindFirstChild("BanGui") then
		playerGui.BanGui:Destroy()
	end

	local screenGui = Instance.new("ScreenGui")
	screenGui.Name = "BanGui"
	screenGui.ResetOnSpawn = false
	screenGui.Parent = playerGui

	local frame = Instance.new("Frame")
	frame.Size = UDim2.new(0, 320, 0, 100)
	frame.Position = UDim2.new(0.5, -160, 0.15, 0)
	frame.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
	frame.BorderSizePixel = 0
	frame.Parent = screenGui

	local corner = Instance.new("UICorner")
	corner.CornerRadius = UDim.new(0, 10)
	corner.Parent = frame

	local stroke = Instance.new("UIStroke")
	stroke.Color = Color3.fromRGB(255, 0, 0)
	stroke.Thickness = 2
	stroke.Parent = frame

	local avatarImg = Instance.new("ImageLabel")
	avatarImg.Size = UDim2.new(0, 80, 0, 80)
	avatarImg.Position = UDim2.new(0, 10, 0.5, -40)
	avatarImg.BackgroundTransparency = 1
	
	pcall(function()
		avatarImg.Image = Players:GetUserThumbnailAsync(
			targetPlayer.UserId, 
			Enum.ThumbnailType.HeadShot, 
			Enum.ThumbnailSize.Size420x420
		)
	end)
	avatarImg.Parent = frame

	local imgCorner = Instance.new("UICorner")
	imgCorner.CornerRadius = UDim.new(0, 8)
	imgCorner.Parent = avatarImg

	local textLabel = Instance.new("TextLabel")
	textLabel.Size = UDim2.new(1, -105, 1, -20)
	textLabel.Position = UDim2.new(0, 95, 0, 10)
	textLabel.BackgroundTransparency = 1
	textLabel.Text = "<b>" .. targetPlayer.Name .. "</b>\nfoi banido por doggeblox"
	textLabel.RichText = true
	textLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
	textLabel.TextScaled = true
	textLabel.Font = Enum.Font.SourceSansBold
	textLabel.TextXAlignment = Enum.TextXAlignment.Left
	textLabel.Parent = frame

	task.delay(4, function()
		if screenGui and screenGui.Parent then
			screenGui:Destroy()
		end
	end)
end

----------------------------------------------------
-- 3. ITEM "BAN" (FUNCIONA EM QUALQUER UM, INCLUINDO SI MESMO)
----------------------------------------------------
local function giveBanTool()
	local backpack = LocalPlayer:WaitForChild("Backpack")
	if backpack:FindFirstChild("Ban") or (LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("Ban")) then
		return
	end

	local tool = Instance.new("Tool")
	tool.Name = "Ban"
	tool.RequiresHandle = false
	tool.Parent = backpack

	tool.Activated:Connect(function()
		local mouse = LocalPlayer:GetMouse()
		local target = mouse.Target

		if target and target.Parent then
			local targetCharacter = target.Parent
			if not Players:GetPlayerFromCharacter(targetCharacter) and targetCharacter.Parent then
				targetCharacter = targetCharacter.Parent
			end

			local targetPlayer = Players:GetPlayerFromCharacter(targetCharacter)
			if targetPlayer then
				showBanScreen(targetPlayer)
				hiddenUsers[targetPlayer.UserId] = true
				hideCharacter(targetPlayer.Character)
			end
		end
	end)
end

giveBanTool()
LocalPlayer.CharacterAdded:Connect(giveBanTool)

----------------------------------------------------
-- 4. ANÚNCIO E COMANDO ;EXPLODIR
----------------------------------------------------
local function showExplodeBanner(targetPlayer)
	local playerGui = LocalPlayer:WaitForChild("PlayerGui")
	if playerGui:FindFirstChild("ExplodeBannerGui") then
		playerGui.ExplodeBannerGui:Destroy()
	end

	local screenGui = Instance.new("ScreenGui")
	screenGui.Name = "ExplodeBannerGui"
	screenGui.ResetOnSpawn = false
	screenGui.Parent = playerGui

	local banner = Instance.new("Frame")
	banner.Size = UDim2.new(0, 450, 0, 60)
	banner.Position = UDim2.new(0.5, -225, -0.15, 0)
	banner.BackgroundColor3 = Color3.fromRGB(30, 10, 10)
	banner.BorderSizePixel = 0
	banner.Parent = screenGui

	local corner = Instance.new("UICorner")
	corner.CornerRadius = UDim.new(0, 12)
	corner.Parent = banner

	local stroke = Instance.new("UIStroke")
	stroke.Color = Color3.fromRGB(255, 100, 0)
	stroke.Thickness = 2
	stroke.Parent = banner

	local avatarImg = Instance.new("ImageLabel")
	avatarImg.Size = UDim2.new(0, 48, 0, 48)
	avatarImg.Position = UDim2.new(0, 8, 0.5, -24)
	avatarImg.BackgroundTransparency = 1
	pcall(function()
		avatarImg.Image = Players:GetUserThumbnailAsync(targetPlayer.UserId, Enum.ThumbnailType.HeadShot, Enum.ThumbnailSize.Size420x420)
	end)
	avatarImg.Parent = banner

	local imgCorner = Instance.new("UICorner")
	imgCorner.CornerRadius = UDim.new(1, 0)
	imgCorner.Parent = avatarImg

	local textLabel = Instance.new("TextLabel")
	textLabel.Size = UDim2.new(1, -70, 1, 0)
	textLabel.Position = UDim2.new(0, 65, 0, 0)
	textLabel.BackgroundTransparency = 1
	textLabel.Text = "🔥 <b>" .. targetPlayer.Name .. "</b> foi explodido!"
	textLabel.RichText = true
	textLabel.TextColor3 = Color3.fromRGB(255, 200, 50)
	textLabel.TextSize = 20
	textLabel.Font = Enum.Font.SourceSansBold
	textLabel.TextXAlignment = Enum.TextXAlignment.Left
	textLabel.Parent = banner

	TweenService:Create(banner, TweenInfo.new(0.5, Enum.EasingStyle.Back, Enum.EasingDirection.Out), {
		Position = UDim2.new(0.5, -225, 0.05, 0)
	}):Play()

	task.delay(4, function()
		local tweenOut = TweenService:Create(banner, TweenInfo.new(0.5, Enum.EasingStyle.Quad, Enum.EasingDirection.In), {
			Position = UDim2.new(0.5, -225, -0.15, 0)
		})
		tweenOut:Play()
		tweenOut.Completed:Connect(function() screenGui:Destroy() end)
	end)
end

local function executeExplode(targetPlayer)
	if not targetPlayer or not targetPlayer.Character then return end
	local char = targetPlayer.Character
	local head = char:FindFirstChild("Head") or char:FindFirstChild("HumanoidRootPart")
	if not head then return end

	local fallingObject = Instance.new("Part")
	fallingObject.Size = Vector3.new(3, 3, 3)
	fallingObject.Color = Color3.fromRGB(40, 40, 40)
	fallingObject.Material = Enum.Material.Metal
	fallingObject.CFrame = head.CFrame * CFrame.new(0, 25, 0)
	fallingObject.Anchored = false
	fallingObject.CanCollide = false
	fallingObject.Parent = workspace
	fallingObject.Velocity = Vector3.new(0, -100, 0)

	task.wait(0.25)

	local explosion = Instance.new("Explosion")
	explosion.Position = head.Position
	explosion.BlastRadius = 15
	explosion.BlastPressure = 0
	explosion.Parent = workspace

	fallingObject:Destroy()
	showExplodeBanner(targetPlayer)
	hiddenUsers[targetPlayer.UserId] = true
	hideCharacter(char)
end

----------------------------------------------------
-- 5. COMANDO ;NUKE COM BOMBA 3D CAINDO DO CÉU
----------------------------------------------------
local function executeNukeWithBomb()
	local char = LocalPlayer.Character
	local hrp = char and char:FindFirstChild("HumanoidRootPart")
	local spawnPos = hrp and hrp.Position or Vector3.new(0, 50, 0)

	local bomb = Instance.new("Part")
	bomb.Name = "NukeBomb"
	bomb.Size = Vector3.new(6, 16, 6)
	bomb.Shape = Enum.PartType.Cylinder
	bomb.Color = Color3.fromRGB(45, 50, 55)
	bomb.Material = Enum.Material.Metal
	bomb.CFrame = CFrame.new(spawnPos + Vector3.new(0, 180, 0)) * CFrame.Angles(0, 0, math.rad(90))
	bomb.Anchored = false
	bomb.CanCollide = false
	bomb.Parent = workspace

	bomb.Velocity = Vector3.new(0, -150, 0)

	task.wait(1.1)

	local impactPos = bomb.Position
	bomb:Destroy()

	for i = 1, 6 do
		local exp = Instance.new("Explosion")
		exp.Position = impactPos + Vector3.new(math.random(-20, 20), math.random(0, 10), math.random(-20, 20))
		exp.BlastRadius = 50
		exp.BlastPressure = 0
		exp.Parent = workspace
	end

	local cc = Instance.new("ColorCorrectionEffect")
	cc.Brightness = 1
	cc.TintColor = Color3.fromRGB(255, 200, 50)
	cc.Parent = Lighting

	TweenService:Create(cc, TweenInfo.new(2.5), {
		Brightness = 0.1,
		TintColor = Color3.fromRGB(255, 30, 0)
	}):Play()

	Lighting.ClockTime = 0
	Lighting.FogColor = Color3.fromRGB(255, 50, 0)
	Lighting.FogEnd = 150

	local camera = workspace.CurrentCamera
	task.spawn(function()
		for i = 1, 40 do
			local x = math.random(-15, 15) / 10
			local y = math.random(-15, 15) / 10
			camera.CFrame = camera.CFrame * CFrame.new(x, y, 0)
			task.wait(0.04)
		end
	end)
end

----------------------------------------------------
-- 6. LEITOR DE COMANDOS DO CHAT (;explodir / ;nuke)
----------------------------------------------------
LocalPlayer.Chatted:Connect(function(msg)
	local args = string.split(msg, " ")
	local cmd = string.lower(args[1])

	if cmd == ";explodir" and args[2] then
		local searchName = string.lower(args[2])
		for _, player in pairs(Players:GetPlayers()) do
			if string.find(string.lower(player.Name), searchName) or string.find(string.lower(player.DisplayName), searchName) then
				executeExplode(player)
				break
			end
		end
	elseif cmd == ";nuke" then
		executeNukeWithBomb()
	end
end)

Features & Information

ban nuke e tudo mais

Community Comments (0)

No comments yet for this script.

More Scripts for Universal Scripts