I want to check if a number value changed but i also want to check if it went up or down.
SUNMASS.Changed:Connect(function()
if (SUNMASS.Value + (DEFAULTRADIUS - 1)) > DEFAULTRADIUS then
local differance = (SUNMASS.Value + (DEFAULTRADIUS - 1)) - DEFAULTRADIUS
RADIUS.Value = RADIUS.Value + differance
end
wait(0.5)
end)

1 comment
https://developer.roblox.com/en-us/api-reference/event/IntValue/Changed it is a link to the changed event, I had a brief look at it so I don’t know too much about it but it has 1 parameter