How would I achieve making the players limbs have sharp corners while maintaining their avatar? (Shirts, Pants, etc.)
1 Like
local Players = game:GetService("Players")
local function updateBodyPart(player, bodyPartName)
local character = player.Character
if character then
local bodyPart = character:FindFirstChild(bodyPartName)
if bodyPart and bodyPart:IsA("BasePart") then
local brickMesh = Instance.new("SpecialMesh")
brickMesh.MeshType = Enum.MeshType.Brick
brickMesh.Scale = Vector3.new(1, 1, 1) -- brick scale
brickMesh.Parent = bodyPart
end
end
end
local function updateAllBodyParts(player)
local character = player.Character
if character then
for _, bodyPart in pairs(character:GetChildren()) do
if bodyPart:IsA("BasePart") and bodyPart.Name ~= "Head" then
updateBodyPart(player, bodyPart.Name)
end
end
end
end
for _, player in pairs(Players:GetPlayers()) do
player.CharacterAdded:Connect(function()
updateAllBodyParts(player)
end)
end
Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function()
updateAllBodyParts(player)
end)
end)
This script removes the bevels, although I dont know how to keep the players clothes.
Oh I forgot to say, the script goes in ServerScriptService
That’s the issue. I understand how to make the characters body not beveled, but not how to keep the clothing on the character afterwards.
go into blender, make custom limbs that support clothing, make charactermesh limbs, add them into player
I don’t know how to make them compatible with clothing.
uv texturing/mapping in blender