Advertisement
Rumanthan

Untitled

Mar 25th, 2025
7
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.48 KB | None | 0 0
  1. local Rayfield = loadstring(game:HttpGet("https://sirius.menu/rayfield"))()
  2.  
  3. local Window = Rayfield:CreateWindow({
  4. Name = "Script Example",
  5. LoadingTitle = "Loading...",
  6. LoadingSubtitle = "By Obamagamer69",
  7. ConfigurationSaving = {
  8. Enabled = false,
  9. FolderName = "MyScripts"
  10. },
  11. KeySystem = false
  12. })
  13.  
  14. local Tab = Window:CreateTab("Key System", 4483362458)
  15. local Section = Tab:CreateSection("Enter Key")
  16.  
  17. local correctKey = "MichealKaiser" -- Change this if needed
  18.  
  19. local function checkKey(inputKey)
  20. if inputKey == correctKey then
  21. Rayfield:Notify({
  22. Title = "Success",
  23. Content = "Key Verified!",
  24. Duration = 3
  25. })
  26. else
  27. Rayfield:Notify({
  28. Title = "Error",
  29. Content = "Invalid Key!",
  30. Duration = 3
  31. })
  32. end
  33. end
  34.  
  35. local keyInput = Tab:CreateInput({
  36. Name = "Enter Key",
  37. PlaceholderText = "Enter your key here...",
  38. RemoveTextAfterFocusLost = false,
  39. Callback = function(Text)
  40. checkKey(Text)
  41. end
  42. })
  43.  
  44. Tab:CreateButton({
  45. Name = "Insert",
  46. Callback = function()
  47. checkKey(keyInput.CurrentValue)
  48. end
  49. })
  50.  
  51. Tab:CreateButton({
  52. Name = "Copy Link",
  53. Callback = function()
  54. setclipboard("https://pastebin.com/2qqfxFi4")
  55. Rayfield:Notify({
  56. Title = "Copied!",
  57. Content = "Link copied to clipboard.",
  58. Duration = 3
  59. })
  60. end
  61. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement