local OrionLib = loadstring(game:HttpGet(('https://[Log in to view URL]')))()
local Window = OrionLib:MakeWindow({
Name = "Rodan Hub V1",
HidePremium = false,
SaveConfig = true,
ConfigFolder = "OrionTest"
})
local Players = game:GetService("Players")
local MarketplaceService = game:GetService("MarketplaceService")
local Player = Players.LocalPlayer
local GamePassID = 1004121552 -- Replace with your GamePass ID
local ownsGamePass = false
-- Check if the player owns the GamePass
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 -- Accessible to all but with restrictions
})
local function createPremiumContent()
local Section = PremiumTab:AddSection({
Name = "Premium Features"
})
PremiumTab:AddButton({
Name = "Exclusive Feature",
Callback = function()
print("Premium Feature Executed")
end
})
end
if ownsGamePass then
createPremiumContent()
else
-- Add notification and purchase button
PremiumTab:AddSection({
Name = "Premium Access"
})
PremiumTab:AddButton({
Name = "Purchase Premium Access",
Callback = function()
MarketplaceService:PromptGamePassPurchase(Player, GamePassID)
end
})
-- Add notification when they access the Premium tab
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()
loadstring(game:HttpGet("https://[Log in to view URL]"))()
print("executed")
end
})
OrionLib:Init()
To embed this project on your website, copy the following code and paste it into your website's HTML: