The problem is that the value won't update however, the other part where price3.Text = price.value works, so I don't know if you can't update a value with a value.

local price = script.Parent.ItemPrice
local price2 = script.Parent.Parent.Parent.Parent.Info.Price
local price3 = script.Parent.Parent.Parent.Parent.Info.ItemPrice
local name = script.Parent.ItemName
local name2 = script.Parent.Parent.Parent.Parent.Info.ItemName
local image = script.Parent.ItemImage
local image2 = script.Parent.Parent.Parent.Parent.Info.ItemImage

script.Parent.MouseButton1Click:connect(function()
	-- this is it
	price2.Value = price.Value
	-- stops here
	price3.Text = price.Value
	name2.Value = name.Value
	image2.Image = image.Value
end)

3 comments

0

This is bcs you're changing the value client side

0

How can I fix it?

0

Are you using a click detector?