Hello there! I am using a remote event to send some variables to a client from the server. The variable "opponent" is the player. However, the output returns "FireClient: player argument must be a Player object". I've tested the variable and everything says it is a player, but still the code doesn't work. Any help is appreciated.

game.ReplicatedStorage.Remotes.UpdatePlayerStatusLocal:FireClient(opponent,text,color)

3 comments

0

If the error says "opponent" is not a player, then "opponent" is not a player. We can't help you if you don't show us the rest of your code.

0

if you are sending from client to server, doesn't it have to be FireServer? not FireClient

0

I figured it out. Turns out it was a nil value :)