Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

how do you remove a part when being touched?

Asked by
Teeter11 281 Moderation Voter
10 years ago

script.Parent.Touched:connect(function(part) part:remove() end)

i honestly dont know why this isnt working

1 answer

Log in to vote
1
Answered by
Vathriel 510 Moderation Voter
10 years ago

Don't use remove. Use Destroy, or better yet game.Debris:AddItem()

Ad

Answer this question