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

"OnServerInvoke" and "OnServerEvent" error, yet nothing is wrong?

2 answers

✓ Accepted answer

I believe those are just ROBLOX scripts themselves. I see those errors on every game.

2 comments

0

Yeah, I'm thinking so to. Just looking at Script Locations it looks like someone just messed up when publishing the last update.

0

Yes, I have seen this error in all of my places in the last update - ROBLOX has just failed.

Well, you are trying to bind OnServerEvent and call OnServerInvoke from a LocalScript, and that needs to be in a server-Script (as clients cannot talk to other clients directly)

4 comments

0

I use a localscript (in StarterGui) to take keyboard input and use that to change things in workspace; Is that why I'm getting this error? Any way to fix it?

0

I think you got the Server and Client the wrong way around. You will need to flip them around.

0

I'd like to point out that the service the script that errors is in is not a publicly available service - meaning the person who asked (and their scripts) have nothing to do with the error.

0

Whoops. I guess I should have noticed that sooner :/

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