How to list items in _G?

So, I’ve been wondering how to list a part on _G

And you can change it like _G.Hi.Name = "Lol"

If by “list a part” you mean “put something in _G”, you just do

_G.Hi = workspace.Part


_G.Hi.Name = "Lol"

… But why do you want to do this?

Sorry, I used to think it was not possible. I remeber trying and giving me errors, I dont know why. But now it is working