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?

1 comment

0

make sure its a remote event