Replacing chandelier, I have 5 different colours of wires coming out of the ceiling
I'm guessing you're in Australia (or NZ), and assuming the original installation was done correctly

the black is is the neutral, the blacks go together and connect to the chandelier Neutral terminal. the red is active, all the reds go together and connect to nothing else, all the green and green-yellow are ground and go together and connect to the body of the chandelier (if it's metal, else nothing)
the white is the power feed, from the switch and connects to the other chandelier terminal power terminal.

If the chandelier has a "loop" terminal you can use that for the reds, if not get the modern version of the screw connector like the one on the green earth wires.
https://www.mitre10.com.au/hpm-connector