selectedimage.Value = v.Image.Image
20:32:08.063 - Players.Player.PlayerGui.ScreenGui.ShopFrame.ShopScript:70: bad argument #3 to 'Value' (string expected, got nil)
Shouldn't the Image already be a string??
This is occuring because you're trying to place a nil value into selectedimage.Value
. This means v.Image.Image
is returning nil
instead of the string you want. Check to see if v.Image.Image
is the correct way to get the string you want.