# Adding cheats to game

**URL:** <https://forum.kirupa.com/t/adding-cheats-to-game/256444>\
**Category:** programming\
**Created:** [April 3, 2008, 2:00am UTC](https://forum.kirupa.com/t/adding-cheats-to-game/256444 "2008-04-03T02:00:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![thejoeknows\_com](https://avatars.discourse-cdn.com/v4/letter/t/5daacb/32.png) [@thejoeknows\_com](https://forum.kirupa.com/u/thejoeknows_com)\
**Post date:** [April 3, 2008, 2:00am UTC](https://forum.kirupa.com/t/adding-cheats-to-game/256444/1 "2008-04-03T02:00:00Z")

</div>

i would like to have it so if u hit a string of keys in a row a cheat is activated right now i have :

```auto

if (Key.isDown(Key.TAB)){
                           _root.points += 5;
                           }

```
