Advertisement
Thecodeeasar

Untitled

Oct 14th, 2024
16
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.97 KB | None | 0 0
  1. print("loading")
  2. -- Assume we're in a Roblox environment, but this may need adjustment
  3. local game = game or {} -- if game is nil, set it to an empty table
  4.  
  5. local OrionLib = loadstring(game:HttpGet(('https://raw.githubusercontent.com/shlexware/Orion/main/source')))()
  6. local Window = OrionLib:MakeWindow({Name = "my amazing hub", HidePremium = true, SaveConfig = true, ConfigFolder = "autosave"})
  7.  
  8. --[[
  9. Name = <string> - The name of the UI.
  10. HidePremium = <bool> - Whether or not the user details shows Premium status or not.
  11. SaveConfig = <bool> - Toggles the config saving in the UI.
  12. ConfigFolder = <string> - The name of the folder where the configs are saved.
  13. IntroEnabled = <bool> - Whether or not to show the intro animation.
  14. IntroText = <string> - Text to show in the intro animation.
  15. IntroIcon = <string> - URL to the image you want to use in the intro animation.
  16. Icon = <string> - URL to the image you want displayed on the window.
  17. CloseCallback = <function> - Function to execute when the window is closed.
  18. ]]
  19. local Tab = Window:MakeTab({
  20. Name = "premium scripts",
  21. Icon = "rbxassetid://4483345998",
  22. PremiumOnly = true
  23. })
  24.  
  25. --[[
  26. Name = <string> - The name of the tab.
  27. Icon = <string> - The icon of the tab.
  28. PremiumOnly = <bool> - Makes the tab accessible to Sirus Premium users only.
  29. ]]
  30. local Section = Tab:AddSection({
  31. Name = "clientsided scripts"
  32. })
  33.  
  34. --[[
  35. Name = <string> - The name of the section.
  36. ]]
  37. OrionLib:MakeNotification({
  38. Name = "some random notification i added lol",
  39. Content = "pls give me ideas for this notifications 😭",
  40. Image = "rbxassetid://4483345998",
  41. Time = 2
  42. })
  43.  
  44. --[[
  45. Title = <string> - The title of the notification.
  46. Content = <string> - The content of the notification.
  47. Image = <string> - The icon of the notification.
  48. Time = <number> - The duration of the notfication.
  49. ]]
  50. Tab:AddButton({
  51. Name = "fly for pc",
  52. Callback = function(fly)
  53. print("button pressed")
  54. end
  55. })
  56.  
  57. --[[
  58. Name = <string> - The name of the button.
  59. Callback = <function> - The function of the button.
  60. ]]
  61. Tab:AddToggle({
  62. Name = "antikick",
  63. Default = true,
  64. Callback = function(toggleantikick)
  65. print(Value)
  66. end
  67. })
  68.  
  69. --[[
  70. Name = <string> - The name of the toggle.
  71. Default = <bool> - The default value of the toggle.
  72. Callback = <function> - The function of the toggle.
  73. ]]
  74. CoolToggle:Set(true)
  75. Tab:AddColorpicker({
  76. Name = "choose the ui color",
  77. Default = Color3.fromRGB(255, 0, 0),
  78. Callback = function(changethecolourofui)
  79. print(Value)
  80. end
  81. })
  82.  
  83. --[[
  84. Name = <string> - The name of the colorpicker.
  85. Default = <color3> - The default value of the colorpicker.
  86. Callback = <function> - The function of the colorpicker.
  87. ]]
  88. ColorPicker:Set(Color3.fromRGB(255,255,255))
  89. Tab:AddSlider({
  90. Name = "speed",
  91. Min = 3,
  92. Max = 200,
  93. Default = 16,
  94. Color = Color3.fromRGB(255,255,255),
  95. Increment = 1,
  96. ValueName = "speed",
  97. Callback = function(changewalkspeed)
  98. print(Value)
  99. end
  100. })
  101.  
  102. --[[
  103. Name = <string> - The name of the slider.
  104. Min = <number> - The minimal value of the slider.
  105. Max = <number> - The maxium value of the slider.
  106. Increment = <number> - How much the slider will change value when dragging.
  107. Default = <number> - The default value of the slider.
  108. ValueName = <string> - The text after the value number.
  109. Callback = <function> - The function of the slider.
  110. ]]
  111. Slider:Set(16)
  112. local CoolSlider = Tab:AddSlider
  113. Tab:AddBind({
  114. Name = "flykeybind",
  115. Default = Enum.KeyCode.f,
  116. Hold = false,
  117. Callback = function(fly)
  118. print("press")
  119. end
  120. })
  121.  
  122. --[[
  123. Name = <string> - The name of the bind.
  124. Default = <keycode> - The default value of the bind.
  125. Hold = <bool> - Makes the bind work like: Holding the key > The bind returns true, Not holding the key > Bind returns false.
  126. Callback = <function> - The function of the bind.
  127. ]]
  128. Tab1:AddToggle({
  129. Name = "Toggle",
  130. Default = true,
  131. Save = true,
  132. Flag = "toggle"
  133. })
  134.  
  135. print(OrionLib.Flags["toggle"].Value) -- prints the value of the toggle.
  136. OrionLib:Init(
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement