dragon Defense Hub
Key Required

dragon Defense Hub

Brookhaven 🏡RPdragon_uu911dragon_uu911 1.8K views 112 executesUpdated Jan 26, 2026
5.0/ 5(1 votes)
10100% Positive
Lua Script•263 lines (7704 chars)
-- dragon_uu911 | DEFENSE HUB (REAL UI + REAL CLIENT ANTIS)
if _G.dragon_uu911_loaded then return end
_G.dragon_uu911_loaded = true

-- ========= Services =========
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local StarterGui = game:GetService("StarterGui")
local VirtualUser = game:GetService("VirtualUser")

local plr = Players.LocalPlayer

-- ========= Notify =========
local function notify(txt)
	pcall(function()
		StarterGui:SetCore("SendNotification",{
			Title="dragon_uu911",
			Text=txt,
			Duration=4
		})
	end)
end

-- ========= Character =========
local char, hum, hrp
local function bindChar(c)
	char = c
	hum = c:WaitForChild("Humanoid")
	hrp = c:WaitForChild("HumanoidRootPart")
end
if plr.Character then bindChar(plr.Character) end
plr.CharacterAdded:Connect(bindChar)

-- ========= GUI =========
local gui = Instance.new("ScreenGui", plr.PlayerGui)
gui.Name = "dragon_uu911_gui"

local main = Instance.new("Frame", gui)
main.Size = UDim2.fromOffset(540,470)
main.Position = UDim2.fromScale(0.03,0.15)
main.BackgroundColor3 = Color3.fromRGB(18,18,18)
main.Active = true
main.Draggable = false
main.ClipsDescendants = true

-- Top
local top = Instance.new("Frame", main)
top.Size = UDim2.fromOffset(540,45)
top.BackgroundColor3 = Color3.fromRGB(30,30,30)

local title = Instance.new("TextLabel", top)
title.Size = UDim2.fromScale(1,1)
title.BackgroundTransparency = 1
title.Text = "dragon_uu911 • Defense Hub"
title.TextColor3 = Color3.new(1,1,1)
title.Font = Enum.Font.GothamBold
title.TextSize = 18

-- Lock
local locked = true
local lockBtn = Instance.new("TextButton", top)
lockBtn.Size = UDim2.fromOffset(80,45)
lockBtn.Position = UDim2.fromScale(1,0)
lockBtn.AnchorPoint = Vector2.new(1,0)
lockBtn.Text = "🔒 LOCK"
lockBtn.BackgroundColor3 = Color3.fromRGB(90,40,40)
lockBtn.TextColor3 = Color3.new(1,1,1)
lockBtn.MouseButton1Click:Connect(function()
	locked = not locked
	main.Draggable = not locked
	lockBtn.Text = locked and "🔒 LOCK" or "🔓 MOVE"
	lockBtn.BackgroundColor3 = locked and Color3.fromRGB(90,40,40) or Color3.fromRGB(40,90,40)
end)

-- Close + Confirm
local close = Instance.new("TextButton", top)
close.Size = UDim2.fromOffset(45,45)
close.Text = "✖"
close.BackgroundColor3 = Color3.fromRGB(140,40,40)
close.TextColor3 = Color3.new(1,1,1)

local confirm = Instance.new("Frame", gui)
confirm.Size = UDim2.fromOffset(320,170)
confirm.Position = UDim2.fromScale(0.35,0.35)
confirm.BackgroundColor3 = Color3.fromRGB(28,28,28)
confirm.Visible = false

local cT = Instance.new("TextLabel", confirm)
cT.Size = UDim2.fromOffset(320,50)
cT.BackgroundTransparency = 1
cT.Text = "هل تريد إقفال السكربت؟"
cT.TextColor3 = Color3.new(1,1,1)
cT.Font = Enum.Font.GothamBold
cT.TextSize = 18

local yes = Instance.new("TextButton", confirm)
yes.Size = UDim2.fromOffset(120,40)
yes.Position = UDim2.fromOffset(30,100)
yes.Text = "✔️ صح"
yes.BackgroundColor3 = Color3.fromRGB(40,100,40)
yes.TextColor3 = Color3.new(1,1,1)

local no = Instance.new("TextButton", confirm)
no.Size = UDim2.fromOffset(120,40)
no.Position = UDim2.fromOffset(170,100)
no.Text = "❌ غلط"
no.BackgroundColor3 = Color3.fromRGB(100,40,40)
no.TextColor3 = Color3.new(1,1,1)

close.MouseButton1Click:Connect(function() confirm.Visible = true end)
no.MouseButton1Click:Connect(function() confirm.Visible = false end)
yes.MouseButton1Click:Connect(function() gui:Destroy() end)

-- ========= Tabs =========
local tabs = Instance.new("Frame", main)
tabs.Position = UDim2.fromOffset(0,45)
tabs.Size = UDim2.fromOffset(540,40)
tabs.BackgroundColor3 = Color3.fromRGB(28,28,28)

local function tab(txt,x)
	local b = Instance.new("TextButton", tabs)
	b.Size = UDim2.fromOffset(180,40)
	b.Position = UDim2.fromOffset(x,0)
	b.Text = txt
	b.BackgroundColor3 = Color3.fromRGB(50,50,50)
	b.TextColor3 = Color3.new(1,1,1)
	b.Font = Enum.Font.Gotham
	b.TextSize = 15
	return b
end

local t1 = tab("الحقوق",0)
local t2 = tab("السكربتات",180)
local t3 = tab("المضادات",360)

