Roblox Studioで、以下のスクリプトを追加します。
function KillPlayer(part)
h = part.Parent:findFirstChild("Humanoid")
if h ~= nil then
h.Health = 0
end
end
script.Parent.Touched:connect(KillPlayer)
Roblox Studioで、以下のスクリプトを追加します。
function KillPlayer(part)
h = part.Parent:findFirstChild("Humanoid")
if h ~= nil then
h.Health = 0
end
end
script.Parent.Touched:connect(KillPlayer)