function onTouched(hit)
p.Instance.New = ("Player")
h.Instance.New = ("Humanoid")
f.Instance.New = ("Health")
p.h.f:remove()
end
script.Parent.touched:connect(onTouched)
Im new to scripting and I have been messing around with scripts similar to any that I attempt to make I can (attempt) to convert and sometimes I succeed but most the time I don't I found scripts similar to this and I wanted to try to make my own version so Could someone please help me figure out what i'm doing wrong?

2 comments
Better question: What are you doing?
Trying to make a damage health script