
138 Views
780 Executions
Proxmity Prompt Hold Duration Script (Open Source)
Universal Script 📌
2 months ago
Please login to perform these actions:Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
Works Of any game You can adjust the hold duration by changing the number in the `local HOLD_DURATION = 0` line at the top of the script
-- SET THE HOLD DURATION HERE (e.g., 0 = Instant Interaction)
local HOLD_DURATION = 0
local function makePromptInstant(prompt)
if prompt:IsA("ProximityPrompt") then
prompt.HoldDuration = HOLD_DURATION
end
end
local function processContainer(container)
for _, descendant in ipairs(container:GetDescendants()) do
makePromptInstant(descendant)
end
container.DescendantAdded:Connect(function(descendant)
makePromptInstant(descendant)
end)
end
processContainer(workspace)
processContainer(game:GetService("ReplicatedStorage"))
Comments
0Log in to join the conversation. Login
No comments yet. Be the first!





