Advertisement
hacimiks

Orion Lib ( KEY SYS )

Apr 10th, 2024 (edited)
844
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.77 KB | None | 0 0
  1. local OrionLib = loadstring(game:HttpGet(('https://raw.githubusercontent.com/shlexware/Orion/main/source')))()
  2. local Window = OrionLib:MakeWindow({Name = "RemiAPE | Key System", HidePremium = false, SaveConfig = true, ConfigFolder = "OrionTest", IntroText = "Key System"})
  3.  
  4.  
  5. local Player = game.Players.LocalPlayer
  6.  
  7. OrionLib:MakeNotification({
  8.     Name = "Discord (Link For Key)",
  9.     Content = "discord.gg/RemiAPE",
  10.     Image = "rbxassetid://12117215397",
  11.     Time = 10
  12. })
  13.  
  14. --Values
  15. _G.Key = "aokitest"
  16. _G.KeyInput = "string"
  17.  
  18.  
  19. local function Destroy()
  20.     game.GetService("CoreGui").OrionLib:Destroy()
  21. end
  22.  
  23. local function MainScript()
  24.     loadstring(game:HttpGet("https://pastebin.com/raw/D10hGQhr"))()
  25. end
  26.  
  27. local function CorrectKeyNotif()
  28.     OrionLib:MakeNotification({
  29.         Name = "Correct Key!",
  30.         Content = "Loading Script Please Wait.",
  31.         Image = "rbxassetid://12117215397",
  32.         Time = 5
  33. })
  34. end
  35.  
  36. local function IncorrectKeyNotif()
  37.     OrionLib:MakeNotification({
  38.         Name = "Incorrect Key!",
  39.         Content = "Invalid Key Try Again.",
  40.         Image = "rbxassetid://12117215397",
  41.         Time = 5
  42. })
  43. end
  44.  
  45. local Tab = Window:MakeTab({
  46.     Name = "Home",
  47.     Icon = "rbxassetid://12053823591",
  48.     PremiumOnly = false
  49. })
  50.  
  51. Tab:AddTextbox({
  52.     Name = "Enter Key Here",
  53.     Default = "",
  54.     TextDisappear = true,
  55.     Callback = function(Value)
  56.         _G.KeyInput = Value
  57.     end
  58. })
  59.  
  60. Tab:AddButton({
  61.     Name = "Check Key",
  62.     Callback = function()
  63.         if _G.KeyInput == _G.Key then
  64.             MainScript()
  65.             CorrectKeyNotif()
  66.             Destroy()
  67.         else
  68.             IncorrectKeyNotif()
  69.         end
  70.     end
  71. })
  72.  
  73. local Section = Tab:AddSection({
  74.     Name = "Discord (Key Link)"
  75. })
  76.  
  77. Section:AddParagraph("Link:","discord.gg/RemiAPE")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement