Well any help you can offer would be greatly appreciated!maybe, but we should prolly start over lol
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 community!
Now, what are you waiting for? Join the community now!
You can always check out skUnity Downloads for downloads and any other information about Skript!
Well any help you can offer would be greatly appreciated!maybe, but we should prolly start over lol
I have a question. What exactly is the point of the whole with metadata tag "%string%" thing? There might be another way to do it depending on what it is, because I think that is where the code is going wrong.Well any help you can offer would be greatly appreciated!
that's just how i make custom GUIsI have a question. What exactly is the point of the whole with metadata tag "%string%" thing? There might be another way to do it depending on what it is, because I think that is where the code is going wrong.
Oh, then it's not necessary. In that case, I'll redo the code when I have time.that's just how i make custom GUIs
ok tysm!Oh, then it's not necessary. In that case, I'll redo the code when I have time.
function gui1(p: player):
set {_gui} to chest inventory with 5 rows named "&6The Grail"
loop {banned::*}:
set {_loopindex} to loop-index parsed as integer
set {_number} to (11 + {_loopindex})
set slot {_number} of {_gui} to player head named &c“%loop-value%”
open {_gui} to {_p}
command /ban [<offlineplayer>]:
permission: op
trigger:
ban arg-1
add arg-1 to {banned::*}
on consume of potion:
if player's held item is 1 of {revive}:
gui(player)
ok thanks! how long do you think it will be to finish it?alright. I don't think I have the whole code, so I'll just upload what I have.
Code:function gui1(p: player): set {_gui} to chest inventory with 5 rows named "&6The Grail" loop {banned::*}: set {_loopindex} to loop-index parsed as integer set {_number} to (11 + {_loopindex}) set slot {_number} of {_gui} to player head named &c“%loop-value%” open {_gui} to {_p} command /ban [<offlineplayer>]: permission: op trigger: ban arg-1 add arg-1 to {banned::*} on consume of potion: if player's held item is 1 of {revive}: gui(player)
no, as in your code. lolok thanks! how long do you think it will be to finish it?
I’m running on 4 hours of sleep omfg! I will get back to you tomorrow.no, as in your code. lol
i think this is the only other things.alright. I don't think I have the whole code, so I'll just upload what I have.
Code:function gui1(p: player): set {_gui} to chest inventory with 5 rows named "&6The Grail" loop {banned::*}: set {_loopindex} to loop-index parsed as integer set {_number} to (11 + {_loopindex}) set slot {_number} of {_gui} to player head named &c“%loop-value%” open {_gui} to {_p} command /ban [<offlineplayer>]: permission: op trigger: ban arg-1 add arg-1 to {banned::*} on consume of potion: if player's held item is 1 of {revive}: gui(player)
on load:
set {revive} to potion of healing named "<green>Holy Grail" with lore "<orange>Click to Revive the Dead"
register new shapeless recipe for {revive} using {lifeitem}, {lifeitem}, {lifeitem}, air, air, air, air, air, air with id "redacted:revive"
what about {lifeitem}?i think this is the only other things.
Code:on load: set {revive} to potion of healing named "<green>Holy Grail" with lore "<orange>Click to Revive the Dead" register new shapeless recipe for {revive} using {lifeitem}, {lifeitem}, {lifeitem}, air, air, air, air, air, air with id "redacted:revive"
because you're using it in your code...Why is that relevant?