How would I go about making a GUI that appears when hover over NPC that shows health and stats?

I would like to make a GUI that appears when hovering cursor over NPC that shows stats and health bar, Like the one in the video.
robloxapp-20221124-1835018 (1).wmv (1.3 MB)

one of the ways its to make billboard gui with invisible button, and then use hovered event