I have some stuff in a script:
v.MouseButton1Click:connect(function() v.Parent.Info.Visible = true v.Parent.Info.InfoBox.BuyButton.Cash.Value = v.Price.Value v.Parent.Info.InfoBox.BuyButton.Text = "Buy -"..v.Price.Value.." Cash" v.Parent.Info.DescLabel.Text = v.Desc.Value v.Parent.Info.NameLabel.Text = v.Name v.Parent.Info.CarImage.Image = v.Image.Value
but when it gets to
v.Parent.Info.CarImage.Image = v.Image.Value
it says
06:30:20.623 - String expected 06:30:20.625 - Script 'Players.Player1.PlayerGui.CarShopGUI.ScrollingFrame.LocalSc', Line 9 06:30:20.627 - Stack End
Can anyone tell me how to fix that or how to read a value properly? CarImage is an ImageLabel and Image is a StringValue