Events are stacking in my script and i cant use disconnect() because it is deprecated and i tried using Disconnect() to but it also deprecated for some reason even though the wiki sayes it isnt
Declare the event connection as a variable, then use Disconnect()
on it, like this:
1 | local ev = workspace.ChildAdded:Connect( function (blabla) |
2 | --blabla |
3 | end ) |
4 |
5 | --later |
6 | ev:Disconnect() |