You have to use "greater than or equal to", >=, instead of "equal to", ==.
Change "if coins==2 then" to "if coins>=2 then".
Check the documentation for other conditionals.
You have to use "greater than or equal to", >=, instead of "equal to", ==.
Change "if coins==2 then" to "if coins>=2 then".
Check the documentation for other conditionals.