Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- # Ogolne
- tag: &4[ &6Strzelec&4 ]
- msg.noperm: &cBrak Uprawnien
- # Czas efektow
- czas.trutki: 10
- czas.oszolomienia: 10
- czas.spowlonienia: 10
- czas.podpalania: 10
- on script load:
- register new shaped recipe for nameditemstack from "bow;&6Podpalajacy;&aLuk" using none, none, none, none, bow, coal, none, none, none
- register new shaped recipe for nameditemstack from "bow;&fWybuchajacy;&aLuk" using none, none, none, none, bow, tnt, none, none, none
- register new shaped recipe for nameditemstack from "bow;&5Trujacy;&aLuk" using none, none, none, none, bow, rotten flesh, none, none, none
- register new shaped recipe for nameditemstack from "bow;&7Spowalniajacy;&aLuk" using none, none, none, none, bow, stone, none, none, none
- register new shaped recipe for nameditemstack from "bow;&aOszalamiajacy;&aLuk" using none, none, none, none, bow, redstone, none, none, none
- register new shaped recipe for nameditemstack from "bow;&eTeleportujacy;&aLuk" using none, none, none, none, bow, hopper, none, none, none
- register new shaped recipe for nameditemstack from "bow;&2Mob;&aLuk" using none, none, none, none, bow, bone, none, none, none
- register new shaped recipe for nameditemstack from "bow;&cWyrzucajacy;&aLuk" using none, none, none, none, bow, piston, none, none, none
- register new shaped recipe for nameditemstack from "bow;&1Piorun;&aLuk" using none, none, none, none, bow, ghast tear, none, none, none
- command /strzelec [<text>] [<text>]:
- trigger:
- if arg 1 isn't set:
- if player doesn't have permission "strzelec.lista":
- stop
- send "&4--------------------------------------------"
- send " &2&LLista strzal:"
- send " ---------------"
- send "&6Podpalajaca&f, &fWybuchajaca&f, &9Normalna&f, &5Trujaca&f,"
- send "&7Spowalniajaca&f, &aOszalamiajaca&f, &eTeleportujaca"
- send "&2Mob&f, &cWyrzucajaca"
- send "&4--------------------------------------------"
- if arg 1 is "reload":
- if player doesn't have permission "strzelec.reload":
- send "{@msg.noperm}"
- stop
- execute player command "sk reload %script%"
- send "{@tag} &cPrzeladowano"
- on damage of player:
- attacker is player
- projectile is arrow
- if name of attacker's tool is "&6Podpalajacy":
- ignite the victim for {@czas.podpalania} seconds
- stop
- if name of attacker's tool is "&6Trujacy":
- apply Nausea of tier 10 to the victim for {@czas.oszolomienia} seconds
- apply Blindness 1 to the victim for {@czas.oszolomienia} seconds
- stop
- if name of attacker's tool is "&7Spowalniajacy":
- apply slowness 3 to the victim for {@czas.spowlonienia} seconds
- stop
- if name of attacker's tool is "&aOszalamiajacy":
- apply Nausea of tier 10 to the victim for {@czas.oszolomienia} seconds
- apply Blindness 1 to the victim for {@czas.oszolomienia} seconds
- stop
- if name of attacker's tool is "&cWyrzucajacy":
- push the victim upwards at speed 0.9
- stop
- on projectile hit:
- shooter is player
- projectile is arrow
- if name of shooter's tool is "&fWybuchajacy":
- create an explosion of force 2 at projectile
- stop
- if name of shooter's tool is "&eTeleportujacy":
- teleport shooter to projectile
- stop
- if name of shooter's tool is "&2Mob":
- spawn a zombie or creeper or skeleton or spider or silverfish or slime or ghast at projectile
- stop
- if name of shooter's tool is "&1Piorun":
- strike lightning at projectile
- stop
Add Comment
Please, Sign In to add comment