Thanks to visit codestin.com
Credit goes to github.com

Skip to content

i77lhm/vaderpaste

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 

Repository files navigation


Vaderpaste User Interface

A user interface that supports roblox script executor lua.

View Demo · Report Bug · Request Feature

Vaderpaste Preview

Getting Started

This will go through how to use the library in your executor.

Prerequisites

This is how you import the library through the repository.

  • Example:

    -- EXTRA INFO: You can modify this library its open source. The code is horrendous but have fun.
    -- In order to make configs of your own make the inactivity text your own text you want
    -- I may implement theming etc in the future if i come back to this.
    
    local library = loadstring(game:HttpGet("https://raw.githubusercontent.com/i77lhm/vaderpaste/refs/heads/main/library.lua"))()
    local flags = library.flags -- access flags from here.

Elements

  • Window

    local window = library:window({
      name = "vaderpaste",
      size = UDim2.fromOffset(500, 650) -- x, y in size
    })
  • Tab

    local tab = window:tab({name = "Page"})
  • Section

    local section = tab:section({
      name = "local",
    })
  • Toggle:

    section:toggle({
         enabled = properties.enabled or nil,
         name = "Toggle",
         flag = "ToggleFlag",
         default = false,
         callback = function(bool)
             print(bool)
             print(flags["ToggleFlag"])
         end,
     })
  • Dropdown

    section:dropdown({
          name = "activation",
          flag = "legit_aimassistactivation",
          items = {"mouse 1", "mouse 2", "always"},
          multi = false,
          callback = function(option)
              print(option) -- Will return a table if you set multi to true, allowing you to select multiple items
              print(flags["legit_aimassistactivation"])
          end
      })
  • Slider

    section:slider({
          name = "drop prediction inaccuracy",
          suffix = "%",
          flag = "legit_bulletdropaccuracy",
          default = 90,
          min = 0,
          max = 100,
          interval = 0.5,
          callback = function(num)
              print(num)
          end
      })
  • Colorpicker

    -- For the colorpicker to be seperate, include a name to it and parent it to the section using section:colorpicker
    -- Else you should do toggle:colorpicker({}) in order to parent it to a toggle.
    section:colorpicker({
      name = "Hello!",
      flag = "enemy_healthnumbercolor",
      color = Color3.new(1, 1, 1),
      callback = function(color, alpha)
          print(color, alpha)
          print(flags["enemy_healthnumbercolor"].Color, flags["enemy_healthnumbercolor"].Transparency)
      end
    })
  • Keybinds

    -- Same logic with the parenting as the colorpicker, same rules apply.
    section:keybind({
      name = "UI Bind",
      flags = "Keybind Flag",
      default = Enum.KeyCode.End, -- Leave empty for no key.
      display = "menu", -- Display name for the keybind list
      callback = function(bool)
          print(bool)
          print(flags["Keybind Flag"].Active)
      end
    })

About

Config files for my GitHub profile.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages