I have no idea how to make a system that players will change their avatar to my custom character (like bedwars) at the round of the game starts. Actually, I know how to make custom
rigged characters but idk how to make an equipped system.
So, I want the system to be like this (Sorry for my bad drawing ):
Here’s an example of a HumanoidDescription being loaded when an attribute is changed.
local Players = game:GetService("Players")
Players.PlayerAdded:Connect(function(Player: Player)
Player.CharacterAppearanceLoaded:Connect(function(Character: Model)
local Humanoid = Character:WaitForChild("Humanoid")
local DefaultDescription = Humanoid:GetAppliedDescription() -- Retrieve their default description.
local NewHumanoidDescription = Instance.new("HumanoidDescription")
NewHumanoidDescription.HeadScale = 2 -- Double head scale! (R15)
Player:GetAttributeChangedSignal("IsInMatch"):Connect(function()
local IsInMatch = Player:GetAttribute("IsInMatch")
if IsInMatch == true then
Humanoid:ApplyDescription(NewHumanoidDescription) -- Apply the override.
elseif IsInMatch == false then
Humanoid:ApplyDescription(DefaultDescription) -- Reset the appearance back to the default.
end
end)
end)
end)
It should support Roblox accessories too. You cannot use custom accessories but you can just put those in the character and change the AttachmentPoint if you need to.
Oh, that is so sad , maybe I should think about it later. If I find the solution or I have done what I want, I will explain how I do this.
Anyways, Thank you!