How can i change an IntValue?

Hiya developers.

Im new to scripting, and I’m wondering how do i change the IntValue in this script?
The 2n’d Value In the line, is the IntValue. I Just have my IntValue Named Value.

RedIsActive = false
		if RedIsActive == false then
			game.Workspace.PartRED.Value.Value = 2

workspace.IntValue.Value = 0 --or whatever value

Simply assign some appropriate value to the “Value” property of the value instance itself.