how can I want to open a GUI over a NPC
like in this picture

how can I want to open a GUI over a NPC
like in this picture

You’re going to want a billboardgui, or potentially a SurfaceGui put on an invisible part.
Here’s a good place to start: BillboardGui | Documentation - Roblox Creator Hub