FireClient error

I’m getting an error FireClient: player argument must be a Player object, although I’m passing the player in the first argument? Any solution here?

   local character = trigger.Parent
   if character then
      local player = game.Players:GetPlayerFromCharacter(character)
1 Like


The ProximityPrompt.Triggered event passes a Player object, not a Character.

See more here:

1 Like

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