Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by
sydre 229 Moderation Voter
5 years ago
Edited 5 years ago

This question has been solved by the original poster.

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)

0
c o d e b l o c k s, u s e t h e m ! ! ! ! LoganboyInCO 150 — 5y

1 answer

Log in to vote
0
Answered by
sydre 229 Moderation Voter
5 years ago

Nvm, I just figured it out myself.

Ad

Answer this question