A simple UI library for singe-button scripts. Made because yes.
local txst = loadstring(game:HttpGet(('https://raw.githubusercontent.com/cinarkagan/txst/main/txst.lua')))()
local window = txst:MakeWindow('Title of UI',0)
--[[
CreateWindow
1: title(text)
2: icon(ID)
Return
1: Window
]]--
local function hello()
print('hello')
end
local test = txst:MakeButton(window,'Hello',hello)
--[[
CreateButton
1: Main Window(object)
2: Text(text)
3: Function to run(function)
Return:
1: None
]]--