What happening?
script.Parent.MouseClick:connect(function() game:GetService("ReplicatedStorage"):FindFirstChild("OnEat"):FireClient("eat") end)
The function “:FireClient(playerToSendTo, additionalArguments)” starts with the player, not the arguments.
RemoteEvent:FireClient(Player,”eat”)
It gives “unable to cast value to object” because its expecting the “Player” object but gets the string “eat” in its place.