Custom time dilation multiplayer replication

Doubt this applies to anyone else, but I thought I would post my solution to the problem.