Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

OnClientEvent is not working? no thing in output either

Server Script

local remote = game.ReplicatedStorage:WaitForChild('RemoteEvent')

remote:FireAllClients('Part')

Local Script

local remote = game.ReplicatedStorage:WaitForChild('RemoteEvent')




remote.OnClientEvent:Connect(function(player,Part)
	print(Part,player)
	
end)	

1 answer

There is no player argument. you are firing from the server to the players.

the parameter for the localscript is only "Part", no 'player'.

This discussion is preserved as it was. New answers, comments, and votes are closed.