local targetDuration = 0 -- Change it here!
local function applyDuration(prompt)
if prompt:IsA("ProximityPrompt") then
coroutine.wrap(function()
while prompt and prompt.Parent do
if prompt.Duration ~= targetDuration then
pcall(function()
prompt.Duration = targetDuration
end)
end
wait(0.2 + math.random() * 0.15)
end
end)()
end
end
for _, obj in pairs(workspace:GetDescendants()) do
applyDuration(obj)
end
workspace.DescendantAdded:Connect(function(newObj)
wait(0.05)
applyDuration(newObj)
end)
Comments
No comments yet
Be the first to share your thoughts!