28.02.2022, 09:26
You can also check whether the object value changed after sleeping.
Code:
local value = event.getvalue()
os.sleep(2)
if grp.getvalue(event.dst) == value then
-- do something here
end