My suggestion is to take a step back and describe what you want this routine to do.
Your current code tests the parameter total for the values 7, 11, 2, 3, and 12. If total is not one of those values, you set point to total, firstRoll to false, and the return out of the routine; so unless total is one of those values, you are not going to reach your while loop.
You also have "while (<condition>) { return 0; }" -- a while loop is normally supposed to execute its body some number of times while the condition is true, but if your condition is ever true, the body of your loop returns out of the method, and that will end the loop.
I suggest that you describe in a "pseudoCode" what you want to do: use English, write a one-sentence description of the overall purpose of the routine, and then a step by step description at a low level of how it gets to that, without worrying about variables or
java syntax. If you want to, you can put double slashes (//) in front of all of those so they can be comments in your routine.
Then you write your routine around them -- just leave the comments in place and write the statements to do the steps you want to do. They will help you keep "on track" for what you want to do, and will be excellent help for those of us willing to help you when you show it to us later.
rc