-- Load the UI Library local library = loadstring( game:HttpGet( 'https://raw.githubusercontent.com/DozeIsOkLol/UILibarySource/refs/heads/main/Apple%20Lib%20Source' ) )() -- Create the main window local window = library:init('Apple UI Demo', true, Enum.KeyCode.RightShift, true) -- ===== Section A: Basic Controls ===== window:Divider('Section A Controls') local sectionA = window:Section('Basic Controls') sectionA:Divider('Buttons & Labels') sectionA:Button('Click me!', function() print('Button clicked!') end) sectionA:Label('This is a label.') sectionA:Switch('Enable Feature?', false, function(state) print('Switch state:', state) end) sectionA:TextField('Enter Text', 'Type here...', function(text) print('You typed:', text) end) -- ===== Section B: Notifications ===== window:Divider('Section B Notifications') local sectionB = window:Section('Notifications') sectionB:Divider('Notification Examples') sectionB:Button('Temporary Toast', function() window:TempNotify( 'Be careful!', 'This is a temporary notification.', 'rbxassetid://12608259004' ) end) sectionB:Button('One-Button Popup', function() window:Notify( 'Heads up!', 'This has one button.', 'OK', 'rbxassetid://12608259004', function() print('OK clicked') end ) end) sectionB:Button('Two-Button Popup', function() window:Notify2( 'Choose wisely', 'This has two options.', 'Yes', 'No', 'rbxassetid://12608259004', function() print('Chose YES') end, function() print('Chose NO') end ) end) -- Default select the first section sectionA:Select()