remote function unable to cast value to object
snippet in lua

remote function unable to cast value to object

user2857

-- server script

-- You need to specify the PLAYER

local player = game:GetService("Players").PLAYERNAME
local remoteFunction = game.ReplicatedStorage.RemoteFunction
remoteFunction:InvokeClient(player, "arguments")