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

Unable to cast value to object?

I have a remote function connecting the server and client and on the server side I check to see if a player has a certain key in the data store, if so then it will turn the numbers ive saved into the proper string with the function:

local RodString = DataStoreClass.ByteArrayToString(SavedRod) print(RodString) RodLoadRequest:InvokeClient(RodString)

and when I print RodString it prints the proper value, it is a string, but when I try to invoke it with the client it returns that error

1 answer

Nevermind I totally forgot about how :InvokeClient returns the Player as the first argument

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