How to remove default item?

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

BrownMee

Active Member
Apr 16, 2018
126
6
18
23
If I used this code:
remove 6 of bone from the player
it will also removed the bone with named on it.

I want it remove just normal bone
 
Hmmm not sure then. I tried it and its working just fine.
I have 2 types of bones.
one is custom and one is normal bone.

but when i test the code with remove 6 of bone named "" from player
and my inventory have 5 normal bone and 1 custom bone.

It cleared the custom bone too
 
I have 2 types of bones.
one is custom and one is normal bone.

but when i test the code with remove 6 of bone named "" from player
and my inventory have 5 normal bone and 1 custom bone.

It cleared the custom bone too
Hm, try
code_language.skript:
remove 6 bone from player's inventory
This is really weird tho, it should work just like Shane's code provided above.
Maybe because you are forcing it to remove 6 even tho you have 5 normal, so skript is being forced to remove 6 of "bone" no matter what the name is.
 
Hm, try
code_language.skript:
remove 6 bone from player's inventory
This is really weird tho, it should work just like Shane's code provided above.
Maybe because you are forcing it to remove 6 even tho you have 5 normal, so skript is being forced to remove 6 of "bone" no matter what the name is.
It still clear my custom bone :emoji_frowning:
[doublepost=1544096636,1544096528][/doublepost]
It still clear my custom bone :emoji_frowning:
Thanks Shane and Dabriel it works now
 
  • Like
Reactions: Dabriel
Status
Not open for further replies.