This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- FloatingUILib (Modulescript) | |
-- Minimal, defensive, modular floating UI library suitable for loadstring hosting. | |
-- Assumptions: runs in a LocalScript context (player's client). Creates ScreenGui fallback. | |
-- Return: table API {CreateTopBarButton, CreateModal, Notify, DestroyAll} | |
local TweenService = game:GetService("TweenService") | |
local UserInputService = game:GetService("UserInputService") | |
local RunService = game:GetService("RunService") | |
local FloatingUILib = {} |