Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- NAZWA: &6Pistolet
- zycia: 200 #2 = 1 zycie
- on rightclick with a diamond:
- if {czas.%player} is false:
- shoot snowball speed 3
- set {czas.%player%} to true
- set {czas.c.%player%} to 30
- else:
- send "&6Musisz jeszcze odczekac {czas.c.%player%}/30"
- on shoot:
- if shooter's tool is a diamond named "{@NAZWA}":
- set {weapon.%projectile%} to diamond
- on damage:
- projectile is a snowball
- if {weapon.%projectile%} is diamond:
- set damage to {@zycia}
- every second:
- if {czas.%player%} is true:
- add -1 to {czas.c.%player%}
- if {czas.c.%player%} is 0 or -1:
- set {czas.%player%} to false
- send "&6Znow mozesz uzyc pistoletu!" to player
Advertisement
Add Comment
Please, Sign In to add comment