I've tried scripting a kill part but no success. My code is:
local part = script.Parent
part.Touched:Connect(function()
local player = game.Players.LocalPlayer
local character = player.Character
local hum = character:FindFirstChild("Humanoid")
if hum then
hum.Health = 0
end
end)

4 comments
Man,you should use ToolBox.
Is this in a Script or LocalScript?
It's a local script inside the part
try using a script,not a localscript.