Basically I'm trying to make it so that the text becomes bigger when the time reaches 10 and below, otherwize it won't make any other text bigger. For some reason it doesn't work and there isn't an error in the output.
local replicatedstorage = game:GetService("ReplicatedStorage")
local status = replicatedstorage:WaitForChild("InfoValue")
script.Parent.Text = status.Value
while wait() do
script.Parent.Text = status.Value
local track = string.sub(script.Parent.Text, 1, 2)
if script.Parent.Text == 'Game Over!' or 'Get Ready To Be Teleported!' or track == 'In' or script.Parent.Text == script.Parent.Name.Value..' has won the battle!' then
script.Parent.TextSize = 25
elseif track <= 10 then
for i = 1, 5 do
wait(.1)
script.Parent.TextSize = script.Parent.TextSize + 1
end
for i = 1, 5 do
wait(.1)
script.Parent.TextSize = script.Parent.TextSize - 1
end
end
end

2 comments
By chance is TextScaled true?
No, it isn't...