Game lags hard

Hello. The game is loaded with images, lots of events and loops. there seems to be a lot of lag when the cursor is clicked on functioning sprites . After sometime the computer freezes. Need help ASAP . Thanks :confused: :confused:

Can you provide the sample code, or a part that you suspect to be the cause?