Can’t figure out what’s causing my game to lag and freeze up

I’m working on a game called bloody oak and the game is randomly freezing and i have no clue why