if ou repeat setting it to 5 it wont change because it is already set to 5,
and maybe it happens so fast it is already done when the game is loaded
assuming that is 1 script with nothing more
Well you can’t get a random number if you only put one parameter inside of the parentheses, since it will then only get that value.
?? Well guessing from this script you want a player to pick up coins and items but have the HoldDuration different, and since you placed these items in ReplicatedStorage, you’re trying to clone these items onto a playing field?
But honestly, if you can’t provide much, it’s hard to help.
This is not true, everything works as it should even with one parameter.
*UPD: Although it may not be stable, but so far I have not observed any problems.
Before cloning, I need to change the duration of “ProximityPrompt” in “ReplicatedStorage”. But since the value was sent from local and cloning from the server - it is obvious that it will not work.