Hey there, I was wondering if it’s possible to set a ProximityPrompts HoldDuration to a value. The value being 10 for example. Then using a different ProximityPrompt (or a script) to alter that value so that the other ProximityPrompts HoldDuration changes.
Any ideas on how to do this?
Sorry I realised I should’ve specified way more. Basically I was wondering if it’s possible to set a ProximityPrompts HoldDuration to a value. The value being 10 for example. Then using a different ProximityPrompt altering that value so that the other ProximityPrompts HoldDuration changes.
Still using the same code i posted but changing the property in a for loop
ProximityPrompt.Triggered:Connect(function()
for _, prompt in arrayOfPrompts do --array of prompts is a table of all the proximity prompts you want the property changed
prompt.HoldDuration = --number
end
end)