1. local Rayfield = loadstring(game:HttpGet("https://sirius.menu/rayfield"))()
  2.  
  3. local Window = Rayfield:CreateWindow({
  4. Name = "◈ Amethyst Hub ◈",
  5. LoadingTitle = "◈ Amethyst Hub ◈",
  6. LoadingSubtitle = "Purple Edition",
  7. ConfigurationSaving = {
  8. Enabled = true,
  9. FolderName = "AmethystHub",
  10. FileName = "Settings"
  11. },
  12. Discord = {
  13. Enabled = false
  14. },
  15. KeySystem = false
  16. })
  17.  
  18. -- Variablen
  19. local Message = "Hello World!"
  20. local Delay = 2
  21.  
  22. -- Tabs
  23. local Main = Window:CreateTab("◉ Main ◉", 4483362458)
  24. local Settings = Window:CreateTab("◎ Settings ◎", 4483362458)
  25. local Info = Window:CreateTab("✦ Info ✦", 4483362458)
  26.  
  27. -- MAIN TAB
  28. Main:CreateSection("◈ Chat Settings ◈")
  29.  
  30. Main:CreateInput({
  31. Name = "◉ Message ◉",
  32. PlaceholderText = "Enter your message...",
  33. RemoveTextAfterFocusLost = false,
  34. Callback = function(Text)
  35. Message = Text
  36. end,
  37. })
  38.  
  39. Main:CreateSlider({
  40. Name = "◎ Delay ◎",
  41. Range = {1, 10},
  42. Increment = 1,
  43. Suffix = " sec",
  44. CurrentValue = 2,
  45. Callback = function(Value)
  46. Delay = Value
  47. end,
  48. })
  49.  
  50. Main:CreateButton({
  51. Name = "✦ Preview ✦",
  52. Callback = function()
  53. Rayfield:Notify({
  54. Title = "◈ Preview ◈",
  55. Content = "Message: " .. Message .. " | Delay: " .. Delay .. "s",
  56. Duration = 5
  57. })
  58. end,
  59. })
  60.  
  61. Main:CreateParagraph({
  62. Title = "◉ Current Settings ◉",
  63. Content = "Customize your message and delay using the controls above."
  64. })
  65.  
  66. -- SETTINGS TAB
  67. Settings:CreateSection("◎ Interface ◎")
  68.  
  69. Settings:CreateButton({
  70. Name = "◈ Test Notification ◈",
  71. Callback = function()
  72. Rayfield:Notify({
  73. Title = "◈ Amethyst Hub ◈",
  74. Content = "Everything is working correctly.",
  75. Duration = 5
  76. })
  77. end,
  78. })
  79.  
  80. Settings:CreateButton({
  81. Name = "✦ Copy Discord ✦",
  82. Callback = function()
  83. if setclipboard then
  84. setclipboard("discord.gg/example")
  85. end
  86.  
  87. Rayfield:Notify({
  88. Title = "◎ Copied ◎",
  89. Content = "Discord link copied.",
  90. Duration = 3
  91. })
  92. end,
  93. })
  94.  
  95. -- INFO TAB
  96. Info:CreateParagraph({
  97. Title = "◈ Amethyst Hub ◈",
  98. Content = [[
  99. ◉ Modern Purple Design
  100. ◎ Clean Rayfield Layout
  101. ✦ Config Saving
  102. ◈ Notifications
  103. ◉ Custom Inputs
  104. ◎ Sliders
  105. ✦ Professional Style
  106. ]]
  107. })
  108.  
  109. Info:CreateLabel("◈ Version 1.0 ◈")
  110.  
  111. -- Start Notification
  112. Rayfield:Notify({
  113. Title = "◈ Amethyst Hub ◈",
  114. Content = "Successfully Loaded",
  115. Duration = 6
  116. })