Appearing and dissapearing particle trails in skript?

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

retLIVE

Member
Sep 24, 2023
2
0
1
30
How do you make particle trails appear and disappear using skript?

I want to make it so when I right click an item I get particle trail for set amount of ticks

For more explanation:

I am making a leap ability where by right clicking an item you get pushed up and forwards, I have done the leap and now I want to add a trail that spawns in for a few seconds after you have right clicked the item.

Here is my code so far:

on right click:

if player's held item is totem of undying named "&e&lLeap":
send "You have used &a&lLeap" to player
play sound "entity.bat.takeoff" at volume 100 to player
push player up at speed 0.3
push player forward at speed 1
set player's max health to 8
 
FYI: that’s what particles are.
Note: this requires skbee

draw 20 of [particle name] at location of player


This was not tested
 
  • Like
Reactions: retLIVE