-- [[ Studs 增强版:极速 0.05s 重生应用 ]] local REFLECTANCE_VALUE = 0.4 local player = game:GetService("Players").LocalPlayer local function applyStudsWithTShirt(character) if not character then return end local torso = character:WaitForChild("Torso", 5) if not torso then return end -- 1. 提取并保存 T-shirt 的图片 ID local tShirtId = nil local tShirtObject = character:FindFirstChildOfClass("ShirtGraphic") if tShirtObject then tShirtId = tShirtObject.Graphic tShirtObject:Destroy() -- 删掉原对象,释放 Studs 空间 end -- 2. 清理其他干扰(长袖衣服、裤子、网格) for _, item in pairs(character:GetDescendants()) do if item:IsA("Clothing") or item:IsA("CharacterMesh") then item:Destroy() end end -- 3. 设置肢体属性 for _, part in pairs(character:GetChildren()) do if part:IsA("BasePart") then part.Material = Enum.Material.Plastic part.Reflectance = REFLECTANCE_VALUE part.TopSurface = Enum.SurfaceType.Studs part.BottomSurface = Enum.SurfaceType.Inlet -- 清理部位内部贴图(保留表情) for _, child in pairs(part:GetChildren()) do if (child:IsA("Decal") or child:IsA("Texture")) and child.Name ~= "face" then child:Destroy() end end end end -- 4. 【核心步骤】将保存的 T-shirt ID 以 Decal 方式贴回 Torso if tShirtId and torso then local newDecal = Instance.new("Decal") newDecal.Name = "TransferredTShirt" newDecal.Texture = tShirtId newDecal.Face = Enum.NormalId.Front newDecal.Transparency = 0.1 newDecal.Parent = torso print("T-shirt 已成功转换为 Decal 模式。") end end -- --- 运行与监听 --- if player.Character then task.spawn(applyStudsWithTShirt, player.Character) end -- 这里改成了你要求的 0.05 秒 player.CharacterAdded:Connect(function(newChar) task.wait(0.05) applyStudsWithTShirt(newChar) end) print("Studs 增强已激活:极速 0.05s 重连模式。")