Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

I am using ReplicatedStorage for DataStore, but not satisfy unless it is ServerStorage?

Asked by 2 years ago

I had already made a previous thread with another user helping me come to terms to stick with RepStorage because it is easier to do deal with. But I somehow still want to try to make it ServerStorage instead because of the guaranteed security it provides from exploiters. is there any way that I can create GUIs to access ServerStorage to display player's stats? I already have scripts that do that and everything running well with ReplicatedStorage, but no if I try to cover to ServerStorage.

1 answer

Log in to vote
1
Answered by
ShaShxa 105
2 years ago

You could make a RemoteFunction that is invoked everytime the player is trying to access player's stats. A server script will receive the invoke, fetch the player stats from the ServerStorage, and return them to the client in a table.

See RemoteFunction for more information.

0
Bro I finally understand now thanks man you opened my eye! garbnothrow2 3 — 2y
Ad

Answer this question