borderpatrol78 Posted March 22 Share Posted March 22 Dear players how do i add a warp with a custom head, this is my skript right now command /warp: usage: usages /warp trigger: set {_menu} to a new chest inventory with 5 rows named "&cWarp Gui" set slot 0 and 1 and 2 and 3 and 4 and 5 and 6 and 7 and 8 and 9 and 17 and 18 and 26 and 27 and 35 and 36 and 37 and 38 and 39 and 40 and 41 and 42 and 43 and 44 of {_menu} to gray stained glass pane named " " set slot 13 of {_menu} to player head named "Home" open {_menu} to player on inventory click: # Listen for players clicking in an inventory. name of event-inventory is "&cWarp Gui" # Make sure it's our menu. cancel event if index of event-slot is 0 and 1 and 2 and 3 and 5 and 6 and 7 and 8 and 9 and 17 and 18 and 26 and 27 and 35 and 36 and 37 and 38 and 39 and 40 and 41 and 42 and 43 and 44: # The button slot. cancel event Thank you in advance Link to comment Share on other sites More sharing options...
DanRub Posted March 27 Share Posted March 27 command /warp: usage: usages /warp trigger: set {_menu} to a new chest inventory with 5 rows named "&cWarp Gui" set slot 0 and 1 and 2 and 3 and 4 and 5 and 6 and 7 and 8 and 9 and 17 and 18 and 26 and 27 and 35 and 36 and 37 and 38 and 39 and 40 and 41 and 42 and 43 and 44 of {_menu} to gray stained glass pane named " " set slot 13 of {_menu} to skull of "%player%" parsed as offline player named "Home" open {_menu} to player on inventory click: # Listen for players clicking in an inventory. name of event-inventory is "&cWarp Gui" # Make sure it's our menu. cancel event if index of event-slot is 0 and 1 and 2 and 3 and 5 and 6 and 7 and 8 and 9 and 17 and 18 and 26 and 27 and 35 and 36 and 37 and 38 and 39 and 40 and 41 and 42 and 43 and 44: # The button slot. cancel event This is the skript, where you have your head when you execute the command. 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