Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

[SOLVED]How do you call a function with an event outside that function?

So, as a developer with 2 years on my back, it's embarrassing to ask this. But I've completely forgotten how to call a function with an event outside of that function and I can't find any videos explaining how to do it. I know how to call a function with an event in that function:

Event:Connect(function()

end)

but how do you call a function with an event like this:

local function MaFunction()

end

Event:Connect(MaFunction)

1 comment

0

c o d e b l o c k s, u s e t h e m ! ! ! !

1 answer

✓ Accepted answer

Nvm, I just figured it out myself.

This discussion is preserved as it was. New answers, comments, and votes are closed.