local L=script.Parent.Parent.ClickBox.ProximityPrompt local A=script.Parent.Parent.ClickBox game:GetService("\083\111\117\110\100\083\101\114\118\105\099\101")local g=script.Parent.PhoneSound local E=false L.Triggered:Connect(function()print("\080\104\111\110\101 \067\108\105\099\107\101\100")if not E then E=true L.Enabled=false print("\083\111\117\110\100\080\108\097\121\101\100")local m=g:Clone()m.Parent=A m.Ended:Connect(function()E=false L.Enabled=true m:Destroy()print("\083\111\117\110\100\075\105\108\108\101\100")end)m:Play()end end)
--Click to Open/Close Drawer--
local proximityPrompt = script.Parent.Parent.ClickBox.ProximityPrompt
local clicker = script.Parent.Parent.ClickBox

game:GetService("SoundService")

local Phone = script.Parent.PhoneSound

local isPlaying = false

proximityPrompt.Triggered:Connect(function()
	print("Phone Clicked")

	if not isPlaying then
		isPlaying = true
		proximityPrompt.Enabled = false

		print("SoundPlayed")
		local copysound = Phone:Clone()
		copysound.Parent = clicker
		copysound.Ended:Connect(function()
			isPlaying = false
			proximityPrompt.Enabled = true
			copysound:Destroy()
			print("SoundKilled")
		end)
		copysound:Play()
	end
end)
