Also, I found what the issue was. It was doing script.Parent:Destroy(), but it was only a part with a clickdetector, the script and mesh inside.
Can you show me how to find this out pretending I didn’t know what caused it?
Can you show me how to find this out pretending I didn’t know what caused it?
Scroll down until you find info on debug.profilebegin and debug.profileend, its how to add custom labels into microprofiler to debug what parts of your code are taking so long
Why is script.Parent:Destroy() taking so long though?