task.wait()
is the same as RunService.Heartbeat:Wait()
. RunService.Stepped:Wait()
is not exactly the same although it would look identical in most cases
For more information about these RunService functions, you can visit this topic: RenderStepped, Stepped, or Heartbeat - #2 by rogchamp
Hope it helps!
4 Likes