Jump to content
  • 0

When I Try To Remove Items It Crashs in Skript


heyeveryone

Question

So I have a Server Privite And While Trying to make a redeem rank paper in skript it crashs here is my skript ive tryed to

change it from "tool" to item or held and so on but it still crashs

 

on rightclick with paper:
    if name of tool of player is "Test":
        execute console command "/say tested"
        remove 1 of tool from player

 

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0
subtract 1 from the item amount of player's tool

This might work?

Main MC account: Gam3rBoi (VIP in MH)

Alt MC account: *Gam3rBoi2147

Farcade server owner

Skripter with 6+ months experience + time learning coding concepts

Message me through the forums if you need anything!

Link to comment
Share on other sites

  • 0

Had this problem. Add 'wait 1 tick' before you remove the item. It takes it so fast it can't register so the server crashes. Adding a wait 1 tick will solve it.

rose city STICKER

RosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaR

i code, animate, develop, UI design, learn, and adapt, as well as make servers, of course

💐Joined Minehut sometime in 2014
💐VIP sometime in 2018
💐Legend in January 2021
💐Helper on 4/11/2021
💐♥ (Retired) on 5/17/2021
💐 Moderator on 8/18/2023

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...