Saving an entity in pos after restart

Say I were to type !something what would I need to put into the hook to make it save an entity’s position and respawn it where ever saved to after a server restarts .

hook.Add( ‘PlayerSay’, ‘UNIQUE_NAME’, function( ply, text, team )
if text == ‘!help’ then


end )

you could use
the file library

an sql data base

Player Data

It’s up to you to figure out how to use them

thank you, helped me alot