Keep gameobject to another scene

How can I keep/pass a ceratin gameobject to another scene when using NGUI? and I try the DontDestroyOnLoad and put it in the gameobject [ex. Health bar] and its not working. Please Help

This is the Unity scripting forum, for questions about scripting with Unity.

DontDestroyOnLoad() works perfectly fine.

If you’re having a problem with NGUI, which is 3rd party software, you should go ask the dudes who made what you’re using.

is DontDestroyOnLoad() work only in parent?

DontDestroyOnLoad() works on everything.
Take a screenshot or something. It’s hard to even imagine what you’re doing.