pizzaschut 39 Posted April 5 Share Posted April 5 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%} IGN ➣pizzaschut If i helped you out, feel free to leave a like ----------------------------------------------------------- Joined MH ➣ July 4th 2020 Joined Forums ➣ July 10th 2020 Default ➣ July 4th 2020 VIP ➣ October 14th PRO ➣ Present ----------------------------------------------------------- ADMIN on Puprovers MANAGER on VenusStars ----------------------------------------------------------- Link to post Share on other sites
Vertex_Minehut 0 Posted April 5 Share Posted April 5 (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 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 post Share on other sites
pizzaschut 39 Posted April 6 Author Share Posted April 6 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) IGN ➣pizzaschut If i helped you out, feel free to leave a like ----------------------------------------------------------- Joined MH ➣ July 4th 2020 Joined Forums ➣ July 10th 2020 Default ➣ July 4th 2020 VIP ➣ October 14th PRO ➣ Present ----------------------------------------------------------- ADMIN on Puprovers MANAGER on VenusStars ----------------------------------------------------------- Link to post Share on other sites
pizzaschut 39 Posted April 6 Author Share Posted April 6 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%}" IGN ➣pizzaschut If i helped you out, feel free to leave a like ----------------------------------------------------------- Joined MH ➣ July 4th 2020 Joined Forums ➣ July 10th 2020 Default ➣ July 4th 2020 VIP ➣ October 14th PRO ➣ Present ----------------------------------------------------------- ADMIN on Puprovers MANAGER on VenusStars ----------------------------------------------------------- Link to post Share on other sites
pizzaschut 39 Posted April 6 Author Share Posted April 6 Its just so funny some people just read this to steal the skript instead of helping IGN ➣pizzaschut If i helped you out, feel free to leave a like ----------------------------------------------------------- Joined MH ➣ July 4th 2020 Joined Forums ➣ July 10th 2020 Default ➣ July 4th 2020 VIP ➣ October 14th PRO ➣ Present ----------------------------------------------------------- ADMIN on Puprovers MANAGER on VenusStars ----------------------------------------------------------- Link to post Share on other sites
Vertex_Minehut 0 Posted April 6 Share Posted April 6 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 post Share on other sites
pizzaschut 39 Posted April 6 Author Share Posted April 6 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))): IGN ➣pizzaschut If i helped you out, feel free to leave a like ----------------------------------------------------------- Joined MH ➣ July 4th 2020 Joined Forums ➣ July 10th 2020 Default ➣ July 4th 2020 VIP ➣ October 14th PRO ➣ Present ----------------------------------------------------------- ADMIN on Puprovers MANAGER on VenusStars ----------------------------------------------------------- Link to post Share on other sites
Vertex_Minehut 0 Posted April 6 Share Posted April 6 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 post Share on other sites
pizzaschut 39 Posted April 6 Author Share Posted April 6 (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 by pizzaschut IGN ➣pizzaschut If i helped you out, feel free to leave a like ----------------------------------------------------------- Joined MH ➣ July 4th 2020 Joined Forums ➣ July 10th 2020 Default ➣ July 4th 2020 VIP ➣ October 14th PRO ➣ Present ----------------------------------------------------------- ADMIN on Puprovers MANAGER on VenusStars ----------------------------------------------------------- Link to post Share on other sites
pizzaschut 39 Posted April 6 Author Share Posted April 6 i dont understand IGN ➣pizzaschut If i helped you out, feel free to leave a like ----------------------------------------------------------- Joined MH ➣ July 4th 2020 Joined Forums ➣ July 10th 2020 Default ➣ July 4th 2020 VIP ➣ October 14th PRO ➣ Present ----------------------------------------------------------- ADMIN on Puprovers MANAGER on VenusStars ----------------------------------------------------------- Link to post Share on other sites
Vertex_Minehut 0 Posted April 6 Share Posted April 6 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 post Share on other sites
pizzaschut 39 Posted April 6 Author Share Posted April 6 Ye but i want level 2 to be like 50 xp IGN ➣pizzaschut If i helped you out, feel free to leave a like ----------------------------------------------------------- Joined MH ➣ July 4th 2020 Joined Forums ➣ July 10th 2020 Default ➣ July 4th 2020 VIP ➣ October 14th PRO ➣ Present ----------------------------------------------------------- ADMIN on Puprovers MANAGER on VenusStars ----------------------------------------------------------- Link to post Share on other sites
pizzaschut 39 Posted April 6 Author Share Posted April 6 Oh Wait each level it adds .05 needed xp? IGN ➣pizzaschut If i helped you out, feel free to leave a like ----------------------------------------------------------- Joined MH ➣ July 4th 2020 Joined Forums ➣ July 10th 2020 Default ➣ July 4th 2020 VIP ➣ October 14th PRO ➣ Present ----------------------------------------------------------- ADMIN on Puprovers MANAGER on VenusStars ----------------------------------------------------------- Link to post Share on other sites
Vertex_Minehut 0 Posted April 6 Share Posted April 6 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 post Share on other sites
pizzaschut 39 Posted April 6 Author Share Posted April 6 but then it eventually takes ages to levelup IGN ➣pizzaschut If i helped you out, feel free to leave a like ----------------------------------------------------------- Joined MH ➣ July 4th 2020 Joined Forums ➣ July 10th 2020 Default ➣ July 4th 2020 VIP ➣ October 14th PRO ➣ Present ----------------------------------------------------------- ADMIN on Puprovers MANAGER on VenusStars ----------------------------------------------------------- Link to post Share on other sites
pizzaschut 39 Posted April 6 Author Share Posted April 6 for level 2 u need 50 and after that u need like 1k xp for level 3 IGN ➣pizzaschut If i helped you out, feel free to leave a like ----------------------------------------------------------- Joined MH ➣ July 4th 2020 Joined Forums ➣ July 10th 2020 Default ➣ July 4th 2020 VIP ➣ October 14th PRO ➣ Present ----------------------------------------------------------- ADMIN on Puprovers MANAGER on VenusStars ----------------------------------------------------------- Link to post Share on other sites
Vertex_Minehut 0 Posted April 6 Share Posted April 6 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 post Share on other sites
pizzaschut 39 Posted April 6 Author Share Posted April 6 No it doesnt it litterally makes it 1k xp for level 3 IGN ➣pizzaschut If i helped you out, feel free to leave a like ----------------------------------------------------------- Joined MH ➣ July 4th 2020 Joined Forums ➣ July 10th 2020 Default ➣ July 4th 2020 VIP ➣ October 14th PRO ➣ Present ----------------------------------------------------------- ADMIN on Puprovers MANAGER on VenusStars ----------------------------------------------------------- Link to post Share on other sites
pizzaschut 39 Posted April 6 Author Share Posted April 6 OH IM SO STUPID IGN ➣pizzaschut If i helped you out, feel free to leave a like ----------------------------------------------------------- Joined MH ➣ July 4th 2020 Joined Forums ➣ July 10th 2020 Default ➣ July 4th 2020 VIP ➣ October 14th PRO ➣ Present ----------------------------------------------------------- ADMIN on Puprovers MANAGER on VenusStars ----------------------------------------------------------- Link to post Share on other sites
pizzaschut 39 Posted April 6 Author Share Posted April 6 I MADE IT MULTIPLY it BY 25 IGN ➣pizzaschut If i helped you out, feel free to leave a like ----------------------------------------------------------- Joined MH ➣ July 4th 2020 Joined Forums ➣ July 10th 2020 Default ➣ July 4th 2020 VIP ➣ October 14th PRO ➣ Present ----------------------------------------------------------- ADMIN on Puprovers MANAGER on VenusStars ----------------------------------------------------------- Link to post Share on other sites
pizzaschut 39 Posted April 6 Author Share Posted April 6 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% IGN ➣pizzaschut If i helped you out, feel free to leave a like ----------------------------------------------------------- Joined MH ➣ July 4th 2020 Joined Forums ➣ July 10th 2020 Default ➣ July 4th 2020 VIP ➣ October 14th PRO ➣ Present ----------------------------------------------------------- ADMIN on Puprovers MANAGER on VenusStars ----------------------------------------------------------- Link to post Share on other sites
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