this script is giving me an error that says to return it but when i did it gave me the same error
If the ResetThrow() function is just intended to change the value of readyToThrow, then you should change ‘private ResetThrow’ to ‘private void ResetThrow’.
Functions by default expect to return a value when they are called, so if you aren’t intending for the function to do this, you have to specify that it is a void function - like void Start() and void Update(), which just execute code and don’t return a variable.