#i need help, there are 10 errors and theyre simple, please help if u can
1 messages ยท Page 1 of 1 (latest)
We don't know what the 10 errors are
- Perhaps expand on your issues rather than just "I have errors"
- Pretty sure
make player attack twiceis made-up syntax, and if it did exist, it would probably belong in theon damage:event - 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)
bro types too fast for me to keep up lmao
- Use UUIDs or enable the use UUIDs in variables option in the config
- you can also use metadata or memory variables for cooldowns
also
ive tried 3 hosts and everytime i reload server crashes
no console errors
just instant crash
are you using the /reload command? you said "every time I reload"
im using /sk reload vegaaaatest.sk
do you have a while loop anywhere?
idk man ๐ญ
omg i found it (maybe)
how do i fix everything ๐ญ
When I glanced at the skript there was some "every one second"
yeah
it's probably line 102, that line is very long and unoptimised, and you are running it every second... per player
couldnt you do "if x is or y or z" instead of if player's tool every time
just use the on tool change: event i suggested earlier
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
if i send the errors could you guys help fix it?
wait nvm my host is crashing out again
remove line 102
al
like the whole every 1 second thing
my host is working fine after I removed all the every x time
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?
most of your errors are just you needing to read the error.
i gott get rid of loop player everywhere
in that msg
but a lot of em are syntax errors so what do ido
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
if any*
you're right my bad
heck, since all your item names start with &6 you could just check for that
use player's uuid instead of player in your variables too
tysm
my host isnt dying anymore
nvm i think its still dying
nvm
idk anymore gng
my host is unstable asf
nvm its alg
1300 ms reload time bruh
what is the errors
can you fix pretty please ๐ญ
ill send rq
because I don't have any errors
wrong paste
no, I'm using your original code
like ive said before sometimes you just have to read the errors
a lot of it is syntax
how do i fix the stuff like like 5
what should i replace it with
.
alr
whats with ur skript reload time bruh
my host was dying so im on minehut lmao
its not your host.
the skript is taking a million years to reload
your 1 skript takes longer to reload than my whole server's skripts
for what reason?
ohh.....
