Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Rayfield = loadstring(game:HttpGet("https://sirius.menu/rayfield"))()
- local Window = Rayfield:CreateWindow({
- Name = "Script Example",
- LoadingTitle = "Loading...",
- LoadingSubtitle = "By "ruman",
- ConfigurationSaving = {
- Enabled = false,
- FolderName = "MyScripts"
- },
- KeySystem = false
- })
- local Tab = Window:CreateTab("Key System", 4483362458)
- local Section = Tab:CreateSection("Enter Key")
- local correctKey = "MichealKaiser" -- Change this if needed
- local function checkKey(inputKey)
- if inputKey == correctKey then
- Rayfield:Notify({
- Title = "Success",
- Content = "Key Verified!",
- Duration = 3
- })
- else
- Rayfield:Notify({
- Title = "Error",
- Content = "Invalid Key!",
- Duration = 3
- })
- end
- end
- local keyInput = Tab:CreateInput({
- Name = "Enter Key",
- PlaceholderText = "Enter your key here...",
- RemoveTextAfterFocusLost = false,
- Callback = function(Text)
- checkKey(Text)
- end
- })
- Tab:CreateButton({
- Name = "Insert",
- Callback = function()
- checkKey(keyInput.CurrentValue)
- end
- })
- Tab:CreateButton({
- Name = "Copy Link",
- Callback = function()
- setclipboard("https://pastebin.com/2qqfxFi4")
- Rayfield:Notify({
- Title = "Copied!",
- Content = "Link copied to clipboard.",
- Duration = 3
- })
- end
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement