Scripting a math problem?

Hi, I have a problem. I need help on how to script a math problem into a door so the door will open when its correct. Please help me. <3

EDIT:

NEVER MIND! I don’t need help anymore

You will probably have to describe this a little better than this if we are gonna be able to help you. Describe the problem and support it with an image if possible.

That’s not a problem, that’s a project request.

1 Like

hmm, make an animation (opening door)
in your function, write your problem and at the finish say something that
if (solution == the right solution)
animation = true;
them make a collider much bigger than your door, and make it trigger
then in Update GameObject.Find(your door name).animation.Play(your animation name);
that’s what i used in my last game.
Hope that i helped you.