📌  相关文章
📜  Roblox 如何制作 killPart - 任何代码示例

📅  最后修改于: 2022-03-11 14:58:29.376000             🧑  作者: Mango

代码示例1
-- Paste this into a local script inside a part
script.Parent.Touched:Connect(function(hit)
    if hit.Parent:FindFirstChild("Humanoid") then
        hit.Parent.Humanoid.Health = 0
    end
end)