How would I check if this value has changed?

Hello, I am wondering how I would update this script every time the value (GraphScale) changes. I am somewhat new to using modular scripts and OOP programming but very experienced in function programming so this one is confusing me!

local gameGlobals = {}

gameGlobals.GRAPHSCALE = script.Parent.Parent.GraphScale.Value -- this is the scale that the blocks are placed on by stud btw. 


return gameGlobals

Have you tried Changed? Here is a link to the API for IntValue.Changed

Yes I have, it just cant update when the server opens up initially.

Try combining a PlayerAdded and Changed function. (Not actually combining them, just adding two functions)