I know how to quit an event with :disconnect() but there’s a code:
function activeClicking()
gui.MouseButton1Click:Connect(function()
print("Clicked")
end)
end
activeClicking()
I want this event to work only when the function is called. And I want to disconnect it outside of the function? Is that possible and if it’s how can I do that?
Thanks for reading.