#returning instance from a remote function doesnt work :/

1 messages · Page 1 of 1 (latest)

fluid pond
#

ive got a client script that invokes a remote function and sets a variable to what that remote function reuturns back, which is a character, but it comes out as nil. i know the variable im returning is not nil, as i check in the server script that returns the variable, please help!

#

i can give some bits of the code if needed :3

#

returning instance from a remote function doesnt work :/

glossy ore
fluid pond
#

ah

glossy ore
#

This is often the case if you have streaming enabled or are trying to do stuff before the instance has replicated

#

What are you trying to achieve with this system?

fluid pond
#

its in server storage, so it doesnt exist on the client.

glossy ore
fluid pond
#

how would i do that in another way? :P

glossy ore
#

and get rid of the whole remote function thing

fluid pond
#

id like to, but i wouldnt want exploiters getting to those characters, as they could see wip characters, or become characters i wouldnt want them to become. :/

#

not really an issue, but theres a lot of references to the characters in server storage, and that would take some time to swap -_-

glossy ore
# fluid pond id like to, but i wouldnt want exploiters getting to those characters, as they c...

i wouldnt want exploiters getting to those characters
If the client sees the character on their screen in any way, they can steal it. I would not worry about this, put the ones you want players to be able to use in replicated storage

as they could see wip characters
don't put these in replicated storage

or become characters i wouldnt want them to become
assumably your changing their character on the server so it replicates to other players. When you do that, make sure the player actually has permission to use that character

glossy ore
fluid pond
#

actually a really good idea

fluid pond