remote event unable to cast value to object roblox
snippet in lua

remote event unable to cast value to object roblox

user2034

-- server script

-- You need to specify the PLAYER that you want to fire to

local player = game:GetService("Players").PLAYERNAME
local event = game.ReplicatedStorage.RemoteEvent
remoteEvent:FireClient(player, "arguments")

-- or you can fire ALL the clients 
remoteEvent:FireAllClients("arguments")