Advertisement
Guest User

Untitled

a guest
Jul 20th, 2017
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. function activate(fireMode, shiftHeld)
  2. if fireMode == "primary" and shiftHeld == true then
  3. local item = player.consumeItem(player.primaryHandItem(), false, true)
  4.  
  5. player.giveItem(util.mergeTable(item, {parameters={altAbilityType="downstab"}}))
  6. --activeItem.interact(config.getParameter("interactAction"), config.getParameter("interactData"));
  7. end
  8. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement