My script was this
function onTouched(part) local h = part.Parent:findFirstChild("Humanoid") if h~= nil then wait (0.001) h.Health = 0 end end script.Parent.Touched:connect(onTouched)
And I Forgot to put end But any other ways or ideas?
You didn't put an "end".
a = script.Parent.sb while true do wait() a.Adornee = script.Parent a.Color = script.Parent.BrickColor wait(0.5) end
a = script.Parent.sb while true do wait() a.Adornee = script.Parent a.BrickColor = BrickColor.new(script.Parent.BrickColor) wait(0.5) end
This should work bud :-)