#For loop help

1 messages · Page 1 of 1 (latest)

hollow mulch
hard karma
#

what are we doing man

#

you dont need iterator functions in luau

#

and you dont need to pre-define a function for the connection

#

@hollow mulch

hollow mulch
#

I wanted to be able too click any mushroom to turn off the lights but have it so I only need one script apposed to having one in each mushroom model

hard karma
#

just define the function in the connection

hollow mulch
#

k

modern light
#

why the hell is he not allowed to pre define the function 😭

hard karma
#

he cant single out a specfic mushroom the way he has it set up

modern light
#
...:Connect(function()
    onClicked(param1, param2)
end)

he could do something like this

hard karma
#

he can have that function he cant just use one function for it all

#

is what im saying

#

or meant

#

idk