-- BFX Ultimate Final (واجهة عربية ديناميكية كاملة) -- دمج كل الميزات: Boss Farm, Hydra, Auto Skills, Teleport, Merge آمن local BFX = {} BFX.Settings = { AutoFarm = false, AutoAttack = true, AutoSkills = true, Range = 50, Weapon = "Sword1", SafeMerge = true } BFX.Bosses = {"Boss1", "Boss2", "Boss3", "Hydra"} BFX.Cities = {"City1", "City2", "City3"} BFX.Weapons = {"Sword1", "Sword2", "Gun1", "Gun2"} -- واجهة تفاعلية ديناميكية local PlayerGui = game.Players.LocalPlayer:WaitForChild("PlayerGui") local ScreenGui = Instance.new("ScreenGui", PlayerGui) local Frame = Instance.new("Frame", ScreenGui) Frame.Size = UDim2.new(0, 350, 0, 500) Frame.Position = UDim2.new(0, 20, 0, 50) Frame.BackgroundColor3 = Color3.fromRGB(30,30,30) Frame.BorderSizePixel = 0 Frame.Active = true Frame.Draggable = true local function CreateButton(text, posY, callback) local btn = Instance.new("TextButton", Frame) btn.Size = UDim2.new(0, 330, 0, 40) btn.Position = UDim2.new(0, 10, 0, posY) btn.Text = text btn.TextSize = 18 btn.BackgroundColor3 = Color3.fromRGB(50,50,50) btn.BorderSizePixel = 0 btn.TextColor3 = Color3.fromRGB(255,255,255) btn.MouseEnter:Connect(function() btn.BackgroundColor3 = Color3.fromRGB(70,70,70) end) btn.MouseLeave:Connect(function() btn.BackgroundColor3 = Color3.fromRGB(50,50,50) end) btn.MouseButton1Click:Connect(callback) end local function CreateDropdown(labelText, options, posY, callback) local label = Instance.new("TextLabel", Frame) label.Size = UDim2.new(0, 330, 0, 30) label.Position = UDim2.new(0, 10, 0, posY) label.Text = labelText label.TextSize = 16 label.BackgroundTransparency = 1 label.TextColor3 = Color3.fromRGB(255,255,255) local dropdown = Instance.new("TextButton", Frame) dropdown.Size = UDim2.new(0, 330, 0, 30) dropdown.Position = UDim2.new(0, 10, 0, posY + 30) dropdown.Text = options[1] dropdown.TextSize = 16 dropdown.BackgroundColor3 = Color3.fromRGB(50,50,50) dropdown.BorderSizePixel = 0 dropdown.TextColor3 = Color3.fromRGB(255,255,255) dropdown.MouseEnter:Connect(function() dropdown.BackgroundColor3 = Color3.fromRGB(70,70,70) end) dropdown.MouseLeave:Connect(function() dropdown.BackgroundColor3 = Color3.fromRGB(50,50,50) end) dropdown.MouseButton1Click:Connect(function() local currentIndex = table.find(options, dropdown.Text) currentIndex = currentIndex % #options + 1 dropdown.Text = options[currentIndex] callback(dropdown.Text) end) end -- أزرار وواجهة التحكم CreateButton("تشغيل/إيقاف الفارم", 10, function() BFX.Settings.AutoFarm = not BFX.Settings.AutoFarm print("AutoFarm: "..tostring(BFX.Settings.AutoFarm)) end) CreateButton("فتح المتجر", 60, function() print("تم فتح المتجر") end) CreateButton("تفعيل/إيقاف القدرات", 110, function() BFX.Settings.AutoSkills = not BFX.Settings.AutoSkills print("AutoSkills: "..tostring(BFX.Settings.AutoSkills)) end) -- Dropdown Boss CreateDropdown("اختيار Boss", BFX.Bosses, 160, function(selected) BFX.SelectedBoss = selected print("تم اختيار البوس: "..selected) end) -- Dropdown Cities CreateDropdown("اختيار المدينة للـTeleport", BFX.Cities, 230, function(selected) BFX.SelectedCity = selected print("تم اختيار المدينة: "..selected) end) -- Dropdown Weapon CreateDropdown("اختيار السلاح", BFX.Weapons, 300, function(selected) BFX.Settings.Weapon = selected print("تم اختيار السلاح: "..selected) end) -- دوال السكربت function BFX:Farm() for _, enemy in pairs(workspace.Enemies:GetChildren()) do local dist = (enemy.Position - game.Players.LocalPlayer.Character.HumanoidRootPart.Position).Magnitude if dist <= self.Settings.Range then if self.Settings.AutoAttack then print("هاجم: "..enemy.Name.." بالسلاح: "..self.Settings.Weapon) end if self.Settings.AutoSkills then print("استخدم قدرة على: "..enemy.Name) end end end end function BFX:Teleport(location) print("تم النقل إلى: "..location) end -- الفارم التلقائي spawn(function() while true do if BFX.Settings.AutoFarm then BFX:Farm() end task.wait(1) end end) print("BFX Ultimate Final جاهز! كل شيء ديناميكي والتحكم كامل من الواجهة.")