Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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)
Advertisement
Add Comment
Please, Sign In to add comment