Enchanted_Reeses Posted July 13, 2022 Share Posted July 13, 2022 Now before you reply to this with "Just Use Open Inventory or Essentials" I'm doing this for fun and understanding ---------------------------------------------------------------------------------------------------------------------------------------------- command /invsee [<offline player>]: permission: op trigger: open inventory of arg-1 to player command /invsee2 [<offline player>]: permission: op trigger: set {helmet} to arg-1's helmet set {chestplate} to arg-1's chestplate set {leggings} to arg-1's leggings set {boots} to arg-1's boots set {sheild} to arg-1's offhand tool set {user} to arg-1 set metadata tag "invsee2" of player to chest inventory with 1 rows named "%{user}%'s Inventory" set slot 0 of metadata tag "invsee2" of player to {helmet} set slot 1 of metadata tag "invsee2" of player to {chestplate} set slot 2 of metadata tag "invsee2" of player to {leggings} set slot 3 of metadata tag "invsee2" of player to {boots} set slot 4 of metadata tag "invsee2" of player to {sheild} open (metadata tag "invsee2" of player) to player on inventory click: if event-inventory = (metadata tag "invsee2" of player): if index of event-slot is 0: wait 0.2 seconds set {user}'s helmet to event-slot if index of event-slot is 1: wait 0.2 seconds set {user}'s chestplate to event-slot if index of event-slot is 2: wait 0.2 seconds set {user}'s leggings to event-slot if index of event-slot is 3: wait 0.2 seconds set {user}'s boots to event-slot if index of event-slot is 4: wait 0.05 seconds set {user}'s offhand tool to event-slot ---------------------------------------------------------------------------------------------------------------------------------------------- Now this skript could be made prettier if I had combined the gui's, but it works, kinda It's a bit glitchy when you put armor on for some reason, just a bit of help would be nice, I've been trying to solve this for around a week, and this is all i got, still a bit broken, would love the help if you have idea's Just a skripter who likes to have fun I also think I'm pretty good at it PS my discord is Enchanted#3933 incase idk anything? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now