basically i want the value of the number value to be the text value but when the number value changes the text doesn't local scriptvalue = script.Parent.Value script.Parent.Parent.Text = scriptvalue basically i want this code to check everytime the value of the number value changes so that it can change the text of a text button the parent of this script is a numbervalue the parent of the number value is the text button
COMMUNITY QUESTION
how do i make the server check if a number values value has changed using a script?
1 answer
You need to alert the server whenever it changes.
local scriptvalue = script.Parent
script.Parent.Parent.Text = scriptvalue.Value
scriptvalue.Changed:Connect(function()
wait(0.5)
script.Parent.Parent.Text = scriptvalue.Value
1 comment
0
The text changes to 0 but on the screen its still 1 how do i fix it
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
Please put your code so we can help you
ok