So, I have this basic LocalScript located in the StarterGui. What I need it to do is constantly update itself, so when a bricks transparency changes to 0.1 in Workspace, it needs to see that and then run the code on Line 4.

local player = game.Players.LocalPlayer

if game.ServerStorage.StraightConveyer.Main.Conveyer.Transparency == 0.1 then
	player.StraightConveyerAmount.Value = (player.StraightConveyerAmount.Value + 1)
end

What should I add to keep checking for this change?