I’m trying to make a moving platform in 2D, and i can’t get the colliders to work
This sentence isn’t a question nor is it something anyone can advise you on because it’d be a whole bunch of guesses based upon no information so pure speculation.
Try following the basic 2D physics tutorial online or on Unity Learn. If you already know what you’re doing and how to use 2D physics then post some information please.