How can I record a player's movements and be able to replay them?

I’m not exactly sure if you want this but this might be helpful ReplayService - Replay Your Best Moments. Any Place, Any Time. (Pre-Release Version Available)