Guest User

Kusharpe by SharpeeeN/warpath124

a guest
Mar 26th, 2014
297
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.94 KB | None | 0 0
  1. command /kusza [<text>]:
  2.     trigger:
  3.         if arg 1 is "stworz":
  4.             if player has 30 stick and 7 iron ingot and 5 string:
  5.                 remove 30 stick from the player's inventory
  6.                 remove 7 iron ingot from the player's inventory
  7.                 remove 5 string from the player's inventory
  8.                 send "stworzyles kusze!"
  9.                 give tripwire hook named "&lKusza" to the player
  10.             else:
  11.                 send "&lMusisz posiadac.5 nici 7 sztabek zelaza oraz 30 patykow"
  12.         if arg 1 is "pomoc":
  13.             send "&5&l$$$$$$$$$$"
  14.             send "&lKomendy : /kusza stworz , /kusza pomoc , /kusza autor"
  15.             send "&5&l$$$$$$$$$$"
  16.         if arg 1 is not set:
  17.             send "&lWpisz /kusza pomoc"
  18.         if arg 1 is "autor":
  19.             send "&lAutorem skryptu jest &6&lSharpeeeN"
  20.            
  21. on right click:
  22.     player is holding tripwire hook named "&lKusza":
  23.         cancel event
  24.         if player has 3 arrow:
  25.             remove 3 arrow from the player's inventory
  26.             shoot an arrow at speed 5
  27.             cancel event
  28.         else:
  29.             send "&lSkonczyly ci sie strzaly !!"
Advertisement
Add Comment
Please, Sign In to add comment