MatLumber2

blox45

Jan 2nd, 2025
1,721
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.81 KB | None | 0 0
  1. local HttpService = game:GetService("HttpService")
  2. local OrionLib = loadstring(game:HttpGet(('https://raw.githubusercontent.com/shlexware/Orion/main/source')))()
  3. local Player = game.Players.LocalPlayer
  4.  
  5. local Window = OrionLib:MakeWindow({Name = "Key System", HidePremium = false, SaveConfig = true, IntroEnabled = false})
  6.  
  7. local Tab = Window:MakeTab({
  8. Name = "Key",
  9. Icon = "rbxassetid://4483345998",
  10. PremiumOnly = false
  11. })
  12.  
  13. local pastebinUrl = "https://pastebin.com/raw/xuvzwTLP"
  14.  
  15. local function fetchKey()
  16. local success, result = pcall(function()
  17. return game:HttpGet(pastebinUrl)
  18. end)
  19. if success then
  20. return result
  21. else
  22. warn("Error al obtener la clave desde Pastebin: " .. result)
  23. return nil
  24. end
  25. end
  26.  
  27. _G.Key = fetchKey()
  28. _G.KeyInput = ""
  29.  
  30. function MakeScriptHub()
  31. OrionLib:Destroy()
  32. loadstring(game:HttpGet('https://lua-library.btteam.net/script-auth.txt'))()
  33. end
  34.  
  35. function CorrectKeyNotificacion()
  36. OrionLib:MakeNotification({
  37. Name = "Clave Correcta",
  38. Content = "Has ingresado la clave correcta",
  39. Image = "rbxassetid://4483345998",
  40. Time = 5
  41. })
  42. end
  43.  
  44. function IncorrectKeyNotificacion()
  45. OrionLib:MakeNotification({
  46. Name = "Clave Incorrecta",
  47. Content = "Has ingresado una clave incorrecta",
  48. Image = "rbxassetid://4483345998",
  49. Time = 5
  50. })
  51. end
  52.  
  53. Tab:AddTextbox({
  54. Name = "Ingresa la Clave",
  55. Default = "",
  56. TextDisappear = true,
  57. Callback = function(Value)
  58. _G.KeyInput = Value
  59. end
  60. })
  61.  
  62. Tab:AddButton({
  63. Name = "Verificar Clave",
  64. Callback = function()
  65. if _G.Key == nil then
  66. OrionLib:MakeNotification({
  67. Name = "Error",
  68. Content = "No se pudo cargar la clave desde Pastebin. Intenta nuevamente más tarde.",
  69. Image = "rbxassetid://4483345998",
  70. Time = 5
  71. })
  72. return
  73. end
  74.  
  75. if _G.KeyInput == _G.Key then
  76. CorrectKeyNotificacion()
  77. MakeScriptHub()
  78. else
  79. IncorrectKeyNotificacion()
  80. end
  81. end
  82. })
  83.  
  84. Tab:AddButton({
  85. Name = "Obtener Clave",
  86. Callback = function()
  87. local keyUrl = "https://matshortener.xyz/KeySystem/GetKey.html"
  88. setclipboard(keyUrl)
  89. OrionLib:MakeNotification({
  90. Name = "Enlace Copiado",
  91. Content = "El enlace se ha copiado en tu portapapeles. Pégalo en tu navegador para obtener la clave.",
  92. Image = "rbxassetid://4483345998",
  93. Time = 5
  94. })
  95. end
  96. })
  97.  
  98. Tab:AddParagraph("Instrucciones", "Cuando pulses 'Obtener Clave', se copiará un enlace que debes pegar en tu navegador para obtener la clave.")
  99.  
  100. -- Inicializa la interfaz
  101. OrionLib:Init()
  102.  
Advertisement
Add Comment
Please, Sign In to add comment