i really need help

  • 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.

Modder

Member
Jun 5, 2020
2
0
0
26
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}
 
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
Reactions: Nikd0
Status
Not open for further replies.