#my server script is saying "attempt to call a nil value" for the part

1 messages · Page 1 of 1 (latest)

pseudo mist
#

for some reason when I call a function from the module it gives calling a nil value, everything is in the right space and is named right so I don't know why I get this

tender bronze
#

ur sending the player inside the remote (client -> server)

#

but can we get the actual error in here

visual salmon
#

Can u try removing the player when u fire server?

pseudo mist
#

remove the player?

visual salmon
#

event:FireServer(player) it automatically send the player

pseudo mist
#

I see

#

still gives error

visual salmon
#

Which line is line 8

pseudo mist
#

the first function of the module I try to call

#

in server script

#

I will have to go sleep but if you guys find any way to fix this pls let me know, I will try to use it and see if it works.

tender bronze
#

the error is on line 8

#

u didn't tell us anything bout that line

#

a

visual salmon
#

@pseudo mist found the problem

#

Youre using local on modules

#

Which only the same script can use it

#

Remove the local and it should work

visual salmon
#

@pseudo mist lmk if it works

pseudo mist