So I tried to make a script that says if you have no gear in your inventory, the textlabel would say "You have no gear" But it doesn't work. Here is the script:
if Players.StarterPack.empty then
wait(1)
TextLabel.Text= "No gear in your inventory!"
end
And this a another script inside the text label that doesnt work.
if Players.StarterPack = "Knife" = true then
wait(1)
TextLabel.Text= "you have a gear!"
end
This means that if one player has the knife, it says you have the knife. Can you help me?
Oh, and only one person gets the knife.

7 comments
I dont want a print
This script is inside a text label. So if the backpack is empty, i want the textlabel to say its empty or full.
Ya ik go modify it so it does whategver you want. I'm not making the entire thing for you k
Its in a LocalScript right
Oh. You mean the script below?
ya
oh, never thought of that. thanks!