0% found this document useful (0 votes)
116 views1 page

Main Lua

This document contains a Lua script for creating a user interface using Rayfield for a game hub called 'Doors hub'. It includes configuration options for saving settings, Discord integration, and a key system for user access. The script allows customization of the window's title, subtitle, and key management features.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
116 views1 page

Main Lua

This document contains a Lua script for creating a user interface using Rayfield for a game hub called 'Doors hub'. It includes configuration options for saving settings, Discord integration, and a key system for user access. The script allows customization of the window's title, subtitle, and key management features.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

local Rayfield = loadstring(game:HttpGet('https://sirius.

menu/Rayfield'))()

local Window = Rayfield:CreateWindow({


Name = "Doors hub",
LoadingTitle = "Rayfield Interface Suite",
LoadingSubtitle = "by Sirius",
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")
}
})

You might also like