So, I want to add numbers one by one into IntValue by pressing the UI button, but I don’t know what to type and what API I should use, I also don’t really understand how to change numbers in programming (like strings or whatever is that).
local keypad = path.to.keypad
for i = 0, 9 do
keypad:FindFirstChild(tostring(i)).MouseButton1Click:Connect(function()
script.Parent.Value = tonumber(tostring(script.Parent.Value)..tostring(i))
end)
end