Possible to run a function every amount of frames?

If you are using HeartBeat or any Runservice events you can use an accumulator to guarantee the rate at which the code is run. If you do then using tick() is not necessary as the event returns the delta time for you to control rate.

This tutorial should help:

3 Likes