Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

can some help me it wont work?

1.function touch(hit) 2. hit:remove() 3.end 4.script.parent.Touch:connect(touch)

1 answer

✓ Accepted answer

Well, you made a simple mistake. Touch is not an event but Touched is. Here is the proper way to make that script. By the way, please use the code block next time.

function touch(hit)
hit:remove()
end
script.Parent.Touched:connect(touch)-- You made an error here, touch is not an event.

3 comments

0

thxx

0

np don't forget to accept my answer

0

ok

This discussion is preserved as it was. New answers, comments, and votes are closed.