-- ⚙️ CONFIGURATION local VERIFIED_USER_ID = 2575619556 -- 🔁 استبدل بروبلوكس آيدي الخاص بك local VERIFIED_USERNAME = "coco_w12345" -- 🔁 اسم المستخدم للتحقق -- 📦 SERVICES local Players = game:GetService("Players") local StarterGui = game:GetService("StarterGui") local TextChatService = game:GetService("TextChatService") local RunService = game:GetService("RunService") local ReplicatedStorage = game:GetService("ReplicatedStorage") -- 🎯 MAIN SYSTEM - شارة التوثيق الرسمية local localPlayer = Players.LocalPlayer -- 🏷️ شارة التوثيق الرسمية من روبلوكس local VERIFIED_BADGE = utf8.char(0xE000) -- الشارة الرسمية الزرقاء -- 🔧 إنشاء نظام الأحداث للمزامنة local function setupEventSystem() local eventName = "VerifiedBadgeSync" local badgeEvent = ReplicatedStorage:FindFirstChild(eventName) if not badgeEvent then badgeEvent = Instance.new("RemoteEvent") badgeEvent.Name = eventName badgeEvent.Parent = ReplicatedStorage end return badgeEvent end -- ✅ التحقق من المستخدم المتحقق منه local function isVerifiedUser(player) if not player then return false end return player.UserId == VERIFIED_USER_ID or player.Name == VERIFIED_USERNAME end -- 💬 نظام الدردشة مع الشارة local function setupChatSystem() if TextChatService then TextChatService.OnIncomingMessage = function(message) local properties = Instance.new("TextChatMessageProperties") if message.TextSource then local userId = message.TextSource.UserId local sender = Players:GetPlayerByUserId(userId) if sender and isVerifiedUser(sender) then local senderName = sender.DisplayName or sender.Name properties.PrefixText = "" .. senderName .. " " .. VERIFIED_BADGE .. ":" end end return properties end end end -- 🏷️ نظام الشارات فوق الرؤوس local function setupOverheadBadges() local function createVerifiedBadge(player, character) local head = character:WaitForChild("Head", 5) if not head then return end local humanoid = character:FindFirstChild("Humanoid") if not humanoid then return end -- إزالة الشارة القديمة إن وجدت local oldBadge = head:FindFirstChild("VerifiedBadgeGui") if oldBadge then oldBadge:Destroy() end if isVerifiedUser(player) then local badgeGui = Instance.new("BillboardGui") badgeGui.Name = "VerifiedBadgeGui" badgeGui.Size = UDim2.new(0, 200, 0, 50) badgeGui.ExtentsOffset = Vector3.new(0, 3, 0) badgeGui.AlwaysOnTop = true badgeGui.MaxDistance = 100 badgeGui.Adornee = head badgeGui.Parent = head local nameLabel = Instance.new("TextLabel") nameLabel.Size = UDim2.new(1, 0, 1, 0) nameLabel.BackgroundTransparency = 1 nameLabel.TextColor3 = Color3.fromRGB(29, 161, 242) nameLabel.TextStrokeTransparency = 0.5 nameLabel.TextStrokeColor3 = Color3.fromRGB(0, 0, 0) nameLabel.Font = Enum.Font.GothamBold nameLabel.TextSize = 18 nameLabel.Text = (player.DisplayName or player.Name) .. " " .. VERIFIED_BADGE nameLabel.Parent = badgeGui end end local function handlePlayer(player) local function onCharacterAdded(character) task.wait(1) createVerifiedBadge(player, character) end if player.Character then onCharacterAdded(player.Character) end player.CharacterAdded:Connect(onCharacterAdded) end -- معالجة جميع اللاعبين الحاليين for _, player in pairs(Players:GetPlayers()) do handlePlayer(player) end -- معالجة اللاعبين الجدد Players.PlayerAdded:Connect(handlePlayer) end -- 📺 نظام الشارة في الشاشة (للعرض الشخصي) local function setupScreenBadge() if not isVerifiedUser(localPlayer) then return end local function createScreenBadge() local playerGui = localPlayer:WaitForChild("PlayerGui") -- إزالة الشارة القديمة local oldGui = playerGui:FindFirstChild("VerifiedScreenBadge") if oldGui then oldGui:Destroy() end local screenGui = Instance.new("ScreenGui") screenGui.Name = "VerifiedScreenBadge" screenGui.ResetOnSpawn = false screenGui.Parent = playerGui local badgeFrame = Instance.new("Frame") badgeFrame.Size = UDim2.new(0, 200, 0, 40) badgeFrame.Position = UDim2.new(0, 10, 0, 10) badgeFrame.BackgroundColor3 = Color3.fromRGB(29, 161, 242) badgeFrame.BorderSizePixel = 0 badgeFrame.Parent = screenGui local corner = Instance.new("UICorner") corner.CornerRadius = UDim.new(0, 8) corner.Parent = badgeFrame local badgeLabel = Instance.new("TextLabel") badgeLabel.Size = UDim2.new(1, 0, 1, 0) badgeLabel.BackgroundTransparency = 1 badgeLabel.TextColor3 = Color3.fromRGB(255, 255, 255) badgeLabel.Font = Enum.Font.GothamBold badgeLabel.TextSize = 16 badgeLabel.Text = VERIFIED_BADGE .. " VERIFIED" badgeLabel.Parent = badgeFrame -- تأثير إخفاء تدريجي بعد 5 ثوان task.spawn(function() task.wait(5) local tween = game:GetService("TweenService"):Create( badgeFrame, TweenInfo.new(1, Enum.EasingStyle.Quad), {BackgroundTransparency = 1} ) local textTween = game:GetService("TweenService"):Create( badgeLabel, TweenInfo.new(1, Enum.EasingStyle.Quad), {TextTransparency = 1} ) tween:Play() textTween:Play() tween.Completed:Connect(function() screenGui:Destroy() end) end) end -- إنشاء الشارة عند تحميل الشخصية local function onCharacterAdded() task.wait(2) createScreenBadge() end if localPlayer.Character then onCharacterAdded() end localPlayer.CharacterAdded:Connect(onCharacterAdded) end -- 🔄 نظام إعادة التهيئة local function setupReinitializationSystem() local initialized = false local function initialize() if initialized then return end task.wait(1) setupChatSystem() setupOverheadBadges() setupScreenBadge() initialized = true end local function reinitialize() initialized = false task.wait(0.5) initialize() end if localPlayer.Character then initialize() end localPlayer.CharacterAdded:Connect(reinitialize) if not localPlayer.Character then localPlayer.CharacterAdded:Wait() initialize() end end -- 🛠️ نظام المراقبة والصيانة local function setupMonitoringSystem() local lastCheck = tick() RunService.Heartbeat:Connect(function() local now = tick() if now - lastCheck >= 60 then lastCheck = now -- إعادة تهيئة النظام إذا لزم الأمر if TextChatService and not TextChatService.OnIncomingMessage then setupChatSystem() end -- التأكد من وجود الشارات فوق الرؤوس for _, player in pairs(Players:GetPlayers()) do if isVerifiedUser(player) and player.Character then local head = player.Character:FindFirstChild("Head") if head and not head:FindFirstChild("VerifiedBadgeGui") then task.spawn(function() local character = player.Character if character then task.wait(1) local badgeGui = Instance.new("BillboardGui") badgeGui.Name = "VerifiedBadgeGui" badgeGui.Size = UDim2.new(0, 200, 0, 50) badgeGui.ExtentsOffset = Vector3.new(0, 3, 0) badgeGui.AlwaysOnTop = true badgeGui.MaxDistance = 100 badgeGui.Adornee = head badgeGui.Parent = head local nameLabel = Instance.new("TextLabel") nameLabel.Size = UDim2.new(1, 0, 1, 0) nameLabel.BackgroundTransparency = 1 nameLabel.TextColor3 = Color3.fromRGB(29, 161, 242) nameLabel.TextStrokeTransparency = 0.5 nameLabel.TextStrokeColor3 = Color3.fromRGB(0, 0, 0) nameLabel.Font = Enum.Font.GothamBold nameLabel.TextSize = 18 nameLabel.Text = (player.DisplayName or player.Name) .. " " .. VERIFIED_BADGE nameLabel.Parent = badgeGui end end) end end end end end) end -- 🚀 التهيئة الشاملة local function initializeSystem() task.wait(0.5) setupReinitializationSystem() setupMonitoringSystem() end -- ▶️ بدء النظام task.spawn(initializeSystem)