while true do
if script.Parent.Text:match("%d+") then
script.Parent.Value.Value = script.Parent.Text
wait(1)
end
end
Its supposed to check if a text is an integer, and if that text is an integer its supposed to put that integer into a numbervalue.
When I check numbervalue it reads back as 0.

5 comments
Just use tonumber() ?
how would i use that @kingdom5?
tonumber(link to the path)
hey look an infinite loop that can be replaced with an event....................................
script.Parent.Value.Value = tonumber(script.Parent.Text), You can't set number value to a string.