zxcscripts

Gg

Aug 24th, 2025
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.75 KB | None | 0 0
  1. -- Rayfield UI Starter (clean theme, ready for legit features)
  2. local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))()
  3.  
  4. local Window = Rayfield:CreateWindow({
  5. Name = "Your Hub | Rayfield",
  6. LoadingTitle = "Booting UI…",
  7. LoadingSubtitle = "for your fans ✨",
  8. ConfigurationSaving = {
  9. Enabled = true,
  10. FolderName = "YourHub",
  11. FileName = "Settings"
  12. },
  13. Discord = { Enabled = false },
  14. KeySystem = false,
  15. })
  16.  
  17. -- Tabs
  18. local Main = Window:CreateTab("Main", 4483362458)
  19. local Visuals = Window:CreateTab("Visuals", 4483362458)
  20. local About = Window:CreateTab("About", 4483362458)
  21.  
  22. -- MAIN: Toggles / Buttons (PUT YOUR ALLOWED FEATURES HERE)
  23. Main:CreateSection("Controls")
  24.  
  25. Main:CreateToggle({
  26. Name = "Feature A (allowed)",
  27. CurrentValue = false,
  28. Flag = "FeatureA",
  29. Callback = function(on)
  30. -- TODO: implement your *permitted* feature here
  31. -- Example: toggling a custom camera mode in your own place
  32. if on then
  33. print("Feature A ON")
  34. else
  35. print("Feature A OFF")
  36. end
  37. end,
  38. })
  39.  
  40. Main:CreateSlider({
  41. Name = "Speed (demo)",
  42. Range = {1, 100},
  43. Increment = 1,
  44. Suffix = "level",
  45. CurrentValue = 25,
  46. Flag = "SpeedLevel",
  47. Callback = function(value)
  48. -- TODO: apply to your allowed systems only
  49. print("Speed set to", value)
  50. end,
  51. })
  52.  
  53. Main:CreateDropdown({
  54. Name = "Theme Accent",
  55. Options = {"Default","Cyan","Purple","Red","Green","Gold"},
  56. CurrentOption = "Default",
  57. Flag = "Accent",
  58. Callback = function(option)
  59. -- Simple accent demo (UIStroke color for your own frames, etc.)
  60. print("Accent:", option)
  61. end,
  62. })
  63.  
  64. Main:CreateButton({
  65. Name = "Run Allowed Script",
  66. Callback = function()
  67. -- Example: load your OWN script or code for YOUR game/place
  68. -- loadstring(game:HttpGet("https://your-safe-endpoint.example/yourfile.lua"))()
  69. print("Ran your allowed script.")
  70. end,
  71. })
  72.  
  73. -- VISUALS: Cosmetic settings for your UI/videos
  74. Visuals:CreateSection("UI Cosmetics")
  75.  
  76. Visuals:CreateToggle({
  77. Name = "Compact Mode",
  78. CurrentValue = false,
  79. Flag = "CompactMode",
  80. Callback = function(on)
  81. -- You can resize/move Rayfield here if you want
  82. print("Compact Mode:", on)
  83. end,
  84. })
  85.  
  86. Visuals:CreateKeybind({
  87. Name = "Toggle UI",
  88. CurrentKeybind = "RightControl",
  89. HoldToInteract = false,
  90. Flag = "ToggleUIBind",
  91. Callback = function()
  92. Rayfield:Toggle() -- shows/hides the UI
  93. end,
  94. })
  95.  
  96. -- ABOUT
  97. About:CreateParagraph({Title = "Notes", Content = "Use this hub for your own features or things a game explicitly allows. No bypassing paid content."})
Advertisement
Add Comment
Please, Sign In to add comment