Jump to content

I need help with Skripting... Again... Again... AGAIN!.. AGaInNnnNn


Lapzzo2

Recommended Posts

Hi its me again the guy who begs for hours on 1 skript.

sOOO I need to make upgrades. When you do /upgrade it adds an /ie attribute to boots. I want it to take 10 end rods named Lightning coin and the more u /upgrade the more expensive the upgrade takes, and the higher the /ie attribute goes. Can you make it upgrade Leather boots with the name Speed boots

                                  EEEEEEEEEEEEE EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE              EEEEEE 

                                                          🟣[Default] Lapzzo: Joined 2nd of July 2020🔵                  eee

                                                                 🔵[VIP] Lapzzo: VIP 25th of April 2021🟣                      eee

                                      EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE

 

Like if I helped!

Link to comment
Share on other sites

You can use remove 10 end rods named "Lightning coin" from player to remove a certain amount of a certain item from a player's inventory. And you can increase it depending on the user's current level or set a variable and remove the amount from the variable of items from the player's inventory and increase it every time the player upgrades their tool.

Discord - tarna256

In-game name - _Tarna_

Website - https://tarna.dev
Paste Site: https://paste.tarna.dev

---------------------------------------------------------

[VIP] - 7/27/2020

Community Support - 7/8/20 | 11/3/20

Helper  - 11/3/20 - 2/21/21

Moderator - 2/21/21 - 5/17/21

❤️ - 5/17/21 - now

Moderator - 12/20/22 - now

---------------------------------------------------------

image.png.70849a9b84e0347ce107b8e3eaee312c.pngimage.png.2111009afbd8bef10966ba9ede35a199.png

Link to comment
Share on other sites

Ive done that, but how do i make it so if you have less then 10 end rods it sends to the play You do not have enough lightning coins!

                                  EEEEEEEEEEEEE EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE              EEEEEE 

                                                          🟣[Default] Lapzzo: Joined 2nd of July 2020🔵                  eee

                                                                 🔵[VIP] Lapzzo: VIP 25th of April 2021🟣                      eee

                                      EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE

 

Like if I helped!

Link to comment
Share on other sites

12 minutes ago, Lapzzo said:

Ive done that, but how do i make it so if you have less then 10 end rods it sends to the play You do not have enough lightning coins!

You can check the inventory slot of the player and see if the player has 10 or more it should run the code, else it should say whatever you want it to say.

If I have helped you out in your post or you liked what I posted, please upvote and react to my post! It helps me a lot!

Some Minehut Links:

Server Rules • Staff Applications • News & Updates • Reports • Appeals


Minehut: VIP (07/04/2021 --> Current)
Elestra/Versa Realms: Manager (12/04/2021 --> Current)

If you have any questions contact me!
My Discord: BanditEagle#2481
My Spigot Profile: https://www.spigotmc.org/members/banditeagle.935281/
My IGN: BanditEagle

Link to comment
Share on other sites

Hm ill try

                                  EEEEEEEEEEEEE EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE              EEEEEE 

                                                          🟣[Default] Lapzzo: Joined 2nd of July 2020🔵                  eee

                                                                 🔵[VIP] Lapzzo: VIP 25th of April 2021🟣                      eee

                                      EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE

 

Like if I helped!

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...