If I had

local A = 1.12345

print(A)

Would print 1.12345, but is there a way to get it to just print 1? I am currently using tick() for something, and I have it in a for loop like this

for i = 100, 0, -tick() do
	print(i)
	wait(1)
end

And so I want it to print 100,99,98,97, etc. But instead it prints 100, 99.84732, 99.65347, etc. How can I get it to just print like 100, 99, 98, 97, etc. I can't just put -1, as it has to be tick(), as that is used further up in the script. Is there anyway to do this? Thanks for any help.

1 comment