#skript going bonkers (severe issue wont stop)

1 messages · Page 1 of 1 (latest)

radiant imp
#

the skript im running is
`on right click:
if player is holding blaze rod named "&4&lT&f&lN&4&lT &f&lL&4&lA&f&lU&4&lN&f&lC&4&lH&f&lE&4&lR":
if player is in world "world":
if difference between now and {%player's uuid%.tntShooter.lastUsed} is less than 0.05 seconds:
message "&2Tell your autoclicker to chill out" to player
else:
shoot a tnt at speed 2.5
set {%player's uuid%.tntShooter.lastUsed} to now

command /tntwand:
permission: op
trigger:
give player blaze rod named "&4&lT&f&lN&4&lT &f&lL&4&lA&f&lU&4&lN&f&lC&4&lH&f&lE&4&lR" with lore "&bLaunches a &4&lT&f&lN&4&lT &bat high speeds" and "&5&kG&cOnly obtainable through God crate&5&kG" and "&bRight click to fire" and "&5&kG&5MYTHIC WEAPON&kG" and "&2If you stack it will not work"

every 1 second:
set {randomDamage} to a random integer between 3 and 5

on explosion:
loop all blocks in radius 3 of event-block:
cancel event
damage loop-players by {randomDamage} hearts
`

the error is attached

daring quail
#
  1. code blocks are 3 backticks: ```code```
  2. you can make randomDamage a local variable and just set it in the explosion event
  3. ""&2If you stack it will not work"" This is because you are checking if the player's tool is that exact item, you should be checking 1 of player's tool = ..., or just check the name
  4. use lists and dont start with the player's uuid, you want that as the index so that you can reference it in loops and such
radiant imp
sage ibex
#

the error says try deleting plugins one by one because something is altering skript or smth

daring quail
#

update skbee.

#

remove skquery

daring quail
radiant imp
#

i disabled all of the plugins

#

it still happened

#

at this point i might as well just ping an admin

sage ibex
#

resist the urge

radiant imp
wise thicket
wise thicket
#

How is it this hard to do

Code
radiant imp
last cobalt
#

Or just stop using skript if you dont take advice

#

Just try deleting the plugins instead of “disabling” them

wise thicket
#

^

radiant imp
#

guys im not dumb as a rock

sage ibex
#

i think you should try deleting plugins instead of disabling them

daring quail
lean saddle
# radiant imp i disabled all of the plugins

When you say "disabled", did you disable them using the PlugMan plugin, or did you delete the plugin and/or change the file extension to have it still there just not act like a plugin? Only reason I ask is becuase if you use PlugMan, delete it. It will only break things, not help you (especially Skript)

#

Also, you probably don't actually need Skellett. What are you using it for?

radiant imp
lean saddle
#

you have this code here on explosion: loop all blocks in radius 3 of event-block: cancel event damage loop-players by {randomDamage} hearts
you are looping BLOCKs, so why do you have loop-player?

#

also, you are cancelling the event every time the block is looped. So in a radius of 1, that's 5 times the event is cancelled. you only need to cancel the event once

radiant imp
#

so i have to manually damage player

lean saddle
#

but again, you are looping BLOCKS, not PLAYERS, so there is no player

daring quail
#

Youll need to loop the players separately

radiant imp
radiant imp
radiant imp
lean saddle
#

Admin != Dev

radiant imp
#

same intent

lean saddle
#

so if I have an admin that doesn't know how most of the plugins work, and I have a dev that actively develops the plugin in question, with your logic I should ask the Admin for help with that plugin, right?

radiant imp
lean saddle
#

gotcha