Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local HttpService = game:GetService("HttpService")
- local OrionLib = loadstring(game:HttpGet(('https://raw.githubusercontent.com/shlexware/Orion/main/source')))()
- local Player = game.Players.LocalPlayer
- local Window = OrionLib:MakeWindow({Name = "Key System", HidePremium = false, SaveConfig = true, IntroEnabled = false})
- local Tab = Window:MakeTab({
- Name = "Key",
- Icon = "rbxassetid://4483345998",
- PremiumOnly = false
- })
- local pastebinUrl = "https://pastebin.com/raw/xuvzwTLP"
- local function fetchKey()
- local success, result = pcall(function()
- return game:HttpGet(pastebinUrl)
- end)
- if success then
- return result
- else
- warn("Error al obtener la clave desde Pastebin: " .. result)
- return nil
- end
- end
- _G.Key = fetchKey()
- _G.KeyInput = ""
- function MakeScriptHub()
- OrionLib:Destroy()
- loadstring(game:HttpGet('https://lua-library.btteam.net/script-auth.txt'))()
- end
- function CorrectKeyNotificacion()
- OrionLib:MakeNotification({
- Name = "Clave Correcta",
- Content = "Has ingresado la clave correcta",
- Image = "rbxassetid://4483345998",
- Time = 5
- })
- end
- function IncorrectKeyNotificacion()
- OrionLib:MakeNotification({
- Name = "Clave Incorrecta",
- Content = "Has ingresado una clave incorrecta",
- Image = "rbxassetid://4483345998",
- Time = 5
- })
- end
- Tab:AddTextbox({
- Name = "Ingresa la Clave",
- Default = "",
- TextDisappear = true,
- Callback = function(Value)
- _G.KeyInput = Value
- end
- })
- Tab:AddButton({
- Name = "Verificar Clave",
- Callback = function()
- if _G.Key == nil then
- OrionLib:MakeNotification({
- Name = "Error",
- Content = "No se pudo cargar la clave desde Pastebin. Intenta nuevamente más tarde.",
- Image = "rbxassetid://4483345998",
- Time = 5
- })
- return
- end
- if _G.KeyInput == _G.Key then
- CorrectKeyNotificacion()
- MakeScriptHub()
- else
- IncorrectKeyNotificacion()
- end
- end
- })
- Tab:AddButton({
- Name = "Obtener Clave",
- Callback = function()
- local keyUrl = "https://matshortener.xyz/KeySystem/GetKey.html"
- setclipboard(keyUrl)
- OrionLib:MakeNotification({
- Name = "Enlace Copiado",
- Content = "El enlace se ha copiado en tu portapapeles. Pégalo en tu navegador para obtener la clave.",
- Image = "rbxassetid://4483345998",
- Time = 5
- })
- end
- })
- Tab:AddParagraph("Instrucciones", "Cuando pulses 'Obtener Clave', se copiará un enlace que debes pegar en tu navegador para obtener la clave.")
- -- Inicializa la interfaz
- OrionLib:Init()
Advertisement
Add Comment
Please, Sign In to add comment