Are you changing it after runtime? Also, changing it in the explorer IS changing it on the server
No, changing in the explorer is client-sided unless they are directly on the server view.
Hey is that a local script. Charrss
When I go in game, or just view it on server, it never changes
Dude first pls tell if itās a local script. It can help us a lot to solve your problem.
Did you make sure that the script is a server script and that the value is actually under the label? Also, mind sending us a video of you changing the value? Could be a problem with how youre doing it.
It is a local script and its not being ran on StarterPlayer or Character Scripts
Is their necessarily a correct way for this?
I just go into the properties of the value and then I change the value, but it never seems to have an effect on the text.
Thank you now just take the code and put it in a normal script. It will work not even kidding.
Well I learned that FunctionExectued never fireās, and only finished executed
Ok let me put this straight. The local script only works in a few places. Namely
StarterCharacterScripts
StarterPlayerScripts
GUIs (Not Surface Necessarily)
Tools
Hm ok thts odd. Ok so in your runtime do this.
go to view> commandbar
Now you have a command bar down.
Now do this (make sure to do it in one line)
local ball = workspace.Part; local Value = ball.GUI.Cash;Cash.Value = 100
Replace workspace.Part to Your Reference.
Also pls respond a bit fast itās 6 here and I need to go to school
It didnāt seem to update the value at all, should I try to make a script that just adds to the value every second?
Ok letās rewamp this up cause Iām tired and Iām in my lunch break xD.
Just create a part.add a ScreenGui then a surface gui. Then add a Int Value and Name it Cash.
Add a Text Label in the ScreenGUI and Name it Display. Position it as you need. now make 2 Scripts( not local Script plz). Name one Valuechanger
And Make one DisplayChanger. put DisplayChanger In the Ball not gui. Put the ValueChanger under the Value.
Now Paste this in ValueChanger.
local value = script.Parent
while wait(1) do
ValueChanger.Value += 100
end
Paste this in DisplayChanger
local GUI = script.Parent.ScreenGUI.GUI
local Value = script.Parent.Value
Value:GetPropertyChangedSignal("Value"):Connect(function ()
GUI.Text = tostring(Value.Value)
end)
Ok, so I learned it only worked whenever I added the value from a script that was a child of the Cash Instance.
ok great hope it helped. i think you need to hone on Referencing i guess