Making two void controls work at the same time

You’d need to make one into a task or use thread(functionname).detach

Check this link out

Also some parts of your code isn’t right like task::sleep() should have a number between the parenthesis not uint32_t(time));