Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Recommended to use src.lua instead of module.lua module requires isfile, writefile, readfile, makefolder, isfolder

example

local framework = loadstring(game:HttpGet("https://raw.githubusercontent.com/vozoid/ui-framework/main/module.lua"))()

local gui = Instance.new("ScreenGui", game.CoreGui)

local slider = Instance.new("Frame", gui)
slider.Size = UDim2.new(0, 200, 0, 50)
slider.Position = UDim2.new(0.2, 0, 0.2, 0)
slider.Parent = gui

local ball = Instance.new("Frame", slider)
ball.Size = UDim2.new(0, 10, 1, 0)
ball.Position = UDim2.new(0, 0, 0, 0)
ball.Parent = slider
ball.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
ball.ZIndex = 2

local text = Instance.new("TextLabel", slider)
text.Size = UDim2.new(1, 0, 1, 0)

local sliderfunc = framework.positionslider(slider, ball, 0, 30, 0.1)
-- framework.PositionSlider(slider, ball, min, max, tweenSpeed (default 0))

sliderfunc.updated:connect(function(val) 
    text.Text = "slider: " .. val
end)

sliderfunc:set(20)

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages