FireClient: player argument must be a Player object

So I’ve tried just about everything to get this to work, and I just cant for some reason. Any suggestions? Here’s the code:

Server

local touched = false
local remote = game.ReplicatedStorage.Events.s

script.Parent.Touched:Connect(function(hit)
	local text = "Objective Testing"
	local part = script.Parent
	local plr = game.Players:GetPlayerFromCharacter(hit.Parent)
	remote:FireClient(plr, text, part)
end)

Local

local remote = game.ReplicatedStorage.Events.s

remote.OnClientEvent:Connect(function(plr, text, part)
	print(plr.Name)
	print(text)
	print(part)
end)

EDIT:
Console Output

  14:10:32.626  Objective Testing  -  Client - s:4 (text)
  14:10:32.626  Subtitle  -  Client - s:5 (part)
  14:10:32.626  nil  -  Client - s:6 (plr)

You aren’t passing any data at all. The “plr” in :FireClient(plr) simply fires the event for the player. Have “plr” has the second parameter as well.

@HazCreatez That’s false, whenever the server receives an event from the player it’s always the first argument

It’s possible that the object it’s touching is an accessory, which would mean the character would be hit.Parent.Parent. Try doing

if plr and plr:IsA("Player") then
	remote:FireClient(plr, text, part)
end

To ensure every argument exists, you could also try:

if plr and plr:IsA("Player") and text and part then
	remote:FireClient(plr, text, part)
end

Instead of passing the player argument twice just define the local player instance at the top of the local script (it’s likely going to be referenced elsewhere anyway).