The title explained all. local script:
player.items.ChildAdded:Connect(function()
intval.Value + 1
end)
Thank you.
The title explained all. local script:
player.items.ChildAdded:Connect(function()
intval.Value + 1
end)
Thank you.
How do I add 1 to a value whenever there is a new item in folder?
You would want to define the value to be equal to the current value + 1.
Like this:
a = a + 1
And in respect to your code:
player.items.ChildAdded:Connect(function()
intVal.Value = intval.Value + 1
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.
2 comments
Oh, well that was easy lol. Thank you.
You're welcome!