Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- تعريف المتغيرات
- local player = game.Players.LocalPlayer
- local gui = Instance.new("ScreenGui", player:WaitForChild("PlayerGui"))
- local frame = Instance.new("Frame", gui)
- local textLabel = Instance.new("TextLabel", frame)
- local button = Instance.new("TextButton", frame)
- local confirmationLabel = Instance.new("TextLabel", gui)
- local keyFrame = Instance.new("Frame", gui)
- local keyTextLabel = Instance.new("TextLabel", keyFrame)
- local keyBox = Instance.new("TextBox", keyFrame)
- local submitButton = Instance.new("TextButton", keyFrame)
- -- إعداد نافذة الاشتراك
- frame.Size = UDim2.new(0, 200, 0, 100)
- frame.Position = UDim2.new(0.5, -100, 0.3, -50)
- -- إعداد النص
- textLabel.Size = UDim2.new(1, 0, 0.5, 0)
- textLabel.Text = "اشترك في روبلوكس"
- textLabel.TextScaled = true
- -- إعداد الزر
- button.Size = UDim2.new(1, 0, 0.5, 0)
- button.Position = UDim2.new(0, 0, 0.5, 0)
- button.Text = "اشترك"
- button.TextScaled = true
- -- إعداد نص التأكيد
- confirmationLabel.Size = UDim2.new(0, 200, 0, 50)
- confirmationLabel.Position = UDim2.new(0.5, -100, 0.5, 0)
- confirmationLabel.Text = ""
- confirmationLabel.TextScaled = true
- -- إعداد نافذة المفتاح
- keyFrame.Size = UDim2.new(0, 200, 0, 100)
- keyFrame.Position = UDim2.new(0.5, -100, 0.5, 50)
- keyFrame.Visible = false
- keyTextLabel.Size = UDim2.new(1, 0, 0.5, 0)
- keyTextLabel.Text = "أضف المفتاح"
- keyTextLabel.TextScaled = true
- keyBox.Size = UDim2.new(1, 0, 0.3, 0)
- keyBox.Position = UDim2.new(0, 0, 0.5, 0)
- keyBox.PlaceholderText = "ادخل المفتاح هنا"
- submitButton.Size = UDim2.new(1, 0, 0.2, 0)
- submitButton.Position = UDim2.new(0, 0, 0.8, 0)
- submitButton.Text = "تحقق"
- -- وظيفة الزر للاشتراك
- button.MouseButton1Click:Connect(function()
- local youtubeLink = "https://youtube.com/@hazarobloxscripts?si=nCSNqAxYkurT3bbV"
- setclipboard(youtubeLink)
- confirmationLabel.Text = "تم نسخ الرابط بنجاح!"
- print("تم نسخ رابط القناة: " .. youtubeLink)
- keyFrame.Visible = true
- end)
- -- وظيفة الزر للتحقق من المفتاح
- submitButton.MouseButton1Click:Connect(function()
- local correctKey = "HAMOZ"
- if keyBox.Text == correctKey then
- -- إخفاء جميع النوافذ والنصوص بعد وضع المفتاح الصحيح
- frame.Visible = false
- keyFrame.Visible = false
- confirmationLabel.Visible = false
- print("مفتاح صحيح! يتم تشغيل السكربت...")
- -- تشغيل السكربت التلقائي بعد وضع المفتاح الصحيح
- loadstring(game:HttpGet("https://rawscripts.net/raw/Universal-Script-rochips-universal-18294"))()
- else
- confirmationLabel.Text = "مفتاح غير صحيح، حاول مجدداً."
- print("مفتاح غير صحيح.")
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement