function infinite():
while {infinite} is true:
set {_block} to location(305.5, 5.5, 258.5, world "Skyspawn")
set {_increment} to mod({_increment} + 3, 360)
set {_vector} to spherical vector with radius 1.25, yaw 0, pitch {_increment}
set {_vector1} to spherical vector with radius 1.25, yaw 90, pitch {_increment}
set {_vector2} to spherical vector with radius 1.25, yaw -90, pitch {_increment}
set {_vector3} to spherical vector with radius 1.25, yaw 180, pitch {_increment}
set {_particleLocation} to {_block} ~ {_vector}
set {_particleLocation1} to {_block} ~ {_vector1}
set {_particleLocation2} to {_block} ~ {_vector2}
set {_particleLocation3} to {_block} ~ {_vector3}
make 10 of dust using dustOption(red, 1) at {_particleLocation}
make 10 of dust using dustOption(red, 1) at {_particleLocation1}
make 10 of dust using dustOption(red, 1) at {_particleLocation2}
make 10 of dust using dustOption(red, 1) at {_particleLocation3}
make 1 of lava at location(301.5, 6, 256.5, world "Skyspawn")
make 10 of splash at location(293.5, 6, 254.5, world "Skyspawn")
make 10 of falling spore blossom at location(288.5, 6.5, 256.5, world "Skyspawn") with offset vector(0.1, 0.1, 0.1)
wait 1 tick
command /infinite <boolean>:
permission: op
permission message: &cDefinatly not!
trigger:
set {infinite} to arg
infinite()``` This is the code
#toggle particle function
1 messages · Page 1 of 1 (latest)
what...?
like so specific players can toggle it