TheSckwadbros999 Posted September 8, 2021 Share Posted September 8, 2021 So I only have this I have it so when you break certain blocks you get xp then i want it so after 500 xp you get one level and its says cant understand if {xp::%player's uuid%} is 500 or = if {xp::%player's uuid%} is 500: remove 500 from {xp::%player's uuid%} add 1 to {levels::%player's uuid%} Link to comment Share on other sites More sharing options...
pnguin Posted September 8, 2021 Share Posted September 8, 2021 try ">=" I used to play Minehut I guess? Yeah, I still watch the forums for some reason. (15/5/2023) Link to comment Share on other sites More sharing options...
notminehut Posted September 8, 2021 Share Posted September 8, 2021 Send the full code, we need context. Also include the full error. Founder - Minehut.xyz The leading Minehut support website. We aim to provide top quality tutorials, provide answers to top questions, and help in any way we can. Our site is community driven, and we will continue to make it better and better. Support | 28/08/20 -13/09/20 Senior Support | 13/09/20 - 19/10/20 Link to comment Share on other sites More sharing options...
TheSckwadbros999 Posted September 9, 2021 Author Share Posted September 9, 2021 all I have is if {xp::%player's uuid%} is 500: remove 500 from {xp::%player's uuid%} add 1 to {levels::%player's uuid%} I've tried >= doesnt work I wonder if its not running Error message: Can't understand this event: if {xp::%player's uuid%} is 500 Link to comment Share on other sites More sharing options...
StarBunnie Posted September 9, 2021 Share Posted September 9, 2021 15 hours ago, TheSckwadbros999 said: all I have is if {xp::%player's uuid%} is 500: remove 500 from {xp::%player's uuid%} add 1 to {levels::%player's uuid%} I've tried >= doesnt work I wonder if its not running Error message: Can't understand this event: if {xp::%player's uuid%} is 500 That is not how skript works. A skript needs an event to trigger the following code. For example an event is stuff like: on break: on place: command /test: trigger: These are events that tell skript one the code below is supposed to run. So in order to use the if you have there you need a trigger since you already have an on break: event because you add xp when breaking an ore just add it to that. Feel free to add me on discord if you: need help with plugins need help with skripts need to vent about something >[ ‧₊˚꒰ʚ Starshine ɞ ‧✦ *#2683 ]< 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