#For loop help
1 messages · Page 1 of 1 (latest)
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
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
you dont need to do dat bro
just define the function in the connection
k
why the hell is he not allowed to pre define the function 😭
because mouseclick doesnt pass the mushroom
he cant single out a specfic mushroom the way he has it set up
...:Connect(function()
onClicked(param1, param2)
end)
he could do something like this