The first step to properly wiring a 4-way is to identify your wires.
Find the 2 traveler wires that "leave" each 3-way switch.
One set will go to the left side of the 4-way, the second set will be wired to the right side, see diagram below.
Dont focus on the color of the terminal screws.
But again, you will need to identify the 4 travelers, common wire (carries electricity from your service panel) and load wire (brings electricity to the light).