I would like to know how to code a disguise player script. Something like in pls donate that allows you to change ur avatar appearance and the name displayed above you to a random roblox player.
For this would I use loadcharacter?
I would like to know how to code a disguise player script. Something like in pls donate that allows you to change ur avatar appearance and the name displayed above you to a random roblox player.
For this would I use loadcharacter?
Use Humanoid:ApplyDescription
of Humanoid:ApplyDescriptionReset
. It needs a HumanoidDescription, which can be generated from game.Players:GetHumanoidDescriptionFromUserId
. Then, to change the default name display, use Humanoid.DisplayName
.
how would i pick a random player from all of rblx
I’m not sure. Generating random UserIds can result in banned users which don’t work. Maybe generate a random user id and then use pcall to check if it’s banned, then regenerate if so.
how would a pcall function check if the player is banned
Im pretty sure some part of GetHumanoidDescription throws errors for banned players. If not it’s probably getnamefromuseridasync