can you show me the path and name to the yellow “box”?
Is it the ItemButton?
can you show me the path and name to the yellow “box”?
Is it the ItemButton?
did you make a variable for the yellow box?
so i can use it in my next comment?
Lemme see, btw the yellow box is just the imagelabel which is the difficulty thingy
itemButton.difficulty.Value = difficulty
Put that after you set the backroundcolor3
I dont think you can use BackGroundColor3 on a IntValue
What part of the gui are you trying to change the color of? The text? The Item Image? The box at the top left of the item image? If the box is what you are trying to change the color of, then replace the line I said before with this:
itemButton.ImageLabel.BackgroundColor3 = difficultyColours[difficulty]
The box at the top left of the item image
and idk where to make the variable
Should I call it
local difficultyButton = script.templateButton
and like
itemButton.ImageLabel.BackgroundColor3 = difficultyColours[difficulty]
As i’ve said in my other “deleted” message, you might want to use this
Thats a brief conclusion to my other message
That does remove the error, but there’s a new one then
Can you show me the line perhaps?
to be honest you should learn more scripting no offence but you clearly have no idea what your doing making it very hard to tell you what to do, i recommend taking a step back and watching some tutorials first because this will take a long time to solve right now
Apparently, ‘collected’ is not a part of ‘itemButton’. Can you show the childrens of the so called itemButton?
See, according to the screenshot. There’s nothing called ‘collected’, can you tell me what you were trying to do in that line so i can further help you?