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

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

Asked by
GShocked 150
8 years ago

I get the following error in my game, even though nothing seems to be malfunctioning.

https://i.gyazo.com/9196d0b3030aae75a42716adeb601d3b.png

Any idea on what this means?

2 answers

Log in to vote
1
Answered by 8 years ago

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

0
Yeah, I'm thinking so to. Just looking at Script Locations it looks like someone just messed up when publishing the last update. M39a9am3R 3210 — 8y
0
Yes, I have seen this error in all of my places in the last update - ROBLOX has just failed. TheDeadlyPanther 2460 — 8y
Ad
Log in to vote
0
Answered by 8 years ago

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)

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? GShocked 150 — 8y
0
I think you got the Server and Client the wrong way around. You will need to flip them around. SwardGames 325 — 8y
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. TheDeadlyPanther 2460 — 8y
0
Whoops. I guess I should have noticed that sooner :/ SwardGames 325 — 8y

Answer this question