I have a script that is supposed to update the text on a label but its not working. Need help. Script:
local Variables = require(script.Parent.Parent.Parent.Parent.ServerScriptService.Variables)
while true do
script.Parent.Text = "Infections:"..Variables.Infections
wait(3)
end
There’s no need to use excessive amounts of .Parent when you can identify ServerScriptService using game.ServerScriptService.
Since you are trying to manipulate text here I can only imagine this is being run in a local script, however if not it’s likely that something in the Variables module script is causing a yield, seeing that source code would be very beneficial.