Advertisement
Prokri43

Key system

Aug 12th, 2024
31
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.72 KB | None | 0 0
  1. local OrionLib = loadstring(game:HttpGet(('https://raw.githubusercontent.com/ionlyusegithubformcmods/1-Line-Scripts/main/Mobile%20Friendly%20Orion')))() --This Will Load The Script Code
  2. local Player = game.Players.LocalPlayer --This Will Reveal The Player Name
  3. local Window = OrionLib:MakeWindow({
  4. Name = "XyzWare key system"",
  5. HidePremium = false,
  6. SaveConfig = true,
  7. ConfigFolder = "OrionTest",
  8. IntroText = "Welcome, "..Player.Name..""
  9. }) --This Will Load The Script Hub
  10.  
  11. function MakeScriptHub()
  12. loadstring(game:HttpGet('https://pastebin.com/8ydvHuwe'))() --Put The Script That Will Load If The Key Is Correct Here
  13. end
  14.  
  15. OrionLib:MakeNotification({
  16. Name = "Logged In!",
  17. Content = "You need key "..Player.Name..".",
  18. Image = "rbxassetid://4483345998",
  19. Time = 5
  20. }) --Notification
  21.  
  22. getgenv().Key = "ApolloIsPro" --Put The Correct Key Here
  23. getgenv().KeyInput = "string" --Require For The Key To Work
  24.  
  25. local Tab = Window:MakeTab({
  26. Name = "Key",
  27. Icon = "rbxassetid://4483345998",
  28. PremiumOnly = false
  29. }) --Making A Tab
  30.  
  31. Tab:AddTextbox({
  32. Name = "Key",
  33. Default = "Enter Key.",
  34. TextDisappear = true,
  35. Callback = function(Value)
  36. getgenv().KeyInput = Value
  37. end
  38. }) --You Will Enter The Key Here
  39.  
  40. Tab:AddButton({
  41. Name = "Check Key",
  42. Callback = function()
  43. if getgenv().KeyInput == getgenv().Key then
  44. OrionLib:MakeNotification({
  45. Name = "Checking Key",
  46. Content = "Checking The Key You Entered",
  47. Image = "rbxassetid://4483345998",
  48. Time = 5
  49. })
  50. wait(2)
  51. OrionLib:MakeNotification({
  52. Name = "Correct Key!",
  53. Content = "The key you entered is Correct.",
  54. Image = "rbxassetid://4483345998",
  55. Time = 5
  56. })
  57. wait(1)
  58. OrionLib:Destroy()
  59. wait(.3)
  60. MakeScriptHub()
  61. else
  62. OrionLib:MakeNotification({
  63. Name = "Checking Key",
  64. Content = "Checking The Key You Entered",
  65. Image = "rbxassetid://4483345998",
  66. Time = 5
  67. })
  68. wait(2)
  69. OrionLib:MakeNotification({
  70. Name = "Incorrect Key!",
  71. Content = "The key you entered is incorrect.",
  72. Image = "rbxassetid://4483345998",
  73. Time = 5
  74. })
  75. end
  76. end
  77. }) --This Will Check The Key You Entered
  78.  
  79. Tab:AddButton({
  80. Name = "Copy Key",
  81. Callback = function()
  82. setclipboard("https://discord.gg/QsghKXmRFv") --This Will Copy The Link Of The Key
  83. end
  84. })
  85.  
  86. OrionLib:Init() --Require If The Script Is Done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement