Advertisement
Smartdumgood

Key System Setup

Jan 7th, 2025 (edited)
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.00 KB | None | 0 0
  1. local OrionLib = loadstring(game:HttpGet(('https://raw.githubusercontent.com/shlexware/Orion/main/source')))()
  2. local Window = OrionLib:MakeWindow({Name = "Lunar Hub", HidePremium = false, SaveConfig = true, ConfigFolder = "LunarConfig"})
  3.  
  4. -- Main Tab
  5. local MainTab = Window:MakeTab({
  6. Name = "Key System",
  7. Icon = "rbxassetid://4483345998",
  8. PremiumOnly = false
  9. })
  10.  
  11. -- Hidden real key
  12. local _k = "L"
  13. local _u = "u"
  14. local _n = "n"
  15. local _a = "a"
  16. local _r = "r"
  17. local realKey = _k.._u.._n.._a.._r.._n.._a.._r
  18.  
  19. MainTab:AddTextbox({
  20. Name = "Enter Key",
  21. Default = "",
  22. TextDisappear = true,
  23. Callback = function(Value)
  24. if Value == realKey then
  25. OrionLib:MakeNotification({
  26. Name = "Success!",
  27. Content = "Correct key entered. Loading script...",
  28. Image = "rbxassetid://4483345998",
  29. Time = 5
  30. })
  31. loadstring(game:HttpGet("YOUR_SCRIPT_URL_HERE"))()
  32. OrionLib:Destroy()
  33. else
  34. OrionLib:MakeNotification({
  35. Name = "Error",
  36. Content = "Invalid key!",
  37. Image = "rbxassetid://4483345998",
  38. Time = 5
  39. })
  40. end
  41. end
  42. })
  43.  
  44. MainTab:AddButton({
  45. Name = "Get Key",
  46. Callback = function()
  47. setclipboard("https://rekonise.com/key-destination-1-h4vm3")
  48. OrionLib:MakeNotification({
  49. Name = "Link Copied!",
  50. Content = "Key link copied to clipboard",
  51. Image = "rbxassetid://4483345998",
  52. Time = 5
  53. })
  54. end
  55. })
  56.  
  57. MainTab:AddButton({
  58. Name = "Join Discord",
  59. Callback = function()
  60. setclipboard("https://discord.gg/swTAWFRZWr")
  61. OrionLib:MakeNotification({
  62. Name = "Discord Copied!",
  63. Content = "Discord invite copied to clipboard",
  64. Image = "rbxassetid://4483345998",
  65. Time = 5
  66. })
  67. end
  68. })
  69.  
  70. -- Initialize
  71. OrionLib:Init()
  72.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement