For example when I am Using a on touch script like when I touch a part it deletes a specific part. Like if there is a jail cell and when I step On a a block it deletes the three bars how do I choose those three bars to be deleted in that script
it will be something like
bar1 = location bar2 = location bar3 = location touched = script.Parent(or location) touched.OnTouched:connect(function() bar1:Destroy() bar2:Destroy() bar3:Destroy() end)