-- الحصول على الخدمات المطلوبة local Players = game:GetService("Players") -- دالة لإنشاء النص فوق رأس اللاعب local function createOverheadText(player) -- إنشاء BillboardGui local billboard = Instance.new("BillboardGui") billboard.Name = "OverheadText" billboard.Size = UDim2.new(0, 300, 0, 70) -- زيادة حجم النص billboard.StudsOffset = Vector3.new(0, 3, 0) -- المسافة فوق الرأس billboard.AlwaysOnTop = true billboard.MaxDistance = 50 -- المسافة القصوى التي يظهر فيها النص -- إنشاء TextLabel local text = Instance.new("TextLabel") text.Name = "Text" text.Size = UDim2.new(1, 0, 1, 0) text.BackgroundTransparency = 1 text.TextColor3 = Color3.fromRGB(255, 255, 255) -- لون النص (أبيض) text.TextStrokeColor3 = Color3.fromRGB(0, 0, 0) -- لون حدود النص (أسود) text.TextStrokeTransparency = 0 text.TextSize = 28 -- حجم الخط أكبر text.Font = Enum.Font.Cartoon -- خط كرتوني جميل text.TextScaled = true -- يجعل النص يتكيف مع الحجم text.RichText = true -- يسمح باستخدام تنسيق النص -- إضافة تأثير التدرج اللوني للنص local UIGradient = Instance.new("UIGradient") UIGradient.Color = ColorSequence.new({ ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 100, 255)), -- وردي ColorSequenceKeypoint.new(0.5, Color3.fromRGB(255, 255, 255)), -- أبيض ColorSequenceKeypoint.new(1, Color3.fromRGB(100, 200, 255)) -- أزرق فاتح }) UIGradient.Parent = text -- تحريك التدرج local TweenService = game:GetService("TweenService") local tweenInfo = TweenInfo.new(2, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut, -1) local tween = TweenService:Create(UIGradient, tweenInfo, {Offset = Vector2.new(1, 0)}) tween:Play() -- ربط النص بالصفحة المحددة local HttpService = game:GetService("HttpService") -- دالة لاستخراج محتوى الـ body local function extractBodyContent(html) local bodyStart = html:find("
]*>") local bodyEnd = html:find("") if bodyStart and bodyEnd then -- الحصول على المحتوى بين علامتي body local content = html:sub(bodyStart, bodyEnd) -- إزالة علامة body الافتتاحية content = content:gsub("]*>", "") -- إزالة أي HTML tags أخرى content = content:gsub("<[^>]+>", "") -- إزالة الفراغات الزائدة content = content:gsub("%s+", " ") -- تنظيف النص content = content:match("^%s*(.-)%s*$") return content end return html -- إذا لم يتم العثور على body، إرجاع النص كاملاً end -- تحديث النص بشكل مستمر spawn(function() while wait(1) do -- تحديث كل ثانية pcall(function() -- محاولة الحصول على البيانات من الرابط local response = HttpService:GetAsync("https://wooded-futuristic-reason.glitch.me/") local bodyContent = extractBodyContent(response) text.Text = "" .. bodyContent .. "" -- إضافة تأثير Bold للنص end) end end) text.Parent = billboard -- وضع BillboardGui على رأس اللاعب if player.Character and player.Character:FindFirstChild("Head") then billboard.Parent = player.Character.Head end end -- تطبيق النص على اللاعبين الحاليين for _, player in pairs(Players:GetPlayers()) do createOverheadText(player) end -- تطبيق النص على اللاعبين الجدد Players.PlayerAdded:Connect(function(player) player.CharacterAdded:Connect(function() createOverheadText(player) end) end)