Hello. So i am trying to make a lock box, where u need 5 keys in order to open the box. This is the script to destroy on of the locks:
script.Parent.Touched:Connect(function(p)
if p.Parent.Name == "Key1" then
script.Parent:Destroy()
end
end)
So i wanna take that script and make it so u need to destroy 5 locks in order to open up the box containing the other tools. The box is name "BoxTop" and i need keys named Key1-Key5. If this is confusing please feel free to ask what i am trying to do!
