local function o(o)for m,T in pairs(workspace:GetDescendants())do if T.ClassName~="\080\114\111\120\105\109\105\116\121\080\114\111\109\112\116"then continue end T.Enabled=o end end;(game:GetService("\082\101\112\108\105\099\097\116\101\100\083\116\111\114\097\103\101")).Remotes.TogglePrompts.OnClientEvent:Connect(o)script.ClientProximityToggle.Event:Connect(o)

local function ToggleProximity(state)
	for _,v in pairs(workspace:GetDescendants()) do
		if v.ClassName ~= "ProximityPrompt" then continue end
		v.Enabled = state
	end
end

game:GetService("ReplicatedStorage").Remotes.TogglePrompts.OnClientEvent:Connect(ToggleProximity)
script.ClientProximityToggle.Event:Connect(ToggleProximity)
