depositpr1.Triggered:Connect(function(e)if e.Character:FindFirstChild("\068\114\105\108\108",yeeld)then driLL1.Transparency=0 drilling1.Playing=true drillingeffect1.Enabled=true driLL1.CanCollide=true wait(timetodrill)driLL1.CanCollide=false drilling1.Playing=false drillingeffect1.Enabled=false driLL1.Transparency=1 explosionvault1.Enabled=true explosionvaultsfx1.Playing=true wait(1)explosionvault1.Enabled=false depositpr1.Parent.Parent.Transparency=1 depositpr1.Parent.Parent.CanCollide=false depositpr1.Enabled=false wait(resetcooldown)depositpr1.Parent.Parent.Transparency=0 depositpr1.Parent.Parent.CanCollide=true depositpr1.Enabled=true end end)
--What happens with DepositBox1--
depositpr1.Triggered:Connect(function(plr)
	if plr.Character:FindFirstChild("Drill", yeeld) then
		driLL1.Transparency = 0
		drilling1.Playing = true
		drillingeffect1.Enabled = true
		driLL1.CanCollide = true
		wait(timetodrill)
		driLL1.CanCollide = false
		drilling1.Playing = false
		drillingeffect1.Enabled = false
		driLL1.Transparency = 1
		explosionvault1.Enabled = true
		explosionvaultsfx1.Playing = true
		wait(1)
		explosionvault1.Enabled = false
		depositpr1.Parent.Parent.Transparency = 1
		depositpr1.Parent.Parent.CanCollide = false
		depositpr1.Enabled = false
		wait(resetcooldown)
		depositpr1.Parent.Parent.Transparency = 0
		depositpr1.Parent.Parent.CanCollide = true
		depositpr1.Enabled = true
	end
end)
