Solved Remove Attack Damage In GUI

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

KarimAKL

Active Member
Apr 20, 2018
50
2
0
29
Okay so i have this GUI where i have a sword and i think it would look much smoother if this:
Attack Damage.png
was removed from the sword in the GUI, this is the code:
code_language.skript:
format slot 1 of player with wooden sword named "Something" with lore "Some lore" to close then run [execute console command "/some command"]
I know there is a Skript addon named "TuSKe" which is better but i'm just lazy and i haven't had any problems with SkQuery as of yet. :emoji_stuck_out_tongue:
I've tried this aswell:
code_language.skript:
format slot 1 of player with wooden sword with nbt "{HideFlags:63}" named "Something" with lore "Some lore" to close then run [execute console command "/some command"]
As someone said in another post but it didn't work. (I did try downloading SkStuff as the person said it is needed but it came with errors so i gave up on that and uninstalled SkStuff) I have tried searching around on the forums and on google but couldn't find anything that helped me.

Skript Version: 2.1.2
Minecraft Version: 1.8.8
Addons: SkQuery(3.21.4)
 
its works just fine with me ?

Skript version: Skript 2.2 fixes V8B.jar
tryet with SKQuery (i don't recommend)
want a download link to my script version?
 
its works just fine with me ?

Skript version: Skript 2.2 fixes V8B.jar
tryet with SKQuery (i don't recommend)
want a download link to my script version?
Sure, i can try downloading that and see how it works. :emoji_slight_smile:
 
well i cant upload it, just search for it
Okay, but i'm pretty sure you said a link and not a file, anyway i'll try that now. :emoji_stuck_out_tongue:
EDIT: I'm currently downloading this version. This said "For 1.8 use this version"
EDIT2: Didn't work, trying to find your version again. :emoji_stuck_out_tongue:
EDIT3: Can't seem to find it, if you know where to find it then please send me a link to it.
 
Last edited:
code_language.skript:
format slot 1 of player with wooden sword with no nbt named "Something" with lore "Some lore" to close then run [execute console command "/some command"]
 
code_language.skript:
format slot 1 of player with wooden sword with no nbt named "Something" with lore "Some lore" to close then run [execute console command "/some command"]
Comes with an error. :7
Error:
'"/some command"]' is not a text
 
code_language.skript:
format slot 1 of player with wooden sword with no nbt named "Something" with lore "Some lore"
 
code_language.skript:
on right click with wooden sword:
    name of player's tool is "Something":
        lore of player's tool is "Some lore":
            send "You right clicked your sword"
 
code_language.skript:
on right click with wooden sword:
    name of player's tool is "Something":
        lore of player's tool is "Some lore":
            send "You right clicked your sword"
But that's not in the GUI, i want it to execute a command when pressing the wooden sword in the GUI. :7
 
code_language.skript:
format gui slot 1 of player with wooden sword with no nbt named "Something" with lore "Some lore" to close then run [execute console command "/some command"]
 
code_language.skript:
format gui slot 1 of player with wooden sword with no nbt named "Something" with lore "Some lore" to close then run [execute console command "/some command"]
Same error as before. :7
EDIT: I don't have SkStuff if the reason your methods aren't working is because of that. The reason i don't have SkStuff is because when i put it into the server and try to do anything with Skript it comes with an internal error. :/
EDIT2: If you know of any way to do this without SkStuff please tell me. :emoji_stuck_out_tongue:
 
Last edited:
I would use:

code_language.skript:
set slot 0 of current inventory of player to wooden sword named "&bDiamond Sword" with lore "&9-99 Attack Damage"
add "{HideFlags:63}" to nbt of slot 0 of current inventory of player

but if you said that you dont have SkStuff... try post error
 
I would use:

code_language.skript:
set slot 0 of current inventory of player to wooden sword named "&bDiamond Sword" with lore "&9-99 Attack Damage"
add "{HideFlags:63}" to nbt of slot 0 of current inventory of player

but if you said that you dont have SkStuff... try post error
You mean the error "Internal error" when i have SkStuff downloaded? (Of course the error that shows in console instead of the message the player gets)
EDIT: Is there only 1 version of SkStuff? Couldn't find any other version and if there only is 1 then does it support Minecraft 1.8.8?
 
Status
Not open for further replies.