#Seperate GUI for different players
1 messages · Page 1 of 1 (latest)
You can make guis many different ways. The two most common are using metadata in normal skript or getting an addon like skript-gui
I was thinking of using vanilla-gui's, but lets say, an item is set to a barrier unless the player has something, would it better to detect the item and then do an if statement to change it?
or..
Like
But yeah, you can just use if statements to set items
wood sword --> stone sword (if player doesnt have wood sword set to barrier)
Ye
So you can have an if statement checkingnif they have a wood sword
And then set the item based on that
Okay.. but for every item I will need to write an if statement correct?
I mean
Theres probably a way to make it flexible
Eith variables and stuff
But yeah
You can hard code all of the ifs
Gotcha..
Alright then..
Ill get to work i guess 😅
One more thing, instead of doing this:
Can I do a detect for both names? and how would I?
@grand lichen (Sorry for tag) ⬆️
You cam put both in the same event
It spams the message twice
Send code
if display name of event-entity is "&1&lBlue Shop" or "&c&lRed Shop":
message "test" to player
cancel event```
No, when it was seperate names like this screenshot, only 1 message
Yes
What
I swapped the message, and its saying :"test" and "new message"
so maybe somewhere else
Oh
in a different file
So yeah
let me see
Ye, it cant reload cuznits not there
like the 2nd msg is gone