i dont know how to add triggers and i tried please someone help me

so i was trying to add a trigger to disable or enable the death count sidebar but idk how

here is my codes

Continue to help post