I need help with this script

Is there any errors in the output? Are your variables correct? This should be doing fine.
Try giving more information such as your explorer, if you’re using a localscript etc.

The only thing I used was a textlabel and a leaderstat, the localscript was inside the textlabel.

I’ve made a quick video of that script working in-game:

Look at this

Make sure the .Changed connection is actually triggering, you can do that by just putting a print(“Hey!”) inside it so you can see if it prints or not in the console.

Make the TextLabel.Text to any number, so It’ll not break the script since when food changes the text needs to be a number.

1 Like

Ohh thanks you, are the best :smiley:

2 Likes