i made a script which prints "hi" when the event is called. But i get the error:13:33:20.308 - Remote event invocation queue exhausted for ReplicatedStorage.SpawnCarPaint; did you forget to implement OnServerEvent?
game.ReplicatedStorage.SpawnCarPaint.OnServerEvent:Connect(function(player) print("hi") end)
thanks!
Hi, I'm BlackOrange and I will be helping you out today
So the issue actually lies in the LocalScript
. The ServerScript
never got a signal which means your doing something wrong. There is nothing wrong with your code, so I suggest checking this list:
Are the remote events the same one being fired and OnServerEvent?
Do you have more of the same remote event? If so make sure you only have 1
Check if SpawnCarPaint is actually in
ReplicatedStorage
Check if you actually even did :FireServer()
Check if the LocalScript works fully (Like you must have some way to trigger the spawning)
Check if the ServerScript is disabled
Check if the LocalScript is disabled
Check if the RemoteEvent is named properly
If you checked over ALL of these things and still doesn't work then:
Rewrite your code
Start by removing the remote events, re adding it, re naming it and then re using it.
Hopefully this helped.
I will not be able to help further more because the LocalScript
was not provided.
Best of luck developer!