I wanna know how to play an animation with an items in Lua

Hey guys im currently creating a bleeding and healing script but know i wanna know how we can play an animation like The player when he do /bandage a medkit item will pop and he will start healing what is the code for that ? Thank you in advance

Here’s a native to use, the emotes list is in its description