Hello!
This is my skript and I want to add something (To do
Thanks for helping
This is my skript and I want to add something (To do
code_language.skript:
#Launch, Fireball, Explosion Trail, Lightning
# To do:
# Add command to get the wand
# Add permission to the command
# Add name to the wand when you use the command
on left click:
player is holding a blaze rod
{empirewand.effect.%player%} is not set:
set {empirewand.effect.%player%} to 1
message "<gold>Empire Wand: <b>Launch"
stop
{empirewand.effect.%player%} is 1:
set {empirewand.effect.%player%} to 2
message "<gold>Empire Wand: <b>Fireball"
stop
{empirewand.effect.%player%} is 2:
set {empirewand.effect.%player%} to 3
message "<gold>Empire Wand: <b>Explosion Trail"
stop
{empirewand.effect.%player%} is 3:
set {empirewand.effect.%player%} to 4
message "<gold>Empire Wand: <b>Lightning"
stop
{empirewand.effect.%player%} is 4:
set {empirewand.effect.%player%} to 1
message "<gold>Empire Wand: <b>Launch"
stop
on right click:
player is holding a blaze rod
{empirewand.effect.%player%} is 1:
loop all entities in radius 20 around player:
push loop-entity upwards at speed 2
create fake explosion at loop-entity
{empirewand.effect.%player%} is 2:
shoot a fireball from the player
{empirewand.effect.%player%} is 3:
loop blocks from the block in front of the player to the block 25 in front of the player:
create explosion of force 2 at loop-block
wait 1 tick
{empirewand.effect.%player%} is 4:
loop all entities in radius 50 around player:
strike lightning at loop-entity
Thanks for helping