I have been trying to add x to y multiple times to get z, which is constantly expanding by an increment of x.
The issue, however, is that z stays the same.
I have tried multiple solutions, but none of them work.
The code I’m using is
while wait(1) do
local increment = 31.8
local int = 0
int = int + increment
print(int)
end
The output is just 31.8 (31.8 (x41)
) over and over, while the expected output would be 31.8, 63.6, 95.4, etc etc
This is probably just a dumb mistake, but any help is appreciated.