Value not work when it in script

can you send me a picture of what you’re changing in replicatedStorage ?

ok i will send photo .now but wait

this photo from

[type or paste code here](https://gyazo.com/820572cd46095a2d99de9fa6ea22076e)

https://gyazo.com/820572cd46095a2d99de9fa6ea22076e

Is “Value” What you’re changing ?

lets say you have stats system when i type game.players.localplayer.data.luck it dont work and script stop for that i do another way is value read data.luck for that the value have number but script when connect on value the value stop read data.value i dont know why

i have no idea what you just said, are you trying to change data.luck or damage ?

hmmmm lets say the script take one value but i want change the value to be same with sword point in stats

and what exactly is that value ?

yep is that value i want it chanageing

this ?
image

yep it number and the number stack at 2 i want changing

and that sets the damage right ?

yep right this what i need but in value script is value = to data like that for when player get 1 point he can get 1 more damge

When does the player get one point?

when kill npc he get point for use point in stats when stats up 1 point the value will up 1

Oh alright i got it, it’s like in rpg?

yep it rbg game this only problem i have

And why not put the value inside the player’s character? That would be easier to script then.

yep i know it will be easier but the value dont chanage with script