local Rayfield = loadstring(game:HttpGet('https://[Log in to view URL]'))()
local Window = Rayfield:CreateWindow({
Name = "🔫 MetaHub Fun 🔪",
LoadingTitle = "MetaHub",
LoadingSubtitle = "by Xempis",
ConfigurationSaving = {
Enabled = false,
FolderName = nil, -- Create a custom folder for your hub/game
FileName = "MetaHubScriptConfig"
},
Discord = {
Enabled = true,
Invite = "ryQa86btWf", -- 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 = "Script Loading⏰",
Content = "Give the script around 3 minutes to load to ensure all features work!",
Duration = 5,
Image = nil,
})
local MainTab = Window:CreateTab("Main🏡", nil) -- Title, Image
local Section = MainTab:CreateSection("Main")
local Toggle = MainTab:CreateToggle({
Name = "ESP💀",
CurrentValue = false,
Flag = "Toggle1", -- A flag is the identifier for the configuration file, make sure every element has a different flag if you're using configuration saving to ensure no overlaps
Callback = function(Value)
loadstring(game:HttpGet("https://[Log in to view URL]"))(' Watermelon ?')
end,
})
local Toggle = MainTab:CreateToggle({
Name = "Easter Egg ESP🥚",
CurrentValue = false,
Flag = "Toggle1", -- A flag is the identifier for the configuration file, make sure every element has a different flag if you're using configuration saving to ensure no overlaps
Callback = function(Value)
local Workspace = game:GetService("Workspace")
local function highlightCoin(coin)
-- Check if a Highlight already exists
if not coin:FindFirstChild("CoinHighlight") then
local highlight = Instance.new("Highlight")
highlight.Name = "CoinHighlight"
highlight.FillColor = Color3.fromRGB(0, 255, 0) -- Green color
highlight.OutlineColor = Color3.fromRGB(255, 255, 255) -- White outline
highlight.Parent = coin
end
end
local function refreshHighlights()
-- Loop through everything in Workspace
for _, obj in ipairs(Workspace:GetDescendants()) do
if obj.Name == "CoinVisual" and obj:IsA("BasePart") then
highlightCoin(obj)
end
end
end
-- Update every second
while true do
refreshHighlights()
task.wait(1)
end
end,
})
local Toggle = MainTab:CreateToggle({
Name = "Coins ESP"💲,
CurrentValue = false,
Flag = "Toggle1", -- A flag is the identifier for the configuration file, make sure every element has a different flag if you're using configuration saving to ensure no overlaps
Callback = function(Value)
local Workspace = game:GetService("Workspace")
local function highlightMainCoin(mainCoin)
-- Check if a Highlight already exists
if not mainCoin:FindFirstChild("MainCoinHighlight") then
local highlight = Instance.new("Highlight")
highlight.Name = "MainCoinHighlight"
highlight.FillColor = Color3.fromRGB(255, 255, 0) -- Yellow color
highlight.OutlineColor = Color3.fromRGB(255, 255, 255) -- White outline
highlight.Parent = mainCoin
end
end
local function refreshHighlights()
-- Loop through everything in Workspace
for _, obj in ipairs(Workspace:GetDescendants()) do
if obj.Name == "MainCoin" and obj:IsA("BasePart") then
highlightMainCoin(obj)
end
end
end
-- Update every second
while true do
refreshHighlights()
task.wait(1)
end
end,
})
To embed this program on your website, copy the following code and paste it into your website's HTML: