-- [[ Rscripts Risk Notice ]] -- This script is not verified by rscripts.net. Deal with caution. -- -- Stay safe: -- • Never log in on unofficial Roblox sites or lookalike domains. -- • Real Roblox links use roblox.com (check the .com ending). -- • Treat fake Roblox login / "claim reward" pages as phishing. -- [[ End Rscripts Risk Notice ]] local Players = game:GetService("Players") local UserInputService = game:GetService("UserInputService") local player = Players.LocalPlayer -- 1. إنشاء ScreenGui local screenGui = Instance.new("ScreenGui") screenGui.Name = "R6ConverterGui" screenGui.ResetOnSpawn = false screenGui.Parent = player:WaitForChild("PlayerGui") -- 2. إنشاء Frame بحجم (300, 300) local mainFrame = Instance.new("Frame") mainFrame.Name = "MainFrame" mainFrame.Size = UDim2.new(0, 300, 0, 300) mainFrame.Position = UDim2.new(0.5, -150, 0.5, -150) -- يوضع في المنتصف تمامًا mainFrame.BackgroundColor3 = Color3.fromRGB(35, 35, 35) mainFrame.BorderSizePixel = 0 mainFrame.Active = true mainFrame.Parent = screenGui -- إضافة حواف دائرية للواجهة local uiCorner = Instance.new("UICorner") uiCorner.CornerRadius = UDim2.new(0, 12) uiCorner.Parent = mainFrame -- 3. إنشاء TextButton داخل Frame local convertButton = Instance.new("TextButton") convertButton.Name = "R6Button" convertButton.Size = UDim2.new(0, 200, 0, 50) convertButton.Position = UDim2.new(0.5, -100, 0.5, -25) convertButton.BackgroundColor3 = Color3.fromRGB(0, 162, 255) convertButton.TextColor3 = Color3.fromRGB(255, 255, 255) convertButton.TextSize = 18 convertButton.Font = Enum.Font.SourceSansBold convertButton.Text = "R6 Button" -- تم تعديل النص هنا convertButton.Parent = mainFrame local btnCorner = Instance.new("UICorner") btnCorner.CornerRadius = UDim2.new(0, 8) btnCorner.Parent = convertButton -- 4. نظام سحب الـ Frame (Draggable System) local dragging = false local dragInput, dragStart, startPos local function update(input) local delta = input.Position - dragStart mainFrame.Position = UDim2.new( startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y ) end mainFrame.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = true dragStart = input.Position startPos = mainFrame.Position input.Changed:Connect(function() if input.UserInputState == Enum.UserInputState.End then dragging = false end end) end end) mainFrame.InputChanged:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then dragInput = input end end) UserInputService.InputChanged:Connect(function(input) if input == dragInput and dragging then update(input) end end) -- 5. وظيفة تحويل اللاعب إلى R6 عند الضغط convertButton.MouseButton1Click:Connect(function() local character = player.Character if not character then return end local humanoid = character:FindFirstChildOfClass("Humanoid") if humanoid and humanoid.RigType ~= Enum.HumanoidRigType.R6 then local description = humanoid:GetAppliedDescription() player:LoadCharacterWithHumanoidDescription(description) end end)