Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local OrionLib = loadstring(game:HttpGet(('https://raw.githubusercontent.com/shlexware/Orion/main/source')))()
- local Window = OrionLib:MakeWindow({Name = "Universal Hub by wutdahell510 on Roblox", HidePremium = false, SaveConfig = true, ConfigFolder = "SaveConfig"})
- -- User database
- local users = {}
- local function isOwner()
- return game.Players.LocalPlayer.Name:lower() == "wutdahell510"
- end
- local function getUserRank(player)
- if users[player.Name] then
- return users[player.Name].rank
- else
- return "No Rank"
- end
- end
- local function hasAccess(requiredRank)
- local playerRank = getUserRank(game.Players.LocalPlayer)
- return isOwner() or playerRank == requiredRank or (requiredRank == "Premium" and playerRank == "Content Creator")
- end
- -- No Rank Tab
- local NoRankTab = Window:MakeTab({
- Name = "No Rank Scripts",
- Icon = "rbxassetid://4483345998",
- PremiumOnly = false
- })
- NoRankTab:AddButton({
- Name = "Anti-AFK",
- Callback = function()
- loadstring(game:HttpGet("https://raw.githubusercontent.com/NoTwistedHere/Roblox/main/AntiAFK.lua"))()
- OrionLib:MakeNotification({
- Name = "Anti-AFK",
- Content = "Anti-AFK script has been activated",
- Image = "rbxassetid://4483345998",
- Time = 5
- })
- end
- })
- NoRankTab:AddButton({
- Name = "RemoteSpy",
- Callback = function()
- loadstring(game:HttpGet("https://github.com/exxtremestuffs/SimpleSpySource/raw/master/SimpleSpy.lua"))()
- OrionLib:MakeNotification({
- Name = "RemoteSpy",
- Content = "RemoteSpy has been activated",
- Image = "rbxassetid://4483345998",
- Time = 5
- })
- end
- })
- -- Premium Tab
- local PremiumTab = Window:MakeTab({
- Name = "Premium Scripts",
- Icon = "rbxassetid://4483345998",
- PremiumOnly = false
- })
- PremiumTab:AddButton({
- Name = "AntiKick",
- Callback = function()
- if hasAccess("Premium") then
- loadstring(game:HttpGet("https://raw.githubusercontent.com/Exunys/Anti-Kick/main/Anti-Kick.lua"))()
- OrionLib:MakeNotification({
- Name = "AntiKick",
- Content = "AntiKick script has been activated",
- Image = "rbxassetid://4483345998",
- Time = 5
- })
- else
- OrionLib:MakeNotification({
- Name = "Access Denied",
- Content = "This feature is for Premium users only.",
- Image = "rbxassetid://4483345998",
- Time = 5
- })
- end
- end
- })
- -- Content Creator Tab
- local ContentCreatorTab = Window:MakeTab({
- Name = "Content Creator Scripts",
- Icon = "rbxassetid://4483345998",
- PremiumOnly = false
- })
- ContentCreatorTab:AddButton({
- Name = "Coming Soon...", -- Updated name without emoji
- Callback = function()
- print("This feature is coming soon!")
- end
- })
- -- Databases Tab (Only for owner)
- if isOwner() then
- local DatabasesTab = Window:MakeTab({
- Name = "Databases",
- Icon = "rbxassetid://4483345998",
- PremiumOnly = false
- })
- DatabasesTab:AddTextbox({
- Name = "Add/Update User Rank",
- Default = "",
- TextDisappear = false,
- Callback = function(username)
- DatabasesTab:AddDropdown({
- Name = "Select Rank",
- Default = "No Rank",
- Options = {"No Rank", "Premium", "Content Creator"},
- Callback = function(rank)
- users[username] = {
- rank = rank,
- joinTime = os.date("%Y-%m-%d %H:%M:%S"),
- inDiscord = false
- }
- print(username .. " rank set to: " .. rank)
- end
- })
- end
- })
- DatabasesTab:AddButton({
- Name = "View All Users",
- Callback = function()
- for username, data in pairs(users) do
- print(string.format("User: %s, Rank: %s, Join Time: %s, In Discord: %s",
- username, data.rank, data.joinTime, tostring(data.inDiscord)))
- end
- end
- })
- end
- OrionLib:Init()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement