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

Script not updating number value?

Asked by 7 years ago

The script will not change the value of the Status value

-- Round Variables
local timeint = 60 -- Numbers Read as Seconds
local inttime = 60 -- Numbers Read as Seconds

-- Round Objects 
local status = game.ReplicatedStorage.Status

-- Main script
while wait() do
 for i=inttime,1,-1 do
 wait(1)
  status.Value="Intermission:"..i.." seconds " 
 end
 for i=timeint,1,-1 do
  wait(1)
  status.Value="Deploy "
 end
end

1 answer

Log in to vote
0
Answered by
RubenKan 3615 Moderation Voter Administrator Community Moderator
7 years ago
Edited 7 years ago

There's nothing wrong with this.

It's probably another script where you try to read out the value of the status stringValue. OR it's not a stringValue.

Another thing that could be the problem is that this is a localscript and you have filtering enabled enabled.

Ad

Answer this question