function onTouch(Part)
Instance.new ("Fire", game.Workspace.Part
wait(0.00001)
Player:findFirstChild("Humanoid").Health = 0
wait(0.00001)
game.Workspace.Part.Fire.Enabled = true
wait(5)
game.Workspace.Part.Fire.Enabled = false
end
script.Parent.Touched:connect(onTouch)
Im wondering if this would insert a fire into the brick and also kills at the same time when touched.

3 comments
I believe so, nonetheless, your second function is very wrong. "Player" is not defined. In addition, FindFirstChild has no purpose there since it's not actually being used for error handling.
How would I write it so both would happen at the same time when a player touches the brick?
Will this work?