Help with particle projectiles please

  • 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 skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

ThePraZ

Member
Feb 20, 2017
37
1
8
I want to know how to make a instantly particle projectile that doesn't have spaces between each particle

I mean that when you set more speed to a particle projectile in umbaska it make it faster but it have spaces between each particle that are bigger the more speed, and what I want to make is a fast or instantly particle projectile without spaces between each particle

PD: I want to make a kamehameha skill for my server

I tried this (the spaces between each particle are well but it is too slow, and I want to make it faster but without changing the spaces between each particle):
code_language.skript:
on rightclick using stone hoe:
    set {_ukamehameha} to "KAMEHAMEHA||%player%||%new uuid%"
    register new particle projectile using particle block dust {_ukamehameha}
    set {_ulocationkamehameha1} to location of player
    set {_ulocationkamehameha2} to location 1.1 meters above {_ulocationkamehameha1}
    if player's pitch is less than 46:
        set {_ulocationkamehameha} to location 0.9 meters in front of {_ulocationkamehameha2}
    if player's pitch is bigger than 46:
        set {_ulocationkamehameha} to location 2 meters in front of {_ulocationkamehameha2}
    if player's pitch is bigger than or equal to 80:
        set {_ulocationkamehameha} to location 2.6 meters in front of {_ulocationkamehameha2}
    set start location of {_ukamehameha} to {_ulocationkamehameha}
    set particle count of {_ukamehameha} to 1
    set x offset of {_ukamehameha} to .1
    set y offset of {_ukamehameha} to .1
    set z offset of {_ukamehameha} to .1
    set particle speed of {_ukamehameha} to 2.1
    set tps of {_ukamehameha} to 0.0001
    set gravity of {_ukamehameha} to 0
    set projectile type of {_ukamehameha} to stop on both
    make player shoot particle projectile {_ukamehameha} with speed 0.71
    set {_pkamehameha} to location of player's head
    while distance between current location of {_ukamehameha} and {_pkamehameha} is less than 40:
        if running state of {_ukamehameha} is false:
            stop
        wait 5 ticks
    stop particle projectile {_ukamehameha}
 
Last edited:
Status
Not open for further replies.