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

Change server value when player clicks a button - How to do it?

Asked by 4 years ago

So...I have a player string value in my server. I want that when a player clicks a gui button this value change only for the player who clicked the button.

I already done it using RempteFunction but the value is being changed for all the players in the game.

Can somebody help?

0
Have you used a local script in the gui button? EnzoTDZ_YT 275 — 4y
0
Yes I done Stephirio 7 — 4y
0
If you want to change the server value so that the server can use this value, this value changes inevitably for all players MageMasterHD 261 — 4y
0
Let's suppose that I have 2 swords and each player has a string value called EquipedSword that contains Sword Name. I want that when a player clicks on the button the EquipedSword value changes. Stephirio 7 — 4y
View all comments (4 more)
0
if its chatting to the server then the client it will do all people because its the server EnzoTDZ_YT 275 — 4y
0
ok but then why have I a players folder with all the players inside? I want to change a value for one of them. should i do it in local? Stephirio 7 — 4y
0
if you only want the player to see the value change, use a local script, but it'll be very insecure. Your question is very confusing, if you can explain it a little further I'd be glad to help. 0msh 333 — 4y
0
Me too. I've reading all the comments and is confusing. Foxy_Developer 111 — 4y

Answer this question