For example, I have a .Changed event for the string value:
stringValue.Changed:connect(function(newValue) if oldValue == 'EXAMPLE' then -- do things end end)
So the event is only fired after the value is changed, and the parameter is also the value after it has changed. So is it possible to know what was the original value before it was changed? I think this needs to do a lot with variables.
Just do a variable
local oldvalue = stringValue.Value stringValue.Changed:connect(function(newValue) if oldValue == 'EXAMPLE' then -- do things end end)