#Too much repeated code

15 messages · Page 1 of 1 (latest)

digital abyss
#

what u tryna do

queen lintel
#

for loop

digital abyss
#

probs that

queen lintel
#
for i, v in ipairs(Light:GetChildren()) do
    v.MainOn.Value = true
end
digital abyss
#

yea tha4 will work

frosty eagleBOT
#

studio** You are now Level 4! **studio

queen lintel
#

np

#

and if you want to make it a switch

#

to make them turn on and off

digital abyss
#

great build

queen lintel
#
for i, v in ipairs(Light:GetChildren()) do
    v.MainOn.Value = not v.MainOn.Value
end
waxen lotus
#

That's pog

queen lintel
#

for it to be a switch

digital abyss
violet matrix
#

literally a for loop