This is an Inventory System and Hotbar. You can remix this and add a player that holds items and stuff.
Thanks to Coding Stickman for the Tutorial on YouTube.