I’m not sure why, but when I use a NumberRange it gives me the error “attempt to call a table value”
I just have:
for i in NumberRange(100) do
-- script
end
I’m not sure why, but when I use a NumberRange it gives me the error “attempt to call a table value”
I just have:
for i in NumberRange(100) do
-- script
end
That’s not how you create one.
https://developer.roblox.com/en-us/api-reference/datatype/NumberRange
That said, I have no clue if this actually works the way you’re trying to make it work, and numeric for loops are a lot more efficient.
for I = 1, 100 do