serás tratado como

you will be treated as

→ ser
phrase Uncommon #22,319
you will be treated as A future passive phrase used with a masculine singular subject. The feminine form is “serás tratada como.” It is often followed by a noun, such as “un niño” or “un extranjero,” or by “tal” meaning “such” or “as such.”
SP: Si mientes, serás tratado como un criminal.
EN: If you lie, you will be treated like a criminal.

Si te comportas como un imbécil, serás tratado como uno de ellos.

If you behave like an idiot, you will be treated like one.

Si actúas como un lacayo, serás tratado como tal.

If you act like a lackey, you’ll be treated like one.

Si vas a actuar como un idiota, entonces serás tratado como tal.

If you're going to act like an idiot, then you'll be treated like one.

Si te comportas como un lacayo, serás tratado como un lacayo.

If you act like a lackey, you'll be treated like a lackey.