# Disable button feature

**URL:** <https://forum.kirupa.com/t/disable-button-feature/165110>\
**Category:** Uncategorized\
**Created:** [October 7, 2005, 7:36pm UTC](https://forum.kirupa.com/t/disable-button-feature/165110 "2005-10-07T19:36:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pkcidstudio](https://avatars.discourse-cdn.com/v4/letter/p/278dde/32.png) [@pkcidstudio](https://forum.kirupa.com/u/pkcidstudio)\
**Post date:** [October 7, 2005, 7:36pm UTC](https://forum.kirupa.com/t/disable-button-feature/165110/1 "2005-10-07T19:36:21Z")

</div>

i have a serries of buttons that tallie up a score, something i would like to add to them is a way to disable the addition of other points. this way it would limit the amount of points one person could earn per turn. here is the script for the buttons.

```auto
  on (release) {
 _root.TeamA = _root.TeamA + 6;
 _root.Earned = _root.Earned + 6;
 gotoAndPlay("bargain_hunter", 6);
}

```

anyone know hat i can do?
