How to load a random character

Hello,
I want to load the character of a person whose ID is randomised
How do I do it
- Br, iSyriux

1 Like

So you want to load a players character from their id?

1 Like

Since you didn’t provide an attempt of scripting it, I’ll try to point you in the right direction:

For loading the character outfit:

For setting the ID to a random ID:

I dont really know about math, I don’t think you can get the number of user ids’

You can use math.random to pick a random ID.

local ID = math.random(95767291, 1779168151)

Me and your UserIDs and anyone inbetween has a character on Roblox, which would allow random characters.

Yes, but… There are users added every second so your gonna have to update the numbers every second

This is un-necessary, as new players don’t have unique characters and with simple math by using both of our UserIds, there are 1683400860 different character combinations, you would never need to update this as odds are you’d never even be the same character twice.