How can I stop the runtime of a runservice stepped function so that when I disabled the localscript for the spinning part, and enabled again, it will resume to where it stopped moving. Here is my code that already works with spinning the part.
local runService = game:GetService('RunService')
local Stepped
Stepped = runService.Stepped:Connect(function(runtime , deltaTime)
part.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(runtime ,0,0)
end)