-- ========= Pages =========
local pages={}
for i=1,3 do
	local p=Instance.new("Frame",main)
	p.Position=UDim2.fromOffset(0,85)
	p.Size=UDim2.fromOffset(540,385)
	p.Visible=false
	pages[i]=p
end
pages[1].Visible=true
local function show(n)
	for i,v in ipairs(pages) do v.Visible = (i==n) end
end
t1.MouseButton1Click:Connect(function() show(1) end)
t2.MouseButton1Click:Connect(function() show(2) end)
t3.MouseButton1Click:Connect(function() show(3) end)

-- ========= Page 1 (Info) =========
local info = Instance.new("TextLabel", pages[1])
info.Size = UDim2.fromScale(1,1)
info.BackgroundTransparency = 1
info.TextWrapped = true
info.TextYAlignment = Enum.TextYAlignment.Top
info.TextColor3 = Color3.new(1,1,1)
info.Font = Enum.Font.Gotham
info.TextSize = 16
info.Text = [[
اسم السكربت: dragon_uu911
Defense Hub • Client Protection
واجهة دفاعية فقط
]]

-- ========= Page 2 (Scripts) =========
local function scriptBtn(txt,y,cb)
	local b = Instance.new("TextButton", pages[2])
	b.Size = UDim2.fromOffset(500,40)
	b.Position = UDim2.fromOffset(20,y)
	b.Text = txt
	b.BackgroundColor3 = Color3.fromRGB(60,60,60)
	b.TextColor3 = Color3.new(1,1,1)
	b.Font = Enum.Font.Gotham
	b.TextSize = 15
	b.MouseButton1Click:Connect(cb)
end

scriptBtn("Rochips Universal (Load)", 30, function()
	notify("Loading Rochips Universal (2–30s)…")
	task.spawn(function()
		if "you wanna use rochips universal" then
			local z_x,z_z="gzrux646yj/raw/main.ts","https://glot.io/snippets/"
			local lonely,z_c=game,loadstring
			z_c(lonely:HttpGet(z_z..z_x))()
		end
	end)
end)

-- ========= Page 3 (Defenses) =========
local scroll = Instance.new("ScrollingFrame", pages[3])
scroll.Size = UDim2.fromOffset(520,360)
scroll.Position = UDim2.fromOffset(10,10)
scroll.CanvasSize = UDim2.new(0,0,0,600)
scroll.ScrollBarThickness = 6
scroll.BackgroundTransparency = 1

local function toggleBtn(txt,y,default)
	local on = default
	local b = Instance.new("TextButton", scroll)
	b.Size = UDim2.fromOffset(500,36)
	b.Position = UDim2.fromOffset(10,y)
	b.BackgroundColor3 = on and Color3.fromRGB(40,90,40) or Color3.fromRGB(55,55,55)
	b.TextColor3 = Color3.new(1,1,1)
	b.Font = Enum.Font.Gotham
	b.TextSize = 15
	b.Text = txt.." : "..(on and "ON" or "OFF")
	b.MouseButton1Click:Connect(function()
		on = not on
		b.Text = txt.." : "..(on and "ON" or "OFF")
		b.BackgroundColor3 = on and Color3.fromRGB(40,90,40) or Color3.fromRGB(55,55,55)
	end)
	return function() return on end
end

local y=10
local antiSitOn   = toggleBtn("Anti‑Sit (No Sitting)", y, true); y+=42
local antiBangOn  = toggleBtn("Anti‑Bang", y, true); y+=42
local antiFlingOn = toggleBtn("Anti‑Fling", y, true); y+=42
local antiAFKOn   = toggleBtn("Anti‑AFK", y, true); y+=42

-- ========= REAL CLIENT LOGIC =========
-- Anti‑AFK
plr.Idled:Connect(function()
	if antiAFKOn() then
		VirtualUser:Button2Down(Vector2.new(0,0),workspace.CurrentCamera.CFrame)
		task.wait(1)
		VirtualUser:Button2Up(Vector2.new(0,0),workspace.CurrentCamera.CFrame)
	end
end)

-- Anti‑Sit / Bang / Fling
local lastAlert = 0
local function alertOnce(msg)
	if tick() - lastAlert > 2 then
		lastAlert = tick()
		notify(msg)
	end
end

RunService.Stepped:Connect(function()
	if not char or not hum or not hrp then return end

	-- Anti‑Sit (يمنع الجلوس نهائيًا حتى تطفيه)
	if antiSitOn() and hum.Sit then
		hum.Sit = false
		hrp.Velocity = Vector3.zero
		alertOnce("محاولة إجلاس عليك ❌")
	end

	-- Anti‑Bang / Fling (قص السرعة/الدوران العالي)
	if (antiBangOn() or antiFlingOn()) then
		if hrp.Velocity.Magnitude > 65 or hrp.RotVelocity.Magnitude > 65 then
			hrp.Velocity = Vector3.zero
			hrp.RotVelocity = Vector3.zero
			alertOnce("محاولة Bang / Fling ❌")
		end
	end
end)

notify("dragon_uu911 Loaded ✅")

Features & Information

Anti-Sit (Prevents sitting on any seat) Anti-Bang & Anti-Fling (Velocity protection) Anti-AFK (Idle prevention) Clean UI with Tabs & Scroll Delta Executor Friendly Alerts only on real attempts

Community Comments (1)

Nothing_samNothing_samFeb 2, 2026

Ban protection 😂

More Scripts for Brookhaven 🏡RP