There is an error at the 67th line (3rd here) claiming the value is nil but both of the prints above clearly show they are not.
Dummy - Server - Script:65
10:12:10.961 Oinky435 - Server - Script:66
10:12:10.961 Workspace.Oinky435.LaserPistol.Script:67: attempt to call a nil value -
it does print nil, but I do have an InflictDamage module function (i verified, no typos)
why is it not detecting?
It worked before, and now it doesn’t for some reason
(there are no errors on the side of the ModuleScript)
Make sure you’re requiring the right module, make sure the function is actually attached to the module. Unfortunately I cant help more because I need to sleep as it’s 4:30 AM.