i get a null error on this script

i got this script from tornado twins but when i’m done the errors say
error

my script

Do you have anything assigned to ‘bullitprefab’?

yes i do

You need an object named “spawnpoint”.

Bullet is spelled with no 'i’s. -_-
I know you just copied it, it’s just that seeing bullet spelled wrong so often kinda gets to me.

i do have the spawnpoint in the script

Do you have an object called ‘spawnpoint’ anywhere in your scene?