-- Orion Library
local OrionLib = loadstring(game:HttpGet(('https://[Log in to view URL]')))()

-- Create Main Window
local Window = OrionLib:MakeWindow({
    Name = "Rodan Hub V1",
    HidePremium = false,
    SaveConfig = true,
    ConfigFolder = "OrionTest"
})

-- Services and Player Information
local Players = game:GetService("Players")
local MarketplaceService = game:GetService("MarketplaceService")
local Player = Players.LocalPlayer
local GamePassID = 1004121552 -- Replace with your GamePass ID

-- Check for GamePass Ownership
local ownsGamePass = false
local success, result = pcall(function()
    return MarketplaceService:UserOwnsGamePassAsync(Player.UserId, GamePassID)
end)

if success and result then
    ownsGamePass = true
end

-- Premium Tab
local PremiumTab = Window:MakeTab({
    Name = "Premium",
    Icon = "rbxassetid://4483345998",
    PremiumOnly = false
})

PremiumTab:AddSection({
    Name = "Premium Features"
})

PremiumTab:AddButton({
    Name = "Exclusive Feature",
    Callback = function()
        if ownsGamePass then
            print("Premium Feature Executed")
        else
            -- Prompt purchase if they do not own the GamePass
            MarketplaceService:PromptGamePassPurchase(Player, GamePassID)
        end
    end    
})

if not ownsGamePass then
    -- Add notification and purchase button
    PremiumTab:AddButton({
        Name = "Purchase Premium Access",
        Callback = function()
            MarketplaceService:PromptGamePassPurchase(Player, GamePassID)
        end
    })

    PremiumTab:AddSection({
        Name = "You need to purchase the Premium GamePass to unlock features."
    })
end

-- Blox Fruits Tab
local BloxFruitsTab = Window:MakeTab({
    Name = "Blox Fruits",
    Icon = "rbxassetid://4483345998",
    PremiumOnly = false
})

local Section = BloxFruitsTab:AddSection({
    Name = "Blox Fruits"
})

BloxFruitsTab:AddButton({
    Name = "Redz Hub",
    Callback = function()
        -- Execute the loadstring when the button is clicked
        loadstring(game:HttpGet("https://[Log in to view URL]"))()
        print("Redz Hub Script Executed")
    end    
})

-- Initialize Orion Library
OrionLib:Init()

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: