--// Rayfield Key System Loader local DISCORD_LINK = "https://discord.gg/VfychVfg2t" local KEY_LINK = "https://ads.luarmor.net/get_key?for=FREE_KEY-lxcSucDdxZLN" local LOADER_URL = "https://api.luarmor.net/files/v4/loaders/8754ee8fc88a92b1ce26f352867a436b.lua" -- Load Rayfield local Rayfield = loadstring(game:HttpGet("https://sirius.menu/rayfield"))() local window = Rayfield:CreateWindow({ Name = "🔑 Key System", LoadingTitle = "Key System", LoadingSubtitle = "by The Secret Lair", ConfigurationSaving = { Enabled = false, FolderName = nil, FileName = "KeySystem" }, Discord = { Enabled = true, Invite = "VfychVfg2t", RememberJoins = false }, KeySystem = false }) local mainTab = window:CreateTab("Key", 4483362458) local keyInput keyInput = mainTab:CreateInput({ Name = "Insert Key", PlaceholderText = "Insert your key here...", RemoveTextAfterFocusLost = false, Flag = "keyFlag", Callback = function(text) keyInput = text end }) local loading = false mainTab:CreateButton({ Name = "Submit Key", Callback = function() if loading then return end local key = keyInput if not key or key == "" or key:gsub("%s", "") == "" then Rayfield:Notify({ Title = "Key System", Content = "⚠️ Please enter a key first!", Duration = 3, Image = 4483362458 }) return end loading = true Rayfield:Notify({ Title = "Key System", Content = "⏳ Checking your key...", Duration = 2, Image = 4483362458 }) task.spawn(function() local success, err = pcall(function() script_key = key loadstring(game:HttpGet(LOADER_URL))() end) if success then Rayfield:Notify({ Title = "Key System", Content = "✅ Key accepted! Loading script...", Duration = 3, Image = 4483362458 }) task.wait(1) Rayfield:Destroy() else loading = false Rayfield:Notify({ Title = "Key System", Content = "❌ Invalid key! Try again.", Duration = 3, Image = 4483362458 }) end end) end }) mainTab:CreateButton({ Name = "🔗 Get Key", Callback = function() if setclipboard then setclipboard(KEY_LINK) elseif toclipboard then toclipboard(KEY_LINK) end -- try to auto-open the browser if the executor supports it if openbrowser then pcall(function() openbrowser(KEY_LINK) end) end Rayfield:Notify({ Title = "Get Key", Content = "Key link copied! Paste it in your browser if it didn't open.", Duration = 4, Image = 4483362458 }) end }) mainTab:CreateButton({ Name = "📋 Copy Discord", Callback = function() if setclipboard then setclipboard(DISCORD_LINK) elseif toclipboard then toclipboard(DISCORD_LINK) end Rayfield:Notify({ Title = "Copied!", Content = DISCORD_LINK, Duration = 3, Image = 4483362458 }) end })