Hi, I want to use ServerStorage
instead of ReplicatedStorage
because I think Replicated storage is visible to client side.
- Can I do it ?
- Can I use
RemoteFunction
inside ServerStorage ? - is ReplicatedStorage visible for client-side ?
Hi, I want to use ServerStorage
instead of ReplicatedStorage
because I think Replicated storage is visible to client side.
RemoteFunction
inside ServerStorage ?I can use ServerStorage to store my RemoteFunction…
Then when player clicks on TextButton it will automatically :Clone()
my RemoteFunction to ReplicatedStorage and InvokeServer()
, right ?
You shouldn’t - the client can’t see the remote function if it is in Server Storage
No - that’s not how that works…
Essentially - put your remotes in Replicated Storage so both the client and server can see them and use them.
And how do you think client will use :InvokeServer()
on remotefunction if it doesn’t even exist on their side in the first place?
You’re starting to bring something off-topic. But, here are the answers: