Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

[PLUGIN] Says OnServerEvent can only be used on the server?

Asked by 2 years ago

Hello, im trying to make a plugin. Im using events at some point. When I save the plugin it gives "OnServerEvent can only be used on the server" error. Im already using server script. Couple days ago it was working now, it doesn't. Am i missing something, like i can't use events at plugins?

0
Plugins are entirely client sided as each client downloads them on their own device. There is no 'server' to access, you should be able to do everything you want from the client sided scripts. climethestair 1663 — 2y

Answer this question