im making game when you hold E by 4 sec and you can buy upgrade and you only must hold E by 2 sec but when all is good working i cant change holdDuration (ProximityPrompt.HoldDuration) in game i can only off game chang hold duration pls help
Change Duration Code:
**local ProximityPrompt = script.Parent.ProximityPrompt local Player = game.Players.LocalPlayer
while wait() do ProximityPrompt.HoldDuration = Player.DestroyTime.Value end**