Here’s to express the beauty of RemoteEvents and listening.
Assuming you have a premade TextLabel in StarterGui.
First create a RemoteEvent and place it in ReplicatedStorage, lets call it ListeningRemote.
Assuming the text is controlled by the server, create a LocalScript anywhere somewhat similar to this.
local Replicated = game:GetService("ReplicatedStorage")
function post(text)
Replicated.ListeningRemote:FireServer(text)
end
if your conditions then
post(your text)
end
Now, inside the TextLabel, make a Script:
local Replicated = game:GetService("ReplicatedStorage")
Replicated.ListeningRemote.OnServerEvent:connect(function(plr, text)
script.Parent.Text = text
end)
I can help further if needed. DM at arvin#6145
Hope I helped, happy new year.