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)