Advertisement
Thecodeeasar

Untitled

Oct 14th, 2024
17
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.27 KB | None | 0 0
  1. local OrionLib = loadstring(game:HttpGet(('https://raw.githubusercontent.com/shlexware/Orion/main/source')))()
  2. local Window = OrionLib:MakeWindow({Name = "Universal Hub by wutdahell510 on Roblox", HidePremium = false, SaveConfig = true, ConfigFolder = "SaveConfig"})
  3.  
  4. -- User database
  5. local users = {}
  6.  
  7. local function isOwner()
  8. return game.Players.LocalPlayer.Name:lower() == "wutdahell510"
  9. end
  10.  
  11. local function getUserRank(player)
  12. if users[player.Name] then
  13. return users[player.Name].rank
  14. else
  15. return "No Rank"
  16. end
  17. end
  18.  
  19. local function hasAccess(requiredRank)
  20. local playerRank = getUserRank(game.Players.LocalPlayer)
  21. return isOwner() or playerRank == requiredRank or (requiredRank == "Premium" and playerRank == "Content Creator")
  22. end
  23.  
  24. -- No Rank Tab
  25. local NoRankTab = Window:MakeTab({
  26. Name = "No Rank Scripts",
  27. Icon = "rbxassetid://4483345998",
  28. PremiumOnly = false
  29. })
  30.  
  31. NoRankTab:AddButton({
  32. Name = "Anti-AFK",
  33. Callback = function()
  34. loadstring(game:HttpGet("https://raw.githubusercontent.com/NoTwistedHere/Roblox/main/AntiAFK.lua"))()
  35. OrionLib:MakeNotification({
  36. Name = "Anti-AFK",
  37. Content = "Anti-AFK script has been activated",
  38. Image = "rbxassetid://4483345998",
  39. Time = 5
  40. })
  41. end
  42. })
  43.  
  44. NoRankTab:AddButton({
  45. Name = "RemoteSpy",
  46. Callback = function()
  47. loadstring(game:HttpGet("https://github.com/exxtremestuffs/SimpleSpySource/raw/master/SimpleSpy.lua"))()
  48. OrionLib:MakeNotification({
  49. Name = "RemoteSpy",
  50. Content = "RemoteSpy has been activated",
  51. Image = "rbxassetid://4483345998",
  52. Time = 5
  53. })
  54. end
  55. })
  56.  
  57. -- Premium Tab
  58. local PremiumTab = Window:MakeTab({
  59. Name = "Premium Scripts",
  60. Icon = "rbxassetid://4483345998",
  61. PremiumOnly = false
  62. })
  63.  
  64. PremiumTab:AddButton({
  65. Name = "AntiKick",
  66. Callback = function()
  67. if hasAccess("Premium") then
  68. loadstring(game:HttpGet("https://raw.githubusercontent.com/Exunys/Anti-Kick/main/Anti-Kick.lua"))()
  69. OrionLib:MakeNotification({
  70. Name = "AntiKick",
  71. Content = "AntiKick script has been activated",
  72. Image = "rbxassetid://4483345998",
  73. Time = 5
  74. })
  75. else
  76. OrionLib:MakeNotification({
  77. Name = "Access Denied",
  78. Content = "This feature is for Premium users only.",
  79. Image = "rbxassetid://4483345998",
  80. Time = 5
  81. })
  82. end
  83. end
  84. })
  85.  
  86. -- Content Creator Tab
  87. local ContentCreatorTab = Window:MakeTab({
  88. Name = "Content Creator Scripts",
  89. Icon = "rbxassetid://4483345998",
  90. PremiumOnly = false
  91. })
  92.  
  93. ContentCreatorTab:AddButton({
  94. Name = "Coming Soon...", -- Updated name without emoji
  95. Callback = function()
  96. print("This feature is coming soon!")
  97. end
  98. })
  99.  
  100. -- Databases Tab (Only for owner)
  101. if isOwner() then
  102. local DatabasesTab = Window:MakeTab({
  103. Name = "Databases",
  104. Icon = "rbxassetid://4483345998",
  105. PremiumOnly = false
  106. })
  107.  
  108. DatabasesTab:AddTextbox({
  109. Name = "Add/Update User Rank",
  110. Default = "",
  111. TextDisappear = false,
  112. Callback = function(username)
  113. DatabasesTab:AddDropdown({
  114. Name = "Select Rank",
  115. Default = "No Rank",
  116. Options = {"No Rank", "Premium", "Content Creator"},
  117. Callback = function(rank)
  118. users[username] = {
  119. rank = rank,
  120. joinTime = os.date("%Y-%m-%d %H:%M:%S"),
  121. inDiscord = false
  122. }
  123. print(username .. " rank set to: " .. rank)
  124. end
  125. })
  126. end
  127. })
  128.  
  129. DatabasesTab:AddButton({
  130. Name = "View All Users",
  131. Callback = function()
  132. for username, data in pairs(users) do
  133. print(string.format("User: %s, Rank: %s, Join Time: %s, In Discord: %s",
  134. username, data.rank, data.joinTime, tostring(data.inDiscord)))
  135. end
  136. end
  137. })
  138. end
  139.  
  140. OrionLib:Init()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement