The code is :
game.ReplicatedStorage.Remotes.OnServerEvent:Connect(function() end)
And I got an error saying "Connect is not a valid member of RemoteEvent"
Can someone help me solve this?