no… it does not work like that… use “OnServerEvent” if you’re doing this on the client. This was not has this post was formatted.
OnServerEvent on the client? Whatever, doesn’t matter, worked on the server. Thanks.
The script in the original post is a local script I believe. He has a server script somewhere which is calling FireClient/FireAllClients.
I would encourage you to read up on that, I’m glad that you found the solution. I however should refer you to the post listed below due to the 2nd argument listed in the function, an exploiter can call the function with the userid “69” even though their actual userid is “420”.
The takeaway and the point of this reply is that you should try doing as much on the server as possible, rather than the client.
Not to be facetious but the account of user ID 420 is permanently banned, jokes aside, this is a good suggestion. He could combat it by adding sanity checks, like comparing the user ID between both scripts.