1. 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!

  2. LOOKING FOR A VERSION OF SKRIPT?

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

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

i really need help

Discussion in 'Skript' started by Modder, Jun 5, 2020.

Thread Status:
Not open for further replies.
  1. Modder

    Modder Member

    Joined:
    Jun 5, 2020
    Messages:
    3
    Likes Received:
    0
    actually, i edited a particle skript, but it give errors, can someone pls help?

    upload_2020-6-5_9-29-56.png





    upload_2020-6-5_9-30-15.png





    options:
    permissionm: teste
    Particula_otimizada: 20

    command /particle [<text>]:
    permission: doador.player
    permission message: {@permissionm}
    trigger:
    if arg-1 is not set:
    send "&5&lPar&dtículas &f&l> &aPartículas removidas!"
    if arg-1 is not "fogo", "feliz", "felicidade", "raiva", "foguete", "coração", "chamas", "magias", "nota", "notas", "nuvem", "nuvens" or "":
    send "§4§lErro: §cEssa partícula não existe!"
    if arg-1 is "fogo":
    set {particulas.tipo.%player%} to "fogo"
    send "&5&lPar&dtículas &f&l> &aPartícula &c%arg-1% &aadicionada!"
    if arg-1 is "feliz":
    set {particulas.tipo.%player%} to "feliz"
    send "&5&lPar&dtículas &f&l> &aPartícula &e%arg-1% &aadicionada!"
    if arg-1 is "felicidade":
    set {particulas.tipo.%player%} to "felicidade"
    send "&5&lPar&dtículas &f&l> &aPartícula &6%arg-1% &aadicionada!"
    if arg-1 is "raiva":
    set {particulas.tipo.%player%} to "raiva"
    send "&5&lPar&dtículas &f&l> &aPartícula &4&l%arg-1% &aadicionada!"
    if arg-1 is "foguete":
    set {particulas.tipo.%player%} to "foguete"
    send "&5&lPar&dtículas &f&l> &aPartícula &6%arg-1% &aadicionada!"
    if arg-1 is "coração":
    set {particulas.tipo.%player%} to "coração"
    send "&5&lPar&dtículas &f&l> &aPartícula &d%arg-1% &aadicionada!"
    if arg-1 is "chamas":
    set {particulas.tipo.%player%} to "chamas"
    send "&5&lPar&dtículas &f&l> &aPartícula &4%arg-1% &aadicionada!"
    if arg-1 is "magias":
    set {particulas.tipo.%player%} to "magias"
    send "&5&lPar&dtículas &f&l> &aPartícula &5&l%arg-1% &aadicionada!"
    if arg-1 is "nota":
    set {particulas.tipo.%player%} to "nota"
    send "&5&lPar&dtículas &f&l> &aPartícula &b%arg-1% &aadicionada!"
    if arg-1 is "notas":
    set {particulas.tipo.%player%} to "notas"
    send "&5&lPar&dtículas &f&l> &aPartícula &b&l%arg-1% &aadicionada!"
    if arg-1 is "nuvem":
    set {particulas.tipo.%player%} to "nuvem"
    send "&5&lPar&dtículas &f&l> &aPartícula &f%arg-1% &aadicionada!"
    if arg-1 is "nuvens":
    set {particulas.tipo.%player%} to "nuvens"
    send "&5&lPar&dtículas &f&l> &aPartícula &f&l%arg-1% &aadicionada!"

    on quit:
    set {particulas.tipo.%player%} to "false"

    on load:
    broadcast "&5&lPar&dtículas &f&l> &aFuncionando sem erros!"

    on any movement:
    if {particulas.player.%player%} is true:
    if {particulas.tipo.%player%} is "fogo":
    set {_Particulaspawn} to location of player
    spawn {@Particula_otimizada} of particle flame offset by 0, 0, 0 at {_Particulaspawn}
    if {particulas.tipo.%player%} is "felicidade":
    set {_Particulaspawn} to location of player
    spawn {@Particula_otimizada} of particle happy villager offset by 0, 0, 0 at {_Particulaspawn}
    if {particulas.tipo.%player%} is "feliz":
    set {{_Particulaspawn} to location of player
    spawn {@Particula_otimizada} of particle happy villager offset by 0, 0, 0 at {_Particulaspawn}
    spawn {@Particula_otimizada} of particle happy villager offset by 1, 0, 1 at {_Particulaspawn}
    spawn {@Particula_otimizada} of particle happy villager offset by -1, 0, -1 at {_Particulaspawn}
    if {particulas.tipo.%player%} is "raiva":
    set {_Particulaspawn} to location of player
    spawn {@Particula_otimizada} of particle angry villager offset by 0, 0, 0 at {_Particulaspawn}
    if {particulas.tipo.%player%} is "foguete":
    set {_Particulaspawn} to location of player
    spawn {@Particula_otimizada} of particle fireworks spark offset by 0, 0, 0 at {_Particulaspawn}
    if {particulas.tipo.%player%} is "coração":
    set {_Particulaspawn} to location of player
    spawn {{@Particula_otimizada} of particle heart offset by 0, 0, 0 at {_Particulaspawn}
    if {particulas.tipo.%player%} is "chamas":
    set {_Particulaspawn} to location of player
    spawn {@Particula_otimizada} of particle flame offset by 0, 0, 0 at {_Particulaspawn}
    spawn {@Particula_otimizada} of particle flame offset by 1, 0, 1 at {_Particulaspawn}
    spawn {@Particula_otimizada} of particle flame offset by -1, 0, -1 at {_Particulaspawn}
    if {particulas.tipo.%player%} is "magias":
    set {_Particulaspawn} to location of player
    spawn {@Particula_otimizada} of particle spell offset by 0, 0, 0 at {_Particulaspawn}
    spawn {@Particula_otimizada} of particle spell offset by 1, 0, 1 at {_Particulaspawn}
    spawn {@Particula_otimizada} of particle spell offset by -1, 0, -1 at {_Particulaspawn}
    if {particulas.tipo.%player%} is "nota":
    set {_Particulaspawn} to location of player
    spawn {@Particula_otimizada} of particle note offset by 0, 0, 0 at {_Particulaspawn}
    if {particulas.tipo.%player%} is "notas":
    set {_Particulaspawn} to location of player
    spawn {@Particula_otimizada} of particle note offset by 0, 0, 0 at {_Particulaspawn}
    spawn {@Particula_otimizada} of particle note offset by 1, 0, 1 at {_Particulaspawn}
    spawn {{@Particula_otimizada} of particle note offset by -1, 0, -1 at {_Particulaspawn}
    if {particulas.tipo.%player%} is "nuvem":
    set {_Particulaspawn} to location of player
    spawn {@Particula_otimizada} of particle cloud offset by 0, 0, 0 at {_Particulaspawn}
    if {particulas.tipo.%player%} is "nuvens":
    set {_Particulaspawn} to location of player
    spawn {@Particula_otimizada} of particle cloud offset by 0, 0, 0 at {_Particulaspawn}
    spawn {@Particula_otimizada} of particle cloud offset by 1, 0, 1 at {_Particulaspawn}
    spawn {@Particula_otimizada} of particle cloud offset by -1, 0, -1 at {_Particulaspawn}
     
  2. zTak

    zTak Active Member

    Joined:
    Mar 3, 2018
    Messages:
    84
    Likes Received:
    6
    at location of {_Particulaspawn}
     
  3. pokw

    pokw Active Member

    Joined:
    Jun 3, 2019
    Messages:
    52
    Likes Received:
    1
    You're not going to get any help unless:

    1. You put this in code blocks
    2. You explain what you have done to fix it
    3. You tell your addons and versions
    4. You say your Skript version
    5. You try to debug it
     
    • Like Like x 1
Thread Status:
Not open for further replies.

Share This Page

Loading...