This resource must be use with FiveM, it will show a loading screen with animation using HTML/CSS/JS.
Download the resource or git clone it and put it in your resources folder with the name loadingscreen
In your server.cfg
file, add the resource:
start loadingscreen