I wanna make the particles spawn when the player right clicked but the particles keep spawning in the players new position i wanna match just like how it is on the bliss smp since they look cool and i wanna put it into my server
skript version: 2.7.0-beta3
addons i use:
skRayFall v1.9.28
Skellett v2.0.9
skDragon
SkBee 2.17.0
skript version: 2.7.0-beta3
addons i use:
skRayFall v1.9.28
Skellett v2.0.9
skDragon
SkBee 2.17.0
command /redandblackcircle <number>: # number = Size of circle
trigger:
set {_step} to 14 # Set a larger step value here
set {_iterations} to 180 * arg-1 / {_step}
loop {_iterations} times:
set {_angle} to loop-value * {_step}
set {_v} to spherical vector radius arg-1, yaw {_angle}, pitch (0) # Pitch is set to 0 to make it around the player
draw 1 of dust_color_transition using dustTransition(red, red, 1) at location of player ~ {_v}
draw 1 of dust_color_transition using dustTransition(black, black, 1) at location of player ~ {_v}
on right click:
if name of player's held item contains "testitem":
execute player command "/redandblackcircle 0.5"
wait 0.09 seconds
execute player command "/redandblackcircle 1"
wait 0.09 seconds
execute player command "/redandblackcircle 1.5"
wait 0.09 seconds
execute player command "/redandblackcircle 2"
wait 0.09 seconds
execute player command "/redandblackcircle 2.5"
wait 0.09 seconds
execute player command "/redandblackcircle 3"
wait 0.09 seconds
execute player command "/redandblackcircle 3.5"