Game help

i m making a game

how do make this thing so when ur mouse moves, so does ur hand and the gun its holding?