local CoreGui = game:GetService("CoreGui") local Players = game:GetService("Players") local LocalPlayer = Players.LocalPlayer local function createGUI() -- Remove old TopBar if exists if CoreGui:FindFirstChild("TopBarApp") then CoreGui.TopBarApp:Destroy() end