Unable To Cast Value To Object When Trying To Fire A Specific client event

I’m trying to fire a specific client by doing RemoteEvent:FireClient(Plr.Name). I don’t have any idea why this isn’t working anyone have a solution

FireClient() takes a player object, not their name.

1 Like

What should I do instead of the players name?

Just remove .Name
Something like this:

FireClient(Plr)

Ah Yesterday i did something similar but it needed the Plr.name instead of Plr

What do you mean? You can use Plr.Name in another script if you want or add it in brackets.
Like this:

FireClient(Plr,Plr.Name)

No I would just do FireClient(Plr.Name)

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.