Hello everybody! I ran into such a problem that when I launch a remote event on the client for the server and transmit information about the Number Value, namely its currency then when the server receives this information, it writes that it is zero.
Error:
(ServerScriptService.Shop:32: attempt to index nil with 'Value ')
LocalScript (located in the StarterGui):
BuyEvent:FireServer(ItemCost,ItemLvl,NameItem)
—(ItemCost, ItemLvl, NameItem this is a NumberValue)
And if you print the values of these Number Values in Local Script, then it will print them without a problem, and in script it already gives an error.
Yes, after making some experiments myself, it turns out you were right about the fact that only instances created by the client are invisible to the server which is probably OP’s case since he’s making a shop.