How to remove ue4 animation from ue4 sample project

hi all
i wanted the gun script in the shooter game and i have changed all scripts except the shooter game so can we remove ue4 animation when the game start and are we allowed to use the gun script of the ue4 sample project