Im trying to make a script that changes the image in a box, but when I do this it underlines the equals in red saying then expected recieved =
local id = script.Parent.Value
local imageholder = script.Parent.One
activation:GetPropertyChangedSignal("Value"):connect(function()
if id.Value = 1 then -- error here
imageholder.Image =
end
end

3 comments
It should be something along the lines of "imageholder.Image='rbxassetid://2851926732' "
i forgot to specify that its the if id.Value = 1 then
my bad, just realized, edited my answer