Background - I have a 2 scripts, local, that shows the number of games that are current being held and the numbers of available games (Which is, when no games are being held, 25).
PROBLEM - So everything runs fine, I added print() to show that it's working. Yeah all and that, but when changing the text, it won't change.
FAILED SOLUTIONS - 1: I tried adding tostring and tonumber, but it doesn't work, or I just did it wrong. But why would the scripts print the numbers correctly, like there's no problem at all?
2: I've tried directly changing the text instead of changing values and then set the text.
| SCRIPT 1: CHANGING VALUES |
while wait(0.1) do
script.Parent.GamesCurrentV.Value = game.Workspace.Games.GamesNow.Value
script.Parent.AvaGamesV.Value = 25 -script.Parent.GamesCurrentV.Value
end
| SCRIPT 2: CHANGING TEXT |
while wait(0.01) do
local ag = script.Parent.AvaGames.Text
local agv = script.Parent.AvaGamesV.Value
local gc = script.Parent.GameCurrent.Text
local gcv = script.Parent.GamesCurrentV.Value
ag = agv
gc = gcv
end

1 comment
Thank You! I learn something new everyday!