Dazz78uk Posted November 24, 2019 Share Posted November 24, 2019 So im kinda new to skript plugin so i just wanna know if i could make levels like when the player reaches 500 exp he level up by 1 level and the exp resets to 0 i made that along time ago but i can't remember how to do this again by using cmd blocks and scoreboard so i came here to see if skript can actually make levels and exp, thank you Link to comment Share on other sites More sharing options...
Stargazers Posted November 25, 2019 Share Posted November 25, 2019 Do you mean vanilla Minecraft experience or a custom one? If vanilla, you can use the on level change event. [VIP] 2019 [JR.MOD] 10/29/2019 [MOD] 12/30/2019 Link to comment Share on other sites More sharing options...
Dazz78uk Posted November 26, 2019 Author Share Posted November 26, 2019 i mean custom ones if skript can't do that u can tell me how to do it by using scoreboard and command blocks here is a simullar command i used before to create the levels and the exp system /scoreboard objectives add Level dummy /scoreboard objectives add Exp dummy execute @a[lm=1,l=1,score_Exp_min=500,score_Level=1]execute @a[lm=1,l=1,score_Level_min=500,score_Level=0] its was something like that when the players reaches 500 exp the exp resets to 0 and the players gain 1 level and so on so yeah and when the players reaches level 500 if he gain another level the level reset to level 0 again so please i want to make this so bad Link to comment Share on other sites More sharing options...
Stargazers Posted November 26, 2019 Share Posted November 26, 2019 You would have to use a variable for experience and another one for levels. Ex: {experience::%player's uuid%} and {level::%player's uuid%} Then whenever you add to the exp variable you would have to check if the new value is greater than or equal to 500. A few useful tutorials for simple scripts like these can be found here and here. [VIP] 2019 [JR.MOD] 10/29/2019 [MOD] 12/30/2019 Link to comment Share on other sites More sharing options...
krusholm Posted June 4, 2021 Share Posted June 4, 2021 how do i give myself exp Link to comment Share on other sites More sharing options...
Recommended Posts