local Rayfield = loadstring(game:HttpGet('https://[Log in to view URL]'))()
local Window = Rayfield:CreateWindow({
Name = "XorzHub | Universal",
LoadingTitle = "Loading...",
LoadingSubtitle = "by OrzScript",
ConfigurationSaving = {
Enabled = true,
FolderName = nil, -- Create a custom folder for your hub/game
FileName = "Big Hub"
},
Discord = {
Enabled = false,
Invite = "noinvitelink", -- The Discord invite code, do not include discord.gg/. E.g. discord.gg/ABCD would be ABCD
RememberJoins = true -- Set this to false to make them join the discord every time they load it up
},
KeySystem = false, -- Set this to true to use our key system
KeySettings = {
Title = "Untitled",
Subtitle = "Key System",
Note = "No method of obtaining the key is provided",
FileName = "Key", -- It is recommended to use something unique as other scripts using Rayfield may overwrite your key file
SaveKey = true, -- The user's key will be saved, but if you change the key, they will be unable to use your script
GrabKeyFromSite = false, -- If this is true, set Key below to the RAW site you would like Rayfield to get the key from
Key = {"Hello"} -- List of keys that will be accepted by the system, can be RAW file links (pastebin, github etc) or simple strings ("hello","key22")
}
})
Rayfield:Notify({
Title = "XorzHub",
Content = "Welcome to XorzHub",
Duration = 6.5,
Image = 4483362458,
Actions = { -- Notification Buttons
Ignore = {
Name = "Discord Server",
Callback = function()
setclipboard("https://[Log in to view URL]")
end
},
},
})
local Tab = Window:CreateTab("🙋Welcome", ) -- Title, Image
local Section = Tab:CreateSection("Notice")
local Tab = Window:CreateTab("🎮Games", ) -- Title,
local Section = Tab:CreateSection("Simulators")
local Button = Tab:CreateButton({
Name = "Button Example",
Callback = function()
-- The function that takes place when the button is pressed
end,
})
local Button = Tab:CreateButton({
Name = "Button Example",
Callback = function()
-- The function that takes place when the button is pressed
end,
})
local Button = Tab:CreateButton({
Name = "Button Example",
Callback = function()
-- The function that takes place when the button is pressed
end,
})
local Button = Tab:CreateButton({
Name = "Button Example",
Callback = function()
-- The function that takes place when the button is pressed
end,
})
local Button = Tab:CreateButton({
Name = "Button Example",
Callback = function()
-- The function that takes place when the button is pressed
end,
})
local Section = Tab:CreateSection("Tycoons")
local Button = Tab:CreateButton({
Name = "Button Example",
Callback = function()
-- The function that takes place when the button is pressed
end,
})
local Tab = Window:CreateTab("🧾Credits", ) -- Title, Image
local Section = Tab:CreateSection("Credits")
local Paragraph = Tab:CreateParagraph({Title = "UI Library", Content = "Rayfield/Sirius"})
local Paragraph = Tab:CreateParagraph({Title = "UI Content", Content = "OrzScript"})
local Paragraph = Tab:CreateParagraph({Title = "Roblox Scripts", Content = "Envixity Script"})
local Tab = Window:CreateTab("🎲Misc", ) -- Title, Image
local Section = Tab:CreateSection("Misc")
local Button = Tab:CreateButton({
Name = "Rejoin",
Callback = function()
-- The function that takes place when the button is pressed
end,
})
local Button = Tab:CreateButton({
Name = "Close GUI",
Callback = function()
Rayfield:Destroy()
end,
})
To embed this project on your website, copy the following code and paste it into your website's HTML: