Casting to projectile

yeah probably should have clarified where these scripts are
the first image is in in the projectile and the 2nd one’s in the object (collectible)