
KeylessUniversal

local Players = game:GetService("Players")
local player = Players.LocalPlayer
local UserInputService = game:GetService("UserInputService")
local RunService = game:GetService("RunService")
local password = "RC3" -- كلمة السر
-- GUI الرئيسية (كلمة السر والقائمة داخل نفس Frame)
local ScreenGui = Instance.new("ScreenGui")
ScreenGui.Name = "ScreenGui"
ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
ScreenGui.Parent = player:WaitForChild("PlayerGui")
local Frame = Instance.new("Frame")
Frame.Name = "MainFrame"
Frame.Parent = ScreenGui
Frame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Frame.BorderSizePixel = 0
Frame.Size = UDim2.new(0, 142, 0, 156)
Frame.Position = UDim2.new(0, 286, 0, 34)
local UICorner = Instance.new("UICorner", Frame)
local UIStroke = Instance.new("UIStroke", Frame)
-- العناوين
local TitleLabel = Instance.new("TextLabel")
TitleLabel.Parent = Frame
TitleLabel.Size = UDim2.new(0, 122, 0, 16)
TitleLabel.Position = UDim2.new(0, 10, 0, 2)
TitleLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TitleLabel.BorderSizePixel = 0
TitleLabel.FontFace = Font.new([[rbxasset://fonts/families/SourceSansPro.json]], Enum.FontWeight.Bold, Enum.FontStyle.Normal)
TitleLabel.TextSize = 24
TitleLabel.Text = "HusseinGUI_9"
local LabelR = Instance.new("TextLabel")
LabelR.Parent = Frame
LabelR.Size = UDim2.new(0.2, 0, 0.3, 0)
LabelR.Position = UDim2.new(0, 110, 0, 22)
LabelR.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
LabelR.BorderSizePixel = 0
LabelR.FontFace = Font.new([[rbxasset://fonts/families/SourceSansPro.json]], Enum.FontWeight.Bold, Enum.FontStyle.Normal)
LabelR.TextSize = 36
LabelR.Text = "R"
local LabelC = Instance.new("TextLabel")
LabelC.Parent = Frame
LabelC.Size = UDim2.new(0, 32, 0, 26)
LabelC.Position = UDim2.new(0, 110, 0, 56)
LabelC.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
LabelC.BorderSizePixel = 0
LabelC.FontFace = Font.new([[rbxasset://fonts/families/SourceSansPro.json]], Enum.FontWeight.Bold, Enum.FontStyle.Normal)
LabelC.TextSize = 36
LabelC.Text = "C"
local Label3 = Instance.new("TextLabel")
Label3.Parent = Frame
Label3.Size = UDim2.new(0, 30, 0, 16)
Label3.Position = UDim2.new(0, 112, 0, 84)
Label3.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Label3.BorderSizePixel = 0
Label3.FontFace = Font.new([[rbxasset://fonts/families/SourceSansPro.json]], Enum.FontWeight.Bold, Enum.FontStyle.Normal)
Label3.TextSize = 36
Label3.Text = "3"
-- TextBox كلمة السر (ظاهر أول شيء)
local PasswordBox = Instance.new("TextBox")
PasswordBox.Parent = Frame
PasswordBox.Size = UDim2.new(0.9, 0, 0.5, 0)
PasswordBox.Position = UDim2.new(0.05, 0, 0.15, 0)
PasswordBox.BackgroundColor3 = Color3.fromRGB(121, 121, 121)
PasswordBox.TextColor3 = Color3.fromRGB(255,255,255)
PasswordBox.TextSize = 12
PasswordBox.ClearTextOnFocus = true
PasswordBox.MultiLine = false
PasswordBox.PlaceholderText = "Enter Password"
-- زر Submit كلمة السر
local SubmitBtn = Instance.new("TextButton")
SubmitBtn.Parent = Frame
SubmitBtn.Size = UDim2.new(0.8, 0, 0.2, 0)
SubmitBtn.Position = UDim2.new(0.1, 0, 0.7, 0)
SubmitBtn.BackgroundColor3 = Color3.fromRGB(0,150,255)
SubmitBtn.Text = "Submit"
SubmitBtn.TextColor3 = Color3.fromRGB(255,255,255)
SubmitBtn.TextSize = 14
SubmitBtn.Font = Enum.Font.SourceSansBold
-- باقي القائمة مخفية أول شيء
local ScrollFrame = Instance.new("ScrollingFrame")
ScrollFrame.Parent = Frame
ScrollFrame.Size = UDim2.new(0, 106, 0, 106)
ScrollFrame.Position = UDim2.new(0, 4, 0, 18)
ScrollFrame.BackgroundTransparency = 1
ScrollFrame.ScrollBarThickness = 6
ScrollFrame.CanvasSize = UDim2.new(0,0,0,0)
ScrollFrame.Visible = false
local ScriptBox = Instance.new("TextBox")
ScriptBox.Parent = ScrollFrame
ScriptBox.Size = UDim2.new(1,0,1,0)
ScriptBox.BackgroundColor3 = Color3.fromRGB(121, 121, 121)
ScriptBox.TextColor3 = Color3.fromRGB(255,255,255)
ScriptBox.TextSize = 12
ScriptBox.ClearTextOnFocus = false
ScriptBox.MultiLine = true
ScriptBox.TextWrapped = true
ScriptBox.TextXAlignment = Enum.TextXAlignment.Left
ScriptBox.TextYAlignment = Enum.TextYAlignment.Top
ScriptBox.Text = ""
ScriptBox.Visible = false
-- زر Execute
local ExecuteBtn = Instance.new("TextButton")
ExecuteBtn.Name = "ExecuteBtn"
ExecuteBtn.Parent = Frame
ExecuteBtn.Size = UDim2.new(0, 66, 0, 22)
ExecuteBtn.Position = UDim2.new(0, 2, 0, 132)
ExecuteBtn.BackgroundColor3 = Color3.fromRGB(0, 150, 255)
ExecuteBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
ExecuteBtn.TextSize = 14
ExecuteBtn.Font = Enum.Font.SourceSansBold
ExecuteBtn.Text = "🚀 Execute"
ExecuteBtn.Visible = false
-- زر Clear
local ClearBtn = Instance.new("TextButton")
ClearBtn.Name = "ClearBtn"
ClearBtn.Parent = Frame
ClearBtn.Size = UDim2.new(0, 66, 0, 22)
ClearBtn.Position = UDim2.new(0, 74, 0, 132)
ClearBtn.BackgroundColor3 = Color3.fromRGB(255, 80, 80)
ClearBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
ClearBtn.TextSize = 14
ClearBtn.Font = Enum.Font.SourceSansBold
ClearBtn.Text = "🧹 Clear"
ClearBtn.Visible = false
-- وظائف الأزرار
ClearBtn.MouseButton1Click:Connect(function()
ScriptBox.Text = ""
end)
ExecuteBtn.MouseButton1Click:Connect(function()
local code = ScriptBox.Text
if code ~= "" then
local func = loadstring(code)
if func then
func()
end
end
end)
-- ميزة تحريك القايمة بالماوس / اللمس
local guiFrame = Frame
local dragging = false
local dragInput, mousePos, framePos
local function update(input)
local delta = input.Position - mousePos
guiFrame.Position = UDim2.new(
framePos.X.Scale,
framePos.X.Offset + delta.X,
framePos.Y.Scale,
framePos.Y.Offset + delta.Y
)
end
guiFrame.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 or
input.UserInputType == Enum.UserInputType.Touch then
dragging = true
dragInput = input
mousePos = input.Position
framePos = guiFrame.Position
input.Changed:Connect(function()
if input.UserInputState == Enum.UserInputState.End then
dragging = false
end
end)
end
end)
guiFrame.InputChanged:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseMovement or
input.UserInputType == Enum.UserInputType.Touch then
dragInput = input
end
end)
RunService.RenderStepped:Connect(function()
if dragging and dragInput then
update(dragInput)
end
end)
-- وظيفة زر Submit كلمة السر
SubmitBtn.MouseButton1Click:Connect(function()
if PasswordBox.Text == password then
PasswordBox.Visible = false
SubmitBtn.Visible = false
ScrollFrame.Visible = true
ScriptBox.Visible = true
ExecuteBtn.Visible = true
ClearBtn.Visible = true
else
PasswordBox.Text = ""
PasswordBox.PlaceholderText = "Wrong Password!"
end
end)No comments yet for this script.



