I need to make a part that deletes itself on touch

ok so i need to make a part that deletes itself on touch. but how do i make it?

do i need to insert something into a “ontouch” thing???

1 Like
game.Workspace.myPart.Touched:Connect(function()
     game.Workspace.myPart:Destroy()
end)
2 Likes