just broadcast a tick and make an fps, wit 1 divided by FPS seconds before broadcasting tick. have the code ran on tick. cannot have a forever loop or repeat.