local Rayfield = loadstring(game:HttpGet('https://[Log in to view URL]'))()
local Window = Rayfield:CreateWindow({
Name = "🐶MetaHub PS99 Menu 🐱",
LoadingTitle = "MetaHub",
LoadingSubtitle = "by Xempis",
Theme = "Default", -- DarkBlue, Green, Light, Default - more coming soon!
DisableRayfieldPrompts = false,
ConfigurationSaving = {
Enabled = false,
FolderName = nil, -- Create a custom folder for your hub/game
FileName = "Big Hub"
},
Discord = {
Enabled = true, -- Prompt the user to join your Discord server if their executor supports it
Invite = "xWcKG2nB", -- 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", -- Use this to tell the user how to get a key
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 = "Script Loaded Succesfully! ✅",
Content = "MetaHub menu has loaded without any problems!",
Duration = 5,
Image = nil,
Actions = { -- Notification Buttons
Ignore = { -- Duplicate this table (or remove it) to add and remove buttons to the notification.
Name = "Got it! ✅",
Callback = function()
print("The user tapped Okay!")
end
},
},
})
local MainTab = Window:CreateTab("🏠Main", nil) -- Title, Image
local MainSection = MainTab:CreateSection("Main")
local Input = MainTab:CreateInput({
Name = "Pet Name 📝",
PlaceholderText = "Input Placeholder",
RemoveTextAfterFocusLost = false,
Callback = function(Text)
-- The function that takes place when the input is changed
-- The variable (Text) is a string for the value in the text box
end,
})
local Button = MainTab:CreateButton({
Name = "Start Dupe 🎭",
Callback = function()
Rayfield:Notify({
Title = "Dupe Started! ✅",
Content = "Give the Dupe around 3 minutes to load!",
Duration = 5,
Image = nil,
Actions = { -- Notification Buttons
Ignore = { -- Duplicate this table (or remove it) to add and remove buttons to the notification.
Name = "Got it! ✅",
Callback = function()
print("The user tapped Okay!")
end
},
},
})
end,
})
To embed this program on your website, copy the following code and paste it into your website's HTML: