Hello, the error i am getting is in the title
ItemNumber is a value i created in the localscript by doing:
local ItemNumber = 1
where the error occurs:
ItemNumber.Changed:connect(function(NewValue)
end)
i don't know why this is happening it works fine with another value in another script can it be because it is a value created in the localscript ?
Thanks for any help

3 comments
Not entirely true, you don't need it to be an actual object in-game, but if you decide to use an actual object, then you should be good. Make sure to use Connect instead of connect! It's deprecated.
it still gives the same error :/
I am sorry i made a typing mistake with your answer - thank you both