Why does it take 20 seconds or more to reload this skript?
code_language.skript:
on shoot:
if projectile is egg:
if {particle.%shooter%} is 1:
loop 10 times:
loop {sping::*}:
wait 1 tick
show 1 "lava" particles at the projectile for loop-value-2 offset by 0, 0, 0
if {particle.%shooter%} is 2:
loop 10 times:
loop {sping::*}:
wait 1 tick
show 1 "spell_witch" particles at the projectile for loop-value-2 offset by 0, 0, 0
if {particle.%shooter%} is 3:
loop 10 times:
loop {sping::*}:
wait 1 tick
show 1 "note" particles at the projectile for loop-value-2 offset by 0, 0, 0
if {particle.%shooter%} is 4:
loop 10 times:
loop {sping::*}:
wait 1 tick
show 1 "snowball" particles at the projectile for loop-value-2 offset by 0, 0, 0
if {particle.%shooter%} is 5:
loop 10 times:
loop {sping::*}:
wait 1 tick
show 1 "flame" particles at the projectile for loop-value-2 offset by 0, 0, 0
if {particle.%shooter%} is 6:
loop 10 times:
loop {sping::*}:
wait 1 tick
show 1 "heart" particles at the projectile for loop-value-2 offset by 0, 0, 0