MightyPart / Radialicious

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Radial Progress Bars For Roblox.

NOTE: Requires EditableMesh and will only work in Studio at the moment.

Example Usage

local Radialicious = require(path.to.radialicious.here)

local MyRadialLoader = Radialicious.new {
	Size = 200, -- number: The size (in pixels) of the radial loader.
	Thickness = 15, -- number: The thickness (in pixels) of the radial loader (set the thickness to `Size / 2` for a pie chart effect).
	DefaultValue = 25, -- number: The default value/progress of the loader,
	OverlayImageId = 10890456172, -- number: [OPTIONAL] The ID of the image to overlay on top of the radial loader.
	Ends = "Rounded" -- "Rounded": [OPTIONAL] If set to `Rounded` then both ends of the radial loader will be rounded.
}

local ScreenGui = path.to.screengui.here
MyRadialLoader.ImageLabel.Parent = ScreenGui


MyRadialLoader.Update(65) -- Updates the value/progress of the radial loader.

About

License:MIT License


Languages

Language:Lua 100.0%