Columner Posted March 25, 2020 Share Posted March 25, 2020 So I have this Skript, but I need to make it so that the player can execute the command, and the item in the hotbar.0 slot will be moved to the armor.head slot. Current Skript: command /hat: trigger: set helmet of player to hotbar.0 Joined September 2019 [VIP] since June 29th, 2020 Link to comment Share on other sites More sharing options...
ronaldgameking Posted March 25, 2020 Share Posted March 25, 2020 You're pointing to the first hotbar slot, not the item the player is holding. Link to comment Share on other sites More sharing options...
Columner Posted March 25, 2020 Author Share Posted March 25, 2020 How would I do that? (I'm fairly new to Skript) Joined September 2019 [VIP] since June 29th, 2020 Link to comment Share on other sites More sharing options...
Columner Posted April 11, 2020 Author Share Posted April 11, 2020 It comes up with this error: "a slot can't be set to 'player's currently held item' because the latter is neither an item type nor an item stack" Joined September 2019 [VIP] since June 29th, 2020 Link to comment Share on other sites More sharing options...
Adaptable Posted April 17, 2020 Share Posted April 17, 2020 Try this Quote command hat: trigger: set helmet of player to player's tool Or just use the essentials /hat Link to comment Share on other sites More sharing options...
Columner Posted May 24, 2020 Author Share Posted May 24, 2020 Thanks, I just added a line and it worked perfectly. Joined September 2019 [VIP] since June 29th, 2020 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