Attempt to index function with 'OnClientEven'?

2 Likes

You passed the function to OnClientEvent without any arguments. That is why it is erroring.

1 Like

I’m just connecting it to the function.

The arguments are passed through the server.

1 Like

You have 2 variables named with editPlayers: a RemoteEvent and a global function. Rename one so it is not the same.

1 Like

You’ve named the function the same as your RemoteEvent variable. Change the name of one of these and you’ll be fine.

1 Like

I must be blind today, thanks guys. @Quwanterz

2 Likes