Capitalisation is important, so if the instance is named “Value” then you must refer to it as so, this is similar to if the instance is named “value”.
game.ReplicatedStorage.Value
script.Parent.Value
These would refer to the Value instance itself, to read from the value currently assigned to the “Value” property of the instance you would need to do.
local Value = game.ReplicatedStorage.Value.Value
local Value = script.Parent.Value.Value