What do you want to achieve?
choose clothing in your inventory
What is the issue?
:GetAttributeChangedSignal doesn’t work at all
What solutions have you tried so far?
tried to use .AttributeChanged
-- script setting the attribute value
script.Parent.MouseButton1Down:Connect(function()
print(1)
ChosenClothingFrame:SetAttribute("chosenclothing", 1)
end)
-- script checking if a cloth was selected
frame:GetAttributeChangedSignal("chosenclothing"):Connect(function()
print("clothing")
end)
I’m guessing you mismatched your variables since you’re applying the attribute to something called “ChosenClothingFrame” but you’re listening for the signal on something simply referred to as “frame”. Judging purely from the little bits of the code that we can see, shouldn’t it maybe be ChosenClothingFrame:GetAttributeChangedSignal() instead?