In my game, there are abilities with their own data and configurations.
I dont want that data to change, it is the default data for abilities.
What I want is to make modifiers that will change ability stats and they will only modify for the player that picked the modifiers, so it can mean that other players will have different modifiers for the same ability.
I tried to do this by making a table of players and load the ability data to each player, but the problem is that it does not replicate to client, you cant get the modified data in client
server-side lua tables don’t magically replicate to clients.
keep the base stats in a shared modulescript. when a player equips a modifier, do the math on the server, store the final stats in ur server player table, and then fire a RemoteEvent to send that specific table to the client.
never let the client calculate or hold the real modifiers anyway, exploiters will just spoof them. server calculates the final numbers → sends via remote → client just reads it to update UI/VFX.