#i need help, there are 10 errors and theyre simple, please help if u can

1 messages ยท Page 1 of 1 (latest)

terse viper
fading lark
#

We don't know what the 10 errors are

terse viper
#

ill send ina but

#

bit

hybrid sierra
#
  1. Perhaps expand on your issues rather than just "I have errors"
  • send_error
  1. Pretty sure make player attack twice is made-up syntax, and if it did exist, it would probably belong in the on damage: event
  2. You dont need to loop players, you can just do your 'side effects' after they use the ability (or when they select the tool through the on tool change: event)
terse viper
#

bro types too fast for me to keep up lmao

hybrid sierra
#
  1. Use UUIDs or enable the use UUIDs in variables option in the config
  • you can also use metadata or memory variables for cooldowns
terse viper
#

also

#

ive tried 3 hosts and everytime i reload server crashes

#

no console errors

#

just instant crash

fading lark
#

are you using the /reload command? you said "every time I reload"

terse viper
hybrid sierra
terse viper
#

idk man ๐Ÿ˜ญ

hybrid sierra
#

omg i found it (maybe)

terse viper
#

how do i fix everything ๐Ÿ˜ญ

fading lark
#

When I glanced at the skript there was some "every one second"

hybrid sierra
#

yeah

hybrid sierra
fading lark
#

couldnt you do "if x is or y or z" instead of if player's tool every time

hybrid sierra
#

just use the on tool change: event i suggested earlier

fading lark
#

oh yeah I just downloaded the skript yeah its a all player loop every second

#

for this, couldn't you just "on damage: if player's tool is blah"

every 5 minutes:
    loop all players:
        if name of loop-player's tool is "&6Helix Axe":
            chance of 10%:
                make loop-player attack twice
terse viper
#

if i send the errors could you guys help fix it?

#

wait nvm my host is crashing out again

fading lark
#

remove line 102

terse viper
#

al

fading lark
#

like the whole every 1 second thing

terse viper
#

alr

#

yh

fading lark
#

my host is working fine after I removed all the every x time

terse viper
#

on tool change:
if name of player's tool is "&6Adrenaline Sword" or name of loop-player's tool is "&6Helix Axe" or name of loop-player's tool is "&6Nimbus Shield" or name of loop-player's tool is "&6Plague Bow":
set tab name of loop-player to "&6%loop-player%"

#

should this work?

fading lark
#

most of your errors are just you needing to read the error.

terse viper
#

i gott get rid of loop player everywhere

terse viper
#

in that msg

terse viper
fading lark
#

it looks to me like you're combining conditions that cant be combined

so
try it like this

if any:
    condition 1
    condition 2
then:
    #code
#

ie line 5

hybrid sierra
#

if any*

fading lark
#

you're right my bad

hybrid sierra
#

heck, since all your item names start with &6 you could just check for that

fading lark
#

use player's uuid instead of player in your variables too

terse viper
#

tysm

#

my host isnt dying anymore

#

nvm i think its still dying

#

nvm

#

idk anymore gng

#

my host is unstable asf

#

nvm its alg

fading lark
#

1300 ms reload time bruh

terse viper
#

okay ill fix as much as i can and come back

#

okay so i have 13 errors now ๐Ÿ˜ญ

fading lark
#

how??

#

send code

terse viper
fading lark
#

what is the errors

terse viper
#

can you fix pretty please ๐Ÿ˜ญ

terse viper
fading lark
#

because I don't have any errors

terse viper
#

wrong paste

fading lark
#

no, I'm using your original code

terse viper
fading lark
#

like ive said before sometimes you just have to read the errors

terse viper
#

a lot of it is syntax

#

how do i fix the stuff like like 5

#

what should i replace it with

terse viper
#

alr

fading lark
#

whats with ur skript reload time bruh

terse viper
#

my host was dying so im on minehut lmao

fading lark
#

its not your host.

terse viper
#

oh np

#

no

fading lark
#

the skript is taking a million years to reload

terse viper
#

am i cooked

#

could you hop on the server?

fading lark
#

your 1 skript takes longer to reload than my whole server's skripts

#

for what reason?

terse viper
#

ohh.....

fading lark
#

some of your syntax is wrong "for 30 seconds" is not a thing in skript

#

poison is not a particle type either

#

you can do like "show 10 of flame at player"

#

and this is not a thing either

shoot arrow from shooter with damage 2

hybrid sierra
#

you can check the docs and the skbee wiki for correctsyntax

#

and some of your issues are because you cant put multiple conditions on the same line; use an if all: