It only checks the value once, you’d need to make it check every time the value is changed via the Changed event, which for ValueBases only will fire when the value property changes
You could do something like this
local function changedEvent(newValue)
if newValue == 1111 then
print("gaaaaaaaaaaaaaaaaaaaaaaaansuuuuuuuuuuuuuu")
end
end
changedEvent(levaral.Value)
levaral.Changed:Connect(changedEvent)
In the case when we call the function by itself, we give it the current value of levaral, when connected the changed event, it’ll always get the new value levaral is set to, so for what you asked, yes newValue = levaral.Value