#Simple food skript (help)

1 messages · Page 1 of 1 (latest)

cloud elk
#

hunger sorry

toxic plover
#

You misspelled scrap

#

Also you should do this
add 1.5 to player’s food level

cloud elk
#

alright

#

also id like to ask how I would make it remove one after using

#

like how you have like 8 or whayever and it goes to 7

toxic plover
#

Change add to remove

#

And change the number if you want

#

And also change “to” to “from”

#

So remove (number) from player’s food level

cloud elk
#

no no not what i meant sorry

#

say i have 8 of the item

#

i use it

#

i have 7 now

#

and i got the hunger

toxic plover
#

Oh

#

remove 1 of player’s tool from player’s inventory

cloud elk
#

oh ok

#

heres the code

#

nvm got it working

toxic plover
#

Oh nice

cloud elk
#

nevermind I dont...

#

what is going on

#

is the player's tool suppose to be the item or no?

toxic plover
#

Yes

#

The players tools is the item you are holding

#

Can I see your code again

#

Since you changed it

cloud elk
#

its not really working

#

suppose to look like this yes?

toxic plover
#

Let’s see

#

Is there any errors

cloud elk
#

no

#

doesnt say there is any

toxic plover
#

Ok

#

Does part of it work at least

#

Does it give hunger

cloud elk
#

if I remove the remove from players inventory part yes

toxic plover
#

Hmm

cloud elk
#

or so it did....

#

what is going on

toxic plover
#

So the remove is making it not work?

cloud elk
#

yea, i removed that part now it isnt working

toxic plover
#

Oh shoot I gtg

cloud elk
#

alr

toxic plover
#

Sorry