RemoteEvents dont return anything. Use RemoteFunction
1 Like
I have suggested this many posts ago but he states he wants to stick with remote events
1 Like
Why don’t you do it like most people do? Store the values under the player, the localscript can access the player using local localPlayer = game.Players.LocalPlayer
and then doing like localPlayer.Cash.Value
or something like that. Don’t let the client handle adding cash to a player. Your game will get hacked within weeks
1 Like
hello! im back lol, i can try a remotefunction
also it prints nil when i say print(data[Player.UserId])
oh, sorry im new to luau, I dont really know about the risks of using the client for stuff like that
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.