This is part of my script
1 | local part = Instance.new( "Part" , workspace) |
2 | createscript( [[script.Parent.Touched:connect(function(part) |
3 | local h = part.Parent:FindFirstChild("Humanoid") |
4 | if h then |
5 | h.Health = 0 |
6 | end |
7 | 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?
Now I'm not a fully experienced scripter, I have only been scripting (successfully) for about 3 months. But since nobody has given you an answer, I will give it a go, First of all Blue line means that it isn't a script-able word, in which case it looks for it as an abbreviation.
1 | createscript = Instance.new ( "Script" ) |
--If this doesn't help or isn't correct, I am so sorry.--
If you hover over the blue line with your mouse it should tell you why it's there.