local function j()if object then Prox.Enabled=true script.Parent.Transparency=0 object.Transparency=1 game.Workspace.Light.SpotLight.Enabled=false end end local function Z()if object then Prox.Enabled=false game.Workspace.swewe:Destroy()object.Transparency=0 script.Parent.Transparency=1 script.Parent.Parent.clockactivate.Transparency=0 game.Workspace.Light.SpotLight.Enabled=true game.Workspace.serp.ind1.Script.Enabled=true game.Workspace.serp.ind2.Script.Disabled=false game.Workspace.Door:Destroy()game.Workspace.Dummy:Destroy()script.Parent.Parent.objective.BillboardGui.ImageLabel.Visible=false game.Workspace.Phone.Phone.BillboardGui.Enabled=true wait(120)j()end end
-- Make the object appear when the ProximityPrompt is used
local function effect()
	if object then
		Prox.Enabled = true
		script.Parent.Transparency = 0
		object.Transparency = 1
		game.Workspace.Light.SpotLight.Enabled = false
	end
end

local function onPromptTriggered()
	if object then
		Prox.Enabled = false
		game.Workspace.swewe:Destroy()
		object.Transparency = 0
		script.Parent.Transparency = 1
		script.Parent.Parent.clockactivate.Transparency = 0
		game.Workspace.Light.SpotLight.Enabled = true
		game.Workspace.serp.ind1.Script.Enabled = true
		game.Workspace.serp.ind2.Script.Disabled = false
		game.Workspace.Door:Destroy()
		game.Workspace.Dummy:Destroy()
		script.Parent.Parent.objective.BillboardGui.ImageLabel.Visible = false
		game.Workspace.Phone.Phone.BillboardGui.Enabled = true
		wait(120)
		effect()
	end
end
