Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Handles the Control Pressed event (once for activate, twice for deactivate)
- if (Keyboard.Q == true) {
- if (var.SpellBoost2 != true) {
- var.SpellTag2 = 1
- } else {
- var.SpellTag2 = 0
- }
- } else {
- if (var.SpellTag2 == 1 AND var.SpellBoost2 != true) {
- var.SpellBoost2 = true
- } else if (var.SpellTag2 != 1 AND var.SpellBoost2 == true) {
- // Reset variables
- var.SpellBoost2 = false
- Key.Shift = false
- Key.W = false
- var.KeyPressed2 = false
- }
- }
- // Shift + W pressed
- if (var.SpellBoost2 == true) {
- Key.Shift = true
- wait 5ms
- Key.W = true
- var.KeyPressed2 = true
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement