Help Please

I am trying to program a motor on a button for 90% power I already have it programmed in for 100% power but my team wants a second option if we need to be closer to the goal. I tried copying and pasting the button already and changing the numbers for the button in the array but when I build and deployed my code the motor just started glitching when we pushed the button. If you have any advice to help me please reply. :ahh:

Thanks Team 3750

If you show us your code we could help.

I imagine you are setting the motor in more than a single place.

If we see your code we can trouble shoot with you and help you thanks!