#how would u make a number go up 1 every time the function is ran

23 messages · Page 1 of 1 (latest)

frail mirage
#

pls help

#

am banging my head on my desk

vague hound
#

local a = 0;

function e()
a += 1;
end

e()

#

🤔

frail mirage
#

what does += 1 do

vague hound
#

add 1 to the variable a

frail mirage
#

oh ok\

#

bruham dum

frail mirage
vague hound
#

because i want

#

if you want you can delete it

frail mirage
#

oh ok

frail mirage
vague hound
#

yes

frail mirage
#

oh

#

i tried that and it errored bruh

#

ig i did smt wrong

#

ohhh

#

i defined a variable with the variable

frail mirage
#

oh it works btw

oblique spearBOT
#

studio** You are now Level 26! **studio