I was working on my game. Then I came across this error:
OnServerEvent can only be used on the server
Script Context.ServerStarterScript
OnServerInvoke can only be used on the client
Script Context.ServerCoreScripts/ServerSocialScript
How can I fix this?
