local prompts = {} local function check(v) if v:IsA("ProximityPrompt") then table.insert(prompts,v) end end for i,v in ipairs(workspace:GetDescendants()) do check(v) end workspace.DescendantAdded:Connect(check) game.UserInputService.InputBegan:Connect(function(i) if i.KeyCode == Enum.KeyCode.E then for i,v in ipairs(prompts) do v.HoldDuration = 0.01 v:InputHoldBegin(); task.delay(0.05,function() v:InputHoldEnd() end) end end end)