Tool Input Basics
The Tool Input operators from the Inputs > Tools category generate UI elements in the tool's rollout panel.

Note: Avoid lone MAXScript keywords such as "max" for your input names. The name "max" on its own will not validate, however the name "Max Value" is acceptable.