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.
Like what Feahren said use a Boolean value and if its a tool remove it from their inventory. If you don't want anyone building in the lobby then you can enable the feature once they get teleported to a map. You can do this by simply using remote events or functions.