Hello, I have been wondering a lot about how games like RetroStudio and Super Nostalgia Zone handle custom avatar, and their customisation, separate from Roblox.
As a person who was involved with making Old Roblox Simulators, I am very confused about how it is done, and would love to know about it more.
1 Like
It’s quite simple. You can use a script to replace their character.
Example from BaseAdmin:
t.mech = {function(Player, plr, rig)
local plrs = getPlayerRun(Player, plr)
for i=1,#plrs do
if rig == 'r6' then
plrs[i].Character.Humanoid.RigType=Enum.HumanoidRigType.R6
end
if rig == 'r15' then
plrs[i].Character.Humanoid.RigType=Enum.HumanoidRigType.R15
end
local mechclone
if plrs[i].Character.Humanoid.RigType==Enum.HumanoidRigType.R15 then
mechclone = script.Assets["Mech R15"]:Clone()
else
mechclone = script.Assets["Mech R6"]:Clone()
end
local pos = plrs[i].Character.PrimaryPart.Position
plrs[i].Character:Destroy()
mechclone.Name=plrs[i].Name
mechclone.Humanoid.DisplayName = mechclone.Name.."'s mech"
plrs[i].Character=mechclone
mechclone.Parent=workspace
mechclone:MoveTo(pos)
end
end, "Turns the target player(s) into a mech", '<plr> <optionalRigType>', 3}
This will replace the character, but you can also add a model called StarterCharacter
, along with a Humanoid
, in the StarterPlayer
folder.
I understand that, I meant the customisation itself. That’s the most confusing part for me.
The customization will most likely add some instances to the character and edit existing ones like BodyColors
. If you want full customization like this I’d recommend changing Players.LoadCharacterAppearance
to false.
The script would be simple. You would use Players.PlayerAdded
to detect if the player was added, then clone a GUI as needed. Then, the player would also most likely have a GUI, handled by LocalScripts
, to send an event to a server script, which would tell it the color. The server script would then color the selected body part the correct color.
It can vary from simple to complex. For example, if you didn’t want to color them and just add clothes, you can just parent the clothes to the character’s model.