This is not working and someone please help!
while wait() do local test1 = script.Parent test1.Parent.test2.Value.Changed:connect(function(c) print(c) end) end
You don't need make a loop to check if changed.
And in line 3 you using IntValue.Value.Changed. But it must be IntValue.Changed like this:
local test1 = script.Parent test1.Parent.test2.Changed:connect(function() --Code here end)
And i dont know if you test2 is inside of test1. if test2 is inside of test1 then
local test1 = script.Parent test1.test2.Changed:connect(function() --Code here end)
Or if your test2 isn't inside test1
local test1 = script.Parent test1.Parent.test2.Changed:connect(function() --Code here end)