#Making particle trail a projectile
1 messages · Page 1 of 1 (latest)
you need to add a wait in the while loop
also you need to indent the 3rd line
by adding 1 tab or 4 spaces behind it
ah
is there a wait on the actual code?
add one
skript sends too much to the server when there isnt one
and it crashes
whatever looks the best
1 tick, 0.1 seconds etc
i just use metadata tag for the projectile, then delete it on projectile hit
set (event-projectile's metadata tag "showParticles") to true
on projecttile hit:
if (event-projectile's metadata tag "showParticles") is set:
delete (event-projectile's metadata tag "showParticles")```

Doesnt understand what
While that tag is true
And yes, that makes it easier for skript
While that metadata tag is set show the particles
No
on shoot:
while metadatag *:
do Stuff
Get rid of the while t thing
Remove skrayfall and and skquery, theyre outdated and can break things
You only need skbee for this
Just set the damage

Just send the code bro ðŸ˜
just on proj hit, check if theres a victim, then this
use else ifs
also, if any: damage cause is fire damage cause is lightning then: cancel event
pretty self explanatory, it checks all the conditions inside, and if any of them pass, then the then section is run
is a %projectileType%
put "a" before it
cause the fireball doesnt damage