# save armor beforehand
if {_player}'s helmet is not air:
set {player_data::%{_player}'s uuid%::inventory::armor::helmet} to {_player}'s helmet
set {_player}'s helmet to air
if {_player}'s chestplate is not air:
set {player_data::%{_player}'s uuid%::inventory::armor::chestplate} to {_player}'s chestplate
set {_player}'s chestplate to air
if {_player}'s leggings is not air:
set {player_data::%{_player}'s uuid%::inventory::armor::leggings} to {_player}'s leggings
set {_player}'s leggings to air
if {_player}'s boots is not air:
set {player_data::%{_player}'s uuid%::inventory::armor::boots} to {_player}'s boots
set {_player}'s boots to air
# save offhand before hand
if off hand item of {_player} is not air:
set {player_data::%{_player}'s uuid%::inventory::offhand} to {_player}'s off hand item
set {_player}'s off hand item to air
set {player_data::%{_player}'s uuid%::inventory::items::*} to all items in {_player}'s inventory
#Issue with parsing or something
1 messages · Page 1 of 1 (latest)
AI 🗣️
It is recommended that you don't use AI agents for multiple reasons:
2) Blindly trusting code from any source is a bad idea, especially on production servers. Even if the code that was generated appears to work, you have no clue what vulnerabilities it introduces or fails to protect against.
3) Using AI to write your code takes away from your learning and doesn't challenge you to develop problem solving skills.```
While AI can be used as a tool, it is necessary to understand what it is doing and check any code it creates. Since this is a learning community, we want to support your personal growth. As a result, we don't allow generated content in our help channels ([Rule 8](<#welcome-to-skunity message>))
doesnt look ai generated to me
actually looks like it should work
try commenting out all the lines and see which one is causing the severe error
and send /sk info
there are no errors when setting it but just spills all that shi-
What im trying to do here is this:
# save armor beforehand
if {_player}'s helmet is not air:
set {player_data::%{_player}'s uuid%::inventory::armor::helmet} to {_player}'s helmet
set {_player}'s helmet to air
# save offhand before hand
if off hand item of {_player} is not air:
set {player_data::%{_player}'s uuid%::inventory::offhand} to {_player}'s off hand item
set {_player}'s off hand item to air
set {player_data::%{_player}'s uuid%::inventory::items::*} to all items in {_player}'s inventory
if {_clear_inv} is true:
clear {_player}'s inventory
set {_json} to {player_data::%{_player}'s uuid%::*}'s formatted json
works for other things, here it is trying to save the player armor and off hand. then store it into the {player_data::%{_player}'s uuid%::*} list (json), then upload to remote api server
update skript and skbee (and your other addons), remove skrayfall and skquery
wat
but i need these: skrayfall and skquery
No, you dont
what do you need it for
scoreboard and some othger things i forgot
since server go oofy if i dont have skquery
how would you know
because those addons are long outdated and 99% of their features are now in vanilla skript or skbee
remove the addons and find out what your errors are
use skbee for scoreboard/fastboard
i will have to change alot of stuff
Yes, but then you get to delete buggy addons!
99% of the time these errors are caused by old addons
fair
lmao what do you expect?