actually, i edited a particle skript, but it give errors, can someone pls help?
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}
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}