Guest User

Untitled

a guest
Oct 28th, 2015
5
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.         bool Toggle;
  2.         private void button1_Click(object sender, EventArgs e)
  3.         {
  4.             Toggle = !Toggle;
  5.  
  6.             Chroma.Instance.Keyboard.SetKeys(new List<Key> { Key.W, Key.A, Key.S, Key.D }, new Color(1, 0.5, 0));
  7.             Chroma.Instance.Keyboard.SetKeys(new List<Key> { Key.Q, Key.E, Key.R, Key.F, Key.Y, Key.Z, Key.X, Key.C }, Color.White);
  8.             Chroma.Instance.Keyboard.SetKeys(new List<Key> { Key.F5 }, Color.Black);
  9.             Chroma.Instance.Keyboard.SetKeys(new List<Key> { Key.F9, Key.F10 }, Color.Green);
  10.             Chroma.Instance.Keyboard.SetKeys(new List<Key> { Key.F11, Key.F12 }, Color.Red);
  11.             if (Toggle) Chroma.Instance.Keyboard.SetKeys(new List<Key> { Key.Two }, Color.Green);
  12.             if (Toggle) Chroma.Instance.Keyboard.SetKeys(new List<Key> { Key.F2 }, Color.Green);
  13.             if (!Toggle) Chroma.Instance.Keyboard.SetKeys(new List<Key> { Key.Two }, Color.Black);
  14.             if (!Toggle) Chroma.Instance.Keyboard.SetKeys(new List<Key> { Key.F2 }, Color.Black);
  15.             Chroma.Instance.Keyboard.SetKeys(new List<Key> { Key.One }, Color.Black);
  16.             Chroma.Instance.Keyboard.SetKeys(new List<Key> { Key.F1 }, Color.Black);
  17.         }
RAW Paste Data