How do I insert a random character from the list of millions of players from roblox into my game

I want to have a script that generates a random number and finds the player with the equivalent player Id , I then want the script to insert said player character into the game as an NPC . How can I do this?

math.random will pick the random number.
If you read the rules for Scripting Support you aren’t supposed to ask people to make entire scripts for you.

Also I’ve mentioned in your other identical post not to post the same question twice in two different posts.

Nobody ever replies on my first post for some reason , normally only after a entire day do I get a reply on the first one.

Still not a good reason to repost it.
Everyone here is just volunteering their help.
Just be patient next time since waiting a day for a reply can be normal around here.