This is part of my script
local part = Instance.new("Part", workspace)
createscript([[script.Parent.Touched:connect(function(part)
local h = part.Parent:FindFirstChild("Humanoid")
if h then
h.Health = 0
end
end)]],part)
I don't know if this would work. It's not in the wiki and I can't test in studio because I didn't finish the LOOOONNGGG script. There are blue lines under the "createscript". I know roblox had scripting updates so I don't think this is a feature anymore. Will this actually make a killing part?

1 comment
It's because the blue line thinks It's a variable.