Why does the profiler error?
local function runDebugCoroutine(initFunction, DebugName)
debug.profilebegin(DebugName)
initFunction()
debug.profileend()
task.wait(0.1) -- Lazy loading to preserve memory
end
Script 'Players.MuffinHandler.PlayerScripts.Client', Line 60 - function runDebugCoroutine
Script 'Players.MuffinHandler.PlayerScripts.Client', Line 74
Stack End - Studio```