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?
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 :-)
In the event of this script not working (It should work) try the script without using the variables
I see I had to add some other stuff :)
This discussion is preserved as it was. New answers, comments, and votes are closed.
2 comments
THX
Srry It still did not work