Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Wtut skript
- options:
- {IceWandP::IceSparkSpell::%player%} = {IceWandP::IceSparkSpell::%arg 3%}
- {IceWandP::IceSparkSpell::%player%} = {IceWandP::IceSparkSpell::%loop-player%}
- {IceWandP::IceExplosionSpell::%player%} = {IceWandP::IceExplosionSpell::%arg 3%}
- {IceWandP::IceExplosionSpell::%player%} = {IceWandP::IceExplosionSpell::%loop-player%}
- {IceWandP::IceSparkSpell::%player%} = {IceWandP::IceSparkSpell::%loop-player%}
- {IceWandP::IceExplosionSpell::%player%} = {IceWandP::IceExplosionSpell::%loop-player%}
- {IceWandS::Spells::%player%} = {IceWandS::Spells::%loop-player%}
- {IceWandS::IceSparkSpell::cooldown::%player%} = {IceWandS::IceSparkSpell::cooldown::%loop-player%}
- {IceWandS::IceExplosionSpell::cooldown::%player%} =- {IceWandS::IceExplosionSpell::cooldown::%loop-player%}
- {Test1::%player%} = {Test1::%loop-player%}
- {Test2::%player%} = {Test2::%loop-player%}
- {Test3::%player%} = {Test3::%loop-player%}
- {Test4::%player%} = {Test4::%loop-player%}
- on join:
- if {IceWandS::Spells:%player%} is not set:
- set {IceWandS::Spells::%player%} to 0
- if {IceWandP::IceSparkSpell::%player%} is not set:
- set {IceWandP::IceSparkSpell::%player%} to 0
- if {IceWandP::IceExplosionSpell::%player%} is not set:
- set {IceWandP::IceExplosionSpell::%player%} to 0
- if {IceWandS::IceExplosionSpell::cooldown::%player%} is not set:
- set {IceWandS::IceExplosionSpell::cooldown::%player%} to 0
- if {IceWandS::IceSparkSpell::cooldown::%player%} is not set:
- set {iceWandS::IceSparkSpell::cooldown::%player%} to 0
- command /wand [<text>] [<text>] [<offline player>] [<number>]:
- trigger:
- if player is in world "kingdom":
- if player has permission "wand.*" OR "wand.getwand":
- if arg 1 is "help":
- send "&e=======<&6Wands Help&e>======="
- send "&e/wand help &6Krijg meer informatie over de commands."
- send "&e/wand info &6Krijg meer informatie over de skript."
- send "&e/wand list &6Krijg een lijst met alle wands."
- send "&e/wand reset [spell/wand] &6Reset de spellpoints van een spell of wand"
- send "&e/wand set [spell/wand] [speler] [nummer] &6Zet de spellpoints naar een bepaald nummer"
- send "&e======<&6Pagina 1/1&e>======"
- stop
- if arg 1 is "info":
- send "&e=======<&6Wands info&e>======="
- send "&eMaker: &6&lZeldaboy111"
- send "&eVersie: &6&l1.0"
- send "&e=======<&6Wands info&e>======="
- stop
- if arg 1 is "list":
- send "&e=======<&6Wands info&e>======="
- send "&eWand: &6&lIce"
- send "&e=======<&6Wands info&e>======="
- stop
- if arg 1 is "ice":
- give player 1 stick named "&b&lIceWand" with lore "&kl"
- send "&e<&6Wands&e> &6Veel plezier met je &e&lIcewand&6!"
- stop
- if arg 1 is "reset":
- if arg 2 is "icespark":
- if arg 3 is set:
- send "&e<&6Wands&e> &6Je hebt de spell: &eIceSpark &6gereset bij: &e%arg 3%&6."
- set {IceWandP::IceSparkSpell::%arg 3%} to 0
- stop
- else:
- send "&e<&6Wands&e> &6Je hebt de spell: &eIceSpark &6gereset."
- set {IceWandP::IceSparkSpell::%player%} to 0
- stop
- if arg 2 is "iceexplosion":
- if arg 3 is set:
- send "&e<&6Wands&e> &6Je hebt de spell: &eIceExplosion &6gereset bij: &e%arg 3%&6."
- set {IceWandP::IceExplosionSpell::%arg 3%} to 0
- stop
- else:
- send "&e<&6Wands&e> &6Je hebt de spell: &eIceExplosion &6gereset."
- set {IceWandP::IceExplosionSpell::%player%} to 0
- stop
- if arg 2 is "IceWand" OR "Ice":
- if arg 3 is set:
- send "&e<&6Wands&e> &6Je hebt de wand: &eIceWand &6gereset bij: &e%arg 3%&6."
- set {IceWandP::IceSparkSpell::%arg 3%} to 0
- set {IceWandP::IceExplosionSpell::%arg 3%} to 0
- stop
- else:
- send "&e<&6Wands&e> &6Je hebt de wand: &eIceWand &6gereset."
- set {IceWandP::IceSparkSpell::%player%} to 0
- set {IceWandP::IceExplosionSpell::%player%} to 0
- stop
- else:
- send "&e<&6Wands&e> &4Dit is geen bestaande spell of wand."
- stop
- if arg 1 is "set":
- if arg 2 is "IceWand" OR "Ice":
- if arg 3 is set:
- if arg 4 is set:
- send "&e<&6Wands&e> &6Je hebt van de wand: &eIceWand &6de spellpoints gezet naar: &e%arg 4% &6gezet, bij: &e%arg 3%&6."
- set {IceWandP::IceSparkSpell::%arg 3%} to arg 4
- set {IceWandP::IceExplosionSpell::%arg 3%} to arg 4
- stop
- if arg 2 is "IceSpark":
- if arg 3 is set:
- if arg 4 is set:
- send "&e<&6Wands&e> &6Je hebt de spellpoints van: &eIceSpark &6naar: &e%arg 4% &6gezet, bij: &e%arg 3%&6."
- set {IceWandP::IceSparkSpell::%arg 3%} to arg 4
- stop
- if arg 2 is "IceExplosion":
- if arg 3 is set:
- if arg 4 is set:
- send "&e<&6Wands&e> &6Je hebt de spellpoints van: &eIceExplosion &6naar: &e%arg 4% &6gezet, bij: &e%arg 3%&6."
- set {IceWandP::IceExplosionSpell::%arg 3%} to arg 4
- stop
- else:
- if arg 3 is set:
- if arg 4 is not set:
- send "&e<&6Wands&e> &4Je moet nog een nummer invoeren."
- stop
- else:
- send "&e<&6Wands&e> &4Je hebt waarschijnlijk de verkeerde volgorde, doe &c/wand help &4of &c/wand set [spell/wand] [speler] [nummer]&4."
- stop
- else:
- send "&e<&6Wands&e> &4Dit is geen bestaande spell of wand."
- stop
- else:
- if arg 1 is set:
- send "&e<&6Wands&e> &4Deze command &cbestaat niet&4, doe &c/wand help &4voor meer informatie."
- stop
- else:
- send "&e<&6Wands&e> &4Doe &c/wand help &4voor meer informatie."
- stop
- else:
- send "&e<&6Wands&e> &4Je hebt &convoldoende permissies &4om deze command uit te voeren."
- stop
- on rightclick:
- if player is in world "kingdom":
- if player is holding a stick named "&b&lIceWand" with lore "&kl":
- if player has permission "wand.*" OR "wand.use.IceWand" OR "wand.use.icewand":
- if {IceWandS::Spells::%player%} is 0:
- send "&e<&6SpellSelected&e> &6&lIceSpark"
- set {IceWandS::Spells::%player%} to 1
- stop
- if {IceWandS::Spells::%player%} is 1:
- send "&e<&6SpellSelected&e> &6&lIceExplosion"
- set {IceWandS::Spells::%player%} to 0
- stop
- else:
- send "&e<&6Wands&e> &4Je hebt &convoldoende permissies &4om deze wand te gebruiken."
- stop
- on leftclick:
- if player is in world "kingdom":
- if player is holding a stick named "&b&lIceWand" with lore "&kl":
- if player has permission "wand.*" OR "wand.use.IceWand" OR "wand.use.icewand":
- set {IceWandP::IceSparkSpell::Needed} to 10
- set {IceWandP::IceExplosionSpell::Needed} to 10
- if {IceWandS::Spells::%player%} is 1:
- if {IceWandP::IceSparkSpell::%player%} is more than 9:
- set {IceWandT::IceSparkSpell::TargetedBlock::%player%} to location 1 meter above the targeted block of player
- #show 10 "fireworks_spark" particles at location of {IceWandT::IceSparkSpell::TargetedBlock::%player%} for player offset by 0.5, 0.5, 0.5
- set targeted block to ice
- damage targeted entity by 2 hearts
- else:
- chance of 10%:
- add 1 to {IceWandP::IceSparkSpell::%player%}
- send "&e<&6SpellPoints&e> &6Je hebt een SpellPoint erbij voor de spell: &eIceSpark"
- if {IceWandS::IceSparkSpell::cooldown::%player%} is 0:
- send "&e<&6IceSpark&e> &6Je hebt nog &e%{IceWandPA::IceSparkSpell::Needed}-{IceWandP::IceSparkSpell::%player%}% &6SpellPoints nodig."
- set {IceWandS::IceSparkSpell::cooldown::%player%} to 10
- stop
- if {IceWandS::Spells::%player%} is 0:
- if {IceWandP::IceExplosionSpell::%player%} is more than 9:
- wait 2 tick
- loop blocks between the block at the player and the block at targeted block:
- show 10 "fireworks_spark" particles at location of loop-block for player offset by 0.5, 0.5, 0.5
- loop blocks in radius 5 around targeted block:
- set loop-block to air
- set loop-block to fire
- else:
- chance of 5%:
- add 1 to {IceWandP::IceExplosionSpell::%player%}
- send "&e<&6SpellPoints&e> &6Je hebt een SpellPoint erbij voor de spell: &eIceExplosion"
- if {IceWandS::IceExplosionSpell::cooldown::%player%} is 0:
- send "&e<&6IceExplosion&e> &6Je hebt nog &e%{IceWandP::IceExplosionSpell::Needed}-{IceWandP::IceExplosionSpell::%player%}% &6SpellPoints nodig."
- set {IceWandS::IceExplosionSpell::cooldown::%player%} to 10
- stop
- else:
- send "&e<&6Wands&e> &4Je hebt &convoldoende permissies &4om deze wand te gebruiken."
- stop
- every 1 tick:
- loop all players in world "kingdom":
- if loop-player has permission "wand.*" OR "wand.use.IceWand" OR "wand.use.icewand":
- if loop-player is holding a stick named "&b&lIceWand" with lore "&kl":
- if {IceWandS::Spells::%loop-player%} is 1:
- if {IceWandP::IceSparkSpell::%loop-player%} is 0:
- show actionbar from "&b::::::::::::::::::::::" to loop-player
- if {IceWandP::IceSparkSpell::%loop-player%} is 1:
- show actionbar from "&3::&b::::::::::::::::::" to loop-player
- if {IceWandP::IceSparkSpell::%loop-player%} is 2:
- show actionbar from "&3::::&b::::::::::::::::" to loop-player
- if {IceWandP::IceSparkSpell::%loop-player%} is 3:
- show actionbar from "&3::::::&b::::::::::::::" to loop-player
- if {IceWandP::IceSparkSpell::%loop-player%} is 4:
- show actionbar from "&3::::::::&b::::::::::::" to loop-player
- if {IceWandP::IceSparkSpell::%loop-player%} is 5:
- show actionbar from "&3::::::::::&b::::::::::" to loop-player
- if {IceWandP::IceSparkSpell::%loop-player%} is 6:
- show actionbar from "&3::::::::::::&b::::::::" to loop-player
- if {IceWandP::IceSparkSpell::%loop-player%} is 7:
- show actionbar from "&3::::::::::::::&b::::::" to loop-player
- if {IceWandP::IceSparkSpell::%loop-player%} is 8:
- show actionbar from "&3::::::::::::::::&b::::" to loop-player
- if {IceWandP::IceSparkSpell::%loop-player%} is 9:
- show actionbar from "&3::::::::::::::::::&b::" to loop-player
- if {IceWandP::IceSparkSpell::%loop-player%} is more than 9:
- show actionbar from "&3&lIceSpark" to loop-player
- if {IceWandS::Spells::%loop-player%} is 0:
- if {IceWandP::IceExplosionSpell::%loop-player%} is 0:
- show actionbar from "&b::::::::::::::::::::::" to loop-player
- if {IceWandP::IceExplosionSpell::%loop-player%} is 1:
- show actionbar from "&3::&b::::::::::::::::::" to loop-player
- if {IceWandP::IceExplosionSpell::%loop-player%} is 2:
- show actionbar from "&3::::&b::::::::::::::::" to loop-player
- if {IceWandP::IceExplosionSpell::%loop-player%} is 3:
- show actionbar from "&3::::::&b::::::::::::::" to loop-player
- if {IceWandP::IceExplosionSpell::%loop-player%} is 4:
- show actionbar from "&3::::::::&b::::::::::::" to loop-player
- if {IceWandP::IceExplosionSpell::%loop-player%} is 5:
- show actionbar from "&3::::::::::&b::::::::::" to loop-player
- if {IceWandP::IceExplosionSpell::%loop-player%} is 6:
- show actionbar from "&3::::::::::::&b::::::::" to loop-player
- if {IceWandP::IceExplosionSpell::%loop-player%} is 7:
- show actionbar from "&3::::::::::::::&b::::::" to loop-player
- if {IceWandP::IceExplosionSpell::%loop-player%} is 8:
- show actionbar from "&3::::::::::::::::&b::::" to loop-player
- if {IceWandP::IceExplosionSpell::%loop-player%} is 9:
- show actionbar from "&3::::::::::::::::::&b::" to loop-player
- if {IceWandP::IceExplosionSpell::%loop-player%} is more than 9:
- show actionbar from "&3&lIceExplosion" to loop-player
- every 1 second:
- loop all players in world "kingdom":
- if {IceWandP::IceSparkSpell::%loop-player%} is less than 10:
- if {IceWandS::IceSparkSpell::cooldown::%loop-player%} is not 0:
- remove 1 from {IceWandS::IceSparkSpell::cooldown::%loop-player%}
- stop
- if {IceWandP::IceExplosionSpell::%loop-player%} is less than 10:
- if {IceWandS::IceExplosionSpell::cooldown::%loop-player%} is not 0:
- remove 1 from {IceWandS::IceExplosionSpell::cooldown::%loop-player%}
- stop
Add Comment
Please, Sign In to add comment