
KeylessUniversal

-- سكربت skybox لبروك هافن - dragon_uu911
local player = game.Players.LocalPlayer
-- انتظر تحميل اللعبة
repeat wait() until player.Character and game:IsLoaded()
-- إنشاء الواجهة
local gui = Instance.new("ScreenGui")
gui.Name = "dragon_uu911_Skybox"
gui.Parent = player:WaitForChild("PlayerGui")
gui.ResetOnSpawn = false
-- الإطار الرئيسي (قابل للسحب)
local frame = Instance.new("Frame")
frame.Parent = gui
frame.Size = UDim2.new(0, 200, 0, 100)
frame.Position = UDim2.new(0.5, -100, 0.1, 0)
frame.BackgroundColor3 = Color3.fromRGB(20, 20, 30)
frame.BorderSizePixel = 2
frame.BorderColor3 = Color3.fromRGB(0, 200, 255)
frame.Active = true
frame.Draggable = true
frame.BackgroundTransparency = 0.1
-- عنوان
local title = Instance.new("TextLabel")
title.Parent = frame
title.Size = UDim2.new(1, 0, 0, 30)
title.Text = "dragon_uu911"
title.TextColor3 = Color3.fromRGB(0, 200, 255)
title.BackgroundTransparency = 1
title.Font = Enum.Font.SourceSansBold
title.TextSize = 22
-- زر Skybox
local skyboxBtn = Instance.new("TextButton")
skyboxBtn.Parent = frame
skyboxBtn.Size = UDim2.new(0.8, 0, 0, 40)
skyboxBtn.Position = UDim2.new(0.1, 0, 0.35, 0)
skyboxBtn.Text = "Skybox"
skyboxBtn.BackgroundColor3 = Color3.fromRGB(0, 150, 255)
skyboxBtn.Font = Enum.Font.SourceSansBold
skyboxBtn.TextSize = 24
skyboxBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
-- حالة التشغيل
local statusText = Instance.new("TextLabel")
statusText.Parent = frame
statusText.Size = UDim2.new(0.7, 0, 0, 20)
statusText.Position = UDim2.new(0.05, 0, 0.8, 0)
statusText.Text = "⚪ متوقف"
statusText.TextColor3 = Color3.fromRGB(255, 100, 100)
statusText.BackgroundTransparency = 1
statusText.Font = Enum.Font.SourceSans
statusText.TextSize = 16
statusText.TextXAlignment = Enum.TextXAlignment.Left
-- دائرة الحالة
local statusDot = Instance.new("Frame")
statusDot.Parent = frame
statusDot.Size = UDim2.new(0, 10, 0, 10)
statusDot.Position = UDim2.new(0.85, 0, 0.82, 0)
statusDot.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
statusDot.BorderSizePixel = 0
local dotCorner = Instance.new("UICorner")
dotCorner.CornerRadius = UDim.new(1, 0)
dotCorner.Parent = statusDot
-- زر X للإغلاق
local closeBtn = Instance.new("TextButton")
closeBtn.Parent = frame
closeBtn.Size = UDim2.new(0, 30, 0, 30)
closeBtn.Position = UDim2.new(1, -35, 0, 5)
closeBtn.Text = "X"
closeBtn.BackgroundColor3 = Color3.fromRGB(200, 0, 0)
closeBtn.Font = Enum.Font.SourceSansBold
closeBtn.TextSize = 20
closeBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
-- زوايا دائرية
local frameCorner = Instance.new("UICorner")
frameCorner.CornerRadius = UDim.new(0.1, 0)
frameCorner.Parent = frame
local btnCorner = Instance.new("UICorner")
btnCorner.CornerRadius = UDim.new(0.2, 0)
btnCorner.Parent = skyboxBtn
local closeCorner = Instance.new("UICorner")
closeCorner.CornerRadius = UDim.new(0.3, 0)
closeCorner.Parent = closeBtn
-- متغيرات
local active = false
local savedBody = {}
local animTracks = {}
-- وظيفة إيقاف كل شيء
local function stopSkybox()
active = false
statusText.Text = "⚪ متوقف"
statusText.TextColor3 = Color3.fromRGB(255, 100, 100)
statusDot.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
skyboxBtn.BackgroundColor3 = Color3.fromRGB(0, 150, 255)
skyboxBtn.Text = "Skybox"
-- إيقاف جميع الأنيمشنات
for _, track in pairs(animTracks) do
pcall(function()
track:Stop()
track:Destroy()
end)
end
animTracks = {}
-- إعادة الجسم الطبيعي
if next(savedBody) then
task.wait(0.2)
local character = player.Character
if character then
local humanoid = character:FindFirstChildOfClass("Humanoid")
if humanoid then
-- تجهيز الجسم المحفوظ
local restoreArgs = {
[1] = savedBody.Torso,
[2] = savedBody.RightArm,
[3] = savedBody.LeftArm,
[4] = savedBody.RightLeg,
[5] = savedBody.LeftLeg,
[6] = savedBody.Head
}
-- استدعاء Remote
local success, err = pcall(function()
game:GetService("ReplicatedStorage").Remotes.ChangeCharacterBody:InvokeServer(restoreArgs)
end)
if not success then
print("خطأ في إعادة الجسم: " .. tostring(err))
end
savedBody = {}
end
end
end
print("✅ Skybox متوقف")
end
-- وظيفة تشغيل skybox
local function startSkybox()
local character = player.Character
if not character then
print("❌ لا يوجد شخصية")
return false
end
local humanoid = character:FindFirstChildOfClass("Humanoid")
if not humanoid then
print("❌ لا يوجد Humanoid")
return false
end
-- حفظ الجسم الحالي
local description = humanoid:GetAppliedDescription()
savedBody = {
Torso = description.Torso,
RightArm = description.RightArm,
LeftArm = description.LeftArm,
RightLeg = description.RightLeg,
LeftLeg = description.LeftLeg,
Head = description.Head
}
print("✅ تم حفظ الجسم الحالي")
-- تغيير الجسم
task.wait(0.2)
-- أرقام الجسم الخاص بـ skybox
local bodyArgs = {
[1] = 123402086843885, -- Torso
[2] = 100839513065432, -- Right Arm
[3] = 78300682916056, -- Left Arm
[4] = 86276701020724, -- Right Leg
[5] = 78409653958165, -- Left Leg
[6] = 15093053680 -- Head
}
local success1, err1 = pcall(function()
game:GetService("ReplicatedStorage").Remotes.ChangeCharacterBody:InvokeServer(bodyArgs)
end)
if not success1 then
print("❌ فشل تغيير الجسم: " .. tostring(err1))
savedBody = {}
return false
end
print("✅ تم تغيير الجسم")
-- تشغيل الأنيمشن الأول
task.wait(0.3)
local anim1 = Instance.new("Animation")
anim1.AnimationId = "rbxassetid://70883871260184"
local track1 = humanoid:LoadAnimation(anim1)
track1.Priority = Enum.AnimationPriority.Action4
track1:Play(0.1, 1, 0.01)
table.insert(animTracks, track1)
print("✅ تم تشغيل الأنيمشن الأول")
-- تشغيل الأنيمشن الثاني
task.wait(0.5)
local anim2 = Instance.new("Animation")
anim2.AnimationId = "rbxassetid://3695333486"
local track2 = humanoid:LoadAnimation(anim2)
track2.Priority = Enum.AnimationPriority.Movement
track2:Play(0.1, 1, 0)
table.insert(animTracks, track2)
print("✅ تم تشغيل الأنيمشن الثاني")
return true
end
-- حدث زر Skybox
skyboxBtn.MouseButton1Click:Connect(function()
active = not active
if active then
-- تشغيل
statusText.Text = "🔵 مفعل"
statusText.TextColor3 = Color3.fromRGB(100, 255, 100)
statusDot.BackgroundColor3 = Color3.fromRGB(0, 255, 0)
skyboxBtn.BackgroundColor3 = Color3.fromRGB(200, 0, 0)
skyboxBtn.Text = "إيقاف"
print("🚀 تشغيل Skybox...")
-- تأكد من وجود الشخصية
if not player.Character then
player.CharacterAdded:Wait()
end
-- تشغيل skybox
local success = startSkybox()
if not success then
active = false
statusText.Text = "⚪ متوقف"
statusText.TextColor3 = Color3.fromRGB(255, 100, 100)
statusDot.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
skyboxBtn.BackgroundColor3 = Color3.fromRGB(0, 150, 255)
skyboxBtn.Text = "Skybox"
end
else
-- إيقاف
stopSkybox()
end
end)
-- حدث زر الإغلاق
closeBtn.MouseButton1Click:Connect(function()
if active then
stopSkybox()
end
gui:Destroy()
end)
-- التعامل مع تغيير الشخصية (إذا مات اللاعب)
player.CharacterAdded:Connect(function(newCharacter)
task.wait(1) -- انتظر تحميل الشخصية
-- إذا كان skybox مفعل، أعد تشغيله
if active then
-- انتظر اكتمال تحميل الشخصية
task.wait(0.5)
startSkybox()
end
end)
-- إضافة مفتاح سريع F1 للتشغيل/الإيقاف
game:GetService("UserInputService").InputBegan:Connect(function(input)
if input.KeyCode == Enum.KeyCode.F1 then
skyboxBtn.MouseButton1Click:Fire()
end
end)
print("✅ سكربت skybox لبروك هافن جاهز!")
print("👉 استخدم F1 للتشغيل/الإيقاف السريع")No comments yet for this script.



