Git Product home page Git Product logo

ahplib's Introduction

AHPLib V2

On Delopment

loadstring(game:HttpGet("https://raw.githubusercontent.com/soyandrey/AHPLib/main/AHPLib%20V2"))()

functions

  • Title
  • Description
  • Label
  • Button
  • Slider
  • Dropdown
  • Tabs

usage


Example

--for getting the Lib
local GUI = loadstring(game:HttpGet("https://raw.githubusercontent.com/soyandrey/AHPLib/main/AHPLib%20V2"))()
--put the Tile in "Name" and the description in "Description" 
local UI = GUI:CreateWindow("Name","Description")
--put the name of your page in "Page" put the Title of the page in "Page Title" put the page number in "1" like 1 2 3 4, if you want to put the page when you start it "true"
--put the PX you want in thing to thing in "6"
local Page = UI:addPage("Page Title",1,true,6)
--for a label
Page:addLabel("label Text","Label Subtext")
--for a button
Page:addButton("button Text",function(bool)
--put the function you want to execute when it clicked
  print("hello world")
end)
--for a slider
Page:addSlider("Slider Text",16,100,function(value)
--put in "16,100" the slider value. 23,234 or 23,435, put what you want
    print(value)
end)
--for a toogle
Page:addToggle("Toggle Text",function(value)
    print(value)
    if value == false then 
        game.StarterGui:SetCore("SendNotification",{
            Title = "Toggle";
            Text = "false";
        })
    else 
        game.StarterGui:SetCore("SendNotification",{
            Title = "Toggle";
            Text = "true";
        })
    end
end)
--for a textbox
Page:addTextBox("TextBox title","Text",function(value)
    game.StarterGui:SetCore("SendNotification",{
        Title = "Wrote";
        Text = value;
    })
end)
--for dropdown
Page:addDropdown("This is a Dropdown",{"Um","Yep","Lop","GG"},1,function(value)
    game.StarterGui:SetCore("SendNotification",{
        Title = "Selected :";
        Text = value;
    }) 
end)

AHPLIB V2

Get full Documentation

                 _pascalhacks™_                           

ahplib's People

Contributors

syctxa avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.