Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Chargement de la bibliothèque OrionLib
- local OrionLib = loadstring(game:HttpGet(('https://raw.githubusercontent.com/shlexware/Orion/main/source')))()
- -- Tableau des clés valides
- local validKeys = {
- "PLD8S-DJD78-SJZF7",
- "ADMINTESTER",
- "goatowner"
- }
- -- Lien à copier
- local linkToCopy = "https://link-center.net/1264515/get-yinhub"
- -- Variable pour suivre si l'utilisateur est authentifié
- local isAuthenticated = true
- -- Fonction pour vérifier si une clé est valide
- local function checkKey(inputKey)
- for _, key in ipairs(validKeys) do
- if key == inputKey then
- return true
- end
- end
- return false
- end
- -- Fonction pour exécuter un script après validation
- local function executeScript()
- loadstring(game:HttpGet("https://pastebin.com/raw/DeTL1MwL"))()
- end
- -- Création de la fenêtre principale
- local Window = OrionLib:MakeWindow({Name = "Key System", HidePremium = false, SaveConfig = true, ConfigFolder = "KeySystem"})
- -- Création de l'onglet pour la saisie de clé
- local KeyTab = Window:MakeTab({
- Name = "Authentification",
- Icon = "rbxassetid://4483345998",
- PremiumOnly = false
- })
- -- Section pour entrer une clé
- KeyTab:AddTextbox({
- Name = "Entrer votre clé",
- Default = "",
- TextDisappear = true,
- Callback = function(inputKey)
- if checkKey(inputKey) then
- isAuthenticated = true
- OrionLib:MakeNotification({
- Name = "Succès",
- Content = "Clé valide ! Le script s'exécute...",
- Image = "rbxassetid://4483345998",
- Time = 5
- })
- -- Exécution du script après validation
- executeScript()
- else
- OrionLib:MakeNotification({
- Name = "Erreur",
- Content = "Clé invalide. Veuillez réessayer.",
- Image = "rbxassetid://4483345998",
- Time = 5
- })
- end
- end
- })
- -- Création d'un onglet pour les outils
- local ToolsTab = Window:MakeTab({
- Name = "Outils",
- Icon = "rbxassetid://4483345998",
- PremiumOnly = false
- })
- -- Ajout d'un bouton pour copier le lien, disponible uniquement si authentifié
- ToolsTab:AddButton({
- Name = "Copier le lien",
- Callback = function()
- if isAuthenticated then
- setclipboard(linkToCopy)
- OrionLib:MakeNotification({
- Name = "Lien copié",
- Content = "Le lien a été copié dans le presse-papiers !",
- Image = "rbxassetid://4483345998",
- Time = 5
- })
- else
- OrionLib:MakeNotification({
- Name = "Accès refusé",
- Content = "Veuillez entrer une clé valide pour accéder à cette fonctionnalité.",
- Image = "rbxassetid://4483345998",
- Time = 5
- })
- end
- end
- })
- -- Initialisation de l'interface
- OrionLib:Init()
Advertisement
Add Comment
Please, Sign In to add comment