The object of type 'Rigidbody' has been destroyed but you are still trying to access"

So the error code is the title basically. I made a new shot that is like a super shot, all I did was make it a cube + the same scripts as my last bullet was but now after I hit one of my enemies this error pops up and I can no longer shoot it.

MissingReferenceException: The object of type ‘Rigidbody’ has been destroyed but you are still trying to access it.
Your script should either check if it is null or you should not destroy the object.
UnityEngine.Object.Internal_InstantiateSingle (UnityEngine.Object data, Vector3 pos, Quaternion rot) (at E:/BuildAgent/work/71ca6fec1b41cc30/Runtime/Export/Generated/BaseClass.cs:46)
UnityEngine.Object.Instantiate (UnityEngine.Object original, Vector3 position, Quaternion rotation) (at E:/BuildAgent/work/71ca6fec1b41cc30/Runtime/Export/Generated/BaseClass.cs:57)
playerL3.Update () (at Assets/Scripts/Levels/L3/playerL3.js:21)

do u destroy it when you hit it

yes, but that isn’t a problem with my other bullet

On line 21 of Scripts/Levels/L3/playerL3.js, you have an error. You need to post the code if you expect us to help fix it xD

I ended up scrapping this idea, no more super cheating shot for the game anymore ^^