Error in remote event

Hey, I was working on a script and ran into this error when I am firing a remote event
Unable to cast value to Object
anyone know what does this mean and how to fix it ?

This means it’s trying to get an object from a given value, but it’s not able to do so.
Usually happens if you provide the wrong kind of argument to a function.

Remember any FireClient remote event needs to have the player to send to as its first argument

If you show us the line of code that’s causing the error we can probably help.

2 Likes

Ya got it, forgot to put the player argument.

EDIT: I used :FireClint() instead of :FireAllClint()

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.