This is my script, I'm trying to make this the most optimized I can.
script.Parent.Touched:Connect(function(t)
if not(t.Locked)then
t:Destroy()
end
end)
this is a giant area covering the lobby of the map, we have a a building feature and I don't want anyone building in the lobby.

1 comment
Then use a Boolean to disable the building feature. If it is integrated into a Tool, then simply remove it from their inventory.