belac136 Posted July 26, 2021 Share Posted July 26, 2021 So on my server I have this: on right click with player head: name of player's held item is "&bSuspicious Bag" give 5 stone buttons named "&8Rock" to the player remove 1 of player's held item from player stop This works exactly how I want it except for the fact that if people spam it, you dont get the number of rocks you should... Does anybody know how to fix this? Link to comment Share on other sites More sharing options...
NotKaizo Posted July 27, 2021 Share Posted July 27, 2021 2 hours ago, Dragon-Master said: So on my server I have this: on right click with player head: name of player's held item is "&bSuspicious Bag" give 5 stone buttons named "&8Rock" to the player remove 1 of player's held item from player stop This works exactly how I want it except for the fact that if people spam it, you dont get the number of rocks you should... Does anybody know how to fix this? So that Skript in any way won't actually work. They can click on any head even if it's not named &bSuspicious Bag and still get the 5 buttons. Here I don't know if this fixes your problem but it sure do make it work. on right click with player head: if name of player's held item is "&bSuspicious Bag": give 5 stone buttons named "&8Rock" to player remove 1 of player's held item from player Owner of play.hiveminez.net ⊱------------------------------⊰ Joined Minehut on 1/28/2021 (Same day I got Minecraft) [VIP] - 3/14/2021 [LEGEND] - 5/27/2021 ⊱------------------------------⊰ Discord - NotKaizo#0001 In-game name - iKaizo_ If you need any help, feel free to contact me. Link to comment Share on other sites More sharing options...
Lapzzo Posted July 27, 2021 Share Posted July 27, 2021 (edited) Not sure what you mean but.. on rightclick with player head: if player's tool is a player head named "&bSuspicious bag": give 5 stone buttons named "&8Rock" to player remove 1 of player's held item from player Edited July 27, 2021 by LapEvents Link to comment Share on other sites More sharing options...
Lapzzo Posted July 27, 2021 Share Posted July 27, 2021 Will work better hopefully Link to comment Share on other sites More sharing options...
Lapzzo Posted July 27, 2021 Share Posted July 27, 2021 Just tested the skript and it worked perfectly! Link to comment Share on other sites More sharing options...
Lapzzo Posted July 27, 2021 Share Posted July 27, 2021 17 hours ago, NotKaizo said: So that Skript in any way won't actually work. They can click on any head even if it's not named &bSuspicious Bag and still get the 5 buttons. Here I don't know if this fixes your problem but it sure do make it work. Didnt see your post but I think my one works better 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