#returning instance from a remote function doesnt work :/
1 messages · Page 1 of 1 (latest)
i can give some bits of the code if needed :3
returning instance from a remote function doesnt work :/
If the instance doesn't exist on the client then it will be nil
ah
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?
its in server storage, so it doesnt exist on the client.
oh then yeah, that would be the reason
im trying to make a preview for selecting characters, so u can see what they look like :3
how would i do that in another way? :P
definitely sounds like you can just put those characters in replicated storage
and get rid of the whole remote function thing
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 -_-
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
you could use a script to clone the characters you want into replicated storage
actually a really good idea
thank u sm i got this to work!! :D