#Weird for-loop jank

1 messages · Page 1 of 1 (latest)

hollow breach
#

So I have this basic countdown script, but for some reason the value immediately goes to -1 in 0 seconds. (The Int value is set to 100 btw)
Why is this happening?

tame oasis
#

Well

#

I guess

#

Its

#

Because

#

You set time.Value =- 1

#

Wich is : time.Value = -1

hollow breach
#

Oh

tame oasis
#

So

#

I think

#

You meant to do time.Value -= 1

hollow breach
#

Will time.Value -= 1 work?

tame oasis
#

Yes

hollow breach
#

Ok

#

Just got it mixed up

tame oasis
#

Cuz if its time.Value =- 1 its like saying time.Value = -1

#

The difference is that there is a space

hollow breach
#

Thanks