remote function unable to cast value' code example
Example: remote function unable to cast value to object
-- server script
-- You need to specify the PLAYER
local player = game:GetService("Players").PLAYERNAME
local remoteFunction = game.ReplicatedStorage.RemoteFunction
remoteFunction:InvokeClient(player, "arguments")