Attempt to call a nil value, when calling a function from a module script

Title says it all but to visualize:

calling (this is inside a function):
image

the function itself:
image

I’m confused and lost as to why is this. Any help is appreciated.

1 Like

What is the FireProjectile variable defined as?

1 Like
FireProjectile = require(game.ReplicatedStorage:WaitForChild("DamageModule"))

OOOH WAIT
i’m dumb sorry
this should be ProjectileModule

2 Likes