Untitled
unknown
lua
5 years ago
337 B
9
Indexable
function Enoria.Context.GetAppById(id)
local player = game.Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui") or nil
local apps
if playerGui then apps = playerGui:GetChildren() end
for _, app in pairs(apps) do
if app:GetAttribute("EnoriaId") == id then
return app
end
end
return nil
endEditor is loading...