-- 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(2395290791, 1004121552)
end)
if success and result then
ownsGamePass = true
end
-- Function to Display Premium GUI
local function showPremiumGUI()
local PremiumWindow = OrionLib:MakeWindow({
Name = "Premium Features",
HidePremium = false,
SaveConfig = false,
ConfigFolder = "PremiumFeatures"
})
local PremiumTab = PremiumWindow:MakeTab({
Name = "Premium",
Icon = "rbxassetid://4483345998",
PremiumOnly = false
})
PremiumTab:AddSection({
Name = "Exclusive Scripts"
})
PremiumTab:AddButton({
Name = "Special Script 1",
Callback = function()
print("Executing Special Script 1...")
-- Add your script execution here
end
})
PremiumTab:AddButton({
Name = "Special Script 2",
Callback = function()
print("Executing Special Script 2...")
-- Add your script execution here
end
})
PremiumWindow:Init()
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")
showPremiumGUI() -- Show Premium GUI if GamePass is owned
else
MarketplaceService:PromptGamePassPurchase(Player, GamePassID)
end
end
})
-- Handle GamePass Purchase and Post-Purchase GUI Display
MarketplaceService.PromptGamePassPurchaseFinished:Connect(function(playerId, purchasedPassId, wasPurchased)
if playerId == Player.UserId and purchasedPassId == GamePassID and wasPurchased then
ownsGamePass = true
print("GamePass purchased successfully!")
-- Show Premium GUI after purchase
OrionLib:MakeNotification({
Name = "Purchase Successful!",
Content = "You now have access to premium features!",
Image = "rbxassetid://4483345998",
Time = 5
})
showPremiumGUI()
end
end)
if not ownsGamePass then
PremiumTab:AddButton({
Name = "Purchase Premium Access",
Callback = function()
MarketplaceService:PromptGamePassPurchase(2395290791, 1004121552)
end
})
PremiumTab:AddSection({
Name = "You need to purchase the Premium GamePass to unlock features."
})
else
-- Show Premium GUI if the GamePass is already owned
showPremiumGUI()
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("Redz Hub Script Executed")
end
})
-- Initialize Orion Library
OrionLib:Init()
To embed this project on your website, copy the following code and paste it into your website's HTML: