How do i do automation

automate() doesnt work for some reason

When you say it doesn’t work, can you describe what you did, what you expected to happen, and what happened instead?

My understanding is anything you put in automate() should run every tick, so you’d want to call the functions to attempt to buy your upgrades/buyables, or whatever else it is you’re automating

oh i thought i could just use automate() and it will do everything for me at once