So, I made a script where If I click this button then changes my data value and it does nothing...
local MainGUI = script.Parent local Player = game.Players local Players = game:GetService("Players")
MainGUI.MouseButton1Down:Connect(function(player,character) local Data = Players:WaitForChild"Data" Data.Stand.Value = 2 print("BUTTON NERD") Players:LoadCharacter() end)
If it is a local script, then it is likely not working as it is only changing the value on the client, and not the server (where you would probably and should be checking for the players stands, as exploiters can modify the client). Try either making it a server script (not recommended) or a local script but add a remote event and check on the server for if it is legit (to stop exploiters from doing infinite rerolls without currency for example)