pnguin Posted April 5, 2021 Share Posted April 5, 2021 Hi there! So i have a leveling skript but i dont know how to make it like if u level up u need more XP to level up aigan. Could anyone help me with that? Heres the code: on mine: if block is coal ore: add 1 to {xp::player's uuid} if {xp::%player's uuid%} is 1: subtract 1 from {xp::%player's uuid%} add 1 to {level::%player's uuid%} 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...
UnRecognisedUser Posted April 5, 2021 Share Posted April 5, 2021 ello Link to comment Share on other sites More sharing options...
Vertex_Minehut Posted April 5, 2021 Share Posted April 5, 2021 (edited) 2 hours ago, pizzaschut said: on mine: if block is coal ore: add 1 to {xp::player's uuid} if {xp::%player's uuid%} is 1: subtract 1 from {xp::%player's uuid%} add 1 to {level::%player's uuid%} Hey, I think I get what you mean. on mine: if event-block is coal ore: add 1 to {xp::%player's uuid%} else if event-block is iron ore: add 2 to {xp::%player's uuid%} if {xp::%player's uuid%} >= (9+(1*1.05^({level::%player's uuid%} ? 0))): delete {xp::%player's uuid%} add 1 to {level::%player's uuid%} Just change how much is added based on the ore Edited April 5, 2021 by Vertex_Minehut Vertex Minehut Community. Discord, Forums Club. We make games. View more info on our most recent game HERE Creating unique games with cool textures since 3/21/2021 Currently working on: SkTuber; Youtubers Life OMG in mc, and VertexGens; Unique gen server with less afking Looking for developers. Contact Colton#4708 Leave a reaction such as a trophy or a heart if I helped you! Link to comment Share on other sites More sharing options...
pnguin Posted April 6, 2021 Author Share Posted April 6, 2021 10 hours ago, Vertex_Minehut said: Hey, I think I get what you mean. on mine: if event-block is coal ore: add 1 to {xp::%player's uuid%} else if event-block is iron ore: add 2 to {xp::%player's uuid%} if {xp::%player's uuid%} >= (9+(1*1.05^({level::%player's uuid%} ? 0))): delete {xp::%player's uuid%} add 1 to {level::%player's uuid%} Just change how much is added based on the ore I meant like u need 10xp to be level 1 and to be level 2 you need to get like 25 xp how do i do that (Still thanks for that one btw) 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...
pnguin Posted April 6, 2021 Author Share Posted April 6, 2021 i have this now but i still dont know how to add if u level up u need like 50 xp to get to level 2 + the levelup message shows ur UUID instead to what level u upped to Spoiler on mine: if event-block is coal ore: add 3 to {xp::%player's uuid%} else if event-block is coal block: add 8 to {xp::%player's uuid%} else if event-block is iron ore: add 15 to {xp::%player's uuid%} else if event-block is iron block: add 30 to {xp::%player's uuid%} else if event-block is gold ore: add 50 to {xp::%player's uuid%} else if event-block is gold block: add 70 to {xp::%player's uuid%} else if event-block is lapis ore: add 90 to {xp::%player's uuid%} else if event-block is lapis block: add 110 to {xp::%player's uuid%} else if event-block is redstone ore: add 130 to {xp::%player's uuid%} else if event-block is redstone block: add 150 to {xp::%player's uuid%} else if event-block is diamond ore: add 200 to {xp::%player's uuid%} else if event-block is diamond block: add 300 to {xp::%player's uuid%} else if event-block is emerald ore: add 400 to {xp::%player's uuid%} else if event-block is emerald block: add 500 to {xp::%player's uuid%} else if event-block is ancient debris: add 750 to {xp::%player's uuid%} else if event-block is netherite block: add 1000 to {xp::%player's uuid%} if {xp::%player's uuid%} >= (25+(1*1.05^({level::%player's uuid%} ? 0))): delete {xp::%player's uuid%} add 1 to {level::%player's uuid%} send "&aYou Leveled up to &6{level::%uuid of player%}" 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...
pnguin Posted April 6, 2021 Author Share Posted April 6, 2021 Its just so funny some people just read this to steal the skript instead of helping 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...
Vertex_Minehut Posted April 6, 2021 Share Posted April 6, 2021 3 hours ago, pizzaschut said: i have this now but i still dont know how to add if u level up u need like 50 xp to get to level 2 + the levelup message shows ur UUID instead to what level u upped to Hide contents on mine: if event-block is coal ore: add 3 to {xp::%player's uuid%} else if event-block is coal block: add 8 to {xp::%player's uuid%} else if event-block is iron ore: add 15 to {xp::%player's uuid%} else if event-block is iron block: add 30 to {xp::%player's uuid%} else if event-block is gold ore: add 50 to {xp::%player's uuid%} else if event-block is gold block: add 70 to {xp::%player's uuid%} else if event-block is lapis ore: add 90 to {xp::%player's uuid%} else if event-block is lapis block: add 110 to {xp::%player's uuid%} else if event-block is redstone ore: add 130 to {xp::%player's uuid%} else if event-block is redstone block: add 150 to {xp::%player's uuid%} else if event-block is diamond ore: add 200 to {xp::%player's uuid%} else if event-block is diamond block: add 300 to {xp::%player's uuid%} else if event-block is emerald ore: add 400 to {xp::%player's uuid%} else if event-block is emerald block: add 500 to {xp::%player's uuid%} else if event-block is ancient debris: add 750 to {xp::%player's uuid%} else if event-block is netherite block: add 1000 to {xp::%player's uuid%} if {xp::%player's uuid%} >= (25+(1*1.05^({level::%player's uuid%} ? 0))): delete {xp::%player's uuid%} add 1 to {level::%player's uuid%} send "&aYou Leveled up to &6{level::%uuid of player%}" You just need to change the math and for the "You leveled up to {level::%player's uuid%}" you need %% around {level::%player's uuid%} Vertex Minehut Community. Discord, Forums Club. We make games. View more info on our most recent game HERE Creating unique games with cool textures since 3/21/2021 Currently working on: SkTuber; Youtubers Life OMG in mc, and VertexGens; Unique gen server with less afking Looking for developers. Contact Colton#4708 Leave a reaction such as a trophy or a heart if I helped you! Link to comment Share on other sites More sharing options...
pnguin Posted April 6, 2021 Author Share Posted April 6, 2021 21 minutes ago, Vertex_Minehut said: You just need to change the math and for the "You leveled up to {level::%player's uuid%}" you need %% around {level::%player's uuid%} Ok i fixed the levelup message but i dont know how to do like do i do like if {level::player's uuid} is 1 >= (25+(1*1.05^({level::%player's uuid%} ? 0))): 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...
Vertex_Minehut Posted April 6, 2021 Share Posted April 6, 2021 Change the numbers until it's how you like. Vertex Minehut Community. Discord, Forums Club. We make games. View more info on our most recent game HERE Creating unique games with cool textures since 3/21/2021 Currently working on: SkTuber; Youtubers Life OMG in mc, and VertexGens; Unique gen server with less afking Looking for developers. Contact Colton#4708 Leave a reaction such as a trophy or a heart if I helped you! Link to comment Share on other sites More sharing options...
pnguin Posted April 6, 2021 Author Share Posted April 6, 2021 (edited) on mine: if event-block is coal ore: add 3 to {xp::%player's uuid%} else if event-block is coal block: add 8 to {xp::%player's uuid%} else if event-block is iron ore: add 15 to {xp::%player's uuid%} else if event-block is iron block: add 30 to {xp::%player's uuid%} else if event-block is gold ore: add 50 to {xp::%player's uuid%} else if event-block is gold block: add 70 to {xp::%player's uuid%} else if event-block is lapis ore: add 90 to {xp::%player's uuid%} else if event-block is lapis block: add 110 to {xp::%player's uuid%} else if event-block is redstone ore: add 130 to {xp::%player's uuid%} else if event-block is redstone block: add 150 to {xp::%player's uuid%} else if event-block is diamond ore: add 200 to {xp::%player's uuid%} else if event-block is diamond block: add 300 to {xp::%player's uuid%} else if event-block is emerald ore: add 400 to {xp::%player's uuid%} else if event-block is emerald block: add 500 to {xp::%player's uuid%} else if event-block is ancient debris: add 750 to {xp::%player's uuid%} else if event-block is netherite block: add 1000 to {xp::%player's uuid%} if {xp::%player's uuid%} >= (25+(1*1.05^({level::%player's uuid%} ? 0))): delete {xp::%player's uuid%} add 1 to {level::%player's uuid%} send "&aYou Leveled up to &6{level::%uuid of player%}" I want that to be level 1 and level 2 u need more xp Edited April 6, 2021 by pizzaschut 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...
pnguin Posted April 6, 2021 Author Share Posted April 6, 2021 i dont understand 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...
Vertex_Minehut Posted April 6, 2021 Share Posted April 6, 2021 Currently level 1 would take 26 xp. Level 2 a bit more. It's an exponential function Vertex Minehut Community. Discord, Forums Club. We make games. View more info on our most recent game HERE Creating unique games with cool textures since 3/21/2021 Currently working on: SkTuber; Youtubers Life OMG in mc, and VertexGens; Unique gen server with less afking Looking for developers. Contact Colton#4708 Leave a reaction such as a trophy or a heart if I helped you! Link to comment Share on other sites More sharing options...
pnguin Posted April 6, 2021 Author Share Posted April 6, 2021 Ye but i want level 2 to be like 50 xp 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...
pnguin Posted April 6, 2021 Author Share Posted April 6, 2021 Oh Wait each level it adds .05 needed xp? 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...
Vertex_Minehut Posted April 6, 2021 Share Posted April 6, 2021 Just use (25+(25*{level::%player's uuid%})) Vertex Minehut Community. Discord, Forums Club. We make games. View more info on our most recent game HERE Creating unique games with cool textures since 3/21/2021 Currently working on: SkTuber; Youtubers Life OMG in mc, and VertexGens; Unique gen server with less afking Looking for developers. Contact Colton#4708 Leave a reaction such as a trophy or a heart if I helped you! Link to comment Share on other sites More sharing options...
pnguin Posted April 6, 2021 Author Share Posted April 6, 2021 but then it eventually takes ages to levelup 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...
pnguin Posted April 6, 2021 Author Share Posted April 6, 2021 for level 2 u need 50 and after that u need like 1k xp for level 3 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...
Vertex_Minehut Posted April 6, 2021 Share Posted April 6, 2021 No? It would be 25 more per lvl Vertex Minehut Community. Discord, Forums Club. We make games. View more info on our most recent game HERE Creating unique games with cool textures since 3/21/2021 Currently working on: SkTuber; Youtubers Life OMG in mc, and VertexGens; Unique gen server with less afking Looking for developers. Contact Colton#4708 Leave a reaction such as a trophy or a heart if I helped you! Link to comment Share on other sites More sharing options...
pnguin Posted April 6, 2021 Author Share Posted April 6, 2021 No it doesnt it litterally makes it 1k xp for level 3 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...
pnguin Posted April 6, 2021 Author Share Posted April 6, 2021 OH IM SO STUPID 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...
pnguin Posted April 6, 2021 Author Share Posted April 6, 2021 I MADE IT MULTIPLY it BY 25 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...
pnguin Posted April 6, 2021 Author Share Posted April 6, 2021 Last question how do i make it like if someone mines like coal ore it shows a action bar with like +3 xp and like %current xp%/%needed xp% 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...
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