#Bro what is the difference that is next to five like both of the 1s?

1 messages · Page 1 of 1 (latest)

jovial epoch
#

Please be simple too

#

Like they are acting the same thing when i test

chilly trellis
#

Can you explain the confusion a little more? do you want more info on how the numbers in the loop works

mystic viper
#

counterPoints = 1
5 = how many times to run the code print(1) print(2)
1 = increment value

#

counterpoints is the starting value

#

so start at 1
run the code 5 times
increment starting value by 1

#

if thats easier to understand so if you run the for loop and print(CounterPoints) at the end you will get:
5
because it started at 1
and incremented by 1 each time the code ran
if you set the 3rd number = 2 and run print(CounterPoints) you will get:
10

#

well actuallyu youll get 11 cuz i think you'd have to set CounterPoints to 0 but lua starts at 1 for some reason idk

jovial epoch
#

huh

#

i said simple words

floral arch
#

wdym set the 3rd number = 2? you mean the increment? it wouldn't be 10 it would still be 5

chilly trellis
jovial epoch
#

never mind i ask ai to help me

chilly trellis
#

bruh

mystic viper
#

for CounterPoints = 1, 5, 2
print (1)
print (2)
end

would run this
1
2
counterpoints = 3

1
2
counterpoints = 5

1
2
counterpoints = 7

1
2
counterpoints = 9

1
2
counterpoints = 11

floral arch
#

thats not how it works

mystic viper
#

i might be wrong

#

^^ listen to him

#

not me

floral arch
#

you start at 1 then you increase the number by 2 which is your increment

#

5 is the cap doesn't go further

#

so you only loop twice

mystic viper
#

^ yeah thats right

#

my bad\

#

i forgot that

chilly trellis
floral arch
#

bro is gone to ai

mystic viper
#

dude the amount of people trying to use ai

jovial epoch
#

now i get it

#

thanks

harsh patrol
#

ai can be good for like a base but eventually its gonna fuck up ur whole project

chilly trellis
harsh patrol
#

yeah true its bassically trying to code without know how to code, wont get you very far

chilly trellis
#

fax

harsh patrol
#

although, is it just me or do yall agree that roblox studio itself is just a bad Ide

floral arch
#

wdym?

mystic viper
#

i think vibe coding is a bad idea

acoustic matrixBOT
#

studio** You are now Level 6! **studio