So i want make system that replaces your Body parts into specific Meshparts if your character are blocky.
I cannot find any way to do so,every way i found leads to StarterCharacter but that not what i need.
I tried to use
humanoid:ReplaceBodyPartR15()
but that doesnt work aswell
Is there any way to set own meshparts into specific character?
game.Players.PlayerAdded:Connect(function(Player)
Player.CharacterAdded:Connect(function(Character)
local chracterBlocky = script:WaitForChild("Blocky"):WaitForChild("Parts"):WaitForChild("UpperTorso")
local plrChar = Player.Character or Player.CharacterAdded:Wait()
local humanoid = plrChar:WaitForChild("Humanoid")
humanoid:ReplaceBodyPartR15(Enum.BodyPartR15.UpperTorso,chracterBlocky.UpperTorso)
print(chracterBlocky.UpperTorso)
end)
end)
i need to make it so if user with blocky character) joins expirience their blocky character) becomes deformable version of it (mesh character)
Check their limb asset id properties in the HumanoidDescription they contain, and if they all match the blocky type, replace their character with a skinned mesh one.
game.Players.PlayerAdded:Connect(function(Player)
Player.CharacterAdded:Connect(function(Character)
local chracterBlocky = script:WaitForChild("BlockyChracter")
local plrChar = Player.Character or Player.CharacterAdded:Wait()
local humanoid = plrChar:WaitForChild("Humanoid")
local humanoidroot = plrChar:WaitForChild("HumanoidRootPart")
local bodypart,id = "LeftUpperArm","https://assetdelivery.roblox.com/v1/asset/?id=7430071044"
task.wait()
--blocky
if plrChar[bodypart].MeshId == id then
local newchar = chracterBlocky:Clone()
newchar.Name = Player.DisplayName
Player.Character = newchar
local root = newchar.HumanoidRootPart
root.CFrame = humanoidroot.CFrame
newchar.Parent = workspace
end
end)
end)