Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print("loading")
- -- Assume we're in a Roblox environment, but this may need adjustment
- local game = game or {} -- if game is nil, set it to an empty table
- local OrionLib = loadstring(game:HttpGet(('https://raw.githubusercontent.com/shlexware/Orion/main/source')))()
- local Window = OrionLib:MakeWindow({Name = "my amazing hub", HidePremium = true, SaveConfig = true, ConfigFolder = "autosave"})
- --[[
- Name = <string> - The name of the UI.
- HidePremium = <bool> - Whether or not the user details shows Premium status or not.
- SaveConfig = <bool> - Toggles the config saving in the UI.
- ConfigFolder = <string> - The name of the folder where the configs are saved.
- IntroEnabled = <bool> - Whether or not to show the intro animation.
- IntroText = <string> - Text to show in the intro animation.
- IntroIcon = <string> - URL to the image you want to use in the intro animation.
- Icon = <string> - URL to the image you want displayed on the window.
- CloseCallback = <function> - Function to execute when the window is closed.
- ]]
- local Tab = Window:MakeTab({
- Name = "premium scripts",
- Icon = "rbxassetid://4483345998",
- PremiumOnly = true
- })
- --[[
- Name = <string> - The name of the tab.
- Icon = <string> - The icon of the tab.
- PremiumOnly = <bool> - Makes the tab accessible to Sirus Premium users only.
- ]]
- local Section = Tab:AddSection({
- Name = "clientsided scripts"
- })
- --[[
- Name = <string> - The name of the section.
- ]]
- OrionLib:MakeNotification({
- Name = "some random notification i added lol",
- Content = "pls give me ideas for this notifications 😭",
- Image = "rbxassetid://4483345998",
- Time = 2
- })
- --[[
- Title = <string> - The title of the notification.
- Content = <string> - The content of the notification.
- Image = <string> - The icon of the notification.
- Time = <number> - The duration of the notfication.
- ]]
- Tab:AddButton({
- Name = "fly for pc",
- Callback = function(fly)
- print("button pressed")
- end
- })
- --[[
- Name = <string> - The name of the button.
- Callback = <function> - The function of the button.
- ]]
- Tab:AddToggle({
- Name = "antikick",
- Default = true,
- Callback = function(toggleantikick)
- print(Value)
- end
- })
- --[[
- Name = <string> - The name of the toggle.
- Default = <bool> - The default value of the toggle.
- Callback = <function> - The function of the toggle.
- ]]
- CoolToggle:Set(true)
- Tab:AddColorpicker({
- Name = "choose the ui color",
- Default = Color3.fromRGB(255, 0, 0),
- Callback = function(changethecolourofui)
- print(Value)
- end
- })
- --[[
- Name = <string> - The name of the colorpicker.
- Default = <color3> - The default value of the colorpicker.
- Callback = <function> - The function of the colorpicker.
- ]]
- ColorPicker:Set(Color3.fromRGB(255,255,255))
- Tab:AddSlider({
- Name = "speed",
- Min = 3,
- Max = 200,
- Default = 16,
- Color = Color3.fromRGB(255,255,255),
- Increment = 1,
- ValueName = "speed",
- Callback = function(changewalkspeed)
- print(Value)
- end
- })
- --[[
- Name = <string> - The name of the slider.
- Min = <number> - The minimal value of the slider.
- Max = <number> - The maxium value of the slider.
- Increment = <number> - How much the slider will change value when dragging.
- Default = <number> - The default value of the slider.
- ValueName = <string> - The text after the value number.
- Callback = <function> - The function of the slider.
- ]]
- Slider:Set(16)
- local CoolSlider = Tab:AddSlider
- Tab:AddBind({
- Name = "flykeybind",
- Default = Enum.KeyCode.f,
- Hold = false,
- Callback = function(fly)
- print("press")
- end
- })
- --[[
- Name = <string> - The name of the bind.
- Default = <keycode> - The default value of the bind.
- Hold = <bool> - Makes the bind work like: Holding the key > The bind returns true, Not holding the key > Bind returns false.
- Callback = <function> - The function of the bind.
- ]]
- Tab1:AddToggle({
- Name = "Toggle",
- Default = true,
- Save = true,
- Flag = "toggle"
- })
- print(OrionLib.Flags["toggle"].Value) -- prints the value of the toggle.
- OrionLib:Init(
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement